@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
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ClassValue } from 'clsx';
|
|
2
|
-
import { LucideIcon, LucideProps } from 'lucide-react';
|
|
3
2
|
import * as react from 'react';
|
|
4
|
-
import react__default, { ReactNode, HTMLAttributes, SVGProps, InputHTMLAttributes, ButtonHTMLAttributes, ComponentProps,
|
|
3
|
+
import react__default, { RefObject, ReactNode, HTMLAttributes, SVGProps, ComponentPropsWithoutRef, InputHTMLAttributes, ButtonHTMLAttributes, ComponentProps, ReactElement, TextareaHTMLAttributes, ForwardRefExoticComponent, RefAttributes, TdHTMLAttributes, ThHTMLAttributes, LiHTMLAttributes, AnchorHTMLAttributes, OlHTMLAttributes, Ref } from 'react';
|
|
4
|
+
import { LucideIcon, LucideProps } from 'lucide-react';
|
|
5
5
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
6
6
|
import { VariantProps } from 'class-variance-authority';
|
|
7
7
|
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
@@ -61,6 +61,44 @@ declare function cn(...inputs: ClassValue[]): string;
|
|
|
61
61
|
*/
|
|
62
62
|
declare function useIsMobile(breakpoint?: number): boolean;
|
|
63
63
|
|
|
64
|
+
/**
|
|
65
|
+
* The motion gate (`packages/tokens/src/themes.css`, MOTION GATE) sets `--motion-factor` to
|
|
66
|
+
* 0.0001 under a reduce request and 1 otherwise. Anything at or below this floor is "motion off".
|
|
67
|
+
*/
|
|
68
|
+
declare const MOTION_FACTOR_FLOOR = 0.01;
|
|
69
|
+
/** `--motion-factor` as seen by `el` (default: the document root); 1 when unset or on the server. */
|
|
70
|
+
declare function readMotionFactor(el?: Element | null): number;
|
|
71
|
+
/** True when the factor sits at the floor — the reader asked for reduced motion. */
|
|
72
|
+
declare function isMotionAtFloor(factor: number): boolean;
|
|
73
|
+
/** True when the browser runs scroll-driven CSS animations (`animation-timeline: scroll()`). */
|
|
74
|
+
declare function supportsScrollTimeline(): boolean;
|
|
75
|
+
/**
|
|
76
|
+
* How root scroll progress is delivered:
|
|
77
|
+
* - `static` — server render, before hydration, motion at the floor, or disabled: nothing moves.
|
|
78
|
+
* - `timeline` — the browser runs `animation-timeline: scroll()`; the caller's CSS does the work
|
|
79
|
+
* on the compositor and no JavaScript listens to scroll.
|
|
80
|
+
* - `script` — no scroll timelines: `motion`'s `scroll()` (an optional peer, imported lazily
|
|
81
|
+
* only here) calls `onScroll` every frame.
|
|
82
|
+
*/
|
|
83
|
+
type ScrollProgressMode = "static" | "timeline" | "script";
|
|
84
|
+
interface ScrollProgressOptions {
|
|
85
|
+
/** Skip all work (e.g. a plane whose rate means it never moves). Default `true`. */
|
|
86
|
+
enabled?: boolean;
|
|
87
|
+
/** Read `--motion-factor` from this element (so a subtree can dial motion); default the root. */
|
|
88
|
+
target?: RefObject<Element | null>;
|
|
89
|
+
}
|
|
90
|
+
interface ScrollProgress {
|
|
91
|
+
mode: ScrollProgressMode;
|
|
92
|
+
/** `--motion-factor` read once after mount (1 before hydration). */
|
|
93
|
+
factor: number;
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* Root scroll progress under the motion gate. The factor is read once, after hydration, so the
|
|
97
|
+
* server HTML and the first client render are identical (`static`). `onScroll(scrollY, progress)`
|
|
98
|
+
* fires only in `script` mode; it may change between renders without resubscribing.
|
|
99
|
+
*/
|
|
100
|
+
declare function useScrollProgress(onScroll?: (scrollY: number, progress: number) => void, { enabled, target }?: ScrollProgressOptions): ScrollProgress;
|
|
101
|
+
|
|
64
102
|
/**
|
|
65
103
|
* Browser file-download helpers — the single home for the
|
|
66
104
|
* `Blob`/URL → hidden `<a download>` → click → revoke dance that was previously
|
|
@@ -854,6 +892,23 @@ declare const EFFORT_SIZE_RUNGS: readonly ["size-2.5", "size-3", "size-3.5", "si
|
|
|
854
892
|
*/
|
|
855
893
|
declare function effortRungForIndex(index: number, count: number): (typeof EFFORT_SIZE_RUNGS)[number];
|
|
856
894
|
|
|
895
|
+
declare const badgeVariants: (props?: ({
|
|
896
|
+
variant?: "default" | "secondary" | "outline" | "success" | "warning" | "destructive" | "info" | null | undefined;
|
|
897
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
898
|
+
type BadgeAppearance = "tint" | "solid" | "outline" | "neutral";
|
|
899
|
+
interface BadgeProps extends HTMLAttributes<HTMLSpanElement>, VariantProps<typeof badgeVariants> {
|
|
900
|
+
/**
|
|
901
|
+
* Explicit per-instance override of the fill/border/ink treatment. Unset
|
|
902
|
+
* (default) renders NO `data-appearance` attribute, so the badge is driven
|
|
903
|
+
* purely by the ancestor `--badge-appearance` token (`auto` = each
|
|
904
|
+
* variant's own recipe, today's look). Meaningful only on the
|
|
905
|
+
* colour-bearing variants (`default`, `success`, `warning`, `destructive`,
|
|
906
|
+
* `info`) — see `badgeVariants`.
|
|
907
|
+
*/
|
|
908
|
+
appearance?: BadgeAppearance;
|
|
909
|
+
}
|
|
910
|
+
declare const Badge: react.ForwardRefExoticComponent<BadgeProps & react.RefAttributes<HTMLSpanElement>>;
|
|
911
|
+
|
|
857
912
|
/** The canonical, closed 7-state status enum (research 10 §B.1). */
|
|
858
913
|
declare const STATUSES: readonly ["pending", "running", "complete", "awaiting-approval", "denied", "failed", "skipped"];
|
|
859
914
|
type Status = (typeof STATUSES)[number];
|
|
@@ -931,6 +986,16 @@ interface StatusBadgeProps extends HTMLAttributes<HTMLSpanElement>, Omit<Variant
|
|
|
931
986
|
status: Status | CustomStatus;
|
|
932
987
|
/** Render label-only (no status icon). */
|
|
933
988
|
hideIcon?: boolean;
|
|
989
|
+
/**
|
|
990
|
+
* Explicit per-instance override of the fill/border/ink treatment — see
|
|
991
|
+
* `Badge`'s own doc. Meaningful only on the colour-bearing statuses
|
|
992
|
+
* (`running`/`complete`/`awaiting-approval`/`failed`) and tones
|
|
993
|
+
* (`info`/`success`/`warning`/`destructive`); `pending`/`denied`/`skipped`
|
|
994
|
+
* and the `neutral` tone are already neutral pills. On a `CustomStatus`
|
|
995
|
+
* (the out-of-vocabulary hatch), `"solid"` is never honoured — the hatch
|
|
996
|
+
* is calm-only (integrity constraint 2, file docblock).
|
|
997
|
+
*/
|
|
998
|
+
appearance?: BadgeAppearance;
|
|
934
999
|
}
|
|
935
1000
|
declare const StatusBadge: react.ForwardRefExoticComponent<StatusBadgeProps & react.RefAttributes<HTMLSpanElement>>;
|
|
936
1001
|
/** The editor/markdown `Timeline` 3-state vocabulary (`@elabs-ai/components-editor`). */
|
|
@@ -1166,7 +1231,17 @@ declare const FirstRunIllustration: react.ForwardRefExoticComponent<Omit<Illustr
|
|
|
1166
1231
|
|
|
1167
1232
|
declare const Accordion: react.ForwardRefExoticComponent<(AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps) & react.RefAttributes<HTMLDivElement>>;
|
|
1168
1233
|
declare const AccordionItem: react.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
1169
|
-
|
|
1234
|
+
interface AccordionTriggerProps extends ComponentPropsWithoutRef<typeof AccordionPrimitive.Trigger> {
|
|
1235
|
+
/**
|
|
1236
|
+
* The heading level Radix's `Accordion.Header` renders. Radix hardcodes `h3`,
|
|
1237
|
+
* which skips a level whenever the accordion sits directly under the page
|
|
1238
|
+
* `h1` — so the level is the caller's to set. Visually identical at every
|
|
1239
|
+
* level: the type comes from the trigger, not the heading.
|
|
1240
|
+
* @default 3
|
|
1241
|
+
*/
|
|
1242
|
+
headingLevel?: 2 | 3 | 4 | 5 | 6;
|
|
1243
|
+
}
|
|
1244
|
+
declare const AccordionTrigger: react.ForwardRefExoticComponent<AccordionTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
1170
1245
|
declare const AccordionContent: react.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionContentProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
1171
1246
|
|
|
1172
1247
|
interface AdvancedGroupProps extends Omit<HTMLAttributes<HTMLDivElement>, "title"> {
|
|
@@ -1219,6 +1294,72 @@ interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement>, VariantPr
|
|
|
1219
1294
|
}
|
|
1220
1295
|
declare const Button: react.ForwardRefExoticComponent<ButtonProps & react.RefAttributes<HTMLButtonElement>>;
|
|
1221
1296
|
|
|
1297
|
+
type CollapsiblePanelSide = "left" | "right";
|
|
1298
|
+
type CollapsiblePanelState = "expanded" | "collapsed";
|
|
1299
|
+
/**
|
|
1300
|
+
* Where the CONTAINER fragment positions itself. `"viewport"` (default) pins
|
|
1301
|
+
* to the viewport edge (`fixed`) — Sidebar's original mechanism, byte-
|
|
1302
|
+
* identical to pre-#432 output. `"inset"` pins to the panel's OWN nearest
|
|
1303
|
+
* `relative` ancestor instead (`absolute`) — for a panel nested inside
|
|
1304
|
+
* another `fixed`-to-viewport element (e.g. a `SideDock` inside a Sidebar's
|
|
1305
|
+
* `SidebarInset`), so the two never race for the same viewport edge (#432).
|
|
1306
|
+
* The consumer must give that ancestor `relative` itself; `SideDock` does
|
|
1307
|
+
* this via its own `containerPosition` prop.
|
|
1308
|
+
*/
|
|
1309
|
+
type CollapsiblePanelContainerPosition = "viewport" | "inset";
|
|
1310
|
+
interface UseCollapsiblePanelOptions {
|
|
1311
|
+
/** Which edge the panel lives on. Default `"left"`. */
|
|
1312
|
+
side?: CollapsiblePanelSide;
|
|
1313
|
+
/** Controlled open state (`isControlled = open !== undefined`). */
|
|
1314
|
+
open?: boolean;
|
|
1315
|
+
/** Uncontrolled initial open state. Default `true`. */
|
|
1316
|
+
defaultOpen?: boolean;
|
|
1317
|
+
/** Called with the next open state on `setOpen`/`toggle`. */
|
|
1318
|
+
onOpenChange?: (open: boolean) => void;
|
|
1319
|
+
/**
|
|
1320
|
+
* Literal expanded-width utility (e.g. `"w-(--sidebar-width)"`). Must be a
|
|
1321
|
+
* literal in the consumer's source so Tailwind generates it.
|
|
1322
|
+
*/
|
|
1323
|
+
widthClassName?: string;
|
|
1324
|
+
/**
|
|
1325
|
+
* Literal collapsed-state utility for the gap spacer (e.g.
|
|
1326
|
+
* `"group-data-[collapsible=offcanvas]:w-0"`).
|
|
1327
|
+
*/
|
|
1328
|
+
spacerCollapsedClassName?: string;
|
|
1329
|
+
/**
|
|
1330
|
+
* Literal off-screen slide utilities for the fixed container, keyed by side
|
|
1331
|
+
* (e.g. `left: "left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]"`).
|
|
1332
|
+
*/
|
|
1333
|
+
containerSlideClassNames?: Record<CollapsiblePanelSide, string>;
|
|
1334
|
+
/**
|
|
1335
|
+
* `"viewport"` (default, byte-identical to pre-#432) or `"inset"` — see
|
|
1336
|
+
* `CollapsiblePanelContainerPosition`.
|
|
1337
|
+
*/
|
|
1338
|
+
containerPosition?: CollapsiblePanelContainerPosition;
|
|
1339
|
+
}
|
|
1340
|
+
/** Data attributes for the panel's `group` element. */
|
|
1341
|
+
interface CollapsiblePanelAttrs {
|
|
1342
|
+
"data-state": CollapsiblePanelState;
|
|
1343
|
+
"data-side": CollapsiblePanelSide;
|
|
1344
|
+
}
|
|
1345
|
+
interface UseCollapsiblePanelReturn {
|
|
1346
|
+
/** Resolved open state (controlled prop wins). */
|
|
1347
|
+
open: boolean;
|
|
1348
|
+
/** `"expanded"` when open, `"collapsed"` when closed. */
|
|
1349
|
+
state: CollapsiblePanelState;
|
|
1350
|
+
side: CollapsiblePanelSide;
|
|
1351
|
+
/** Set the open state (accepts a value or an updater fn). */
|
|
1352
|
+
setOpen: (open: boolean | ((open: boolean) => boolean)) => void;
|
|
1353
|
+
toggle: () => void;
|
|
1354
|
+
/** `data-state`/`data-side` for the group element wrapping both fragments. */
|
|
1355
|
+
attrs: CollapsiblePanelAttrs;
|
|
1356
|
+
/** The gap-spacer fragment: reserves/releases the inline width. */
|
|
1357
|
+
spacerClassName: string;
|
|
1358
|
+
/** The fixed-container fragment: slides the panel off-screen. */
|
|
1359
|
+
containerClassName: string;
|
|
1360
|
+
}
|
|
1361
|
+
declare function useCollapsiblePanel({ side, open: openProp, defaultOpen, onOpenChange, widthClassName, spacerCollapsedClassName, containerSlideClassNames, containerPosition, }?: UseCollapsiblePanelOptions): UseCollapsiblePanelReturn;
|
|
1362
|
+
|
|
1222
1363
|
declare const TooltipProvider: react.FC<TooltipPrimitive.TooltipProviderProps>;
|
|
1223
1364
|
declare const Tooltip: react.FC<TooltipPrimitive.TooltipProps>;
|
|
1224
1365
|
declare const TooltipTrigger: react.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
@@ -1265,6 +1406,16 @@ declare const Sidebar: react.ForwardRefExoticComponent<Omit<react.ClassAttribute
|
|
|
1265
1406
|
side?: "left" | "right";
|
|
1266
1407
|
variant?: "sidebar" | "floating" | "inset";
|
|
1267
1408
|
collapsible?: "offcanvas" | "icon" | "none";
|
|
1409
|
+
/**
|
|
1410
|
+
* Where the rail's container pins itself. Default `"viewport"` (`fixed` to the window
|
|
1411
|
+
* edge — today's behaviour, byte-identical). `"inset"` pins to the rail's own place in
|
|
1412
|
+
* the layout instead (`absolute` against a `relative` wrapper this component provides),
|
|
1413
|
+
* for a whole app frame rendered INSIDE a box — a preview pane, a docs page, a
|
|
1414
|
+
* dashboard tile — where a `fixed` rail would escape to the window. Same seam as
|
|
1415
|
+
* `SideDock`'s `containerPosition`. No effect on the mobile `Sheet` or on
|
|
1416
|
+
* `collapsible="none"`.
|
|
1417
|
+
*/
|
|
1418
|
+
containerPosition?: CollapsiblePanelContainerPosition;
|
|
1268
1419
|
}, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
1269
1420
|
declare const SidebarTrigger: react.ForwardRefExoticComponent<Omit<ButtonProps & react.RefAttributes<HTMLButtonElement>, "ref"> & react.RefAttributes<HTMLButtonElement>>;
|
|
1270
1421
|
declare const SidebarRail: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & react.RefAttributes<HTMLButtonElement>>;
|
|
@@ -1394,10 +1545,17 @@ declare const Alert: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivEleme
|
|
|
1394
1545
|
interface AlertTitleProps extends HTMLAttributes<HTMLHeadingElement> {
|
|
1395
1546
|
/**
|
|
1396
1547
|
* Render at a different heading level to fit the surrounding document
|
|
1397
|
-
* outline (#329)
|
|
1398
|
-
* tracking-tight`) is identical
|
|
1548
|
+
* outline (#329), or as a `"div"` to stay out of the outline entirely. The
|
|
1549
|
+
* visual (`mb-1 font-medium leading-none tracking-tight`) is identical for
|
|
1550
|
+
* every value. @default "h5"
|
|
1551
|
+
*
|
|
1552
|
+
* `"div"` is for a title whose depth the author cannot know — content rendered
|
|
1553
|
+
* into someone else's page, such as an A2UI surface, where a fixed `h5` breaks
|
|
1554
|
+
* `heading-order` under any host that has no `h4` above it. The alert's own
|
|
1555
|
+
* `role="alert"` announces the title either way, so nothing is lost; `CardTitle`
|
|
1556
|
+
* makes the same default choice for the same reason.
|
|
1399
1557
|
*/
|
|
1400
|
-
as?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
1558
|
+
as?: "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
1401
1559
|
}
|
|
1402
1560
|
declare const AlertTitle: react.ForwardRefExoticComponent<AlertTitleProps & react.RefAttributes<HTMLHeadingElement>>;
|
|
1403
1561
|
interface AlertDescriptionProps extends HTMLAttributes<HTMLParagraphElement> {
|
|
@@ -1421,11 +1579,91 @@ declare const AlertDialogDescription: react.ForwardRefExoticComponent<Omit<Alert
|
|
|
1421
1579
|
declare const AlertDialogAction: react.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogActionProps & react.RefAttributes<HTMLButtonElement>, "ref"> & react.RefAttributes<HTMLButtonElement>>;
|
|
1422
1580
|
declare const AlertDialogCancel: react.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & react.RefAttributes<HTMLButtonElement>, "ref"> & react.RefAttributes<HTMLButtonElement>>;
|
|
1423
1581
|
|
|
1582
|
+
/** Colour-role tokens an ambient stop or tint may reference (always `var(--<token>)`). */
|
|
1583
|
+
type AmbientToken = "primary" | "accent" | `chart-${1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12}` | "surface-1" | "surface-2" | "surface-3" | "info" | "success" | "warning" | "destructive";
|
|
1584
|
+
/** Default mesh: the brand colour, the second chart hue, and the deepest surface. */
|
|
1585
|
+
declare const AMBIENT_DEFAULT_STOPS: readonly AmbientToken[];
|
|
1586
|
+
/** The ceiling for the mesh alpha — an ambient ground stays under content, never competes. */
|
|
1587
|
+
declare const AMBIENT_MAX_ALPHA = 0.18;
|
|
1588
|
+
interface AmbientFieldProps extends react.HTMLAttributes<HTMLDivElement> {
|
|
1589
|
+
/** Two or three colour tokens for the mesh; extra entries are ignored. */
|
|
1590
|
+
stops?: readonly AmbientToken[];
|
|
1591
|
+
/** Mesh alpha, clamped to 0…{@link AMBIENT_MAX_ALPHA}. Default 0.14. */
|
|
1592
|
+
alpha?: number;
|
|
1593
|
+
/** Run the slow 20 s drift (paused whenever the motion gate is at its floor). Default `true`. */
|
|
1594
|
+
drift?: boolean;
|
|
1595
|
+
/** Shift the first stop to this token (crossfades over `--t-base`); sets `data-ambient-tint`. */
|
|
1596
|
+
tint?: AmbientToken;
|
|
1597
|
+
}
|
|
1598
|
+
/**
|
|
1599
|
+
* A decorative ambient ground: a blurred radial mesh of token colours on a masked `::before`
|
|
1600
|
+
* layer, absolutely positioned under its container's content. Put it first inside a positioned,
|
|
1601
|
+
* `isolate` container. Pure CSS — renders the same on the server, animates only `transform`.
|
|
1602
|
+
*/
|
|
1603
|
+
declare const AmbientField: react.ForwardRefExoticComponent<AmbientFieldProps & react.RefAttributes<HTMLDivElement>>;
|
|
1604
|
+
|
|
1605
|
+
/** `topBar` slots — see `AppShellProps.topBar`. */
|
|
1606
|
+
interface AppShellTopBarSlots {
|
|
1607
|
+
/** Leading content, after the brand (when `brandPlacement="topbar"`). */
|
|
1608
|
+
start?: ReactNode;
|
|
1609
|
+
/** Centred content (e.g. a global search field) — see `TopNav`'s `center`. */
|
|
1610
|
+
center?: ReactNode;
|
|
1611
|
+
/** Trailing content (actions, account menu). */
|
|
1612
|
+
end?: ReactNode;
|
|
1613
|
+
}
|
|
1424
1614
|
interface AppShellProps {
|
|
1425
|
-
/**
|
|
1615
|
+
/**
|
|
1616
|
+
* Persistent left navigation (often a <Sidebar />). Not rendered when
|
|
1617
|
+
* `navigation="topbar"` — put the primary navigation in `topBar`/`topNav`
|
|
1618
|
+
* instead.
|
|
1619
|
+
*/
|
|
1426
1620
|
sidebar?: ReactNode;
|
|
1427
|
-
/**
|
|
1621
|
+
/**
|
|
1622
|
+
* Top bar (often a <TopNav />), a fully-formed node the caller already
|
|
1623
|
+
* brought. **Wins over `topBar` when both are passed** — this shell never
|
|
1624
|
+
* merges the two, so pass one or the other, never both. Use `topNav` when
|
|
1625
|
+
* you want to compose `TopNav` (or any other element) yourself; use
|
|
1626
|
+
* `topBar` for the common case where this shell should compose `TopNav`
|
|
1627
|
+
* for you from plain slots.
|
|
1628
|
+
*/
|
|
1428
1629
|
topNav?: ReactNode;
|
|
1630
|
+
/**
|
|
1631
|
+
* Slots this shell composes into a `TopNav` for you — the convenience path
|
|
1632
|
+
* for the common case (see `topNav` for precedence when both are set).
|
|
1633
|
+
* `center` renders through `TopNav`'s own `center` prop: a true 3-column
|
|
1634
|
+
* grid, so centred content (e.g. a global search field) stays centred
|
|
1635
|
+
* regardless of how wide `start`/`end` are.
|
|
1636
|
+
*/
|
|
1637
|
+
topBar?: AppShellTopBarSlots;
|
|
1638
|
+
/**
|
|
1639
|
+
* Where the brand mark lives. `"sidebar"` (default) is today's behavior:
|
|
1640
|
+
* this shell renders no brand of its own — the caller's `sidebar` node
|
|
1641
|
+
* (e.g. a `SidebarHeader` / `TeamSwitcher`) owns it. `"topbar"` renders
|
|
1642
|
+
* `brand` as the leading element of the top bar, before `topBar.start`.
|
|
1643
|
+
* Has no effect without a `brand` node, and no effect when `topNav` is
|
|
1644
|
+
* passed instead of `topBar` (bring your own top bar, bring your own
|
|
1645
|
+
* brand placement inside it).
|
|
1646
|
+
* @default "sidebar"
|
|
1647
|
+
*/
|
|
1648
|
+
brandPlacement?: "sidebar" | "topbar";
|
|
1649
|
+
/** Brand mark rendered in the top bar when `brandPlacement="topbar"`. */
|
|
1650
|
+
brand?: ReactNode;
|
|
1651
|
+
/**
|
|
1652
|
+
* Where the primary navigation lives. `"sidebar"` (default) renders
|
|
1653
|
+
* `sidebar` in the left column, unchanged. `"topbar"` renders no sidebar
|
|
1654
|
+
* column at all — compose the primary navigation into `topBar`/`topNav`
|
|
1655
|
+
* instead (e.g. a `NavigationMenu` in `topBar.center`).
|
|
1656
|
+
* @default "sidebar"
|
|
1657
|
+
*/
|
|
1658
|
+
navigation?: "sidebar" | "topbar";
|
|
1659
|
+
/**
|
|
1660
|
+
* A second column beside the sidebar (e.g. a resource/filter panel) —
|
|
1661
|
+
* `w-(--shell-secondary-width)` (16rem by default, every theme), hidden
|
|
1662
|
+
* below `md` exactly like `sidebar`. Independent of `navigation`/`sidebar`:
|
|
1663
|
+
* renders whenever it is passed. Pure layout, like `sidebar` — bring your
|
|
1664
|
+
* own chrome (background, border) on the node itself.
|
|
1665
|
+
*/
|
|
1666
|
+
secondaryPanel?: ReactNode;
|
|
1429
1667
|
children: ReactNode;
|
|
1430
1668
|
className?: string;
|
|
1431
1669
|
/** Class for the scrolling main content region. */
|
|
@@ -1462,6 +1700,14 @@ interface AppShellProps {
|
|
|
1462
1700
|
* AppShell code change is needed to reach navigation below `md`, because
|
|
1463
1701
|
* `SidebarProvider` is a plain React context and is never blocked by this
|
|
1464
1702
|
* component's internal wrapper `<div>`.
|
|
1703
|
+
*
|
|
1704
|
+
* `brandPlacement`, `topBar`, `navigation` and `secondaryPanel` are all
|
|
1705
|
+
* optional, off by default: with none of them passed this renders exactly
|
|
1706
|
+
* what it always has (a `sidebar` column, `topNav` verbatim, `<main>`). They
|
|
1707
|
+
* generalise the shape `Layout/App Shell/Flagship` already hand-builds —
|
|
1708
|
+
* brand in the top bar, a centred search field, horizontal primary
|
|
1709
|
+
* navigation, a second resource column — into props any consumer can reach
|
|
1710
|
+
* for without hand-rolling the layout again.
|
|
1465
1711
|
*/
|
|
1466
1712
|
declare const AppShell: react.ForwardRefExoticComponent<AppShellProps & react.RefAttributes<HTMLDivElement>>;
|
|
1467
1713
|
|
|
@@ -1559,13 +1805,6 @@ declare const Avatar: react.ForwardRefExoticComponent<Omit<AvatarPrimitive.Avata
|
|
|
1559
1805
|
declare const AvatarImage: react.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & react.RefAttributes<HTMLImageElement>, "ref"> & react.RefAttributes<HTMLImageElement>>;
|
|
1560
1806
|
declare const AvatarFallback: react.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & react.RefAttributes<HTMLSpanElement>, "ref"> & react.RefAttributes<HTMLSpanElement>>;
|
|
1561
1807
|
|
|
1562
|
-
declare const badgeVariants: (props?: ({
|
|
1563
|
-
variant?: "default" | "secondary" | "outline" | "success" | "warning" | "destructive" | "info" | null | undefined;
|
|
1564
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1565
|
-
interface BadgeProps extends HTMLAttributes<HTMLSpanElement>, VariantProps<typeof badgeVariants> {
|
|
1566
|
-
}
|
|
1567
|
-
declare const Badge: react.ForwardRefExoticComponent<BadgeProps & react.RefAttributes<HTMLSpanElement>>;
|
|
1568
|
-
|
|
1569
1808
|
interface BentoGridProps extends HTMLAttributes<HTMLDivElement> {
|
|
1570
1809
|
/** Additional className merged via cn(). */
|
|
1571
1810
|
className?: string;
|
|
@@ -1765,6 +2004,13 @@ interface CardProps extends HTMLAttributes<HTMLDivElement>, VariantProps<typeof
|
|
|
1765
2004
|
detailSize?: string;
|
|
1766
2005
|
/** Accessible label for the detail region. @default "Details" */
|
|
1767
2006
|
detailLabel?: string;
|
|
2007
|
+
/**
|
|
2008
|
+
* Opt-in hairline gesture: the edges of two sheets stacked behind the card's
|
|
2009
|
+
* top edge (the `hairline-stack` utility). It draws OUTSIDE the card, so it
|
|
2010
|
+
* needs ~12px of room above and a card that does not clip — a plain card, not
|
|
2011
|
+
* a `detail` one (whose grid is `overflow-hidden`). @default false
|
|
2012
|
+
*/
|
|
2013
|
+
stacked?: boolean;
|
|
1768
2014
|
}
|
|
1769
2015
|
declare const Card: react.ForwardRefExoticComponent<CardProps & react.RefAttributes<HTMLDivElement>>;
|
|
1770
2016
|
declare const CardHeader: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & react.RefAttributes<HTMLDivElement>>;
|
|
@@ -1788,6 +2034,23 @@ interface CardDescriptionProps extends HTMLAttributes<HTMLParagraphElement> {
|
|
|
1788
2034
|
}
|
|
1789
2035
|
declare const CardDescription: react.ForwardRefExoticComponent<CardDescriptionProps & react.RefAttributes<HTMLParagraphElement>>;
|
|
1790
2036
|
declare const CardAction: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & react.RefAttributes<HTMLDivElement>>;
|
|
2037
|
+
declare const cardMediaVariants: (props?: ({
|
|
2038
|
+
ground?: "none" | "hatch" | "dots" | null | undefined;
|
|
2039
|
+
fade?: "bottom" | "top" | "center" | "edges" | null | undefined;
|
|
2040
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2041
|
+
interface CardMediaProps extends HTMLAttributes<HTMLDivElement>, VariantProps<typeof cardMediaVariants> {
|
|
2042
|
+
}
|
|
2043
|
+
/**
|
|
2044
|
+
* The card's media WELL — the recessed region that holds an illustration, a
|
|
2045
|
+
* mini chart, a product fragment or a logo grid. Its ground is a faded hairline
|
|
2046
|
+
* hatch by default (`ground="dots"` for a dot field, `"none"` for a bare well),
|
|
2047
|
+
* painted on an inert layer behind the media, so whatever you put in it sits ON
|
|
2048
|
+
* the texture and is never tinted or masked by it.
|
|
2049
|
+
*
|
|
2050
|
+
* Place it above `CardHeader` (media first) or below `CardContent`. It centres
|
|
2051
|
+
* its children; pass `className` to change that.
|
|
2052
|
+
*/
|
|
2053
|
+
declare const CardMedia: react.ForwardRefExoticComponent<CardMediaProps & react.RefAttributes<HTMLDivElement>>;
|
|
1791
2054
|
declare const CardContent: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & react.RefAttributes<HTMLDivElement>>;
|
|
1792
2055
|
declare const CardFooter: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & react.RefAttributes<HTMLDivElement>>;
|
|
1793
2056
|
|
|
@@ -1983,56 +2246,6 @@ declare const Collapsible: react.ForwardRefExoticComponent<CollapsiblePrimitive.
|
|
|
1983
2246
|
declare const CollapsibleTrigger: react.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
1984
2247
|
declare const CollapsibleContent: react.ForwardRefExoticComponent<Omit<CollapsiblePrimitive.CollapsibleContentProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
1985
2248
|
|
|
1986
|
-
type CollapsiblePanelSide = "left" | "right";
|
|
1987
|
-
type CollapsiblePanelState = "expanded" | "collapsed";
|
|
1988
|
-
interface UseCollapsiblePanelOptions {
|
|
1989
|
-
/** Which edge the panel lives on. Default `"left"`. */
|
|
1990
|
-
side?: CollapsiblePanelSide;
|
|
1991
|
-
/** Controlled open state (`isControlled = open !== undefined`). */
|
|
1992
|
-
open?: boolean;
|
|
1993
|
-
/** Uncontrolled initial open state. Default `true`. */
|
|
1994
|
-
defaultOpen?: boolean;
|
|
1995
|
-
/** Called with the next open state on `setOpen`/`toggle`. */
|
|
1996
|
-
onOpenChange?: (open: boolean) => void;
|
|
1997
|
-
/**
|
|
1998
|
-
* Literal expanded-width utility (e.g. `"w-(--sidebar-width)"`). Must be a
|
|
1999
|
-
* literal in the consumer's source so Tailwind generates it.
|
|
2000
|
-
*/
|
|
2001
|
-
widthClassName?: string;
|
|
2002
|
-
/**
|
|
2003
|
-
* Literal collapsed-state utility for the gap spacer (e.g.
|
|
2004
|
-
* `"group-data-[collapsible=offcanvas]:w-0"`).
|
|
2005
|
-
*/
|
|
2006
|
-
spacerCollapsedClassName?: string;
|
|
2007
|
-
/**
|
|
2008
|
-
* Literal off-screen slide utilities for the fixed container, keyed by side
|
|
2009
|
-
* (e.g. `left: "left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]"`).
|
|
2010
|
-
*/
|
|
2011
|
-
containerSlideClassNames?: Record<CollapsiblePanelSide, string>;
|
|
2012
|
-
}
|
|
2013
|
-
/** Data attributes for the panel's `group` element. */
|
|
2014
|
-
interface CollapsiblePanelAttrs {
|
|
2015
|
-
"data-state": CollapsiblePanelState;
|
|
2016
|
-
"data-side": CollapsiblePanelSide;
|
|
2017
|
-
}
|
|
2018
|
-
interface UseCollapsiblePanelReturn {
|
|
2019
|
-
/** Resolved open state (controlled prop wins). */
|
|
2020
|
-
open: boolean;
|
|
2021
|
-
/** `"expanded"` when open, `"collapsed"` when closed. */
|
|
2022
|
-
state: CollapsiblePanelState;
|
|
2023
|
-
side: CollapsiblePanelSide;
|
|
2024
|
-
/** Set the open state (accepts a value or an updater fn). */
|
|
2025
|
-
setOpen: (open: boolean | ((open: boolean) => boolean)) => void;
|
|
2026
|
-
toggle: () => void;
|
|
2027
|
-
/** `data-state`/`data-side` for the group element wrapping both fragments. */
|
|
2028
|
-
attrs: CollapsiblePanelAttrs;
|
|
2029
|
-
/** The gap-spacer fragment: reserves/releases the inline width. */
|
|
2030
|
-
spacerClassName: string;
|
|
2031
|
-
/** The fixed-container fragment: slides the panel off-screen. */
|
|
2032
|
-
containerClassName: string;
|
|
2033
|
-
}
|
|
2034
|
-
declare function useCollapsiblePanel({ side, open: openProp, defaultOpen, onOpenChange, widthClassName, spacerCollapsedClassName, containerSlideClassNames, }?: UseCollapsiblePanelOptions): UseCollapsiblePanelReturn;
|
|
2035
|
-
|
|
2036
2249
|
/**
|
|
2037
2250
|
* The semantic color token names that ColorPicker understands as "safe" values.
|
|
2038
2251
|
* These map 1-to-1 with Tailwind utilities backed by CSS variables so they
|
|
@@ -2654,6 +2867,13 @@ declare const descriptionsVariants: (props?: ({
|
|
|
2654
2867
|
columns?: 1 | 2 | 3 | null | undefined;
|
|
2655
2868
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2656
2869
|
type DescriptionsLayout = "horizontal" | "vertical";
|
|
2870
|
+
/**
|
|
2871
|
+
* The label column's share of a `horizontal` item. Static class names, never
|
|
2872
|
+
* a computed `w-[…]`, so Tailwind can see them. `"1/3"` is the default and
|
|
2873
|
+
* the historical render; `"1/4"`/`"1/5"` suit a record whose labels are
|
|
2874
|
+
* short ("What it did", "Owner") and whose values are sentences.
|
|
2875
|
+
*/
|
|
2876
|
+
type DescriptionsLabelWidth = "1/3" | "1/4" | "1/5";
|
|
2657
2877
|
interface DescriptionsProps extends HTMLAttributes<HTMLDListElement>, VariantProps<typeof descriptionsVariants> {
|
|
2658
2878
|
/**
|
|
2659
2879
|
* Number of columns at the widest breakpoint. Collapses to a single column
|
|
@@ -2665,6 +2885,11 @@ interface DescriptionsProps extends HTMLAttributes<HTMLDListElement>, VariantPro
|
|
|
2665
2885
|
* label above the value. Default `horizontal`.
|
|
2666
2886
|
*/
|
|
2667
2887
|
layout?: DescriptionsLayout;
|
|
2888
|
+
/**
|
|
2889
|
+
* Width of the label column in the `horizontal` layout, as a share of the
|
|
2890
|
+
* item. Default `"1/3"`. Ignored by `vertical`.
|
|
2891
|
+
*/
|
|
2892
|
+
labelWidth?: DescriptionsLabelWidth;
|
|
2668
2893
|
}
|
|
2669
2894
|
/**
|
|
2670
2895
|
* Descriptions — a responsive definition list of label↔value pairs.
|
|
@@ -3164,7 +3389,7 @@ type TextareaProps = TextareaHTMLAttributes<HTMLTextAreaElement>;
|
|
|
3164
3389
|
declare const Textarea: react.ForwardRefExoticComponent<TextareaProps & react.RefAttributes<HTMLTextAreaElement>>;
|
|
3165
3390
|
|
|
3166
3391
|
declare const inputGroupVariants: (props?: ({
|
|
3167
|
-
variant?: "
|
|
3392
|
+
variant?: "card" | "outline" | "surface" | null | undefined;
|
|
3168
3393
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
3169
3394
|
type InputGroupProps = ComponentProps<"div"> & VariantProps<typeof inputGroupVariants>;
|
|
3170
3395
|
declare const InputGroup: react.ForwardRefExoticComponent<Omit<InputGroupProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
@@ -3918,13 +4143,40 @@ declare const ModelPicker: react.ForwardRefExoticComponent<ModelPickerProps & re
|
|
|
3918
4143
|
* each side so a drift shows up as a failing test rather than as two surfaces
|
|
3919
4144
|
* disagreeing about what `1500` looks like.
|
|
3920
4145
|
*/
|
|
3921
|
-
/** How a numeric value is rendered. Mirrors the charts `
|
|
4146
|
+
/** How a numeric value is rendered. Mirrors the charts `ChartValueFormatPreset`. */
|
|
3922
4147
|
type NumberFormatKind = "number" | "compact" | "currency" | "percent";
|
|
4148
|
+
/**
|
|
4149
|
+
* The object form of {@link NumberFormat} (RM-109) — decimals, sign,
|
|
4150
|
+
* prefix/suffix and abbreviation as independent knobs. Mirrors the charts
|
|
4151
|
+
* `ChartValueFormatSpec` field-for-field; see that type's docblock
|
|
4152
|
+
* (`packages/charts/src/charts/value-format.ts`) for the full contract of
|
|
4153
|
+
* each field — this is the DELIBERATE TWIN, not a reinterpretation.
|
|
4154
|
+
*/
|
|
4155
|
+
interface NumberFormatSpec {
|
|
4156
|
+
style?: "number" | "currency" | "percent";
|
|
4157
|
+
decimals?: number;
|
|
4158
|
+
optionalDecimals?: boolean;
|
|
4159
|
+
abbreviate?: boolean | "auto";
|
|
4160
|
+
sign?: "auto" | "always" | "parens";
|
|
4161
|
+
prefix?: string;
|
|
4162
|
+
suffix?: string;
|
|
4163
|
+
grouping?: boolean;
|
|
4164
|
+
currency?: string;
|
|
4165
|
+
}
|
|
4166
|
+
/** A preset string or the {@link NumberFormatSpec} object form (RM-109). */
|
|
4167
|
+
type NumberFormat = NumberFormatKind | NumberFormatSpec;
|
|
3923
4168
|
|
|
3924
4169
|
declare const metricValueVariants: (props?: ({
|
|
3925
4170
|
emphasis?: "default" | "headline" | null | undefined;
|
|
4171
|
+
size?: "md" | "sm" | "lg" | null | undefined;
|
|
3926
4172
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
3927
4173
|
type MetricCardEmphasis = NonNullable<VariantProps<typeof metricValueVariants>["emphasis"]>;
|
|
4174
|
+
/**
|
|
4175
|
+
* Tile tier (RM-072). `sm`: label + value only (no icon, delta, description,
|
|
4176
|
+
* sparkline, visual or evidence); `md`: the default tile; `lg`: the kpi value
|
|
4177
|
+
* rung with more room for the `sparkline` slot.
|
|
4178
|
+
*/
|
|
4179
|
+
type MetricCardSize = NonNullable<VariantProps<typeof metricValueVariants>["size"]>;
|
|
3928
4180
|
/**
|
|
3929
4181
|
* How a NUMERIC `value` is rendered. A function takes over completely.
|
|
3930
4182
|
*
|
|
@@ -3933,8 +4185,15 @@ type MetricCardEmphasis = NonNullable<VariantProps<typeof metricValueVariants>["
|
|
|
3933
4185
|
* away via `CopyableValue`. Anything that is not a `number` (a string, an
|
|
3934
4186
|
* element) is passed through untouched, so every existing call site is
|
|
3935
4187
|
* unaffected.
|
|
4188
|
+
*
|
|
4189
|
+
* Also accepts the object form (RM-109, `NumberFormatSpec` —
|
|
4190
|
+
* `{ decimals, abbreviate, sign, prefix, suffix, … }`,
|
|
4191
|
+
* `packages/ui/src/lib/compact-number.ts`) for a tile that needs e.g.
|
|
4192
|
+
* `{ decimals: 1, suffix: "%" }` without hand-formatting the string itself.
|
|
4193
|
+
* The two preset-string cases render byte-for-byte as before this type
|
|
4194
|
+
* widened — only a spec OBJECT argument reaches the new code path.
|
|
3936
4195
|
*/
|
|
3937
|
-
type MetricCardValueFormat =
|
|
4196
|
+
type MetricCardValueFormat = NumberFormat | ((value: number) => ReactNode);
|
|
3938
4197
|
interface MetricCardProps extends HTMLAttributes<HTMLDivElement>, VariantProps<typeof metricValueVariants> {
|
|
3939
4198
|
label: ReactNode;
|
|
3940
4199
|
value: ReactNode;
|
|
@@ -3959,8 +4218,13 @@ interface MetricCardProps extends HTMLAttributes<HTMLDivElement>, VariantProps<t
|
|
|
3959
4218
|
/** Whether "up" is good (green) — flip for metrics where down is good. */
|
|
3960
4219
|
positiveIsGood?: boolean;
|
|
3961
4220
|
icon?: ReactNode;
|
|
3962
|
-
/** Optional inline visual
|
|
4221
|
+
/** Optional inline visual shown under the value/description. */
|
|
3963
4222
|
visual?: ReactNode;
|
|
4223
|
+
/**
|
|
4224
|
+
* Trend slot rendered directly under the value (RM-072) — pass a
|
|
4225
|
+
* `<Sparkline …/>` from `@elabs-ai/components-charts`. Hidden at `size="sm"`.
|
|
4226
|
+
*/
|
|
4227
|
+
sparkline?: ReactNode;
|
|
3964
4228
|
/**
|
|
3965
4229
|
* Optional grounding footer (research 11 §B.5 KPI-3) — connects a cited
|
|
3966
4230
|
* figure to its source (e.g. an `EvidenceChip` from `@elabs-ai/components-ai`). Rendered
|
|
@@ -4077,16 +4341,28 @@ interface NavUserUser {
|
|
|
4077
4341
|
}
|
|
4078
4342
|
interface NavUserProps {
|
|
4079
4343
|
user: NavUserUser;
|
|
4344
|
+
/** Fires when "Settings" is chosen. Ignored when `settingsHref` is set. */
|
|
4345
|
+
onSettings?: () => void;
|
|
4346
|
+
/** Route of the settings screen — "Settings" renders as a link to it. */
|
|
4347
|
+
settingsHref?: string;
|
|
4348
|
+
/** Fires when "Sign out" is chosen. */
|
|
4349
|
+
onSignOut?: () => void;
|
|
4350
|
+
/**
|
|
4351
|
+
* Extra `DropdownMenuItem`s, placed above "Settings" (e.g. Profile, Billing).
|
|
4352
|
+
* Settings and Sign out are always present — they are the standard pair.
|
|
4353
|
+
*/
|
|
4354
|
+
children?: ReactNode;
|
|
4080
4355
|
}
|
|
4081
4356
|
/**
|
|
4082
|
-
*
|
|
4083
|
-
*
|
|
4084
|
-
*
|
|
4357
|
+
* The standard sidebar footer: the signed-in user (avatar, name, email) as one
|
|
4358
|
+
* row that opens the account menu — Settings, then Sign out. EVERY app shell's
|
|
4359
|
+
* nav rail ends with this; settings never sits in the footer as a loose nav
|
|
4360
|
+
* row, and the footer carries no environment/meta line.
|
|
4085
4361
|
*
|
|
4086
|
-
*
|
|
4087
|
-
*
|
|
4362
|
+
* Collapsed to the 48px icon rail the row is the avatar alone, and its
|
|
4363
|
+
* accessible name is written out because the visible label is gone.
|
|
4088
4364
|
*/
|
|
4089
|
-
declare function NavUser({ user }: NavUserProps): react.JSX.Element;
|
|
4365
|
+
declare function NavUser({ user, onSettings, settingsHref, onSignOut, children }: NavUserProps): react.JSX.Element;
|
|
4090
4366
|
|
|
4091
4367
|
declare const NavigationMenu: react.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuProps & react.RefAttributes<HTMLElement>, "ref"> & react.RefAttributes<HTMLElement>>;
|
|
4092
4368
|
declare const NavigationMenuList: react.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuListProps & react.RefAttributes<HTMLUListElement>, "ref"> & react.RefAttributes<HTMLUListElement>>;
|
|
@@ -4106,12 +4382,12 @@ interface PageShellProps extends ComponentProps<"div"> {
|
|
|
4106
4382
|
* Byte-identical to today.
|
|
4107
4383
|
*
|
|
4108
4384
|
* "toolbar" — for a `<ViewToolbar>` header (`@elabs-ai/components-ui`,
|
|
4109
|
-
* `
|
|
4385
|
+
* `Layout/ViewToolbar → Contract`): wraps `header` in a `sticky top-0` container
|
|
4110
4386
|
* with an opaque/blurred fill and a bottom hairline, so it stays pinned while
|
|
4111
4387
|
* the body scrolls beneath it. PLACES whatever node `header` is — it does not
|
|
4112
4388
|
* reimplement ViewToolbar's own info/left-cluster/actions grammar, and it does
|
|
4113
4389
|
* NOT cap the row's height (a `<ViewToolbar>` wraps at narrow widths; see
|
|
4114
|
-
* `
|
|
4390
|
+
* `Layout/ViewToolbar → Contract` R7).
|
|
4115
4391
|
*/
|
|
4116
4392
|
headerVariant?: "default" | "toolbar";
|
|
4117
4393
|
/** Constrain content width. Defaults to "xl". */
|
|
@@ -4164,6 +4440,85 @@ declare function PaginationPrevious({ className, ...props }: ComponentProps<"a">
|
|
|
4164
4440
|
declare function PaginationNext({ className, ...props }: ComponentProps<"a">): react.JSX.Element;
|
|
4165
4441
|
declare function PaginationEllipsis({ className, ...props }: ComponentProps<"span">): react.JSX.Element;
|
|
4166
4442
|
|
|
4443
|
+
/** The three depth planes of a page: the ground, the content, and floating accents. */
|
|
4444
|
+
type ParallaxPlaneKind = "ground" | "content" | "float";
|
|
4445
|
+
/** Default scroll rate per plane, relative to the page (content moves with it at 1×). */
|
|
4446
|
+
declare const PARALLAX_PLANE_RATES: Record<ParallaxPlaneKind, number>;
|
|
4447
|
+
/** The largest offset, in px, any plane may drift from the content plane. */
|
|
4448
|
+
declare const PARALLAX_MAX_TRAVEL = 60;
|
|
4449
|
+
interface ParallaxPlaneProps extends react.HTMLAttributes<HTMLDivElement> {
|
|
4450
|
+
/** Which depth plane this is; sets `data-plane` and the default `rate`. Default `content`. */
|
|
4451
|
+
plane?: ParallaxPlaneKind;
|
|
4452
|
+
/** Scroll rate relative to the page (1 = moves with the content). Defaults per `plane`. */
|
|
4453
|
+
rate?: number;
|
|
4454
|
+
}
|
|
4455
|
+
/**
|
|
4456
|
+
* Offset of a plane from the content plane after `scrollY` px of scroll: `(1 − rate) × factor`
|
|
4457
|
+
* per px, clamped to ±{@link PARALLAX_MAX_TRAVEL}. Reduced motion (factor at the floor) gives an
|
|
4458
|
+
* effective rate of 1 for every plane — no parallax.
|
|
4459
|
+
*/
|
|
4460
|
+
declare function parallaxOffset(scrollY: number, rate: number, factor: number): number;
|
|
4461
|
+
/**
|
|
4462
|
+
* A depth plane that scrolls at its own rate. Uses CSS `animation-timeline: scroll(root)` where
|
|
4463
|
+
* the browser has it, else `motion`'s `scroll()` (lazy optional peer) writing `transform`. The
|
|
4464
|
+
* server HTML has no transform; motion starts after hydration and only when the gate is open.
|
|
4465
|
+
* The plane owns its `transform` — put layout transforms on a child.
|
|
4466
|
+
*/
|
|
4467
|
+
declare const ParallaxPlane: react.ForwardRefExoticComponent<ParallaxPlaneProps & react.RefAttributes<HTMLDivElement>>;
|
|
4468
|
+
|
|
4469
|
+
/**
|
|
4470
|
+
* Meter — a word-sized read-only quantity: a confidence, a share of a
|
|
4471
|
+
* ceiling, "4 of 5 signals held".
|
|
4472
|
+
*
|
|
4473
|
+
* NOT a `Progress` (dedupe audit, 2026-09-18): `Progress` is a
|
|
4474
|
+
* `role="progressbar"` — assistive tech announces it as a task in flight and
|
|
4475
|
+
* it is block-level by design. A meter is the ARIA `meter` role: a scalar
|
|
4476
|
+
* within a known range that is not going anywhere. The two share the visual
|
|
4477
|
+
* recipe (track, fill, an optional reference tick) so a page that mixes them
|
|
4478
|
+
* reads as one system; they differ in semantics, default ink and size.
|
|
4479
|
+
*
|
|
4480
|
+
* - Default fill is `foreground` ink, not `primary`: a quantity is a fact,
|
|
4481
|
+
* not an action or a status. The status tones exist for the case where the
|
|
4482
|
+
* quantity IS a verdict (over a ceiling → `destructive`), and a non-default
|
|
4483
|
+
* tone must be paired with `aria-valuetext` so the state is never color-only.
|
|
4484
|
+
* - `segments` turns the continuous track into a countable strip of discrete
|
|
4485
|
+
* cells ("|||| 4 of 5"): five facts read better as five marks than as 80%.
|
|
4486
|
+
* - `marker` draws a reference tick (a ceiling, a target) outside the clipped
|
|
4487
|
+
* track, exactly as `Progress.marker` does; `markerLabel` joins the value
|
|
4488
|
+
* text so AT hears the reference too.
|
|
4489
|
+
*/
|
|
4490
|
+
declare const meterVariants: (props?: ({
|
|
4491
|
+
size?: "md" | "sm" | "xs" | null | undefined;
|
|
4492
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
4493
|
+
declare const meterFillVariants: (props?: ({
|
|
4494
|
+
variant?: "default" | "success" | "warning" | "destructive" | null | undefined;
|
|
4495
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
4496
|
+
interface MeterProps extends Omit<HTMLAttributes<HTMLDivElement>, "children">, VariantProps<typeof meterVariants>, VariantProps<typeof meterFillVariants> {
|
|
4497
|
+
/** The measured value. Clamped to `[min, max]` for the fill; reported as-is to AT. */
|
|
4498
|
+
value: number;
|
|
4499
|
+
/** Range floor. Default 0. */
|
|
4500
|
+
min?: number;
|
|
4501
|
+
/** Range ceiling. Default 100. */
|
|
4502
|
+
max?: number;
|
|
4503
|
+
/**
|
|
4504
|
+
* Draw the track as this many discrete cells instead of one continuous
|
|
4505
|
+
* fill; the value fills `round((value − min) / (max − min) × segments)` of
|
|
4506
|
+
* them. For "n of m" facts pass `segments={m}` with `max={m}`.
|
|
4507
|
+
*/
|
|
4508
|
+
segments?: number;
|
|
4509
|
+
/**
|
|
4510
|
+
* Reference point on the same scale as `value` (a ceiling, a target),
|
|
4511
|
+
* rendered as a thin vertical tick on the track. Unset renders no tick.
|
|
4512
|
+
*/
|
|
4513
|
+
marker?: number;
|
|
4514
|
+
/**
|
|
4515
|
+
* What `marker` represents, already localized ("ceiling $500"). Appended to
|
|
4516
|
+
* the accessible value text; a caller-supplied `aria-valuetext` always wins.
|
|
4517
|
+
*/
|
|
4518
|
+
markerLabel?: string;
|
|
4519
|
+
}
|
|
4520
|
+
declare const Meter: react.ForwardRefExoticComponent<MeterProps & react.RefAttributes<HTMLDivElement>>;
|
|
4521
|
+
|
|
4167
4522
|
/**
|
|
4168
4523
|
* Tone vocabulary reused from `StatusBadge`/`Alert` (success/warning/destructive
|
|
4169
4524
|
* on semantic tokens, #358) rather than reinvented. `default` keeps the fill
|
|
@@ -4173,6 +4528,23 @@ declare const progressIndicatorVariants: (props?: ({
|
|
|
4173
4528
|
variant?: "default" | "success" | "warning" | "destructive" | null | undefined;
|
|
4174
4529
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
4175
4530
|
interface ProgressProps extends ComponentPropsWithoutRef<typeof ProgressPrimitive.Root>, VariantProps<typeof progressIndicatorVariants> {
|
|
4531
|
+
/**
|
|
4532
|
+
* Reference point (0–100, same scale as `value`) — e.g. an "expected by
|
|
4533
|
+
* today" pace or a target — rendered as a thin vertical tick on the track.
|
|
4534
|
+
* Unset (default) renders no tick and leaves the DOM/layout byte-identical
|
|
4535
|
+
* to a marker-less `Progress`.
|
|
4536
|
+
*/
|
|
4537
|
+
marker?: number;
|
|
4538
|
+
/**
|
|
4539
|
+
* What `marker` represents (already localized by the caller — e.g.
|
|
4540
|
+
* `"expected 70% by today"`). When set, it is appended to the progress
|
|
4541
|
+
* bar's accessible value text so assistive tech hears the reference point
|
|
4542
|
+
* alongside the value; a caller-supplied `aria-valuetext` always wins over
|
|
4543
|
+
* this composition. When `marker` is set but `markerLabel` is not, the
|
|
4544
|
+
* tick is purely decorative and `aria-valuetext` is left untouched — this
|
|
4545
|
+
* component never invents its own English copy (i18n-strings).
|
|
4546
|
+
*/
|
|
4547
|
+
markerLabel?: string;
|
|
4176
4548
|
}
|
|
4177
4549
|
/**
|
|
4178
4550
|
* Color must not be the only signal a guardrail tripped: set `aria-valuetext`
|
|
@@ -4217,7 +4589,7 @@ interface RatingProps extends Omit<HTMLAttributes<HTMLDivElement>, "onChange" |
|
|
|
4217
4589
|
declare const Rating: react.ForwardRefExoticComponent<RatingProps & react.RefAttributes<HTMLDivElement>>;
|
|
4218
4590
|
|
|
4219
4591
|
declare const ResizablePanelGroup: ForwardRefExoticComponent<React.ComponentProps<typeof ResizablePrimitive.PanelGroup> & RefAttributes<ResizablePrimitive.ImperativePanelGroupHandle>>;
|
|
4220
|
-
declare const ResizablePanel: ForwardRefExoticComponent<Omit<react.HTMLAttributes<
|
|
4592
|
+
declare const ResizablePanel: ForwardRefExoticComponent<Omit<react.HTMLAttributes<HTMLElement | HTMLAnchorElement | HTMLDivElement | HTMLSpanElement | HTMLObjectElement | HTMLTitleElement | HTMLBodyElement | HTMLMetaElement | HTMLParagraphElement | HTMLSelectElement | HTMLLinkElement | HTMLInputElement | HTMLDialogElement | HTMLScriptElement | HTMLAreaElement | HTMLAudioElement | HTMLBaseElement | HTMLQuoteElement | HTMLBRElement | HTMLButtonElement | HTMLCanvasElement | HTMLTableColElement | HTMLDataElement | HTMLDataListElement | HTMLModElement | HTMLDetailsElement | HTMLDListElement | HTMLEmbedElement | HTMLFieldSetElement | HTMLFormElement | HTMLHeadingElement | HTMLHeadElement | HTMLHRElement | HTMLHtmlElement | HTMLIFrameElement | HTMLImageElement | HTMLLabelElement | HTMLLegendElement | HTMLLIElement | HTMLMapElement | HTMLMeterElement | HTMLOListElement | HTMLOptGroupElement | HTMLOptionElement | HTMLOutputElement | HTMLPreElement | HTMLProgressElement | HTMLSlotElement | HTMLSourceElement | HTMLStyleElement | HTMLTableElement | HTMLTableSectionElement | HTMLTableCellElement | HTMLTemplateElement | HTMLTextAreaElement | HTMLTimeElement | HTMLTableRowElement | HTMLTrackElement | HTMLUListElement | HTMLVideoElement | HTMLTableCaptionElement | HTMLMenuElement | HTMLPictureElement>, "id" | "onResize"> & {
|
|
4221
4593
|
className?: string | undefined;
|
|
4222
4594
|
collapsedSize?: number | undefined;
|
|
4223
4595
|
collapsible?: boolean | undefined;
|
|
@@ -4253,7 +4625,7 @@ declare function ResizableHandle({ withHandle, className, hitAreaMargins, ...pro
|
|
|
4253
4625
|
* start state through any stagger delay so items don't flash in early.
|
|
4254
4626
|
*/
|
|
4255
4627
|
declare const revealVariants: (props?: ({
|
|
4256
|
-
appear?: "left" | "right" | "zoom" | "
|
|
4628
|
+
appear?: "left" | "right" | "zoom" | "fade" | "up" | "down" | null | undefined;
|
|
4257
4629
|
speed?: "base" | "fast" | "slow" | null | undefined;
|
|
4258
4630
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
4259
4631
|
interface RevealProps extends HTMLAttributes<HTMLDivElement>, VariantProps<typeof revealVariants> {
|
|
@@ -4278,6 +4650,22 @@ interface RevealGroupProps extends HTMLAttributes<HTMLDivElement>, VariantProps<
|
|
|
4278
4650
|
*/
|
|
4279
4651
|
declare const RevealGroup: react.ForwardRefExoticComponent<RevealGroupProps & react.RefAttributes<HTMLDivElement>>;
|
|
4280
4652
|
|
|
4653
|
+
/** Elements RevealOnEnter may render as. */
|
|
4654
|
+
type RevealOnEnterElement = "div" | "section" | "article" | "aside" | "header" | "footer" | "ul" | "ol" | "li";
|
|
4655
|
+
interface RevealOnEnterProps extends react.HTMLAttributes<HTMLElement> {
|
|
4656
|
+
/** The element to render. Default `div`. */
|
|
4657
|
+
as?: RevealOnEnterElement;
|
|
4658
|
+
/** Reveal each direct child in turn (60 ms × `--motion-factor` apart) instead of the whole. */
|
|
4659
|
+
stagger?: boolean;
|
|
4660
|
+
}
|
|
4661
|
+
/**
|
|
4662
|
+
* Fades and lifts its content in the first time it scrolls into view — once, never re-hiding.
|
|
4663
|
+
* Content is never hidden from a reader or a crawler: the server HTML is fully visible, and the
|
|
4664
|
+
* hidden state is applied only after hydration, only when the motion gate is open, only when
|
|
4665
|
+
* `IntersectionObserver` exists, and only for content that is not already on screen.
|
|
4666
|
+
*/
|
|
4667
|
+
declare const RevealOnEnter: react.ForwardRefExoticComponent<RevealOnEnterProps & react.RefAttributes<HTMLElement>>;
|
|
4668
|
+
|
|
4281
4669
|
/**
|
|
4282
4670
|
* schema-form-spec.ts — Serializable FormSpec for SchemaForm.
|
|
4283
4671
|
*
|
|
@@ -4375,16 +4763,22 @@ declare const stringFieldSchema: z.ZodObject<{
|
|
|
4375
4763
|
field: string;
|
|
4376
4764
|
equals: string | number | boolean;
|
|
4377
4765
|
}>>;
|
|
4766
|
+
/**
|
|
4767
|
+
* Show the value as read-only text (a `Descriptions` item) instead of an
|
|
4768
|
+
* editable control. The value still belongs to the form's `values`.
|
|
4769
|
+
*/
|
|
4770
|
+
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
4378
4771
|
type: z.ZodLiteral<"string">;
|
|
4379
4772
|
}, "strip", z.ZodTypeAny, {
|
|
4380
4773
|
name: string;
|
|
4381
4774
|
type: "string";
|
|
4382
|
-
label?: string | undefined;
|
|
4383
4775
|
default?: string | undefined;
|
|
4776
|
+
label?: string | undefined;
|
|
4384
4777
|
format?: "email" | "date" | "uri" | "date-time" | undefined;
|
|
4385
4778
|
pattern?: string | undefined;
|
|
4386
4779
|
maxLength?: number | undefined;
|
|
4387
4780
|
minLength?: number | undefined;
|
|
4781
|
+
readOnly?: boolean | undefined;
|
|
4388
4782
|
required?: boolean | undefined;
|
|
4389
4783
|
description?: string | undefined;
|
|
4390
4784
|
multiline?: boolean | undefined;
|
|
@@ -4395,12 +4789,13 @@ declare const stringFieldSchema: z.ZodObject<{
|
|
|
4395
4789
|
}, {
|
|
4396
4790
|
name: string;
|
|
4397
4791
|
type: "string";
|
|
4398
|
-
label?: string | undefined;
|
|
4399
4792
|
default?: string | undefined;
|
|
4793
|
+
label?: string | undefined;
|
|
4400
4794
|
format?: "email" | "date" | "uri" | "date-time" | undefined;
|
|
4401
4795
|
pattern?: string | undefined;
|
|
4402
4796
|
maxLength?: number | undefined;
|
|
4403
4797
|
minLength?: number | undefined;
|
|
4798
|
+
readOnly?: boolean | undefined;
|
|
4404
4799
|
required?: boolean | undefined;
|
|
4405
4800
|
description?: string | undefined;
|
|
4406
4801
|
multiline?: boolean | undefined;
|
|
@@ -4443,14 +4838,20 @@ declare const numberFieldSchema: z.ZodObject<{
|
|
|
4443
4838
|
field: string;
|
|
4444
4839
|
equals: string | number | boolean;
|
|
4445
4840
|
}>>;
|
|
4841
|
+
/**
|
|
4842
|
+
* Show the value as read-only text (a `Descriptions` item) instead of an
|
|
4843
|
+
* editable control. The value still belongs to the form's `values`.
|
|
4844
|
+
*/
|
|
4845
|
+
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
4446
4846
|
type: z.ZodLiteral<"number">;
|
|
4447
4847
|
}, "strip", z.ZodTypeAny, {
|
|
4448
4848
|
name: string;
|
|
4449
4849
|
type: "number";
|
|
4450
|
-
label?: string | undefined;
|
|
4451
4850
|
default?: number | undefined;
|
|
4851
|
+
label?: string | undefined;
|
|
4452
4852
|
max?: number | undefined;
|
|
4453
4853
|
min?: number | undefined;
|
|
4854
|
+
readOnly?: boolean | undefined;
|
|
4454
4855
|
required?: boolean | undefined;
|
|
4455
4856
|
description?: string | undefined;
|
|
4456
4857
|
visibleWhen?: {
|
|
@@ -4460,10 +4861,11 @@ declare const numberFieldSchema: z.ZodObject<{
|
|
|
4460
4861
|
}, {
|
|
4461
4862
|
name: string;
|
|
4462
4863
|
type: "number";
|
|
4463
|
-
label?: string | undefined;
|
|
4464
4864
|
default?: number | undefined;
|
|
4865
|
+
label?: string | undefined;
|
|
4465
4866
|
max?: number | undefined;
|
|
4466
4867
|
min?: number | undefined;
|
|
4868
|
+
readOnly?: boolean | undefined;
|
|
4467
4869
|
required?: boolean | undefined;
|
|
4468
4870
|
description?: string | undefined;
|
|
4469
4871
|
visibleWhen?: {
|
|
@@ -4505,14 +4907,20 @@ declare const integerFieldSchema: z.ZodObject<{
|
|
|
4505
4907
|
field: string;
|
|
4506
4908
|
equals: string | number | boolean;
|
|
4507
4909
|
}>>;
|
|
4910
|
+
/**
|
|
4911
|
+
* Show the value as read-only text (a `Descriptions` item) instead of an
|
|
4912
|
+
* editable control. The value still belongs to the form's `values`.
|
|
4913
|
+
*/
|
|
4914
|
+
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
4508
4915
|
type: z.ZodLiteral<"integer">;
|
|
4509
4916
|
}, "strip", z.ZodTypeAny, {
|
|
4510
4917
|
name: string;
|
|
4511
4918
|
type: "integer";
|
|
4512
|
-
label?: string | undefined;
|
|
4513
4919
|
default?: number | undefined;
|
|
4920
|
+
label?: string | undefined;
|
|
4514
4921
|
max?: number | undefined;
|
|
4515
4922
|
min?: number | undefined;
|
|
4923
|
+
readOnly?: boolean | undefined;
|
|
4516
4924
|
required?: boolean | undefined;
|
|
4517
4925
|
description?: string | undefined;
|
|
4518
4926
|
visibleWhen?: {
|
|
@@ -4522,10 +4930,11 @@ declare const integerFieldSchema: z.ZodObject<{
|
|
|
4522
4930
|
}, {
|
|
4523
4931
|
name: string;
|
|
4524
4932
|
type: "integer";
|
|
4525
|
-
label?: string | undefined;
|
|
4526
4933
|
default?: number | undefined;
|
|
4934
|
+
label?: string | undefined;
|
|
4527
4935
|
max?: number | undefined;
|
|
4528
4936
|
min?: number | undefined;
|
|
4937
|
+
readOnly?: boolean | undefined;
|
|
4529
4938
|
required?: boolean | undefined;
|
|
4530
4939
|
description?: string | undefined;
|
|
4531
4940
|
visibleWhen?: {
|
|
@@ -4565,12 +4974,18 @@ declare const booleanFieldSchema: z.ZodObject<{
|
|
|
4565
4974
|
field: string;
|
|
4566
4975
|
equals: string | number | boolean;
|
|
4567
4976
|
}>>;
|
|
4977
|
+
/**
|
|
4978
|
+
* Show the value as read-only text (a `Descriptions` item) instead of an
|
|
4979
|
+
* editable control. The value still belongs to the form's `values`.
|
|
4980
|
+
*/
|
|
4981
|
+
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
4568
4982
|
type: z.ZodLiteral<"boolean">;
|
|
4569
4983
|
}, "strip", z.ZodTypeAny, {
|
|
4570
4984
|
name: string;
|
|
4571
4985
|
type: "boolean";
|
|
4572
|
-
label?: string | undefined;
|
|
4573
4986
|
default?: boolean | undefined;
|
|
4987
|
+
label?: string | undefined;
|
|
4988
|
+
readOnly?: boolean | undefined;
|
|
4574
4989
|
required?: boolean | undefined;
|
|
4575
4990
|
description?: string | undefined;
|
|
4576
4991
|
visibleWhen?: {
|
|
@@ -4580,8 +4995,9 @@ declare const booleanFieldSchema: z.ZodObject<{
|
|
|
4580
4995
|
}, {
|
|
4581
4996
|
name: string;
|
|
4582
4997
|
type: "boolean";
|
|
4583
|
-
label?: string | undefined;
|
|
4584
4998
|
default?: boolean | undefined;
|
|
4999
|
+
label?: string | undefined;
|
|
5000
|
+
readOnly?: boolean | undefined;
|
|
4585
5001
|
required?: boolean | undefined;
|
|
4586
5002
|
description?: string | undefined;
|
|
4587
5003
|
visibleWhen?: {
|
|
@@ -4631,6 +5047,11 @@ declare const enumFieldSchema: z.ZodObject<{
|
|
|
4631
5047
|
field: string;
|
|
4632
5048
|
equals: string | number | boolean;
|
|
4633
5049
|
}>>;
|
|
5050
|
+
/**
|
|
5051
|
+
* Show the value as read-only text (a `Descriptions` item) instead of an
|
|
5052
|
+
* editable control. The value still belongs to the form's `values`.
|
|
5053
|
+
*/
|
|
5054
|
+
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
4634
5055
|
type: z.ZodLiteral<"enum">;
|
|
4635
5056
|
}, "strip", z.ZodTypeAny, {
|
|
4636
5057
|
name: string;
|
|
@@ -4639,8 +5060,9 @@ declare const enumFieldSchema: z.ZodObject<{
|
|
|
4639
5060
|
const: string;
|
|
4640
5061
|
title?: string | undefined;
|
|
4641
5062
|
})[];
|
|
4642
|
-
label?: string | undefined;
|
|
4643
5063
|
default?: string | undefined;
|
|
5064
|
+
label?: string | undefined;
|
|
5065
|
+
readOnly?: boolean | undefined;
|
|
4644
5066
|
required?: boolean | undefined;
|
|
4645
5067
|
description?: string | undefined;
|
|
4646
5068
|
visibleWhen?: {
|
|
@@ -4654,8 +5076,9 @@ declare const enumFieldSchema: z.ZodObject<{
|
|
|
4654
5076
|
const: string;
|
|
4655
5077
|
title?: string | undefined;
|
|
4656
5078
|
})[];
|
|
4657
|
-
label?: string | undefined;
|
|
4658
5079
|
default?: string | undefined;
|
|
5080
|
+
label?: string | undefined;
|
|
5081
|
+
readOnly?: boolean | undefined;
|
|
4659
5082
|
required?: boolean | undefined;
|
|
4660
5083
|
description?: string | undefined;
|
|
4661
5084
|
visibleWhen?: {
|
|
@@ -4705,6 +5128,11 @@ declare const multiEnumFieldSchema: z.ZodObject<{
|
|
|
4705
5128
|
field: string;
|
|
4706
5129
|
equals: string | number | boolean;
|
|
4707
5130
|
}>>;
|
|
5131
|
+
/**
|
|
5132
|
+
* Show the value as read-only text (a `Descriptions` item) instead of an
|
|
5133
|
+
* editable control. The value still belongs to the form's `values`.
|
|
5134
|
+
*/
|
|
5135
|
+
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
4708
5136
|
type: z.ZodLiteral<"multi-enum">;
|
|
4709
5137
|
}, "strip", z.ZodTypeAny, {
|
|
4710
5138
|
name: string;
|
|
@@ -4713,8 +5141,9 @@ declare const multiEnumFieldSchema: z.ZodObject<{
|
|
|
4713
5141
|
const: string;
|
|
4714
5142
|
title?: string | undefined;
|
|
4715
5143
|
})[];
|
|
4716
|
-
label?: string | undefined;
|
|
4717
5144
|
default?: string[] | undefined;
|
|
5145
|
+
label?: string | undefined;
|
|
5146
|
+
readOnly?: boolean | undefined;
|
|
4718
5147
|
required?: boolean | undefined;
|
|
4719
5148
|
description?: string | undefined;
|
|
4720
5149
|
visibleWhen?: {
|
|
@@ -4728,8 +5157,9 @@ declare const multiEnumFieldSchema: z.ZodObject<{
|
|
|
4728
5157
|
const: string;
|
|
4729
5158
|
title?: string | undefined;
|
|
4730
5159
|
})[];
|
|
4731
|
-
label?: string | undefined;
|
|
4732
5160
|
default?: string[] | undefined;
|
|
5161
|
+
label?: string | undefined;
|
|
5162
|
+
readOnly?: boolean | undefined;
|
|
4733
5163
|
required?: boolean | undefined;
|
|
4734
5164
|
description?: string | undefined;
|
|
4735
5165
|
visibleWhen?: {
|
|
@@ -4772,12 +5202,18 @@ declare const listFieldSchema: z.ZodObject<{
|
|
|
4772
5202
|
field: string;
|
|
4773
5203
|
equals: string | number | boolean;
|
|
4774
5204
|
}>>;
|
|
5205
|
+
/**
|
|
5206
|
+
* Show the value as read-only text (a `Descriptions` item) instead of an
|
|
5207
|
+
* editable control. The value still belongs to the form's `values`.
|
|
5208
|
+
*/
|
|
5209
|
+
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
4775
5210
|
type: z.ZodLiteral<"list">;
|
|
4776
5211
|
}, "strip", z.ZodTypeAny, {
|
|
4777
5212
|
name: string;
|
|
4778
5213
|
type: "list";
|
|
4779
|
-
label?: string | undefined;
|
|
4780
5214
|
default?: string[] | undefined;
|
|
5215
|
+
label?: string | undefined;
|
|
5216
|
+
readOnly?: boolean | undefined;
|
|
4781
5217
|
required?: boolean | undefined;
|
|
4782
5218
|
description?: string | undefined;
|
|
4783
5219
|
visibleWhen?: {
|
|
@@ -4790,8 +5226,9 @@ declare const listFieldSchema: z.ZodObject<{
|
|
|
4790
5226
|
}, {
|
|
4791
5227
|
name: string;
|
|
4792
5228
|
type: "list";
|
|
4793
|
-
label?: string | undefined;
|
|
4794
5229
|
default?: string[] | undefined;
|
|
5230
|
+
label?: string | undefined;
|
|
5231
|
+
readOnly?: boolean | undefined;
|
|
4795
5232
|
required?: boolean | undefined;
|
|
4796
5233
|
description?: string | undefined;
|
|
4797
5234
|
visibleWhen?: {
|
|
@@ -4849,16 +5286,22 @@ declare const keyValueFieldSchema: z.ZodObject<{
|
|
|
4849
5286
|
field: string;
|
|
4850
5287
|
equals: string | number | boolean;
|
|
4851
5288
|
}>>;
|
|
5289
|
+
/**
|
|
5290
|
+
* Show the value as read-only text (a `Descriptions` item) instead of an
|
|
5291
|
+
* editable control. The value still belongs to the form's `values`.
|
|
5292
|
+
*/
|
|
5293
|
+
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
4852
5294
|
type: z.ZodLiteral<"key-value">;
|
|
4853
5295
|
}, "strip", z.ZodTypeAny, {
|
|
4854
5296
|
name: string;
|
|
4855
5297
|
type: "key-value";
|
|
4856
|
-
label?: string | undefined;
|
|
4857
5298
|
default?: {
|
|
4858
5299
|
key: string;
|
|
4859
5300
|
value: string;
|
|
4860
5301
|
secret?: boolean | undefined;
|
|
4861
5302
|
}[] | undefined;
|
|
5303
|
+
label?: string | undefined;
|
|
5304
|
+
readOnly?: boolean | undefined;
|
|
4862
5305
|
required?: boolean | undefined;
|
|
4863
5306
|
description?: string | undefined;
|
|
4864
5307
|
keyPlaceholder?: string | undefined;
|
|
@@ -4870,12 +5313,13 @@ declare const keyValueFieldSchema: z.ZodObject<{
|
|
|
4870
5313
|
}, {
|
|
4871
5314
|
name: string;
|
|
4872
5315
|
type: "key-value";
|
|
4873
|
-
label?: string | undefined;
|
|
4874
5316
|
default?: {
|
|
4875
5317
|
key: string;
|
|
4876
5318
|
value: string;
|
|
4877
5319
|
secret?: boolean | undefined;
|
|
4878
5320
|
}[] | undefined;
|
|
5321
|
+
label?: string | undefined;
|
|
5322
|
+
readOnly?: boolean | undefined;
|
|
4879
5323
|
required?: boolean | undefined;
|
|
4880
5324
|
description?: string | undefined;
|
|
4881
5325
|
keyPlaceholder?: string | undefined;
|
|
@@ -4923,6 +5367,11 @@ declare const fileFieldSchema: z.ZodObject<{
|
|
|
4923
5367
|
field: string;
|
|
4924
5368
|
equals: string | number | boolean;
|
|
4925
5369
|
}>>;
|
|
5370
|
+
/**
|
|
5371
|
+
* Show the value as read-only text (a `Descriptions` item) instead of an
|
|
5372
|
+
* editable control. The value still belongs to the form's `values`.
|
|
5373
|
+
*/
|
|
5374
|
+
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
4926
5375
|
type: z.ZodLiteral<"file">;
|
|
4927
5376
|
}, "strip", z.ZodTypeAny, {
|
|
4928
5377
|
name: string;
|
|
@@ -4930,6 +5379,7 @@ declare const fileFieldSchema: z.ZodObject<{
|
|
|
4930
5379
|
label?: string | undefined;
|
|
4931
5380
|
accept?: string | undefined;
|
|
4932
5381
|
multiple?: boolean | undefined;
|
|
5382
|
+
readOnly?: boolean | undefined;
|
|
4933
5383
|
required?: boolean | undefined;
|
|
4934
5384
|
description?: string | undefined;
|
|
4935
5385
|
maxSize?: number | undefined;
|
|
@@ -4944,6 +5394,7 @@ declare const fileFieldSchema: z.ZodObject<{
|
|
|
4944
5394
|
label?: string | undefined;
|
|
4945
5395
|
accept?: string | undefined;
|
|
4946
5396
|
multiple?: boolean | undefined;
|
|
5397
|
+
readOnly?: boolean | undefined;
|
|
4947
5398
|
required?: boolean | undefined;
|
|
4948
5399
|
description?: string | undefined;
|
|
4949
5400
|
maxSize?: number | undefined;
|
|
@@ -5025,19 +5476,77 @@ declare const formSpecSchema: z.ZodObject<{
|
|
|
5025
5476
|
fields: z.ZodArray<z.ZodType<FieldSpec, z.ZodTypeDef, FieldSpec>, "many">;
|
|
5026
5477
|
/** Submit button label. @default "Submit" */
|
|
5027
5478
|
submitLabel: z.ZodOptional<z.ZodString>;
|
|
5479
|
+
/**
|
|
5480
|
+
* Collapsible groups of top-level fields, in display order. Fields not named
|
|
5481
|
+
* in any section render first, ungrouped. Omit for the flat layout.
|
|
5482
|
+
*/
|
|
5483
|
+
sections: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
5484
|
+
/** Stable key for the section. */
|
|
5485
|
+
id: z.ZodString;
|
|
5486
|
+
/** Heading on the section's disclosure trigger. */
|
|
5487
|
+
label: z.ZodString;
|
|
5488
|
+
/** Names of the top-level fields the section holds, in display order. */
|
|
5489
|
+
fields: z.ZodArray<z.ZodString, "many">;
|
|
5490
|
+
/** Start collapsed. @default false */
|
|
5491
|
+
collapsed: z.ZodOptional<z.ZodBoolean>;
|
|
5492
|
+
}, "strip", z.ZodTypeAny, {
|
|
5493
|
+
label: string;
|
|
5494
|
+
id: string;
|
|
5495
|
+
fields: string[];
|
|
5496
|
+
collapsed?: boolean | undefined;
|
|
5497
|
+
}, {
|
|
5498
|
+
label: string;
|
|
5499
|
+
id: string;
|
|
5500
|
+
fields: string[];
|
|
5501
|
+
collapsed?: boolean | undefined;
|
|
5502
|
+
}>>, "many">>;
|
|
5028
5503
|
}, "strip", z.ZodTypeAny, {
|
|
5029
5504
|
fields: FieldSpec[];
|
|
5030
5505
|
formName: string;
|
|
5031
5506
|
title?: string | undefined;
|
|
5032
5507
|
description?: string | undefined;
|
|
5508
|
+
sections?: {
|
|
5509
|
+
label: string;
|
|
5510
|
+
id: string;
|
|
5511
|
+
fields: string[];
|
|
5512
|
+
collapsed?: boolean | undefined;
|
|
5513
|
+
}[] | undefined;
|
|
5033
5514
|
submitLabel?: string | undefined;
|
|
5034
5515
|
}, {
|
|
5035
5516
|
fields: FieldSpec[];
|
|
5036
5517
|
formName: string;
|
|
5037
5518
|
title?: string | undefined;
|
|
5038
5519
|
description?: string | undefined;
|
|
5520
|
+
sections?: {
|
|
5521
|
+
label: string;
|
|
5522
|
+
id: string;
|
|
5523
|
+
fields: string[];
|
|
5524
|
+
collapsed?: boolean | undefined;
|
|
5525
|
+
}[] | undefined;
|
|
5039
5526
|
submitLabel?: string | undefined;
|
|
5040
5527
|
}>;
|
|
5528
|
+
/** One collapsible group of top-level fields in a `FormSpec`. */
|
|
5529
|
+
declare const formSectionSchema: z.ZodObject<{
|
|
5530
|
+
/** Stable key for the section. */
|
|
5531
|
+
id: z.ZodString;
|
|
5532
|
+
/** Heading on the section's disclosure trigger. */
|
|
5533
|
+
label: z.ZodString;
|
|
5534
|
+
/** Names of the top-level fields the section holds, in display order. */
|
|
5535
|
+
fields: z.ZodArray<z.ZodString, "many">;
|
|
5536
|
+
/** Start collapsed. @default false */
|
|
5537
|
+
collapsed: z.ZodOptional<z.ZodBoolean>;
|
|
5538
|
+
}, "strip", z.ZodTypeAny, {
|
|
5539
|
+
label: string;
|
|
5540
|
+
id: string;
|
|
5541
|
+
fields: string[];
|
|
5542
|
+
collapsed?: boolean | undefined;
|
|
5543
|
+
}, {
|
|
5544
|
+
label: string;
|
|
5545
|
+
id: string;
|
|
5546
|
+
fields: string[];
|
|
5547
|
+
collapsed?: boolean | undefined;
|
|
5548
|
+
}>;
|
|
5549
|
+
type FormSectionSpec = z.infer<typeof formSectionSchema>;
|
|
5041
5550
|
type FormSpec = Omit<z.infer<typeof formSpecSchema>, "fields"> & {
|
|
5042
5551
|
fields: FieldSpec[];
|
|
5043
5552
|
};
|
|
@@ -5059,6 +5568,8 @@ interface NormalizedFormSpec {
|
|
|
5059
5568
|
description?: string;
|
|
5060
5569
|
submitLabel?: string;
|
|
5061
5570
|
fields: FieldSpec[];
|
|
5571
|
+
/** Collapsible field groups; absent when the spec declares none. */
|
|
5572
|
+
sections?: FormSectionSpec[];
|
|
5062
5573
|
}
|
|
5063
5574
|
declare function normalizeFormSpec(spec: unknown): {
|
|
5064
5575
|
ok: true;
|
|
@@ -5384,7 +5895,28 @@ interface FromJsonSchemaOptions {
|
|
|
5384
5895
|
*/
|
|
5385
5896
|
declare function fromJsonSchema(schema: unknown, options: FromJsonSchemaOptions): FormSpec;
|
|
5386
5897
|
|
|
5387
|
-
|
|
5898
|
+
interface ScrollAreaProps extends ComponentPropsWithoutRef<typeof ScrollAreaPrimitive.Root> {
|
|
5899
|
+
/**
|
|
5900
|
+
* Props for the scrolling VIEWPORT — the element that actually overflows, which is
|
|
5901
|
+
* otherwise unreachable from the outside.
|
|
5902
|
+
*
|
|
5903
|
+
* The viewport is deliberately NOT focusable by default: when the content inside it is
|
|
5904
|
+
* focusable (a list of links, rows of buttons) a keyboard user reaches the overflow by
|
|
5905
|
+
* tabbing through it, and a tab stop on the viewport would be noise. When the content is
|
|
5906
|
+
* plain text or non-focusable rows, that same user cannot scroll it at all — axe's
|
|
5907
|
+
* `scrollable-region-focusable` is the gate that catches it. Make it a named tab stop the
|
|
5908
|
+
* way `ChartFrame` does for its scrolling body:
|
|
5909
|
+
*
|
|
5910
|
+
* ```tsx
|
|
5911
|
+
* viewportProps={{ tabIndex: 0, role: "group", "aria-label": "Scrollable list" }}
|
|
5912
|
+
* ```
|
|
5913
|
+
*
|
|
5914
|
+
* `role="group"` rather than `"region"`: ARIA 1.2 forbids `aria-label` on a generic
|
|
5915
|
+
* element, and `group` gives the name a host without adding a landmark.
|
|
5916
|
+
*/
|
|
5917
|
+
viewportProps?: ComponentPropsWithoutRef<typeof ScrollAreaPrimitive.Viewport>;
|
|
5918
|
+
}
|
|
5919
|
+
declare const ScrollArea: react.ForwardRefExoticComponent<ScrollAreaProps & react.RefAttributes<HTMLDivElement>>;
|
|
5388
5920
|
declare const ScrollBar: react.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaScrollbarProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
5389
5921
|
|
|
5390
5922
|
interface SectionHeaderProps {
|
|
@@ -5541,9 +6073,10 @@ interface SideDockProps extends Omit<ComponentProps<"aside">, "title"> {
|
|
|
5541
6073
|
*/
|
|
5542
6074
|
title: ReactNode;
|
|
5543
6075
|
/**
|
|
5544
|
-
* Optional longer description. Visible
|
|
5545
|
-
* presentation
|
|
5546
|
-
* header
|
|
6076
|
+
* Optional longer description. Visible at the top of the body in the column
|
|
6077
|
+
* presentation — never inside the header band, which is fixed at the app
|
|
6078
|
+
* shell's header height; `sr-only` in the overlay presentation (the compact
|
|
6079
|
+
* sheet header has no room for it, but it still reaches assistive tech).
|
|
5547
6080
|
*/
|
|
5548
6081
|
description?: ReactNode;
|
|
5549
6082
|
/** Optional controls placed in the header row beside the built-in close button. */
|
|
@@ -5556,6 +6089,17 @@ interface SideDockProps extends Omit<ComponentProps<"aside">, "title"> {
|
|
|
5556
6089
|
onOpenChange?: (open: boolean) => void;
|
|
5557
6090
|
/** Which edge it docks to. Default `"right"`. */
|
|
5558
6091
|
side?: "left" | "right";
|
|
6092
|
+
/**
|
|
6093
|
+
* Where the column presentation's fixed/absolute container positions
|
|
6094
|
+
* itself. Default `"viewport"` (pins to the viewport edge — byte-identical
|
|
6095
|
+
* pre-#432 behavior). `"inset"` pins to the dock's OWN position in the
|
|
6096
|
+
* layout instead (`absolute` against a `relative` wrapper this component
|
|
6097
|
+
* provides) — use this when the dock is nested inside another element that
|
|
6098
|
+
* already pins itself to the same viewport edge (e.g. an app `Sidebar`),
|
|
6099
|
+
* so the two never race for the same edge (#432). Has no effect on the
|
|
6100
|
+
* overlay `Sheet` presentation below `overlayBreakpoint`.
|
|
6101
|
+
*/
|
|
6102
|
+
containerPosition?: CollapsiblePanelContainerPosition;
|
|
5559
6103
|
/**
|
|
5560
6104
|
* `width`, `defaultWidth`, `minWidth`, `maxWidth`, `minContentWidth` and
|
|
5561
6105
|
* `resizable` (below) govern the COLUMN presentation only — viewport at or
|
|
@@ -5841,7 +6385,7 @@ declare function StatePanel({ kind, title, description, icon, illustration, titl
|
|
|
5841
6385
|
* copy of these three classes. See `Layout/Resizable`'s `Tiered` story.
|
|
5842
6386
|
*/
|
|
5843
6387
|
declare const splitPaneVariants: (props?: ({
|
|
5844
|
-
tone?: "
|
|
6388
|
+
tone?: "card" | "muted" | "plain" | null | undefined;
|
|
5845
6389
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
5846
6390
|
type SplitPanelTone = NonNullable<VariantProps<typeof splitPaneVariants>["tone"]>;
|
|
5847
6391
|
interface SplitPanelProps {
|
|
@@ -5917,16 +6461,6 @@ declare const TableCell: react.ForwardRefExoticComponent<TdHTMLAttributes<HTMLTa
|
|
|
5917
6461
|
declare const TableCaption: react.ForwardRefExoticComponent<HTMLAttributes<HTMLTableCaptionElement> & react.RefAttributes<HTMLTableCaptionElement>>;
|
|
5918
6462
|
|
|
5919
6463
|
declare const Tabs: react.ForwardRefExoticComponent<TabsPrimitive.TabsProps & react.RefAttributes<HTMLDivElement>>;
|
|
5920
|
-
/**
|
|
5921
|
-
* `overflow-x-auto` + `max-w-full` turn an overflowing tab strip into a
|
|
5922
|
-
* scroll container instead of silently clipping it — a bare `inline-flex`
|
|
5923
|
-
* has no bound on this element's own width, so without `max-w-full` it would
|
|
5924
|
-
* just grow past its parent instead of scrolling. `justify-center-safe`
|
|
5925
|
-
* (not `justify-center`) is required too: plain `justify-center` strands the
|
|
5926
|
-
* first tab off the left edge once the set overflows; `safe` falls back to
|
|
5927
|
-
* start-alignment on overflow while staying visually identical when the
|
|
5928
|
-
* strip fits (see #344).
|
|
5929
|
-
*/
|
|
5930
6464
|
declare const tabsListVariants: (props?: ({
|
|
5931
6465
|
variant?: "underline" | "segmented" | null | undefined;
|
|
5932
6466
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
@@ -6046,6 +6580,12 @@ interface ThemeSwitcherProps extends Omit<HTMLAttributes<HTMLButtonElement>, "on
|
|
|
6046
6580
|
effect?: ThemeTransitionEffect;
|
|
6047
6581
|
/** Control size. Default "default". */
|
|
6048
6582
|
size?: ButtonSize;
|
|
6583
|
+
/**
|
|
6584
|
+
* The trigger button's variant. Default: `"outline"` for the dropdown forms and `"ghost"` for
|
|
6585
|
+
* the two-theme toggle (today's behaviour). Pass `"ghost"` when the switcher sits in a row of
|
|
6586
|
+
* borderless icon buttons — an app top bar — so it reads as one of them.
|
|
6587
|
+
*/
|
|
6588
|
+
variant?: ButtonProps["variant"];
|
|
6049
6589
|
/**
|
|
6050
6590
|
* Controlled preference (#366). When set, the switcher derives its "current"
|
|
6051
6591
|
* state — including "system" — from this prop instead of its own internal,
|
|
@@ -6084,6 +6624,54 @@ interface ThemeSwitcherProps extends Omit<HTMLAttributes<HTMLButtonElement>, "on
|
|
|
6084
6624
|
*/
|
|
6085
6625
|
declare const ThemeSwitcher: react.ForwardRefExoticComponent<ThemeSwitcherProps & react.RefAttributes<HTMLButtonElement>>;
|
|
6086
6626
|
|
|
6627
|
+
type ThemeFamilySwitchMode = "light" | "dark";
|
|
6628
|
+
type ThemeFamilySwitchSize = "sm" | "md" | "lg";
|
|
6629
|
+
/** The two colours a family's chip is painted with — any CSS colour, resolved by the host. */
|
|
6630
|
+
interface ThemeFamilySwatch {
|
|
6631
|
+
/** The family's ground (`--background` in the active mode). */
|
|
6632
|
+
background: string;
|
|
6633
|
+
/** The family's accent (`--primary` in the active mode). */
|
|
6634
|
+
primary: string;
|
|
6635
|
+
}
|
|
6636
|
+
interface ThemeFamilySwitchFamily {
|
|
6637
|
+
/** Family id — what `value` holds and `onChange` reports. */
|
|
6638
|
+
id: string;
|
|
6639
|
+
/** Display name: the swatch's accessible name and its tooltip wordmark. */
|
|
6640
|
+
label: string;
|
|
6641
|
+
/** Chip colours. The switch never imports a theme; the host passes these in. */
|
|
6642
|
+
swatch: ThemeFamilySwatch;
|
|
6643
|
+
}
|
|
6644
|
+
interface ThemeFamilySwitchLabels {
|
|
6645
|
+
/** Accessible name of the swatch row. */
|
|
6646
|
+
families: string;
|
|
6647
|
+
/** Accessible name of the mode toggle. */
|
|
6648
|
+
mode: string;
|
|
6649
|
+
light: string;
|
|
6650
|
+
dark: string;
|
|
6651
|
+
}
|
|
6652
|
+
declare const DEFAULT_THEME_FAMILY_SWITCH_LABELS: ThemeFamilySwitchLabels;
|
|
6653
|
+
interface ThemeFamilySwitchProps extends Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> {
|
|
6654
|
+
/** Families in display order. */
|
|
6655
|
+
families: readonly ThemeFamilySwitchFamily[];
|
|
6656
|
+
/** Id of the active family. */
|
|
6657
|
+
value: string;
|
|
6658
|
+
/** A family was applied (click, Enter or Space). Arrow keys only move focus. */
|
|
6659
|
+
onChange: (familyId: string) => void;
|
|
6660
|
+
/** Active mode; with `onModeChange`, renders the Light/Dark toggle after the swatches. */
|
|
6661
|
+
mode?: ThemeFamilySwitchMode;
|
|
6662
|
+
onModeChange?: (mode: ThemeFamilySwitchMode) => void;
|
|
6663
|
+
size?: ThemeFamilySwitchSize;
|
|
6664
|
+
/** UI strings, for localisation. */
|
|
6665
|
+
labels?: Partial<ThemeFamilySwitchLabels>;
|
|
6666
|
+
}
|
|
6667
|
+
/**
|
|
6668
|
+
* One control that re-skins a page across theme families (concept §5a): a row of two-tone
|
|
6669
|
+
* family chips with roving focus — Tab enters the row, arrow keys move, Enter/Space apply —
|
|
6670
|
+
* plus an optional Light/Dark toggle. The selected chip carries a solid ring (a shape cue,
|
|
6671
|
+
* not colour alone) and `aria-checked`; each chip is named by its family.
|
|
6672
|
+
*/
|
|
6673
|
+
declare const ThemeFamilySwitch: react.ForwardRefExoticComponent<ThemeFamilySwitchProps & react.RefAttributes<HTMLDivElement>>;
|
|
6674
|
+
|
|
6087
6675
|
/**
|
|
6088
6676
|
* A single revision entry. The APP assigns `lane` (0-based column index),
|
|
6089
6677
|
* computes `additions`/`deletions`, and orders revisions newest-first.
|
|
@@ -6319,6 +6907,17 @@ declare const ToolbarSlot: react.ForwardRefExoticComponent<ToolbarPrimitive.Tool
|
|
|
6319
6907
|
interface TopNavProps extends HTMLAttributes<HTMLElement> {
|
|
6320
6908
|
/** Left slot (brand on mobile, breadcrumbs, title). */
|
|
6321
6909
|
start?: ReactNode;
|
|
6910
|
+
/**
|
|
6911
|
+
* Centred slot (e.g. a global search field, or horizontal primary
|
|
6912
|
+
* navigation). Laid out as the middle column of a 3-column grid, so it
|
|
6913
|
+
* stays visually centred in the bar regardless of how wide `start`/`end`
|
|
6914
|
+
* are — plain `flex-1` filler only centres content when both sides are
|
|
6915
|
+
* equal width. Passing `center` switches the bar to this grid layout and
|
|
6916
|
+
* `children` is ignored (pass everything through `start`/`center`/`end`
|
|
6917
|
+
* instead); omit `center` to keep the original `start` / `children` / `end`
|
|
6918
|
+
* flex row unchanged.
|
|
6919
|
+
*/
|
|
6920
|
+
center?: ReactNode;
|
|
6322
6921
|
/** Right slot (search, actions, account menu). */
|
|
6323
6922
|
end?: ReactNode;
|
|
6324
6923
|
}
|
|
@@ -6396,8 +6995,8 @@ interface TreeProps<T = unknown> extends Omit<HTMLAttributes<HTMLDivElement>, "o
|
|
|
6396
6995
|
checkboxes?: boolean;
|
|
6397
6996
|
/**
|
|
6398
6997
|
* The surface on which the tree is rendered.
|
|
6399
|
-
* - `"default"` (default) — renders selected rows with `bg-
|
|
6400
|
-
* background/card surfaces).
|
|
6998
|
+
* - `"default"` (default) — renders selected rows with `bg-selection` (for use
|
|
6999
|
+
* on background/card surfaces).
|
|
6401
7000
|
* - `"sidebar"` — renders selected rows with the sidebar's own active-item
|
|
6402
7001
|
* treatment (`bg-sidebar-accent` + `text-sidebar-accent-foreground` +
|
|
6403
7002
|
* `font-medium`), so selection reads consistently with `SidebarMenuButton`'s
|
|
@@ -6528,10 +7127,12 @@ declare const TEXT_ROLE_REM: {
|
|
|
6528
7127
|
readonly meta: 0.75;
|
|
6529
7128
|
readonly kpi: 2;
|
|
6530
7129
|
readonly code: 0.8125;
|
|
7130
|
+
readonly "kpi-sm": 1.5;
|
|
7131
|
+
readonly "display-lg": 3;
|
|
6531
7132
|
};
|
|
6532
7133
|
type TextRole = keyof typeof TEXT_ROLE_REM;
|
|
6533
7134
|
declare const textVariants: (props?: ({
|
|
6534
|
-
variant?: "body" | "caption" | "meta" | "kpi" | "code" | "lead" | null | undefined;
|
|
7135
|
+
variant?: "body" | "caption" | "meta" | "eyebrow" | "kpi" | "kpi-sm" | "code" | "lead" | null | undefined;
|
|
6535
7136
|
tone?: "default" | "muted" | "primary" | null | undefined;
|
|
6536
7137
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
6537
7138
|
type TextVariant = NonNullable<VariantProps<typeof textVariants>["variant"]>;
|
|
@@ -6545,7 +7146,7 @@ interface TextProps extends HTMLAttributes<HTMLParagraphElement>, VariantProps<t
|
|
|
6545
7146
|
declare const Text: react.ForwardRefExoticComponent<TextProps & react.RefAttributes<HTMLParagraphElement>>;
|
|
6546
7147
|
type HeadingLevel = 1 | 2 | 3 | 4 | 5 | 6;
|
|
6547
7148
|
declare const headingVariants: (props?: ({
|
|
6548
|
-
size?: "display" | "title" | "subtitle" | null | undefined;
|
|
7149
|
+
size?: "display-lg" | "display" | "title" | "subtitle" | null | undefined;
|
|
6549
7150
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
6550
7151
|
type HeadingSize = NonNullable<VariantProps<typeof headingVariants>["size"]>;
|
|
6551
7152
|
interface HeadingProps extends HTMLAttributes<HTMLHeadingElement>, VariantProps<typeof headingVariants> {
|
|
@@ -6611,7 +7212,7 @@ interface ViewToolbarProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
6611
7212
|
* focus but deliberately NOT on tap (and Radix suppresses the focus-open when
|
|
6612
7213
|
* focus arrived from a pointer), so on a touch device this text is
|
|
6613
7214
|
* unreachable. Treat `info` as progressive enhancement: never put something a
|
|
6614
|
-
* phone user cannot do without in it. See `
|
|
7215
|
+
* phone user cannot do without in it. See `Layout/ViewToolbar → Contract`.
|
|
6615
7216
|
*/
|
|
6616
7217
|
info?: ReactNode;
|
|
6617
7218
|
/** Left cluster — status/context, `ViewToolbarFilters`, `ResultCount`. */
|
|
@@ -6903,4 +7504,556 @@ interface WizardNavProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
6903
7504
|
/** WizardNav — Back / Next (or Finish on the last step) controls. */
|
|
6904
7505
|
declare const WizardNav: react.ForwardRefExoticComponent<WizardNavProps & react.RefAttributes<HTMLDivElement>>;
|
|
6905
7506
|
|
|
6906
|
-
export { APPROVAL_SCOPE_DESCRIPTION_KEYS, ATTRIBUTIONS, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AdvancedGroup, type AdvancedGroupProps, type AgentEventOutcome, type AgentEventPhase, Alert, AlertDescription, type AlertDescriptionProps, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, type AlertTitleProps, AppShell, type AppShellProps, AppSidebar, type AppSidebarProps, type ApprovalOption, type ApprovalScope, AspectRatio, type Attribution, type AttributionCategory, AttributionPanel, type AttributionPanelProps, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, BentoGrid, BentoGridItem, type BentoGridItemProps, type BentoGridItemVariants, type BentoGridProps, type BentoGridSize, type BooleanFieldSpec, BoundedNumber, type BoundedNumberProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, type ButtonProps, CATEGORY_LABEL, COLOR_TOKENS, COPY_FEEDBACK_MS, Calendar, type CalendarProps, Card, CardAction, CardContent, CardDescription, type CardDescriptionProps, CardFooter, CardHeader, type CardProps, CardTitle, type CardTitleProps, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, type ChangeHunk, type ChangeHunkStatus, type ChangeProvenance, ChangeReview, type ChangeReviewActions, ChangeReviewHeader, type ChangeReviewHeaderProps, ChangeReviewHunk, type ChangeReviewHunkProps, ChangeReviewList, type ChangeReviewListProps, type ChangeReviewProps, ChangeReviewProvenance, type ChangeReviewProvenanceProps, ChangeReviewProvider, type ChangeReviewProviderProps, type ChangeReviewState, type CheckResult, type CheckSummary, Checkbox, Collapsible, CollapsibleContent, type CollapsiblePanelAttrs, type CollapsiblePanelSide, type CollapsiblePanelState, CollapsibleTrigger, ColorPicker, type ColorPickerProps, type ColorToken, Combobox, type ComboboxOption, type ComboboxProps, Command, CommandDialog, type CommandDialogProps, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, type CommandProps, CommandSeparator, CommandShortcut, CommandTrigger, type CommandTriggerProps, ConfirmDialog, type ConfirmDialogProps, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, ContextRail, type ContextRailProps, type ContextRailSection, type CopyToClipboard, CopyableValue, type CopyableValueProps, type CustomStatus, DEFAULT_MESSAGES, DOCUMENT_ADDRESS_KINDS, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, type DateRangePreset, Descriptions, DescriptionsItem, type DescriptionsItemProps, type DescriptionsProps, Dialog, DialogBody, type DialogBodyProps, DialogClose, DialogContent, DialogDescription, type DialogDismissGuard, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogSection, type DialogSectionProps, DialogTitle, DialogTrigger, type DiffLine, type DiffLineType, type DiffRow, type DocumentAddress, type DocumentAddressKind, type DocumentRect, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, type EffortLevel, EmptyListIllustration, EmptyState, type EmptyStateProps, type EnumFieldSpec, type EnumOption, ErrorIllustration, ErrorState, type ErrorStateProps, ExpandDialog, ExpandDialogContent, type ExpandDialogContentProps, ExpandDialogHeader, type ExpandDialogHeaderProps, ExpandDialogPanes, type ExpandDialogPanesProps, type ExpandDialogProps, FILE_CATEGORY_ICONS, FieldControl, type FieldControlProps, FieldDescription, FieldError, type FieldKeyValueRow, FieldLabel, FieldRoot, type FieldRootProps, FieldRow, type FieldRowProps, type FieldSpec, type FileCategory, type FileFieldSpec, type FileIssue, type FileKind, type FileSource, FileUpload, FileUploadDropzone, type FileUploadDropzoneProps, FileUploadItem, type FileUploadItemProps, FileUploadList, type FileUploadListProps, type FileUploadProps, type FileUploadStatus, FilterChip, type FilterChipProps, type FindTriggerQueryOptions, FirstRunIllustration, type FormSpec, type FormSubmitState, type FormValue, type FormValues, type FromJsonSchemaOptions, type GroupFieldSpec, type GroupItemSpec, Heading, type HeadingLevel, type HeadingProps, type HeadingSize, HoverCard, HoverCardContent, HoverCardTrigger, ILLUSTRATION_ACCENT_VAR, IconButton, type IconButtonProps, type IconButtonSize, type IllustrationProps, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, type InputGroupProps, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputProps, type InsertMentionResult, type IntegerFieldSpec, Kbd, KeyValueEditor, type KeyValueEditorProps, type KeyValueFieldSpec, type KeyValueRow, KeyboardShortcuts, type KeyboardShortcutsProps, Label, LinkPreview, LinkPreviewCard, type LinkPreviewCardProps, ListEditor, type ListEditorProps, type ListFieldSpec, LoadingState, type LoadingStateProps, type LocaleContextValue, LocaleProvider, type LocaleProviderProps, MatchHighlight, type MatchHighlightProps, type MatchRange, type Mention, MentionInput, MentionInputContent, type MentionInputContentProps, type MentionInputContextValue, MentionInputEmpty, type MentionInputEmptyProps, MentionInputItem, type MentionInputItemProps, MentionInputList, type MentionInputListProps, type MentionInputProps, MentionInputTextarea, type MentionInputTextareaProps, type MentionOption, type MentionValue, Menubar, MenubarCheckboxItem, MenubarContent, MenubarItem, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, type MessageValue, type Messages, MetricCard, type MetricCardEmphasis, type MetricCardProps, ModelPicker, type ModelPickerBody, type ModelPickerGroup, type ModelPickerItem, type ModelPickerProps, type ModelPickerStatus, type MultiEnumFieldSpec, NavMain, type NavMainProps, type NavMainRoute, type NavMainSubItem, type NavNotification, NavNotifications, type NavNotificationsProps, NavUser, type NavUserProps, type NavUserUser, NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, NoAccessIllustration, NoResultsIllustration, type NormalizedFormSpec, type NormalizedText, type NumberFieldSpec, NumberInput, type NumberInputProps, OfflineIllustration, type OperatingMode, PROSE_HEADING_REM, PROSE_HEADING_TRACKING, PROSE_HEADING_WEIGHT, PageShell, type PageShellProps, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, type PluralCategory, type PluralMessage, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Progress, type ProgressProps, ProseBlockquote, ProseHeading, type ProseHeadingLevel, type ProseHeadingProps, ProseInlineCode, ProseLink, type ProseLinkProps, ProseList, ProseListItem, type ProseListProps, ProseText, type ProseTextProps, type QuoteAddress, RadioGroup, RadioGroupItem, type RangeAddress, Rating, type RatingProps, type RectAddress, ResizableHandle, ResizablePanel, ResizablePanelGroup, type ResolvedFileSource, ResultCount, type ResultCountProps, Reveal, RevealGroup, type RevealGroupProps, type RevealProps, type Revision, type RevisionBranch, type RevisionEdge, RevisionTimeline, type RevisionTimelineDensity, type RevisionTimelineProps, STATUSES, STATUS_LABELS, STATUS_ROLE, STATUS_TONES, STATUS_TONE_ICONS, STREAMDOWN_TRANSLATION_KEYS, SchemaForm, SchemaFormDescription, type SchemaFormDescriptionProps, SchemaFormError, type SchemaFormErrorProps, SchemaFormFallback, type SchemaFormFallbackProps, SchemaFormField, type SchemaFormFieldProps, SchemaFormFields, type SchemaFormFieldsProps, type SchemaFormProps, SchemaFormProvider, type SchemaFormProviderProps, SchemaFormRoot, type SchemaFormRootProps, SchemaFormSubmit, type SchemaFormSubmitProps, SchemaFormTestAction, type SchemaFormTestActionProps, type SchemaFormTestActionStatus, SchemaFormTitle, type SchemaFormTitleProps, ScrollArea, ScrollBar, SectionHeader, type SectionHeaderProps, SegmentedField, type SegmentedFieldOption, type SegmentedFieldProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, Separator, type SeparatorProps, type SessionCapability, type SessionQuickAction, type SessionWhatsNewItem, Sheet, SheetClose, SheetContent, type SheetContentProps, SheetDescription, SheetFooter, SheetHeader, SheetPortal, SheetTitle, SheetTrigger, type Shortcut, type ShortcutGroup, SideDock, type SideDockProps, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, type SidebarInsetGutter, type SidebarInsetProps, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, type SkeletonProps, SkipLink, type SkipLinkProps, type SlashCommand, Slider, SliderNumber, type SliderNumberProps, type SliderProps, type SliderThumbProps, Spinner, type SpinnerProps, SplitPanel, type SplitPanelProps, type SplitPanelTone, StatePanel, type StatePanelProps, type Status, StatusBadge, type StatusBadgeProps, StatusIcon, type StatusIconProps, type StatusTone, type StreamdownTranslationKey, type StreamdownTranslationMap, type StringFieldSpec, SuccessIllustration, Switch, TEXT_ROLE_REM, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, type TabsListProps, TabsTrigger, type TabsVariant, TagInput, type TagInputProps, TeamSwitcher, type TeamSwitcherProps, type TeamSwitcherTeam, Text, type TextProps, type TextRole, type TextTone, type TextVariant, Textarea, type TextareaProps, type ThemePreference, ThemeSwitcher, type ThemeSwitcherProps, type ThemeTransitionEffect, Timeline, type TimelineEntry, TimelineItem, type TimelineItemProps, type TimelineProps, TimelineRoot, type TimelineRootProps, type TimelineStatus, Toaster, type ToasterProps, Toggle, ToggleGroup, ToggleGroupItem, Toolbar, ToolbarButton, type ToolbarButtonProps, type ToolbarProps, ToolbarSeparator, type ToolbarSeparatorProps, ToolbarSlot, ToolbarToggleGroup, type ToolbarToggleGroupProps, ToolbarToggleItem, type ToolbarToggleItemProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TopNav, type TopNavProps, Transfer, type TransferItem, type TransferProps, Tree, type TreeNode, type TreeProps, TreeSelect, type TreeSelectProps, type TriggerBoundary, type TriggerQuery, UnsupportedJsonSchemaError, type UploadFile, type UseCollapsiblePanelOptions, type UseCollapsiblePanelReturn, type UseCopyToClipboardOptions, type UseDialogDismissGuardOptions, type UseTreeKeyboardOptions, type UseTreeKeyboardResult, ViewToolbar, ViewToolbarFilters, type ViewToolbarFiltersProps, type ViewToolbarProps, VirtualSelect, type VirtualSelectOption, type VirtualSelectProps, Wizard, WizardNav, type WizardNavProps, type WizardProps, WizardStep, type WizardStepMeta, type WizardStepProps, WizardSteps, type WizardStepsProps, type WizardValidator, type Workspace, WorkspacePicker, type WorkspacePickerProps, agentEventOutcomeStatus, alertVariants, badgeVariants, bentoGridItemVariants, booleanFieldSchema, buttonGroupVariants, buttonVariants, cardVariants, checkFileIssue, cn, collapseDiffRows, collectValidatableFields, countItems, csvQuoteField, csvStringifyValue, defaultMentionFilter, defaultSlashCommandFilter, dialogContentVariants, diffLineAccessibleLabel, diffLineMarker, downloadBlob, downloadUrl, effortRungForIndex, enumFieldSchema, enumOptionSchema, expandDialogPanesVariants, extensionOf, fieldLabel, fieldSpecSchema, fileFieldSchema, fileIconFor, fileMatchesAccept, findFieldByName, findTriggerQuery, formSpecSchema, formatElapsed, formatLastOpened, fromJsonSchema, fromTimelineStatus, groupFieldSchema, groupItemSchema, headingVariants, hunkVariants, illustrationAccent, initialFormValues, inputGroupAddonVariants, inputGroupVariants, insertMention, integerFieldSchema, isCustomStatus, isFieldVisible, isModuleNotFoundMessage, isOptionalPeerMissing, keyValueFieldSchema, keyValueRowSchema, laneColor, listFieldSchema, mediaTypeFromName, mentionAt, mentionEnd, modelPickerBody, multiEnumFieldSchema, navigationMenuTriggerStyle, normalizeFileSource, normalizeFormSpec, normalizeQuoteText, normalizeQuoteTextWithOffsets, normalizeRanges, numberFieldSchema, optionLabel, optionValue, progressIndicatorVariants, queryToRanges, remapMentions, replaceTriggerRun, resolveFileKind, revealVariants, revisionTimelineVariants, serializeMentions, showsInlineError, sidebarMenuButtonVariants, splitPaneVariants, statePanelVariants, statusBadgeVariants, stepIndex, stringFieldSchema, tabsListVariants, tabsTriggerVariants, textVariants, toggleVariants, toolbarVariants, useCollapsiblePanel, useCommandActiveItemId, useCopyToClipboard, useDialogDismissGuard, useDiffRows, useFileUpload, useIsMobile, useLocale, useMentionInput, useSidebar, useStreamdownTranslations, useThemeTransition, useTreeKeyboard, useVirtualListbox, validateField, validateForm };
|
|
7507
|
+
/** One install target: the host a visitor runs the command in, and the exact command. */
|
|
7508
|
+
interface CommandChipHost {
|
|
7509
|
+
/** Stable id, reported to `onValueChange`. */
|
|
7510
|
+
id: string;
|
|
7511
|
+
/** Host name shown in the menu and on the trigger. */
|
|
7512
|
+
label: string;
|
|
7513
|
+
/** The exact text shown in the chip and written to the clipboard. */
|
|
7514
|
+
command: string;
|
|
7515
|
+
}
|
|
7516
|
+
/** Every string the chip renders — pass your own to localize it. */
|
|
7517
|
+
interface CommandChipLabels {
|
|
7518
|
+
/** Accessible name of the copy button. */
|
|
7519
|
+
copy: string;
|
|
7520
|
+
/** Announced (and shown to sighted users as the check icon) after a successful copy. */
|
|
7521
|
+
copied: string;
|
|
7522
|
+
/** Announced when the clipboard is unavailable and the command is selected instead. */
|
|
7523
|
+
selectFallback: string;
|
|
7524
|
+
/** Accessible name prefix of the host trigger (the current host follows it). */
|
|
7525
|
+
chooseHost: string;
|
|
7526
|
+
/** Heading of the host menu. */
|
|
7527
|
+
menuLabel: string;
|
|
7528
|
+
}
|
|
7529
|
+
declare const DEFAULT_COMMAND_CHIP_LABELS: CommandChipLabels;
|
|
7530
|
+
interface CommandChipProps extends Omit<HTMLAttributes<HTMLDivElement>, "onCopy"> {
|
|
7531
|
+
/** The hosts to choose between; the first is the default selection. */
|
|
7532
|
+
hosts: CommandChipHost[];
|
|
7533
|
+
/** Selected host id (controlled). */
|
|
7534
|
+
value?: string;
|
|
7535
|
+
/** Initially selected host id (uncontrolled). Default: the first host. */
|
|
7536
|
+
defaultValue?: string;
|
|
7537
|
+
/** Fires when the visitor picks another host. */
|
|
7538
|
+
onValueChange?: (id: string) => void;
|
|
7539
|
+
/** Fires after a copy attempt with the command and whether the clipboard accepted it. */
|
|
7540
|
+
onCopyCommand?: (command: string, copied: boolean) => void;
|
|
7541
|
+
/** Override any rendered string. */
|
|
7542
|
+
labels?: Partial<CommandChipLabels>;
|
|
7543
|
+
}
|
|
7544
|
+
/**
|
|
7545
|
+
* A one-line install command in a monospace chip: pick the host (Claude Code, Cursor, …) from a
|
|
7546
|
+
* menu, copy the exact command. When the page has no clipboard access (insecure origin, denied
|
|
7547
|
+
* permission) the command text is selected instead so the visitor can copy it by hand; either
|
|
7548
|
+
* outcome is announced through an always-mounted live region.
|
|
7549
|
+
*/
|
|
7550
|
+
declare const CommandChip: react.ForwardRefExoticComponent<CommandChipProps & react.RefAttributes<HTMLDivElement>>;
|
|
7551
|
+
|
|
7552
|
+
interface AffordanceHintProps extends HTMLAttributes<HTMLSpanElement> {
|
|
7553
|
+
/** `sessionStorage` key: once the hint has shown (or the visitor interacted), it never returns this session. */
|
|
7554
|
+
storageKey: string;
|
|
7555
|
+
/** ms after mount before the hint appears; skipped entirely when the motion gate is closed. Default 800. */
|
|
7556
|
+
delay?: number;
|
|
7557
|
+
}
|
|
7558
|
+
/**
|
|
7559
|
+
* A one-time visual nudge ("Drag a tile") pinned in the corner of its positioned parent. It
|
|
7560
|
+
* appears `delay` ms after mounting (at once when motion is reduced), leaves on the first
|
|
7561
|
+
* `pointerdown`/`keydown` inside that parent, and shows once per `storageKey` per session. It is
|
|
7562
|
+
* `aria-hidden` — the surface it points at is accessible on its own; this is a visual cue only.
|
|
7563
|
+
*/
|
|
7564
|
+
declare const AffordanceHint: react.ForwardRefExoticComponent<AffordanceHintProps & react.RefAttributes<HTMLSpanElement>>;
|
|
7565
|
+
/** Every string the actions row renders — pass your own to localize it. */
|
|
7566
|
+
interface SurfaceTourActionsLabels {
|
|
7567
|
+
openInStorybook: string;
|
|
7568
|
+
copyPrompt: string;
|
|
7569
|
+
promptCopied: string;
|
|
7570
|
+
promptCopyFailed: string;
|
|
7571
|
+
scaffold: string;
|
|
7572
|
+
copyCommand: string;
|
|
7573
|
+
}
|
|
7574
|
+
declare const DEFAULT_SURFACE_TOUR_ACTIONS_LABELS: SurfaceTourActionsLabels;
|
|
7575
|
+
interface SurfaceTourActionsProps extends HTMLAttributes<HTMLDivElement> {
|
|
7576
|
+
/** Where "Open in Storybook" goes. Omit to hide the link. */
|
|
7577
|
+
storybookHref?: string;
|
|
7578
|
+
/** The (multi-line) prompt "Copy prompt" writes to the clipboard. Omit to hide the button. */
|
|
7579
|
+
prompt?: string;
|
|
7580
|
+
/** The scaffold command shown in a copyable chip. Omit to hide the chip. */
|
|
7581
|
+
command?: string;
|
|
7582
|
+
/** Override any rendered string. */
|
|
7583
|
+
labels?: Partial<SurfaceTourActionsLabels>;
|
|
7584
|
+
}
|
|
7585
|
+
/** The per-surface actions row: open the story, copy an agent prompt, copy the scaffold command. */
|
|
7586
|
+
declare const SurfaceTourActions: react.ForwardRefExoticComponent<SurfaceTourActionsProps & react.RefAttributes<HTMLDivElement>>;
|
|
7587
|
+
/** One surface in the tour. */
|
|
7588
|
+
interface SurfaceTourTab {
|
|
7589
|
+
/** Stable id — the tab value, the `#<hashKey>=<id>` deep link and the hint's session key. */
|
|
7590
|
+
id: string;
|
|
7591
|
+
/** Tab label. */
|
|
7592
|
+
label: ReactNode;
|
|
7593
|
+
/** One sentence under the frame saying what this surface is for. */
|
|
7594
|
+
useCase?: ReactNode;
|
|
7595
|
+
/** The actions row under the frame (typically a `SurfaceTourActions`). */
|
|
7596
|
+
actions?: ReactNode;
|
|
7597
|
+
/** Corner hint shown once per session when the surface first mounts. */
|
|
7598
|
+
hint?: ReactNode;
|
|
7599
|
+
/** Renders the surface. May suspend (a `React.lazy` or `next/dynamic` component). */
|
|
7600
|
+
render: () => ReactNode;
|
|
7601
|
+
/** Starts loading the surface's code; called on tab hover/focus, never on scroll. */
|
|
7602
|
+
prefetch?: () => void;
|
|
7603
|
+
/** Shown while the surface suspends. Default: a frame-filling `Skeleton`. */
|
|
7604
|
+
fallback?: ReactNode;
|
|
7605
|
+
}
|
|
7606
|
+
interface SurfaceTourProps extends Omit<HTMLAttributes<HTMLElement>, "title"> {
|
|
7607
|
+
tabs: SurfaceTourTab[];
|
|
7608
|
+
/** The tab shown first. Default: the first tab. */
|
|
7609
|
+
defaultTab?: string;
|
|
7610
|
+
/** Fires when the visitor picks another tab. */
|
|
7611
|
+
onTabChange?: (id: string) => void;
|
|
7612
|
+
/** Section heading. */
|
|
7613
|
+
title?: ReactNode;
|
|
7614
|
+
/** One sentence under the heading. */
|
|
7615
|
+
description?: ReactNode;
|
|
7616
|
+
/** When set, the active tab is read from and written to `#<hashKey>=<id>` (no history entries). */
|
|
7617
|
+
hashKey?: string;
|
|
7618
|
+
/** Classes for the frame — give it a height so every surface fills the same box. */
|
|
7619
|
+
frameClassName?: string;
|
|
7620
|
+
}
|
|
7621
|
+
/**
|
|
7622
|
+
* A tour of full-size surfaces behind a sticky tab strip. The frame stays put while the
|
|
7623
|
+
* surfaces crossfade (`--t-base`, instant under reduced motion); the frame's min-height only
|
|
7624
|
+
* ever grows, so switching never jumps the page. Surfaces mount on first selection and may
|
|
7625
|
+
* suspend (lazy code) behind a `Skeleton`; `prefetch` runs on hover/focus of a tab. The sticky
|
|
7626
|
+
* offset is the `--surface-tour-sticky-top` custom property (set it to your nav height).
|
|
7627
|
+
*/
|
|
7628
|
+
declare const SurfaceTour: react.ForwardRefExoticComponent<SurfaceTourProps & react.RefAttributes<HTMLElement>>;
|
|
7629
|
+
|
|
7630
|
+
/** One problem a validator reports — the shape both the A2UI and DashboardSpec validators use. */
|
|
7631
|
+
interface SpecPlaygroundError {
|
|
7632
|
+
/** JSON-path-like address of the problem (`root.children[2].props.label`, `$.tiles[0]`). */
|
|
7633
|
+
path: string;
|
|
7634
|
+
/** The validator's machine-readable code (`missing-prop`, `overlap`, …). */
|
|
7635
|
+
code: string;
|
|
7636
|
+
message: string;
|
|
7637
|
+
}
|
|
7638
|
+
/** What `validate` returns: the typed spec, or the validator's own errors. */
|
|
7639
|
+
type SpecPlaygroundValidation<TSpec> = {
|
|
7640
|
+
ok: true;
|
|
7641
|
+
spec: TSpec;
|
|
7642
|
+
} | {
|
|
7643
|
+
ok: false;
|
|
7644
|
+
errors: readonly SpecPlaygroundError[];
|
|
7645
|
+
};
|
|
7646
|
+
/** An entry in the `Load example` menu. */
|
|
7647
|
+
interface SpecPlaygroundExample {
|
|
7648
|
+
id: string;
|
|
7649
|
+
label: string;
|
|
7650
|
+
/** The JSON text loaded into the editor. */
|
|
7651
|
+
value: string;
|
|
7652
|
+
}
|
|
7653
|
+
/** The playground's status: what the last validated text turned out to be. */
|
|
7654
|
+
type SpecPlaygroundStatus = "valid" | "invalid" | "parse-error";
|
|
7655
|
+
/** Every string the playground renders — pass your own to localize it. */
|
|
7656
|
+
interface SpecPlaygroundLabels {
|
|
7657
|
+
/** Accessible name of the default textarea editor. */
|
|
7658
|
+
editor: string;
|
|
7659
|
+
/** Accessible name of the rendered-result region. */
|
|
7660
|
+
preview: string;
|
|
7661
|
+
/** Accessible name of the error list. */
|
|
7662
|
+
errors: string;
|
|
7663
|
+
/** Trigger of the examples menu. */
|
|
7664
|
+
loadExample: string;
|
|
7665
|
+
/** Resets the editor to its initial text. */
|
|
7666
|
+
reset: string;
|
|
7667
|
+
/** Status chip: the text validates. */
|
|
7668
|
+
valid: string;
|
|
7669
|
+
/** Status chip: the validator reported `count` errors. */
|
|
7670
|
+
errorCount: (count: number) => string;
|
|
7671
|
+
/** Status chip: the text is not JSON. */
|
|
7672
|
+
parseError: string;
|
|
7673
|
+
/** Shown over the render when it is the last valid spec, not the current text. */
|
|
7674
|
+
showingLastValid: string;
|
|
7675
|
+
/** Shown in the render pane before any text has validated. */
|
|
7676
|
+
nothingValid: string;
|
|
7677
|
+
/** Suffix naming the editor line an error points at. */
|
|
7678
|
+
line: (line: number) => string;
|
|
7679
|
+
}
|
|
7680
|
+
declare const DEFAULT_SPEC_PLAYGROUND_LABELS: SpecPlaygroundLabels;
|
|
7681
|
+
interface SpecPlaygroundProps<TSpec> extends Omit<HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> {
|
|
7682
|
+
/** The JSON text (controlled). */
|
|
7683
|
+
value?: string;
|
|
7684
|
+
/** Initial JSON text (uncontrolled); also what `Reset` restores. Default: the first example. */
|
|
7685
|
+
defaultValue?: string;
|
|
7686
|
+
/** Called with the new text on every edit, example load and reset. */
|
|
7687
|
+
onChange?: (value: string) => void;
|
|
7688
|
+
/** Checks the parsed JSON; the errors shown are exactly the ones it returns. */
|
|
7689
|
+
validate: (json: unknown) => SpecPlaygroundValidation<TSpec>;
|
|
7690
|
+
/** Renders a validated spec. */
|
|
7691
|
+
render: (spec: TSpec) => ReactNode;
|
|
7692
|
+
/** Entries of the `Load example` menu (the menu is hidden without any). */
|
|
7693
|
+
examples?: readonly SpecPlaygroundExample[];
|
|
7694
|
+
/**
|
|
7695
|
+
* The editor. Bind it to `value`/`onChange` yourself. Default: a `Textarea`, so the
|
|
7696
|
+
* playground works without a code editor.
|
|
7697
|
+
*/
|
|
7698
|
+
editor?: ReactNode;
|
|
7699
|
+
/**
|
|
7700
|
+
* Called when an error is chosen, with the editor line its path resolves to — move a custom
|
|
7701
|
+
* editor's caret there. The default textarea handles this itself.
|
|
7702
|
+
*/
|
|
7703
|
+
onErrorSelect?: (error: SpecPlaygroundError, line: number | undefined) => void;
|
|
7704
|
+
/** Milliseconds between the last edit and validation. Default 250. */
|
|
7705
|
+
debounceMs?: number;
|
|
7706
|
+
labels?: Partial<SpecPlaygroundLabels>;
|
|
7707
|
+
}
|
|
7708
|
+
/**
|
|
7709
|
+
* A live spec editor: JSON on the left, what it renders on the right (stacked below 1024 px).
|
|
7710
|
+
* Edits are validated after a short pause by the host's own `validate`; its errors are listed
|
|
7711
|
+
* under the editor (`path · code · message`, click to jump to the line) and the render keeps
|
|
7712
|
+
* the last valid spec, marked as such, until the text validates again. The editor, validator
|
|
7713
|
+
* and renderer all come from the host — this component owns only the loop between them.
|
|
7714
|
+
*/
|
|
7715
|
+
declare const SpecPlayground: <TSpec>(props: SpecPlaygroundProps<TSpec> & {
|
|
7716
|
+
ref?: Ref<HTMLDivElement>;
|
|
7717
|
+
}) => ReactElement;
|
|
7718
|
+
|
|
7719
|
+
/** One host the visitor can pick — the selection swaps every row's copy action. */
|
|
7720
|
+
interface IntegrationMatrixHost {
|
|
7721
|
+
/** Stable id, matched against each action's `value` map. */
|
|
7722
|
+
id: string;
|
|
7723
|
+
/** Shown in the selector. */
|
|
7724
|
+
label: string;
|
|
7725
|
+
}
|
|
7726
|
+
/** One action a row offers: copy a command, or follow a link. */
|
|
7727
|
+
interface IntegrationMatrixAction {
|
|
7728
|
+
/** Shown on the link button, or as the copy button's accessible name suffix. */
|
|
7729
|
+
label: string;
|
|
7730
|
+
kind: "copy" | "link";
|
|
7731
|
+
/**
|
|
7732
|
+
* `kind: "copy"` — the exact text per host id (a row that never changes by host
|
|
7733
|
+
* repeats the same string under every id). `kind: "link"` — a single href string.
|
|
7734
|
+
*/
|
|
7735
|
+
value: string | Record<string, string>;
|
|
7736
|
+
}
|
|
7737
|
+
/** One installable unit — hosted MCP, local MCP + CLI, the plugin, `llms.txt`, … */
|
|
7738
|
+
interface IntegrationMatrixRow {
|
|
7739
|
+
id: string;
|
|
7740
|
+
unit: string;
|
|
7741
|
+
gives: string;
|
|
7742
|
+
actions: IntegrationMatrixAction[];
|
|
7743
|
+
}
|
|
7744
|
+
/** One step of the routine line below the matrix (`info → search → docs → …`). */
|
|
7745
|
+
interface IntegrationMatrixRoutineStep {
|
|
7746
|
+
verb: string;
|
|
7747
|
+
/** Tooltip body — what the verb does. */
|
|
7748
|
+
does: string;
|
|
7749
|
+
}
|
|
7750
|
+
interface IntegrationMatrixLabels {
|
|
7751
|
+
/** Visible label beside the host selector. */
|
|
7752
|
+
hostSelectLabel: string;
|
|
7753
|
+
/** `aria-label` of the host `Select` trigger. */
|
|
7754
|
+
hostSelectAriaLabel: string;
|
|
7755
|
+
unitHeading: string;
|
|
7756
|
+
givesHeading: string;
|
|
7757
|
+
actionsHeading: string;
|
|
7758
|
+
/** Heading above the routine chips. */
|
|
7759
|
+
routineHeading: string;
|
|
7760
|
+
}
|
|
7761
|
+
declare const DEFAULT_INTEGRATION_MATRIX_LABELS: IntegrationMatrixLabels;
|
|
7762
|
+
interface IntegrationMatrixProps extends HTMLAttributes<HTMLDivElement> {
|
|
7763
|
+
hosts: IntegrationMatrixHost[];
|
|
7764
|
+
rows: IntegrationMatrixRow[];
|
|
7765
|
+
/** The routine strip below the matrix; omitted entirely when empty. */
|
|
7766
|
+
routine?: IntegrationMatrixRoutineStep[];
|
|
7767
|
+
/** Selected host id (controlled). */
|
|
7768
|
+
value?: string;
|
|
7769
|
+
/** Initially selected host id (uncontrolled). Default: the first host. */
|
|
7770
|
+
defaultValue?: string;
|
|
7771
|
+
/** Fires when the visitor picks another host. */
|
|
7772
|
+
onValueChange?: (id: string) => void;
|
|
7773
|
+
/** Fires after a copy attempt with the row id, the action label and the text. */
|
|
7774
|
+
onCopyAction?: (rowId: string, actionLabel: string, text: string, copied: boolean) => void;
|
|
7775
|
+
labels?: Partial<IntegrationMatrixLabels>;
|
|
7776
|
+
}
|
|
7777
|
+
declare const IntegrationMatrix: react.ForwardRefExoticComponent<IntegrationMatrixProps & react.RefAttributes<HTMLDivElement>>;
|
|
7778
|
+
|
|
7779
|
+
/** One option in the `pnpm add` or `Copy-own` select — the exact command it resolves to. */
|
|
7780
|
+
interface InstallTabsSelectOption {
|
|
7781
|
+
id: string;
|
|
7782
|
+
label: string;
|
|
7783
|
+
command: string;
|
|
7784
|
+
}
|
|
7785
|
+
/** One host-specific tab (Claude Code, Cursor, …), one or more commands top to bottom. */
|
|
7786
|
+
interface InstallTabsHostTab {
|
|
7787
|
+
id: string;
|
|
7788
|
+
label: string;
|
|
7789
|
+
commands: {
|
|
7790
|
+
label: string;
|
|
7791
|
+
command: string;
|
|
7792
|
+
}[];
|
|
7793
|
+
}
|
|
7794
|
+
interface InstallTabsLabels {
|
|
7795
|
+
packagesTab: string;
|
|
7796
|
+
copyOwnTab: string;
|
|
7797
|
+
promptTab: string;
|
|
7798
|
+
packageSelectAriaLabel: string;
|
|
7799
|
+
blockSelectAriaLabel: string;
|
|
7800
|
+
packageCommandLabel: string;
|
|
7801
|
+
blockCommandLabel: string;
|
|
7802
|
+
/** `aria-label` of the read-only prompt textarea. */
|
|
7803
|
+
promptAriaLabel: string;
|
|
7804
|
+
promptCopyLabel: string;
|
|
7805
|
+
promptCopiedLabel: string;
|
|
7806
|
+
}
|
|
7807
|
+
declare const DEFAULT_INSTALL_TABS_LABELS: InstallTabsLabels;
|
|
7808
|
+
interface InstallTabsProps extends HTMLAttributes<HTMLDivElement> {
|
|
7809
|
+
/** The `pnpm add` tab's per-archetype options; the first is the default selection. */
|
|
7810
|
+
packageOptions: InstallTabsSelectOption[];
|
|
7811
|
+
/** The `Copy-own` tab's per-block options; the first is the default selection. */
|
|
7812
|
+
blockOptions: InstallTabsSelectOption[];
|
|
7813
|
+
/** One tab per host, in order, between `Copy-own` and `Prompt`. */
|
|
7814
|
+
hostTabs: InstallTabsHostTab[];
|
|
7815
|
+
/** The multi-line agent prompt shown (read-only) on the `Prompt` tab. */
|
|
7816
|
+
prompt: string;
|
|
7817
|
+
/** Selected tab id (controlled): `"packages"`, `"copy-own"`, a host id, or `"prompt"`. */
|
|
7818
|
+
value?: string;
|
|
7819
|
+
/** Initially selected tab id (uncontrolled). Default: `"packages"`. */
|
|
7820
|
+
defaultValue?: string;
|
|
7821
|
+
onValueChange?: (id: string) => void;
|
|
7822
|
+
/** Selected `pnpm add` archetype id (controlled). */
|
|
7823
|
+
packageValue?: string;
|
|
7824
|
+
onPackageValueChange?: (id: string) => void;
|
|
7825
|
+
/** Selected `Copy-own` block id (controlled). */
|
|
7826
|
+
blockValue?: string;
|
|
7827
|
+
onBlockValueChange?: (id: string) => void;
|
|
7828
|
+
onCommandCopy?: (command: string, copied: boolean) => void;
|
|
7829
|
+
onPromptCopy?: (copied: boolean) => void;
|
|
7830
|
+
labels?: Partial<InstallTabsLabels>;
|
|
7831
|
+
}
|
|
7832
|
+
declare const InstallTabs: react.ForwardRefExoticComponent<InstallTabsProps & react.RefAttributes<HTMLDivElement>>;
|
|
7833
|
+
|
|
7834
|
+
/** One chip: a semantic token plus its display label. */
|
|
7835
|
+
interface TokenSpotlightToken {
|
|
7836
|
+
/** The CSS custom property name, including its leading `--` (e.g. `--primary`). */
|
|
7837
|
+
token: string;
|
|
7838
|
+
/** Display label for the chip — supply your own to localize. */
|
|
7839
|
+
label: string;
|
|
7840
|
+
}
|
|
7841
|
+
interface TokenSpotlightLabels {
|
|
7842
|
+
/** Accessible name of the chip row (`role="group"`). */
|
|
7843
|
+
row: string;
|
|
7844
|
+
/** sr-only text appended to each chip's accessible name, describing what hovering does. */
|
|
7845
|
+
hint: string;
|
|
7846
|
+
}
|
|
7847
|
+
declare const DEFAULT_TOKEN_SPOTLIGHT_LABELS: TokenSpotlightLabels;
|
|
7848
|
+
/** Hard cap on elements a single scan pass examines (wave-4 ruling 26). */
|
|
7849
|
+
declare const TOKEN_SPOTLIGHT_SCAN_LIMIT = 2000;
|
|
7850
|
+
/**
|
|
7851
|
+
* Resolves `token`'s CURRENT value the same way the browser will compare it: an off-screen probe
|
|
7852
|
+
* element takes `background-color: var(token)`, so whatever colour-space normalisation the
|
|
7853
|
+
* browser applies happens identically for the probe and for every candidate element below —
|
|
7854
|
+
* string equality holds regardless of how a theme authored the value (oklch, rgb, …).
|
|
7855
|
+
*/
|
|
7856
|
+
declare function resolveTokenMatchValue(token: string, doc?: Document): string;
|
|
7857
|
+
/**
|
|
7858
|
+
* What a chip shows a person for `token` on `root` (#585): a colour as a rounded `oklch(L C H)`
|
|
7859
|
+
* — never the `lab()` a CSS build may have transpiled it to — and a length as resolved px, never
|
|
7860
|
+
* a raw `calc()`. Anything else (a font stack, a shadow) is shown as authored. `""` when there is
|
|
7861
|
+
* no `document` yet (SSR — the component fills it in after mount).
|
|
7862
|
+
*/
|
|
7863
|
+
declare function resolveTokenDisplayValue(token: string, root?: HTMLElement): string;
|
|
7864
|
+
/**
|
|
7865
|
+
* Scans `root` in idle-time chunks for elements that visibly paint `matchValue` (from
|
|
7866
|
+
* {@link resolveTokenMatchValue}) — a background, a border side with width, their own text, or an
|
|
7867
|
+
* SVG shape's fill/stroke (reported as its `<svg>`) — capped at `limit` elements EXAMINED. Never a
|
|
7868
|
+
* long task, never inline styles (callers add/remove a `data-token-consumer` attribute instead).
|
|
7869
|
+
* Returns a canceller for effect cleanup.
|
|
7870
|
+
*/
|
|
7871
|
+
declare function scanForConsumers(root: ParentNode, matchValue: string, limit: number, onDone: (elements: HTMLElement[]) => void): () => void;
|
|
7872
|
+
interface TokenSpotlightProps extends Omit<react.HTMLAttributes<HTMLDivElement>, "onSelect"> {
|
|
7873
|
+
/** Chips to render, in order. */
|
|
7874
|
+
tokens: readonly TokenSpotlightToken[];
|
|
7875
|
+
/** Fires with the token on hover/focus, and `null` when the spotlight clears. */
|
|
7876
|
+
onSpotlight?: (token: string | null) => void;
|
|
7877
|
+
/** Upper bound on elements a scan pass examines. Default {@link TOKEN_SPOTLIGHT_SCAN_LIMIT}. */
|
|
7878
|
+
scanLimit?: number;
|
|
7879
|
+
labels?: Partial<TokenSpotlightLabels>;
|
|
7880
|
+
}
|
|
7881
|
+
/**
|
|
7882
|
+
* A row of token chips (concept §4.5, §5a "Scroll choreography 5"): hovering or focusing one sets
|
|
7883
|
+
* `data-token-spotlight` on `<html>` and marks every element on the page that resolves to the
|
|
7884
|
+
* same colour with `data-token-consumer` (never an inline style), so a stylesheet can draw the
|
|
7885
|
+
* highlight. `onSpotlight` lets the host tint an `AmbientField` to match. Each chip shows the
|
|
7886
|
+
* token's own resolved value, re-read on every theme change.
|
|
7887
|
+
*/
|
|
7888
|
+
declare const TokenSpotlight: react.ForwardRefExoticComponent<TokenSpotlightProps & react.RefAttributes<HTMLDivElement>>;
|
|
7889
|
+
|
|
7890
|
+
/**
|
|
7891
|
+
* color-scale.ts — `colorScaleFor(values, spec)`: the one value → colour
|
|
7892
|
+
* decision behind every thematic encoding (RM-124). A choropleth fill
|
|
7893
|
+
* (`charts`), a DataTable heatmap cell (`data`) and a map symbol or legend ramp
|
|
7894
|
+
* (`maps`) all ask the same question, and those three packages depend on `ui`
|
|
7895
|
+
* but never on each other — so the answer lives here, once.
|
|
7896
|
+
*
|
|
7897
|
+
* Pure: no React, no DOM. It returns data a renderer paints.
|
|
7898
|
+
*
|
|
7899
|
+
* ## Colours are token REFERENCES
|
|
7900
|
+
*
|
|
7901
|
+
* Every colour this module hands back is a `var(--chart-…)` reference — the
|
|
7902
|
+
* `--chart-seq-*` ramp, the `--chart-div-*` ramp or the `--chart-1…12`
|
|
7903
|
+
* categorical set — never a literal. The result re-colours on a theme flip with
|
|
7904
|
+
* no re-render, and the on-mark ink seam (`charts`' `on-mark-ink.ts`) can
|
|
7905
|
+
* resolve every step it paints.
|
|
7906
|
+
*
|
|
7907
|
+
* The price: nothing here can MIX two steps, because their values are unknown
|
|
7908
|
+
* until the browser resolves the active theme. So:
|
|
7909
|
+
*
|
|
7910
|
+
* - a **continuous** scale snaps each value to the nearest ramp step (7
|
|
7911
|
+
* sequential, 5 diverging). {@link ColorScale.positionOf} gives the exact,
|
|
7912
|
+
* unsnapped ramp position (a legend marker) and {@link ColorScale.stops} the
|
|
7913
|
+
* value at which each step is exact (a gradient's colour stops);
|
|
7914
|
+
* - a **stepped** scale is CLAMPED to its ramp: ask for more classes than the
|
|
7915
|
+
* ramp has tokens (7 sequential, 5 diverging) and you get the ramp's length,
|
|
7916
|
+
* because two classes painted the same colour are one class. `steps` is a
|
|
7917
|
+
* ceiling, never a promise; read `scale.steps.length` for what was painted.
|
|
7918
|
+
* (`method: "custom"` keeps every break the host named.)
|
|
7919
|
+
*
|
|
7920
|
+
* ## Step membership
|
|
7921
|
+
*
|
|
7922
|
+
* A step is `(from, to]`: the upper bound is inclusive and the first step also
|
|
7923
|
+
* includes its `from`. Jenks breaks are class UPPER bounds, so a published
|
|
7924
|
+
* break list reads straight across. Values outside the domain clamp into the
|
|
7925
|
+
* end steps, the way a map never shows a hole for an outlier.
|
|
7926
|
+
*/
|
|
7927
|
+
/** A smooth ramp, or countable classes. */
|
|
7928
|
+
type ColorScaleType = "continuous" | "stepped";
|
|
7929
|
+
/**
|
|
7930
|
+
* Where a continuous ramp's stops sit. `linear` spreads them evenly from min
|
|
7931
|
+
* to max; `median`, `quartiles`, `quintiles` and `deciles` pin them to those
|
|
7932
|
+
* quantiles of the data; `natural` pins them to the Jenks breaks.
|
|
7933
|
+
*/
|
|
7934
|
+
type ContinuousColorScaleMethod = "linear" | "median" | "quartiles" | "quintiles" | "deciles" | "natural";
|
|
7935
|
+
/**
|
|
7936
|
+
* How a stepped scale cuts its classes. `equidistant` makes equal widths;
|
|
7937
|
+
* `rounded` makes equal widths whose inner breaks round to the step's leading
|
|
7938
|
+
* power of ten; `quantile` makes equal counts; `jenks` minimises the variance
|
|
7939
|
+
* inside each class; `custom` uses {@link SteppedColorScaleSpec.breaks}.
|
|
7940
|
+
*/
|
|
7941
|
+
type SteppedColorScaleMethod = "equidistant" | "rounded" | "quantile" | "jenks" | "custom";
|
|
7942
|
+
type ColorScaleMethod = ContinuousColorScaleMethod | SteppedColorScaleMethod;
|
|
7943
|
+
/**
|
|
7944
|
+
* Which token set paints the scale. `sequential` answers "how much",
|
|
7945
|
+
* `diverging` answers "how far from the centre, and on which side", and
|
|
7946
|
+
* `categorical` gives each distinct value its own colour.
|
|
7947
|
+
*/
|
|
7948
|
+
type ColorScalePalette = "sequential" | "diverging" | "categorical";
|
|
7949
|
+
/** `[min, max]`, or `[min, center, max]` to pin the ramp's middle colour. */
|
|
7950
|
+
type ColorScaleDomain = readonly [min: number, max: number] | readonly [min: number, center: number, max: number];
|
|
7951
|
+
interface ColorScaleSpecBase {
|
|
7952
|
+
/**
|
|
7953
|
+
* Fixed ends instead of the data's own min / max, so two maps share one
|
|
7954
|
+
* scale. A middle entry is the CENTRE: the value that paints the ramp's
|
|
7955
|
+
* middle colour.
|
|
7956
|
+
*/
|
|
7957
|
+
domain?: ColorScaleDomain;
|
|
7958
|
+
/**
|
|
7959
|
+
* Default: `"diverging"` when `domain` has a centre, else `"sequential"`. A
|
|
7960
|
+
* diverging scale without a centre centres on 0 when the domain spans 0, and
|
|
7961
|
+
* on the domain's midpoint otherwise.
|
|
7962
|
+
*/
|
|
7963
|
+
palette?: ColorScalePalette;
|
|
7964
|
+
}
|
|
7965
|
+
interface ContinuousColorScaleSpec extends ColorScaleSpecBase {
|
|
7966
|
+
type: "continuous";
|
|
7967
|
+
/** Default `"linear"`. */
|
|
7968
|
+
method?: ContinuousColorScaleMethod;
|
|
7969
|
+
/** `method: "natural"` only: how many Jenks classes place the stops. Default 5. */
|
|
7970
|
+
steps?: number;
|
|
7971
|
+
}
|
|
7972
|
+
interface SteppedColorScaleSpec extends ColorScaleSpecBase {
|
|
7973
|
+
type: "stepped";
|
|
7974
|
+
/** Default `"equidistant"`. */
|
|
7975
|
+
method?: SteppedColorScaleMethod;
|
|
7976
|
+
/**
|
|
7977
|
+
* How many classes. Default 5. Ignored by `custom`. `quantile` and `jenks`
|
|
7978
|
+
* can return fewer when the data has fewer distinct values.
|
|
7979
|
+
*/
|
|
7980
|
+
steps?: number;
|
|
7981
|
+
/**
|
|
7982
|
+
* `method: "custom"` only: the inner thresholds, ascending. The scale's ends
|
|
7983
|
+
* widen to include them, so the same breaks give the same colours on every
|
|
7984
|
+
* dataset.
|
|
7985
|
+
*/
|
|
7986
|
+
breaks?: readonly number[];
|
|
7987
|
+
}
|
|
7988
|
+
/** What to build. The feature / column the values come from is the caller's business. */
|
|
7989
|
+
type ColorScaleSpec = ContinuousColorScaleSpec | SteppedColorScaleSpec;
|
|
7990
|
+
/**
|
|
7991
|
+
* One input value. Numeric scales read finite numbers only; categorical scales
|
|
7992
|
+
* read non-empty strings and finite numbers. Everything else is "no data".
|
|
7993
|
+
*/
|
|
7994
|
+
type ColorScaleValue = number | string | null | undefined;
|
|
7995
|
+
/** One class of the scale, low → high. See the module docblock for membership. */
|
|
7996
|
+
interface ColorScaleStep {
|
|
7997
|
+
from: number;
|
|
7998
|
+
to: number;
|
|
7999
|
+
/** A `var(--chart-…)` reference. */
|
|
8000
|
+
color: string;
|
|
8001
|
+
}
|
|
8002
|
+
/** The value at which one ramp token is exact: a gradient's colour stop. */
|
|
8003
|
+
interface ColorScaleStop {
|
|
8004
|
+
value: number;
|
|
8005
|
+
/** A `var(--chart-…)` reference. */
|
|
8006
|
+
color: string;
|
|
8007
|
+
}
|
|
8008
|
+
/** One category of a categorical scale, in first-seen order. */
|
|
8009
|
+
interface ColorScaleCategory {
|
|
8010
|
+
value: string | number;
|
|
8011
|
+
/** A `var(--chart-…)` reference. */
|
|
8012
|
+
color: string;
|
|
8013
|
+
}
|
|
8014
|
+
/** The resolved scale. Every colour in it is a `var(--chart-…)` reference. */
|
|
8015
|
+
interface ColorScale {
|
|
8016
|
+
type: ColorScaleType;
|
|
8017
|
+
/** The method actually used (a data-driven method with no data falls back to linear / equidistant). */
|
|
8018
|
+
method: ColorScaleMethod;
|
|
8019
|
+
palette: ColorScalePalette;
|
|
8020
|
+
/** The resolved `[lo, hi]`; `null` for a categorical scale or when there is nothing to scale. */
|
|
8021
|
+
domain: readonly [number, number] | null;
|
|
8022
|
+
/** The value that paints the ramp's middle colour, or `null` when none applies. */
|
|
8023
|
+
center: number | null;
|
|
8024
|
+
/**
|
|
8025
|
+
* The classes a value can land in, low → high. Continuous: one per ramp
|
|
8026
|
+
* token (the value band that snaps to it). Categorical: empty.
|
|
8027
|
+
*/
|
|
8028
|
+
steps: readonly ColorScaleStep[];
|
|
8029
|
+
/** Continuous only: one per ramp token. Stepped and categorical: empty. */
|
|
8030
|
+
stops: readonly ColorScaleStop[];
|
|
8031
|
+
/** Categorical only: one per distinct value. Otherwise empty. */
|
|
8032
|
+
categories: readonly ColorScaleCategory[];
|
|
8033
|
+
/** The colour for a value, or `null` for no data (and for an unseen category). */
|
|
8034
|
+
colorOf(value: ColorScaleValue): string | null;
|
|
8035
|
+
/** The index into `steps` (or `categories`) a value lands in; `-1` for no data. */
|
|
8036
|
+
indexOf(value: ColorScaleValue): number;
|
|
8037
|
+
/**
|
|
8038
|
+
* Where a value sits on a key whose tokens (continuous) or swatches (stepped)
|
|
8039
|
+
* are drawn evenly: `0` = the start of the strip, `1` = the end. `null` for
|
|
8040
|
+
* no data and for categorical scales.
|
|
8041
|
+
*/
|
|
8042
|
+
positionOf(value: ColorScaleValue): number | null;
|
|
8043
|
+
}
|
|
8044
|
+
/**
|
|
8045
|
+
* Build a colour scale over `values`.
|
|
8046
|
+
*
|
|
8047
|
+
* ```ts
|
|
8048
|
+
* const scale = colorScaleFor(rows.map((r) => r.share), {
|
|
8049
|
+
* type: "stepped",
|
|
8050
|
+
* method: "quantile",
|
|
8051
|
+
* steps: 5,
|
|
8052
|
+
* });
|
|
8053
|
+
* scale.colorOf(0.42); // "var(--chart-seq-4)"
|
|
8054
|
+
* scale.steps; // five { from, to, color } classes for the legend
|
|
8055
|
+
* ```
|
|
8056
|
+
*/
|
|
8057
|
+
declare function colorScaleFor(values: readonly ColorScaleValue[], spec: ColorScaleSpec): ColorScale;
|
|
8058
|
+
|
|
8059
|
+
export { AMBIENT_DEFAULT_STOPS, AMBIENT_MAX_ALPHA, APPROVAL_SCOPE_DESCRIPTION_KEYS, ATTRIBUTIONS, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AdvancedGroup, type AdvancedGroupProps, AffordanceHint, type AffordanceHintProps, type AgentEventOutcome, type AgentEventPhase, Alert, AlertDescription, type AlertDescriptionProps, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, type AlertTitleProps, AmbientField, type AmbientFieldProps, type AmbientToken, AppShell, type AppShellProps, type AppShellTopBarSlots, AppSidebar, type AppSidebarProps, type ApprovalOption, type ApprovalScope, AspectRatio, type Attribution, type AttributionCategory, AttributionPanel, type AttributionPanelProps, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, BentoGrid, BentoGridItem, type BentoGridItemProps, type BentoGridItemVariants, type BentoGridProps, type BentoGridSize, type BooleanFieldSpec, BoundedNumber, type BoundedNumberProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, type ButtonProps, CATEGORY_LABEL, COLOR_TOKENS, COPY_FEEDBACK_MS, Calendar, type CalendarProps, Card, CardAction, CardContent, CardDescription, type CardDescriptionProps, CardFooter, CardHeader, CardMedia, type CardMediaProps, type CardProps, CardTitle, type CardTitleProps, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, type ChangeHunk, type ChangeHunkStatus, type ChangeProvenance, ChangeReview, type ChangeReviewActions, ChangeReviewHeader, type ChangeReviewHeaderProps, ChangeReviewHunk, type ChangeReviewHunkProps, ChangeReviewList, type ChangeReviewListProps, type ChangeReviewProps, ChangeReviewProvenance, type ChangeReviewProvenanceProps, ChangeReviewProvider, type ChangeReviewProviderProps, type ChangeReviewState, type CheckResult, type CheckSummary, Checkbox, Collapsible, CollapsibleContent, type CollapsiblePanelAttrs, type CollapsiblePanelContainerPosition, type CollapsiblePanelSide, type CollapsiblePanelState, CollapsibleTrigger, ColorPicker, type ColorPickerProps, type ColorScale, type ColorScaleCategory, type ColorScaleDomain, type ColorScaleMethod, type ColorScalePalette, type ColorScaleSpec, type ColorScaleStep, type ColorScaleStop, type ColorScaleType, type ColorScaleValue, type ColorToken, Combobox, type ComboboxOption, type ComboboxProps, Command, CommandChip, type CommandChipHost, type CommandChipLabels, type CommandChipProps, CommandDialog, type CommandDialogProps, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, type CommandProps, CommandSeparator, CommandShortcut, CommandTrigger, type CommandTriggerProps, ConfirmDialog, type ConfirmDialogProps, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, ContextRail, type ContextRailProps, type ContextRailSection, type ContinuousColorScaleMethod, type ContinuousColorScaleSpec, type CopyToClipboard, CopyableValue, type CopyableValueProps, type CustomStatus, DEFAULT_COMMAND_CHIP_LABELS, DEFAULT_INSTALL_TABS_LABELS, DEFAULT_INTEGRATION_MATRIX_LABELS, DEFAULT_MESSAGES, DEFAULT_SPEC_PLAYGROUND_LABELS, DEFAULT_SURFACE_TOUR_ACTIONS_LABELS, DEFAULT_THEME_FAMILY_SWITCH_LABELS, DEFAULT_TOKEN_SPOTLIGHT_LABELS, DOCUMENT_ADDRESS_KINDS, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, type DateRangePreset, Descriptions, DescriptionsItem, type DescriptionsItemProps, type DescriptionsLabelWidth, type DescriptionsProps, Dialog, DialogBody, type DialogBodyProps, DialogClose, DialogContent, DialogDescription, type DialogDismissGuard, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogSection, type DialogSectionProps, DialogTitle, DialogTrigger, type DiffLine, type DiffLineType, type DiffRow, type DocumentAddress, type DocumentAddressKind, type DocumentRect, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, type EffortLevel, EmptyListIllustration, EmptyState, type EmptyStateProps, type EnumFieldSpec, type EnumOption, ErrorIllustration, ErrorState, type ErrorStateProps, ExpandDialog, ExpandDialogContent, type ExpandDialogContentProps, ExpandDialogHeader, type ExpandDialogHeaderProps, ExpandDialogPanes, type ExpandDialogPanesProps, type ExpandDialogProps, FILE_CATEGORY_ICONS, FieldControl, type FieldControlProps, FieldDescription, FieldError, type FieldKeyValueRow, FieldLabel, FieldRoot, type FieldRootProps, FieldRow, type FieldRowProps, type FieldSpec, type FileCategory, type FileFieldSpec, type FileIssue, type FileKind, type FileSource, FileUpload, FileUploadDropzone, type FileUploadDropzoneProps, FileUploadItem, type FileUploadItemProps, FileUploadList, type FileUploadListProps, type FileUploadProps, type FileUploadStatus, FilterChip, type FilterChipProps, type FindTriggerQueryOptions, FirstRunIllustration, type FormSectionSpec, type FormSpec, type FormSubmitState, type FormValue, type FormValues, type FromJsonSchemaOptions, type GroupFieldSpec, type GroupItemSpec, Heading, type HeadingLevel, type HeadingProps, type HeadingSize, HoverCard, HoverCardContent, HoverCardTrigger, ILLUSTRATION_ACCENT_VAR, IconButton, type IconButtonProps, type IconButtonSize, type IllustrationProps, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, type InputGroupProps, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputProps, type InsertMentionResult, InstallTabs, type InstallTabsHostTab, type InstallTabsLabels, type InstallTabsProps, type InstallTabsSelectOption, type IntegerFieldSpec, IntegrationMatrix, type IntegrationMatrixAction, type IntegrationMatrixHost, type IntegrationMatrixLabels, type IntegrationMatrixProps, type IntegrationMatrixRoutineStep, type IntegrationMatrixRow, Kbd, KeyValueEditor, type KeyValueEditorProps, type KeyValueFieldSpec, type KeyValueRow, KeyboardShortcuts, type KeyboardShortcutsProps, Label, LinkPreview, LinkPreviewCard, type LinkPreviewCardProps, ListEditor, type ListEditorProps, type ListFieldSpec, LoadingState, type LoadingStateProps, type LocaleContextValue, LocaleProvider, type LocaleProviderProps, MOTION_FACTOR_FLOOR, MatchHighlight, type MatchHighlightProps, type MatchRange, type Mention, MentionInput, MentionInputContent, type MentionInputContentProps, type MentionInputContextValue, MentionInputEmpty, type MentionInputEmptyProps, MentionInputItem, type MentionInputItemProps, MentionInputList, type MentionInputListProps, type MentionInputProps, MentionInputTextarea, type MentionInputTextareaProps, type MentionOption, type MentionValue, Menubar, MenubarCheckboxItem, MenubarContent, MenubarItem, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, type MessageValue, type Messages, Meter, type MeterProps, MetricCard, type MetricCardEmphasis, type MetricCardProps, type MetricCardSize, ModelPicker, type ModelPickerBody, type ModelPickerGroup, type ModelPickerItem, type ModelPickerProps, type ModelPickerStatus, type MultiEnumFieldSpec, NavMain, type NavMainProps, type NavMainRoute, type NavMainSubItem, type NavNotification, NavNotifications, type NavNotificationsProps, NavUser, type NavUserProps, type NavUserUser, NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, NoAccessIllustration, NoResultsIllustration, type NormalizedFormSpec, type NormalizedText, type NumberFieldSpec, NumberInput, type NumberInputProps, OfflineIllustration, type OperatingMode, PARALLAX_MAX_TRAVEL, PARALLAX_PLANE_RATES, PROSE_HEADING_REM, PROSE_HEADING_TRACKING, PROSE_HEADING_WEIGHT, PageShell, type PageShellProps, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, ParallaxPlane, type ParallaxPlaneKind, type ParallaxPlaneProps, type PluralCategory, type PluralMessage, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Progress, type ProgressProps, ProseBlockquote, ProseHeading, type ProseHeadingLevel, type ProseHeadingProps, ProseInlineCode, ProseLink, type ProseLinkProps, ProseList, ProseListItem, type ProseListProps, ProseText, type ProseTextProps, type QuoteAddress, RadioGroup, RadioGroupItem, type RangeAddress, Rating, type RatingProps, type RectAddress, ResizableHandle, ResizablePanel, ResizablePanelGroup, type ResolvedFileSource, ResultCount, type ResultCountProps, Reveal, RevealGroup, type RevealGroupProps, RevealOnEnter, type RevealOnEnterElement, type RevealOnEnterProps, type RevealProps, type Revision, type RevisionBranch, type RevisionEdge, RevisionTimeline, type RevisionTimelineDensity, type RevisionTimelineProps, STATUSES, STATUS_LABELS, STATUS_ROLE, STATUS_TONES, STATUS_TONE_ICONS, STREAMDOWN_TRANSLATION_KEYS, SchemaForm, SchemaFormDescription, type SchemaFormDescriptionProps, SchemaFormError, type SchemaFormErrorProps, SchemaFormFallback, type SchemaFormFallbackProps, SchemaFormField, type SchemaFormFieldProps, SchemaFormFields, type SchemaFormFieldsProps, type SchemaFormProps, SchemaFormProvider, type SchemaFormProviderProps, SchemaFormRoot, type SchemaFormRootProps, SchemaFormSubmit, type SchemaFormSubmitProps, SchemaFormTestAction, type SchemaFormTestActionProps, type SchemaFormTestActionStatus, SchemaFormTitle, type SchemaFormTitleProps, ScrollArea, type ScrollAreaProps, ScrollBar, type ScrollProgress, type ScrollProgressMode, type ScrollProgressOptions, SectionHeader, type SectionHeaderProps, SegmentedField, type SegmentedFieldOption, type SegmentedFieldProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, Separator, type SeparatorProps, type SessionCapability, type SessionQuickAction, type SessionWhatsNewItem, Sheet, SheetClose, SheetContent, type SheetContentProps, SheetDescription, SheetFooter, SheetHeader, SheetPortal, SheetTitle, SheetTrigger, type Shortcut, type ShortcutGroup, SideDock, type SideDockProps, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, type SidebarInsetGutter, type SidebarInsetProps, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, type SkeletonProps, SkipLink, type SkipLinkProps, type SlashCommand, Slider, SliderNumber, type SliderNumberProps, type SliderProps, type SliderThumbProps, SpecPlayground, type SpecPlaygroundError, type SpecPlaygroundExample, type SpecPlaygroundLabels, type SpecPlaygroundProps, type SpecPlaygroundStatus, type SpecPlaygroundValidation, Spinner, type SpinnerProps, SplitPanel, type SplitPanelProps, type SplitPanelTone, StatePanel, type StatePanelProps, type Status, StatusBadge, type StatusBadgeProps, StatusIcon, type StatusIconProps, type StatusTone, type SteppedColorScaleMethod, type SteppedColorScaleSpec, type StreamdownTranslationKey, type StreamdownTranslationMap, type StringFieldSpec, SuccessIllustration, SurfaceTour, SurfaceTourActions, type SurfaceTourActionsLabels, type SurfaceTourActionsProps, type SurfaceTourProps, type SurfaceTourTab, Switch, TEXT_ROLE_REM, TOKEN_SPOTLIGHT_SCAN_LIMIT, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, type TabsListProps, TabsTrigger, type TabsVariant, TagInput, type TagInputProps, TeamSwitcher, type TeamSwitcherProps, type TeamSwitcherTeam, Text, type TextProps, type TextRole, type TextTone, type TextVariant, Textarea, type TextareaProps, type ThemeFamilySwatch, ThemeFamilySwitch, type ThemeFamilySwitchFamily, type ThemeFamilySwitchLabels, type ThemeFamilySwitchMode, type ThemeFamilySwitchProps, type ThemeFamilySwitchSize, type ThemePreference, ThemeSwitcher, type ThemeSwitcherProps, type ThemeTransitionEffect, Timeline, type TimelineEntry, TimelineItem, type TimelineItemProps, type TimelineProps, TimelineRoot, type TimelineRootProps, type TimelineStatus, Toaster, type ToasterProps, Toggle, ToggleGroup, ToggleGroupItem, TokenSpotlight, type TokenSpotlightLabels, type TokenSpotlightProps, type TokenSpotlightToken, Toolbar, ToolbarButton, type ToolbarButtonProps, type ToolbarProps, ToolbarSeparator, type ToolbarSeparatorProps, ToolbarSlot, ToolbarToggleGroup, type ToolbarToggleGroupProps, ToolbarToggleItem, type ToolbarToggleItemProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TopNav, type TopNavProps, Transfer, type TransferItem, type TransferProps, Tree, type TreeNode, type TreeProps, TreeSelect, type TreeSelectProps, type TriggerBoundary, type TriggerQuery, UnsupportedJsonSchemaError, type UploadFile, type UseCollapsiblePanelOptions, type UseCollapsiblePanelReturn, type UseCopyToClipboardOptions, type UseDialogDismissGuardOptions, type UseTreeKeyboardOptions, type UseTreeKeyboardResult, ViewToolbar, ViewToolbarFilters, type ViewToolbarFiltersProps, type ViewToolbarProps, VirtualSelect, type VirtualSelectOption, type VirtualSelectProps, Wizard, WizardNav, type WizardNavProps, type WizardProps, WizardStep, type WizardStepMeta, type WizardStepProps, WizardSteps, type WizardStepsProps, type WizardValidator, type Workspace, WorkspacePicker, type WorkspacePickerProps, agentEventOutcomeStatus, alertVariants, badgeVariants, bentoGridItemVariants, booleanFieldSchema, buttonGroupVariants, buttonVariants, cardVariants, checkFileIssue, cn, collapseDiffRows, collectValidatableFields, colorScaleFor, countItems, csvQuoteField, csvStringifyValue, defaultMentionFilter, defaultSlashCommandFilter, dialogContentVariants, diffLineAccessibleLabel, diffLineMarker, downloadBlob, downloadUrl, effortRungForIndex, enumFieldSchema, enumOptionSchema, expandDialogPanesVariants, extensionOf, fieldLabel, fieldSpecSchema, fileFieldSchema, fileIconFor, fileMatchesAccept, findFieldByName, findTriggerQuery, formSectionSchema, formSpecSchema, formatElapsed, formatLastOpened, fromJsonSchema, fromTimelineStatus, groupFieldSchema, groupItemSchema, headingVariants, hunkVariants, illustrationAccent, initialFormValues, inputGroupAddonVariants, inputGroupVariants, insertMention, integerFieldSchema, isCustomStatus, isFieldVisible, isModuleNotFoundMessage, isMotionAtFloor, isOptionalPeerMissing, keyValueFieldSchema, keyValueRowSchema, laneColor, listFieldSchema, mediaTypeFromName, mentionAt, mentionEnd, meterFillVariants, meterVariants, modelPickerBody, multiEnumFieldSchema, navigationMenuTriggerStyle, normalizeFileSource, normalizeFormSpec, normalizeQuoteText, normalizeQuoteTextWithOffsets, normalizeRanges, numberFieldSchema, optionLabel, optionValue, parallaxOffset, progressIndicatorVariants, queryToRanges, readMotionFactor, remapMentions, replaceTriggerRun, resolveFileKind, resolveTokenDisplayValue, resolveTokenMatchValue, revealVariants, revisionTimelineVariants, scanForConsumers, serializeMentions, showsInlineError, sidebarMenuButtonVariants, splitPaneVariants, statePanelVariants, statusBadgeVariants, stepIndex, stringFieldSchema, supportsScrollTimeline, tabsListVariants, tabsTriggerVariants, textVariants, toggleVariants, toolbarVariants, useCollapsiblePanel, useCommandActiveItemId, useCopyToClipboard, useDialogDismissGuard, useDiffRows, useFileUpload, useIsMobile, useLocale, useMentionInput, useScrollProgress, useSidebar, useStreamdownTranslations, useThemeTransition, useTreeKeyboard, useVirtualListbox, validateField, validateForm };
|