@tlglobal/ui 2.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/CONSUMING.md +229 -0
- package/LICENSE +202 -0
- package/dist/AI_CONTEXT.md +621 -0
- package/dist/AI_INVENTORY.md +85 -0
- package/dist/chunk-2GWZWHLI.cjs +20 -0
- package/dist/chunk-2GWZWHLI.cjs.map +1 -0
- package/dist/chunk-2LZUUIC7.js +32 -0
- package/dist/chunk-2LZUUIC7.js.map +1 -0
- package/dist/chunk-3FJ2AYA2.js +89 -0
- package/dist/chunk-3FJ2AYA2.js.map +1 -0
- package/dist/chunk-3PA53VKD.js +125 -0
- package/dist/chunk-3PA53VKD.js.map +1 -0
- package/dist/chunk-3RZGAFXY.js +2 -0
- package/dist/chunk-3RZGAFXY.js.map +1 -0
- package/dist/chunk-3WN2VYVW.js +74 -0
- package/dist/chunk-3WN2VYVW.js.map +1 -0
- package/dist/chunk-43UYUOCI.cjs +48 -0
- package/dist/chunk-43UYUOCI.cjs.map +1 -0
- package/dist/chunk-44VPRRQ6.cjs +58 -0
- package/dist/chunk-44VPRRQ6.cjs.map +1 -0
- package/dist/chunk-4DRHQE74.js +24 -0
- package/dist/chunk-4DRHQE74.js.map +1 -0
- package/dist/chunk-4XLHRXFU.cjs +74 -0
- package/dist/chunk-4XLHRXFU.cjs.map +1 -0
- package/dist/chunk-4YEKNNGG.cjs +42 -0
- package/dist/chunk-4YEKNNGG.cjs.map +1 -0
- package/dist/chunk-52WJMKN4.js +2 -0
- package/dist/chunk-52WJMKN4.js.map +1 -0
- package/dist/chunk-5K47OTIO.cjs +2 -0
- package/dist/chunk-5K47OTIO.cjs.map +1 -0
- package/dist/chunk-5LY7WFC2.cjs +50 -0
- package/dist/chunk-5LY7WFC2.cjs.map +1 -0
- package/dist/chunk-5TOJI2VT.cjs +50 -0
- package/dist/chunk-5TOJI2VT.cjs.map +1 -0
- package/dist/chunk-6K77FYPP.cjs +27 -0
- package/dist/chunk-6K77FYPP.cjs.map +1 -0
- package/dist/chunk-6LNO6LIW.cjs +91 -0
- package/dist/chunk-6LNO6LIW.cjs.map +1 -0
- package/dist/chunk-6OKUL5O5.js +50 -0
- package/dist/chunk-6OKUL5O5.js.map +1 -0
- package/dist/chunk-72IENMXB.js +50 -0
- package/dist/chunk-72IENMXB.js.map +1 -0
- package/dist/chunk-74GQ35MJ.js +13 -0
- package/dist/chunk-74GQ35MJ.js.map +1 -0
- package/dist/chunk-7554LN2R.js +40 -0
- package/dist/chunk-7554LN2R.js.map +1 -0
- package/dist/chunk-77VS352K.js +26 -0
- package/dist/chunk-77VS352K.js.map +1 -0
- package/dist/chunk-7KV2ASQZ.js +54 -0
- package/dist/chunk-7KV2ASQZ.js.map +1 -0
- package/dist/chunk-7TQYKW62.js +2 -0
- package/dist/chunk-7TQYKW62.js.map +1 -0
- package/dist/chunk-7USP3KPM.js +74 -0
- package/dist/chunk-7USP3KPM.js.map +1 -0
- package/dist/chunk-7UWF7W5G.js +79 -0
- package/dist/chunk-7UWF7W5G.js.map +1 -0
- package/dist/chunk-7VXLTE5S.cjs +85 -0
- package/dist/chunk-7VXLTE5S.cjs.map +1 -0
- package/dist/chunk-A254FX7P.cjs +108 -0
- package/dist/chunk-A254FX7P.cjs.map +1 -0
- package/dist/chunk-ACCDNLKQ.cjs +2 -0
- package/dist/chunk-ACCDNLKQ.cjs.map +1 -0
- package/dist/chunk-AFU2TQBW.cjs +2 -0
- package/dist/chunk-AFU2TQBW.cjs.map +1 -0
- package/dist/chunk-ARIUBUZS.cjs +2 -0
- package/dist/chunk-ARIUBUZS.cjs.map +1 -0
- package/dist/chunk-ASXOVY3O.js +51 -0
- package/dist/chunk-ASXOVY3O.js.map +1 -0
- package/dist/chunk-ATQSUWAB.cjs +64 -0
- package/dist/chunk-ATQSUWAB.cjs.map +1 -0
- package/dist/chunk-B3JAASJA.cjs +52 -0
- package/dist/chunk-B3JAASJA.cjs.map +1 -0
- package/dist/chunk-BD2KPRJD.cjs +17 -0
- package/dist/chunk-BD2KPRJD.cjs.map +1 -0
- package/dist/chunk-BG3HP3NJ.cjs +34 -0
- package/dist/chunk-BG3HP3NJ.cjs.map +1 -0
- package/dist/chunk-BOLSRMRI.cjs +2 -0
- package/dist/chunk-BOLSRMRI.cjs.map +1 -0
- package/dist/chunk-BPH6SZFA.cjs +50 -0
- package/dist/chunk-BPH6SZFA.cjs.map +1 -0
- package/dist/chunk-BYEEPZYO.cjs +26 -0
- package/dist/chunk-BYEEPZYO.cjs.map +1 -0
- package/dist/chunk-C35O5Z4E.js +93 -0
- package/dist/chunk-C35O5Z4E.js.map +1 -0
- package/dist/chunk-C4M7CGEJ.cjs +33 -0
- package/dist/chunk-C4M7CGEJ.cjs.map +1 -0
- package/dist/chunk-C7ISP523.js +2 -0
- package/dist/chunk-C7ISP523.js.map +1 -0
- package/dist/chunk-CA2SLMZH.cjs +27 -0
- package/dist/chunk-CA2SLMZH.cjs.map +1 -0
- package/dist/chunk-CEQAANDU.cjs +26 -0
- package/dist/chunk-CEQAANDU.cjs.map +1 -0
- package/dist/chunk-CQNMLNRY.js +64 -0
- package/dist/chunk-CQNMLNRY.js.map +1 -0
- package/dist/chunk-CVXFVAS4.cjs +93 -0
- package/dist/chunk-CVXFVAS4.cjs.map +1 -0
- package/dist/chunk-DBCPNZ6H.js +34 -0
- package/dist/chunk-DBCPNZ6H.js.map +1 -0
- package/dist/chunk-DCBKSAUY.cjs +48 -0
- package/dist/chunk-DCBKSAUY.cjs.map +1 -0
- package/dist/chunk-DJGR4I4I.js +29 -0
- package/dist/chunk-DJGR4I4I.js.map +1 -0
- package/dist/chunk-DRPNHEYB.cjs +2 -0
- package/dist/chunk-DRPNHEYB.cjs.map +1 -0
- package/dist/chunk-E3KELI3Q.js +2 -0
- package/dist/chunk-E3KELI3Q.js.map +1 -0
- package/dist/chunk-EADT2IDZ.cjs +26 -0
- package/dist/chunk-EADT2IDZ.cjs.map +1 -0
- package/dist/chunk-EC6XXJRF.js +108 -0
- package/dist/chunk-EC6XXJRF.js.map +1 -0
- package/dist/chunk-EDAI4KEX.cjs +27 -0
- package/dist/chunk-EDAI4KEX.cjs.map +1 -0
- package/dist/chunk-EJ57LRPN.cjs +2 -0
- package/dist/chunk-EJ57LRPN.cjs.map +1 -0
- package/dist/chunk-ENO36WFO.cjs +54 -0
- package/dist/chunk-ENO36WFO.cjs.map +1 -0
- package/dist/chunk-ESRYVB7B.js +17 -0
- package/dist/chunk-ESRYVB7B.js.map +1 -0
- package/dist/chunk-EYC4OODR.js +2 -0
- package/dist/chunk-EYC4OODR.js.map +1 -0
- package/dist/chunk-F5XBFNFL.cjs +93 -0
- package/dist/chunk-F5XBFNFL.cjs.map +1 -0
- package/dist/chunk-F7UFCIDL.js +59 -0
- package/dist/chunk-F7UFCIDL.js.map +1 -0
- package/dist/chunk-FE6KOQUJ.js +2 -0
- package/dist/chunk-FE6KOQUJ.js.map +1 -0
- package/dist/chunk-FLP5UV2Q.js +2 -0
- package/dist/chunk-FLP5UV2Q.js.map +1 -0
- package/dist/chunk-FSFKN344.js +112 -0
- package/dist/chunk-FSFKN344.js.map +1 -0
- package/dist/chunk-G362MHBO.cjs +37 -0
- package/dist/chunk-G362MHBO.cjs.map +1 -0
- package/dist/chunk-GAIT5TGX.js +85 -0
- package/dist/chunk-GAIT5TGX.js.map +1 -0
- package/dist/chunk-GBHONUIG.js +52 -0
- package/dist/chunk-GBHONUIG.js.map +1 -0
- package/dist/chunk-GJGPQRIK.js +20 -0
- package/dist/chunk-GJGPQRIK.js.map +1 -0
- package/dist/chunk-GJQOXOSX.cjs +43 -0
- package/dist/chunk-GJQOXOSX.cjs.map +1 -0
- package/dist/chunk-GWLJZRZO.cjs +14 -0
- package/dist/chunk-GWLJZRZO.cjs.map +1 -0
- package/dist/chunk-H3RKRRVM.js +526 -0
- package/dist/chunk-H3RKRRVM.js.map +1 -0
- package/dist/chunk-HAMZFEZO.cjs +54 -0
- package/dist/chunk-HAMZFEZO.cjs.map +1 -0
- package/dist/chunk-HFYNUSDC.cjs +74 -0
- package/dist/chunk-HFYNUSDC.cjs.map +1 -0
- package/dist/chunk-HGP3RUO3.cjs +2 -0
- package/dist/chunk-HGP3RUO3.cjs.map +1 -0
- package/dist/chunk-HJCCG7JW.js +43 -0
- package/dist/chunk-HJCCG7JW.js.map +1 -0
- package/dist/chunk-HRO7NGJR.cjs +89 -0
- package/dist/chunk-HRO7NGJR.cjs.map +1 -0
- package/dist/chunk-HWVBYDV7.cjs +125 -0
- package/dist/chunk-HWVBYDV7.cjs.map +1 -0
- package/dist/chunk-IQ62AKGY.cjs +74 -0
- package/dist/chunk-IQ62AKGY.cjs.map +1 -0
- package/dist/chunk-IRV6TBCD.js +32 -0
- package/dist/chunk-IRV6TBCD.js.map +1 -0
- package/dist/chunk-IS7KJKLV.cjs +24 -0
- package/dist/chunk-IS7KJKLV.cjs.map +1 -0
- package/dist/chunk-JPABWZU4.js +24 -0
- package/dist/chunk-JPABWZU4.js.map +1 -0
- package/dist/chunk-JSVWJPQG.js +37 -0
- package/dist/chunk-JSVWJPQG.js.map +1 -0
- package/dist/chunk-K5CAZ7C4.js +33 -0
- package/dist/chunk-K5CAZ7C4.js.map +1 -0
- package/dist/chunk-KG4EGAMK.js +54 -0
- package/dist/chunk-KG4EGAMK.js.map +1 -0
- package/dist/chunk-KIAO4YXV.js +127 -0
- package/dist/chunk-KIAO4YXV.js.map +1 -0
- package/dist/chunk-KSKUVK6I.cjs +59 -0
- package/dist/chunk-KSKUVK6I.cjs.map +1 -0
- package/dist/chunk-KYDXKVSZ.js +46 -0
- package/dist/chunk-KYDXKVSZ.js.map +1 -0
- package/dist/chunk-L5ASRHVY.js +60 -0
- package/dist/chunk-L5ASRHVY.js.map +1 -0
- package/dist/chunk-LFFVW4TB.cjs +52 -0
- package/dist/chunk-LFFVW4TB.cjs.map +1 -0
- package/dist/chunk-LUBNRBQN.cjs +33 -0
- package/dist/chunk-LUBNRBQN.cjs.map +1 -0
- package/dist/chunk-LVFXPPPK.js +33 -0
- package/dist/chunk-LVFXPPPK.js.map +1 -0
- package/dist/chunk-LVL2KDBH.js +48 -0
- package/dist/chunk-LVL2KDBH.js.map +1 -0
- package/dist/chunk-LZEQUT4L.cjs +56 -0
- package/dist/chunk-LZEQUT4L.cjs.map +1 -0
- package/dist/chunk-MAN3LWOP.js +26 -0
- package/dist/chunk-MAN3LWOP.js.map +1 -0
- package/dist/chunk-MIKQY57Q.js +16 -0
- package/dist/chunk-MIKQY57Q.js.map +1 -0
- package/dist/chunk-MRFK7JYS.cjs +16 -0
- package/dist/chunk-MRFK7JYS.cjs.map +1 -0
- package/dist/chunk-MWMM3SXJ.cjs +107 -0
- package/dist/chunk-MWMM3SXJ.cjs.map +1 -0
- package/dist/chunk-N7NOXL4I.js +91 -0
- package/dist/chunk-N7NOXL4I.js.map +1 -0
- package/dist/chunk-NCYN3QQU.cjs +67 -0
- package/dist/chunk-NCYN3QQU.cjs.map +1 -0
- package/dist/chunk-NQDS423U.js +33 -0
- package/dist/chunk-NQDS423U.js.map +1 -0
- package/dist/chunk-NROYDPOG.js +48 -0
- package/dist/chunk-NROYDPOG.js.map +1 -0
- package/dist/chunk-NRP4NW7O.js +35 -0
- package/dist/chunk-NRP4NW7O.js.map +1 -0
- package/dist/chunk-NSTYHMFW.cjs +13 -0
- package/dist/chunk-NSTYHMFW.cjs.map +1 -0
- package/dist/chunk-NXR4JLHH.cjs +2 -0
- package/dist/chunk-NXR4JLHH.cjs.map +1 -0
- package/dist/chunk-NZ2HMIIP.cjs +35 -0
- package/dist/chunk-NZ2HMIIP.cjs.map +1 -0
- package/dist/chunk-ODN7NJ6D.cjs +46 -0
- package/dist/chunk-ODN7NJ6D.cjs.map +1 -0
- package/dist/chunk-OEOJQGHG.js +23 -0
- package/dist/chunk-OEOJQGHG.js.map +1 -0
- package/dist/chunk-OHI4DVYR.js +27 -0
- package/dist/chunk-OHI4DVYR.js.map +1 -0
- package/dist/chunk-OZR3RLEW.cjs +526 -0
- package/dist/chunk-OZR3RLEW.cjs.map +1 -0
- package/dist/chunk-P6HOIFVS.js +107 -0
- package/dist/chunk-P6HOIFVS.js.map +1 -0
- package/dist/chunk-PFK42QIX.cjs +112 -0
- package/dist/chunk-PFK42QIX.cjs.map +1 -0
- package/dist/chunk-PNBLW6BD.cjs +51 -0
- package/dist/chunk-PNBLW6BD.cjs.map +1 -0
- package/dist/chunk-PRVO66GL.js +2 -0
- package/dist/chunk-PRVO66GL.js.map +1 -0
- package/dist/chunk-PZH6B7X6.cjs +33 -0
- package/dist/chunk-PZH6B7X6.cjs.map +1 -0
- package/dist/chunk-QEIOHGNX.js +2 -0
- package/dist/chunk-QEIOHGNX.js.map +1 -0
- package/dist/chunk-QET47X4U.cjs +49 -0
- package/dist/chunk-QET47X4U.cjs.map +1 -0
- package/dist/chunk-QEVPIMPR.js +74 -0
- package/dist/chunk-QEVPIMPR.js.map +1 -0
- package/dist/chunk-QGPKRORJ.cjs +2 -0
- package/dist/chunk-QGPKRORJ.cjs.map +1 -0
- package/dist/chunk-QT6A3IGJ.js +49 -0
- package/dist/chunk-QT6A3IGJ.js.map +1 -0
- package/dist/chunk-QUXGSASA.js +2 -0
- package/dist/chunk-QUXGSASA.js.map +1 -0
- package/dist/chunk-QX75NAXT.js +67 -0
- package/dist/chunk-QX75NAXT.js.map +1 -0
- package/dist/chunk-R27ACM4Q.cjs +2 -0
- package/dist/chunk-R27ACM4Q.cjs.map +1 -0
- package/dist/chunk-R4RV6JMA.js +46 -0
- package/dist/chunk-R4RV6JMA.js.map +1 -0
- package/dist/chunk-RB7PFSP5.cjs +40 -0
- package/dist/chunk-RB7PFSP5.cjs.map +1 -0
- package/dist/chunk-RCUEVMFN.cjs +2 -0
- package/dist/chunk-RCUEVMFN.cjs.map +1 -0
- package/dist/chunk-RG5TWXHH.cjs +46 -0
- package/dist/chunk-RG5TWXHH.cjs.map +1 -0
- package/dist/chunk-RHIHSGAK.cjs +42 -0
- package/dist/chunk-RHIHSGAK.cjs.map +1 -0
- package/dist/chunk-RL3XVDMF.cjs +20 -0
- package/dist/chunk-RL3XVDMF.cjs.map +1 -0
- package/dist/chunk-SD2D5PZS.js +2 -0
- package/dist/chunk-SD2D5PZS.js.map +1 -0
- package/dist/chunk-SKQHJJ6L.js +34 -0
- package/dist/chunk-SKQHJJ6L.js.map +1 -0
- package/dist/chunk-SN6MWJU6.js +86 -0
- package/dist/chunk-SN6MWJU6.js.map +1 -0
- package/dist/chunk-SP36M6G5.js +52 -0
- package/dist/chunk-SP36M6G5.js.map +1 -0
- package/dist/chunk-SWBJF2XG.cjs +32 -0
- package/dist/chunk-SWBJF2XG.cjs.map +1 -0
- package/dist/chunk-T4FTROIQ.cjs +127 -0
- package/dist/chunk-T4FTROIQ.cjs.map +1 -0
- package/dist/chunk-TPTUGJYI.js +43 -0
- package/dist/chunk-TPTUGJYI.js.map +1 -0
- package/dist/chunk-TROOTXPG.cjs +34 -0
- package/dist/chunk-TROOTXPG.cjs.map +1 -0
- package/dist/chunk-TWFEHJMT.js +34 -0
- package/dist/chunk-TWFEHJMT.js.map +1 -0
- package/dist/chunk-UJVIWFHU.js +14 -0
- package/dist/chunk-UJVIWFHU.js.map +1 -0
- package/dist/chunk-ULWJ75EE.js +58 -0
- package/dist/chunk-ULWJ75EE.js.map +1 -0
- package/dist/chunk-UU2KZAA4.js +27 -0
- package/dist/chunk-UU2KZAA4.js.map +1 -0
- package/dist/chunk-UV46IHDR.cjs +79 -0
- package/dist/chunk-UV46IHDR.cjs.map +1 -0
- package/dist/chunk-V3NEBNKV.js +93 -0
- package/dist/chunk-V3NEBNKV.js.map +1 -0
- package/dist/chunk-VHWMJ4HO.js +42 -0
- package/dist/chunk-VHWMJ4HO.js.map +1 -0
- package/dist/chunk-VONXCRR4.cjs +86 -0
- package/dist/chunk-VONXCRR4.cjs.map +1 -0
- package/dist/chunk-VTNWJO3Y.js +2 -0
- package/dist/chunk-VTNWJO3Y.js.map +1 -0
- package/dist/chunk-VVZIMK6K.js +27 -0
- package/dist/chunk-VVZIMK6K.js.map +1 -0
- package/dist/chunk-WBWSA5SM.js +42 -0
- package/dist/chunk-WBWSA5SM.js.map +1 -0
- package/dist/chunk-WVEBD2II.cjs +2 -0
- package/dist/chunk-WVEBD2II.cjs.map +1 -0
- package/dist/chunk-XGCIOWNR.cjs +34 -0
- package/dist/chunk-XGCIOWNR.cjs.map +1 -0
- package/dist/chunk-XMCP5ITG.cjs +60 -0
- package/dist/chunk-XMCP5ITG.cjs.map +1 -0
- package/dist/chunk-XOBIDPEA.cjs +23 -0
- package/dist/chunk-XOBIDPEA.cjs.map +1 -0
- package/dist/chunk-XV2M2XOO.cjs +29 -0
- package/dist/chunk-XV2M2XOO.cjs.map +1 -0
- package/dist/chunk-XWMDE3D5.cjs +32 -0
- package/dist/chunk-XWMDE3D5.cjs.map +1 -0
- package/dist/chunk-Y523KUML.js +50 -0
- package/dist/chunk-Y523KUML.js.map +1 -0
- package/dist/chunk-YB4W5ROD.cjs +2 -0
- package/dist/chunk-YB4W5ROD.cjs.map +1 -0
- package/dist/chunk-YEH5VLWU.js +56 -0
- package/dist/chunk-YEH5VLWU.js.map +1 -0
- package/dist/chunk-YFS2VFC5.js +26 -0
- package/dist/chunk-YFS2VFC5.js.map +1 -0
- package/dist/chunk-YGWKQHA4.cjs +43 -0
- package/dist/chunk-YGWKQHA4.cjs.map +1 -0
- package/dist/chunk-YL5ANBN3.js +20 -0
- package/dist/chunk-YL5ANBN3.js.map +1 -0
- package/dist/chunk-Z3TON3YG.js +2 -0
- package/dist/chunk-Z3TON3YG.js.map +1 -0
- package/dist/chunk-ZWS4E67U.cjs +24 -0
- package/dist/chunk-ZWS4E67U.cjs.map +1 -0
- package/dist/components/accordion/Accordion.d.ts +9 -0
- package/dist/components/accordion/index.cjs +9 -0
- package/dist/components/accordion/index.cjs.map +1 -0
- package/dist/components/accordion/index.d.ts +1 -0
- package/dist/components/accordion/index.js +9 -0
- package/dist/components/accordion/index.js.map +1 -0
- package/dist/components/alert/Alert.d.ts +8 -0
- package/dist/components/alert/index.cjs +9 -0
- package/dist/components/alert/index.cjs.map +1 -0
- package/dist/components/alert/index.d.ts +2 -0
- package/dist/components/alert/index.js +9 -0
- package/dist/components/alert/index.js.map +1 -0
- package/dist/components/alert-dialog/AlertDialog.d.ts +13 -0
- package/dist/components/alert-dialog/index.cjs +9 -0
- package/dist/components/alert-dialog/index.cjs.map +1 -0
- package/dist/components/alert-dialog/index.d.ts +1 -0
- package/dist/components/alert-dialog/index.js +9 -0
- package/dist/components/alert-dialog/index.js.map +1 -0
- package/dist/components/aspect-ratio/AspectRatio.d.ts +6 -0
- package/dist/components/aspect-ratio/index.cjs +9 -0
- package/dist/components/aspect-ratio/index.cjs.map +1 -0
- package/dist/components/aspect-ratio/index.d.ts +2 -0
- package/dist/components/aspect-ratio/index.js +9 -0
- package/dist/components/aspect-ratio/index.js.map +1 -0
- package/dist/components/attachment/Attachment.d.ts +22 -0
- package/dist/components/attachment/index.cjs +11 -0
- package/dist/components/attachment/index.cjs.map +1 -0
- package/dist/components/attachment/index.d.ts +2 -0
- package/dist/components/attachment/index.js +11 -0
- package/dist/components/attachment/index.js.map +1 -0
- package/dist/components/avatar/Avatar.d.ts +11 -0
- package/dist/components/avatar/index.cjs +10 -0
- package/dist/components/avatar/index.cjs.map +1 -0
- package/dist/components/avatar/index.d.ts +2 -0
- package/dist/components/avatar/index.js +10 -0
- package/dist/components/avatar/index.js.map +1 -0
- package/dist/components/badge/Badge.d.ts +7 -0
- package/dist/components/badge/index.cjs +9 -0
- package/dist/components/badge/index.cjs.map +1 -0
- package/dist/components/badge/index.d.ts +2 -0
- package/dist/components/badge/index.js +9 -0
- package/dist/components/badge/index.js.map +1 -0
- package/dist/components/breadcrumb/Breadcrumb.d.ts +17 -0
- package/dist/components/breadcrumb/index.cjs +9 -0
- package/dist/components/breadcrumb/index.cjs.map +1 -0
- package/dist/components/breadcrumb/index.d.ts +1 -0
- package/dist/components/breadcrumb/index.js +9 -0
- package/dist/components/breadcrumb/index.js.map +1 -0
- package/dist/components/bubble/Bubble.d.ts +14 -0
- package/dist/components/bubble/index.cjs +10 -0
- package/dist/components/bubble/index.cjs.map +1 -0
- package/dist/components/bubble/index.d.ts +2 -0
- package/dist/components/bubble/index.js +10 -0
- package/dist/components/bubble/index.js.map +1 -0
- package/dist/components/button/Button.d.ts +10 -0
- package/dist/components/button/index.cjs +10 -0
- package/dist/components/button/index.cjs.map +1 -0
- package/dist/components/button/index.d.ts +2 -0
- package/dist/components/button/index.js +10 -0
- package/dist/components/button/index.js.map +1 -0
- package/dist/components/button-group/ButtonGroup.d.ts +5 -0
- package/dist/components/button-group/index.cjs +9 -0
- package/dist/components/button-group/index.cjs.map +1 -0
- package/dist/components/button-group/index.d.ts +2 -0
- package/dist/components/button-group/index.js +9 -0
- package/dist/components/button-group/index.js.map +1 -0
- package/dist/components/calendar/Calendar.d.ts +3 -0
- package/dist/components/calendar/index.cjs +10 -0
- package/dist/components/calendar/index.cjs.map +1 -0
- package/dist/components/calendar/index.d.ts +1 -0
- package/dist/components/calendar/index.js +10 -0
- package/dist/components/calendar/index.js.map +1 -0
- package/dist/components/card/Card.d.ts +7 -0
- package/dist/components/card/index.cjs +9 -0
- package/dist/components/card/index.cjs.map +1 -0
- package/dist/components/card/index.d.ts +2 -0
- package/dist/components/card/index.js +9 -0
- package/dist/components/card/index.js.map +1 -0
- package/dist/components/carousel/Carousel.d.ts +16 -0
- package/dist/components/carousel/index.cjs +10 -0
- package/dist/components/carousel/index.cjs.map +1 -0
- package/dist/components/carousel/index.d.ts +2 -0
- package/dist/components/carousel/index.js +10 -0
- package/dist/components/carousel/index.js.map +1 -0
- package/dist/components/chart/Chart.d.ts +23 -0
- package/dist/components/chart/index.cjs +9 -0
- package/dist/components/chart/index.cjs.map +1 -0
- package/dist/components/chart/index.d.ts +2 -0
- package/dist/components/chart/index.js +9 -0
- package/dist/components/chart/index.js.map +1 -0
- package/dist/components/checkbox/Checkbox.d.ts +8 -0
- package/dist/components/checkbox/index.cjs +9 -0
- package/dist/components/checkbox/index.cjs.map +1 -0
- package/dist/components/checkbox/index.d.ts +2 -0
- package/dist/components/checkbox/index.js +9 -0
- package/dist/components/checkbox/index.js.map +1 -0
- package/dist/components/collapsible/Collapsible.d.ts +7 -0
- package/dist/components/collapsible/index.cjs +8 -0
- package/dist/components/collapsible/index.cjs.map +1 -0
- package/dist/components/collapsible/index.d.ts +1 -0
- package/dist/components/collapsible/index.js +8 -0
- package/dist/components/collapsible/index.js.map +1 -0
- package/dist/components/combobox/Combobox.d.ts +20 -0
- package/dist/components/combobox/index.cjs +10 -0
- package/dist/components/combobox/index.cjs.map +1 -0
- package/dist/components/combobox/index.d.ts +2 -0
- package/dist/components/combobox/index.js +10 -0
- package/dist/components/combobox/index.js.map +1 -0
- package/dist/components/command/Command.d.ts +13 -0
- package/dist/components/command/index.cjs +10 -0
- package/dist/components/command/index.cjs.map +1 -0
- package/dist/components/command/index.d.ts +1 -0
- package/dist/components/command/index.js +10 -0
- package/dist/components/command/index.js.map +1 -0
- package/dist/components/context-menu/ContextMenu.d.ts +19 -0
- package/dist/components/context-menu/index.cjs +9 -0
- package/dist/components/context-menu/index.cjs.map +1 -0
- package/dist/components/context-menu/index.d.ts +1 -0
- package/dist/components/context-menu/index.js +9 -0
- package/dist/components/context-menu/index.js.map +1 -0
- package/dist/components/date-picker/DatePicker.d.ts +11 -0
- package/dist/components/date-picker/index.cjs +10 -0
- package/dist/components/date-picker/index.cjs.map +1 -0
- package/dist/components/date-picker/index.d.ts +2 -0
- package/dist/components/date-picker/index.js +10 -0
- package/dist/components/date-picker/index.js.map +1 -0
- package/dist/components/dialog/Dialog.d.ts +12 -0
- package/dist/components/dialog/index.cjs +9 -0
- package/dist/components/dialog/index.cjs.map +1 -0
- package/dist/components/dialog/index.d.ts +1 -0
- package/dist/components/dialog/index.js +9 -0
- package/dist/components/dialog/index.js.map +1 -0
- package/dist/components/direction/Direction.d.ts +16 -0
- package/dist/components/direction/index.cjs +11 -0
- package/dist/components/direction/index.cjs.map +1 -0
- package/dist/components/direction/index.d.ts +2 -0
- package/dist/components/direction/index.js +11 -0
- package/dist/components/direction/index.js.map +1 -0
- package/dist/components/drawer/Drawer.d.ts +12 -0
- package/dist/components/drawer/index.cjs +9 -0
- package/dist/components/drawer/index.cjs.map +1 -0
- package/dist/components/drawer/index.d.ts +1 -0
- package/dist/components/drawer/index.js +9 -0
- package/dist/components/drawer/index.js.map +1 -0
- package/dist/components/dropdown-menu/DropdownMenu.d.ts +19 -0
- package/dist/components/dropdown-menu/index.cjs +9 -0
- package/dist/components/dropdown-menu/index.cjs.map +1 -0
- package/dist/components/dropdown-menu/index.d.ts +1 -0
- package/dist/components/dropdown-menu/index.js +9 -0
- package/dist/components/dropdown-menu/index.js.map +1 -0
- package/dist/components/empty/Empty.d.ts +10 -0
- package/dist/components/empty/index.cjs +9 -0
- package/dist/components/empty/index.cjs.map +1 -0
- package/dist/components/empty/index.d.ts +2 -0
- package/dist/components/empty/index.js +9 -0
- package/dist/components/empty/index.js.map +1 -0
- package/dist/components/field/Field.d.ts +17 -0
- package/dist/components/field/index.cjs +11 -0
- package/dist/components/field/index.cjs.map +1 -0
- package/dist/components/field/index.d.ts +2 -0
- package/dist/components/field/index.js +11 -0
- package/dist/components/field/index.js.map +1 -0
- package/dist/components/hover-card/HoverCard.d.ts +8 -0
- package/dist/components/hover-card/index.cjs +9 -0
- package/dist/components/hover-card/index.cjs.map +1 -0
- package/dist/components/hover-card/index.d.ts +1 -0
- package/dist/components/hover-card/index.js +9 -0
- package/dist/components/hover-card/index.js.map +1 -0
- package/dist/components/icon-button/IconButton.d.ts +10 -0
- package/dist/components/icon-button/index.cjs +10 -0
- package/dist/components/icon-button/index.cjs.map +1 -0
- package/dist/components/icon-button/index.d.ts +2 -0
- package/dist/components/icon-button/index.js +10 -0
- package/dist/components/icon-button/index.js.map +1 -0
- package/dist/components/input/Input.d.ts +10 -0
- package/dist/components/input/index.cjs +12 -0
- package/dist/components/input/index.cjs.map +1 -0
- package/dist/components/input/index.d.ts +2 -0
- package/dist/components/input/index.js +12 -0
- package/dist/components/input/index.js.map +1 -0
- package/dist/components/input-group/InputGroup.d.ts +12 -0
- package/dist/components/input-group/index.cjs +9 -0
- package/dist/components/input-group/index.cjs.map +1 -0
- package/dist/components/input-group/index.d.ts +1 -0
- package/dist/components/input-group/index.js +9 -0
- package/dist/components/input-group/index.js.map +1 -0
- package/dist/components/input-otp/InputOTP.d.ts +13 -0
- package/dist/components/input-otp/index.cjs +9 -0
- package/dist/components/input-otp/index.cjs.map +1 -0
- package/dist/components/input-otp/index.d.ts +2 -0
- package/dist/components/input-otp/index.js +9 -0
- package/dist/components/input-otp/index.js.map +1 -0
- package/dist/components/item/Item.d.ts +10 -0
- package/dist/components/item/index.cjs +9 -0
- package/dist/components/item/index.cjs.map +1 -0
- package/dist/components/item/index.d.ts +2 -0
- package/dist/components/item/index.js +9 -0
- package/dist/components/item/index.js.map +1 -0
- package/dist/components/kbd/Kbd.d.ts +5 -0
- package/dist/components/kbd/index.cjs +9 -0
- package/dist/components/kbd/index.cjs.map +1 -0
- package/dist/components/kbd/index.d.ts +2 -0
- package/dist/components/kbd/index.js +9 -0
- package/dist/components/kbd/index.js.map +1 -0
- package/dist/components/label/Label.d.ts +6 -0
- package/dist/components/label/index.cjs +10 -0
- package/dist/components/label/index.cjs.map +1 -0
- package/dist/components/label/index.d.ts +2 -0
- package/dist/components/label/index.js +10 -0
- package/dist/components/label/index.js.map +1 -0
- package/dist/components/marker/Marker.d.ts +9 -0
- package/dist/components/marker/index.cjs +9 -0
- package/dist/components/marker/index.cjs.map +1 -0
- package/dist/components/marker/index.d.ts +2 -0
- package/dist/components/marker/index.js +9 -0
- package/dist/components/marker/index.js.map +1 -0
- package/dist/components/menubar/Menubar.d.ts +19 -0
- package/dist/components/menubar/index.cjs +9 -0
- package/dist/components/menubar/index.cjs.map +1 -0
- package/dist/components/menubar/index.d.ts +1 -0
- package/dist/components/menubar/index.js +9 -0
- package/dist/components/menubar/index.js.map +1 -0
- package/dist/components/message/Message.d.ts +20 -0
- package/dist/components/message/index.cjs +11 -0
- package/dist/components/message/index.cjs.map +1 -0
- package/dist/components/message/index.d.ts +2 -0
- package/dist/components/message/index.js +11 -0
- package/dist/components/message/index.js.map +1 -0
- package/dist/components/message-scroller/MessageScroller.d.ts +25 -0
- package/dist/components/message-scroller/index.cjs +12 -0
- package/dist/components/message-scroller/index.cjs.map +1 -0
- package/dist/components/message-scroller/index.d.ts +2 -0
- package/dist/components/message-scroller/index.js +12 -0
- package/dist/components/message-scroller/index.js.map +1 -0
- package/dist/components/native-select/NativeSelect.d.ts +18 -0
- package/dist/components/native-select/index.cjs +11 -0
- package/dist/components/native-select/index.cjs.map +1 -0
- package/dist/components/native-select/index.d.ts +2 -0
- package/dist/components/native-select/index.js +11 -0
- package/dist/components/native-select/index.js.map +1 -0
- package/dist/components/navigation-menu/NavigationMenu.d.ts +11 -0
- package/dist/components/navigation-menu/index.cjs +9 -0
- package/dist/components/navigation-menu/index.cjs.map +1 -0
- package/dist/components/navigation-menu/index.d.ts +1 -0
- package/dist/components/navigation-menu/index.js +9 -0
- package/dist/components/navigation-menu/index.js.map +1 -0
- package/dist/components/pagination/Pagination.d.ts +13 -0
- package/dist/components/pagination/index.cjs +9 -0
- package/dist/components/pagination/index.cjs.map +1 -0
- package/dist/components/pagination/index.d.ts +2 -0
- package/dist/components/pagination/index.js +9 -0
- package/dist/components/pagination/index.js.map +1 -0
- package/dist/components/popover/Popover.d.ts +10 -0
- package/dist/components/popover/index.cjs +9 -0
- package/dist/components/popover/index.cjs.map +1 -0
- package/dist/components/popover/index.d.ts +1 -0
- package/dist/components/popover/index.js +9 -0
- package/dist/components/popover/index.js.map +1 -0
- package/dist/components/progress/Progress.d.ts +8 -0
- package/dist/components/progress/index.cjs +9 -0
- package/dist/components/progress/index.cjs.map +1 -0
- package/dist/components/progress/index.d.ts +2 -0
- package/dist/components/progress/index.js +9 -0
- package/dist/components/progress/index.js.map +1 -0
- package/dist/components/questionnaire/Questionnaire.d.ts +20 -0
- package/dist/components/questionnaire/index.cjs +9 -0
- package/dist/components/questionnaire/index.cjs.map +1 -0
- package/dist/components/questionnaire/index.d.ts +2 -0
- package/dist/components/questionnaire/index.js +9 -0
- package/dist/components/questionnaire/index.js.map +1 -0
- package/dist/components/radio-group/RadioGroup.d.ts +13 -0
- package/dist/components/radio-group/index.cjs +11 -0
- package/dist/components/radio-group/index.cjs.map +1 -0
- package/dist/components/radio-group/index.d.ts +2 -0
- package/dist/components/radio-group/index.js +11 -0
- package/dist/components/radio-group/index.js.map +1 -0
- package/dist/components/resizable/Resizable.d.ts +11 -0
- package/dist/components/resizable/index.cjs +9 -0
- package/dist/components/resizable/index.cjs.map +1 -0
- package/dist/components/resizable/index.d.ts +2 -0
- package/dist/components/resizable/index.js +9 -0
- package/dist/components/resizable/index.js.map +1 -0
- package/dist/components/scroll-area/ScrollArea.d.ts +5 -0
- package/dist/components/scroll-area/index.cjs +9 -0
- package/dist/components/scroll-area/index.cjs.map +1 -0
- package/dist/components/scroll-area/index.d.ts +2 -0
- package/dist/components/scroll-area/index.js +9 -0
- package/dist/components/scroll-area/index.js.map +1 -0
- package/dist/components/select/Select.d.ts +24 -0
- package/dist/components/select/index.cjs +9 -0
- package/dist/components/select/index.cjs.map +1 -0
- package/dist/components/select/index.d.ts +2 -0
- package/dist/components/select/index.js +9 -0
- package/dist/components/select/index.js.map +1 -0
- package/dist/components/separator/Separator.d.ts +6 -0
- package/dist/components/separator/index.cjs +10 -0
- package/dist/components/separator/index.cjs.map +1 -0
- package/dist/components/separator/index.d.ts +2 -0
- package/dist/components/separator/index.js +10 -0
- package/dist/components/separator/index.js.map +1 -0
- package/dist/components/sheet/Sheet.d.ts +14 -0
- package/dist/components/sheet/index.cjs +10 -0
- package/dist/components/sheet/index.cjs.map +1 -0
- package/dist/components/sheet/index.d.ts +1 -0
- package/dist/components/sheet/index.js +10 -0
- package/dist/components/sheet/index.js.map +1 -0
- package/dist/components/sidebar/Sidebar.d.ts +108 -0
- package/dist/components/sidebar/index.cjs +19 -0
- package/dist/components/sidebar/index.cjs.map +1 -0
- package/dist/components/sidebar/index.d.ts +11 -0
- package/dist/components/sidebar/index.js +19 -0
- package/dist/components/sidebar/index.js.map +1 -0
- package/dist/components/skeleton/Skeleton.d.ts +5 -0
- package/dist/components/skeleton/index.cjs +10 -0
- package/dist/components/skeleton/index.cjs.map +1 -0
- package/dist/components/skeleton/index.d.ts +2 -0
- package/dist/components/skeleton/index.js +10 -0
- package/dist/components/skeleton/index.js.map +1 -0
- package/dist/components/slider/Slider.d.ts +6 -0
- package/dist/components/slider/index.cjs +9 -0
- package/dist/components/slider/index.cjs.map +1 -0
- package/dist/components/slider/index.d.ts +2 -0
- package/dist/components/slider/index.js +9 -0
- package/dist/components/slider/index.js.map +1 -0
- package/dist/components/spinner/Spinner.d.ts +7 -0
- package/dist/components/spinner/index.cjs +10 -0
- package/dist/components/spinner/index.cjs.map +1 -0
- package/dist/components/spinner/index.d.ts +2 -0
- package/dist/components/spinner/index.js +10 -0
- package/dist/components/spinner/index.js.map +1 -0
- package/dist/components/switch/Switch.d.ts +8 -0
- package/dist/components/switch/index.cjs +9 -0
- package/dist/components/switch/index.cjs.map +1 -0
- package/dist/components/switch/index.d.ts +2 -0
- package/dist/components/switch/index.js +9 -0
- package/dist/components/switch/index.js.map +1 -0
- package/dist/components/table/Table.d.ts +18 -0
- package/dist/components/table/index.cjs +9 -0
- package/dist/components/table/index.cjs.map +1 -0
- package/dist/components/table/index.d.ts +1 -0
- package/dist/components/table/index.js +9 -0
- package/dist/components/table/index.js.map +1 -0
- package/dist/components/tabs/Tabs.d.ts +9 -0
- package/dist/components/tabs/index.cjs +9 -0
- package/dist/components/tabs/index.cjs.map +1 -0
- package/dist/components/tabs/index.d.ts +1 -0
- package/dist/components/tabs/index.js +9 -0
- package/dist/components/tabs/index.js.map +1 -0
- package/dist/components/tag/Tag.d.ts +7 -0
- package/dist/components/tag/index.cjs +9 -0
- package/dist/components/tag/index.cjs.map +1 -0
- package/dist/components/tag/index.d.ts +2 -0
- package/dist/components/tag/index.js +9 -0
- package/dist/components/tag/index.js.map +1 -0
- package/dist/components/textarea/Textarea.d.ts +9 -0
- package/dist/components/textarea/index.cjs +11 -0
- package/dist/components/textarea/index.cjs.map +1 -0
- package/dist/components/textarea/index.d.ts +2 -0
- package/dist/components/textarea/index.js +11 -0
- package/dist/components/textarea/index.js.map +1 -0
- package/dist/components/toast/Toaster.d.ts +1 -0
- package/dist/components/toast/index.cjs +11 -0
- package/dist/components/toast/index.cjs.map +1 -0
- package/dist/components/toast/index.d.ts +3 -0
- package/dist/components/toast/index.js +11 -0
- package/dist/components/toast/index.js.map +1 -0
- package/dist/components/toast/useToast.d.ts +17 -0
- package/dist/components/toggle/Toggle.d.ts +9 -0
- package/dist/components/toggle/index.cjs +10 -0
- package/dist/components/toggle/index.cjs.map +1 -0
- package/dist/components/toggle/index.d.ts +2 -0
- package/dist/components/toggle/index.js +10 -0
- package/dist/components/toggle/index.js.map +1 -0
- package/dist/components/toggle-group/ToggleGroup.d.ts +14 -0
- package/dist/components/toggle-group/index.cjs +12 -0
- package/dist/components/toggle-group/index.cjs.map +1 -0
- package/dist/components/toggle-group/index.d.ts +2 -0
- package/dist/components/toggle-group/index.js +12 -0
- package/dist/components/toggle-group/index.js.map +1 -0
- package/dist/components/tooltip/Tooltip.d.ts +10 -0
- package/dist/components/tooltip/index.cjs +10 -0
- package/dist/components/tooltip/index.cjs.map +1 -0
- package/dist/components/tooltip/index.d.ts +2 -0
- package/dist/components/tooltip/index.js +10 -0
- package/dist/components/tooltip/index.js.map +1 -0
- package/dist/index.cjs +288 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +123 -0
- package/dist/index.js +288 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/cn.d.ts +3 -0
- package/dist/styles.css +2 -0
- package/dist/ui-manifest.json +1766 -0
- package/package.json +80 -0
package/CONSUMING.md
ADDED
|
@@ -0,0 +1,229 @@
|
|
|
1
|
+
# Consuming `@tlglobal/ui`
|
|
2
|
+
|
|
3
|
+
Brief for someone — human or agent — wiring this design system into a TuringLab product.
|
|
4
|
+
|
|
5
|
+
**This file does not document the component API.** Every component ships hand-authored TypeScript
|
|
6
|
+
declarations next to its build output. Read those instead; they are the source of truth and they
|
|
7
|
+
match the version you actually installed:
|
|
8
|
+
|
|
9
|
+
```
|
|
10
|
+
node_modules/@tlglobal/ui/dist/index.d.ts # everything exported, one file
|
|
11
|
+
node_modules/@tlglobal/ui/dist/components/*/*.d.ts # per-component props
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
What follows is the part you cannot infer from those files.
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
## 1. Install
|
|
19
|
+
|
|
20
|
+
The three packages are **public, published to npmjs.com**. No token or `.npmrc` setup is needed.
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
pnpm add @tlglobal/ui
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
`@tlglobal/tokens` and `@tlglobal/icons` come along as dependencies. Install
|
|
27
|
+
`@tlglobal/icons` directly only if you use icons in your own code.
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
## 2. The three things that break if you skip them
|
|
32
|
+
|
|
33
|
+
### 2.1 Import the stylesheet, once, at the app root
|
|
34
|
+
|
|
35
|
+
```js
|
|
36
|
+
import "@tlglobal/ui/styles.css";
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
Nothing in the type system will tell you this is missing. Without it every component renders as
|
|
40
|
+
unstyled HTML — which reads like a broken build rather than a missing import, so it costs more time
|
|
41
|
+
to diagnose than it should.
|
|
42
|
+
|
|
43
|
+
### 2.2 The shipped CSS only contains classes the components themselves use
|
|
44
|
+
|
|
45
|
+
This is the trap. `styles.css` is compiled from this library's own source, so it contains exactly
|
|
46
|
+
the utilities its 66 components need — and nothing else.
|
|
47
|
+
|
|
48
|
+
```jsx
|
|
49
|
+
<Button className="mt-4">Save</Button> // ❌ mt-4 does not exist in the shipped CSS
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
That renders with no margin and no error. Two ways out:
|
|
53
|
+
|
|
54
|
+
- **Your app runs its own Tailwind v4** (the normal case). Your build generates `mt-4` and the two
|
|
55
|
+
stylesheets compose. Nothing more to do.
|
|
56
|
+
- **Your app has no Tailwind.** Then don't pass utility classes to `className` at all — use the
|
|
57
|
+
component's own props and variants, or your own CSS/inline styles.
|
|
58
|
+
|
|
59
|
+
If your app *does* run Tailwind and wants to reuse the design tokens as utilities, point it at the
|
|
60
|
+
token theme rather than redeclaring colours:
|
|
61
|
+
|
|
62
|
+
```css
|
|
63
|
+
@import "tailwindcss";
|
|
64
|
+
@import "@tlglobal/tokens/tailwind-theme.css";
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
### 2.3 Dark mode is a `data-theme` attribute, not a class
|
|
68
|
+
|
|
69
|
+
```html
|
|
70
|
+
<html data-theme="dark">
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
Not `class="dark"`. The tokens redefine themselves under `[data-theme="dark"]`, so every component
|
|
74
|
+
flips together and no component needs a dark-mode prop. Toggle by setting or removing the attribute
|
|
75
|
+
on `<html>`; omitting it entirely is light mode.
|
|
76
|
+
|
|
77
|
+
---
|
|
78
|
+
|
|
79
|
+
## 3. Import styles
|
|
80
|
+
|
|
81
|
+
Both of these work and mean the same thing:
|
|
82
|
+
|
|
83
|
+
```js
|
|
84
|
+
import { Button, Sidebar } from "@tlglobal/ui"; // barrel
|
|
85
|
+
import { Button } from "@tlglobal/ui/button"; // subpath
|
|
86
|
+
import { Sidebar } from "@tlglobal/ui/sidebar"; // subpath
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
The subpath is the kebab-case folder name — `message-scroller`, `alert-dialog`, `input-otp`. Prefer
|
|
90
|
+
the barrel for readability; reach for subpaths only if you are chasing a specific bundling problem.
|
|
91
|
+
|
|
92
|
+
---
|
|
93
|
+
|
|
94
|
+
## 4. Conventions you need to know before writing code
|
|
95
|
+
|
|
96
|
+
**Multi-part components are namespace objects, not many exports.** There is no `SidebarProvider` or
|
|
97
|
+
`DialogContent` export. It is always one object with parts hanging off it:
|
|
98
|
+
|
|
99
|
+
```jsx
|
|
100
|
+
<Dialog.Root>
|
|
101
|
+
<Dialog.Trigger />
|
|
102
|
+
<Dialog.Content>
|
|
103
|
+
<Dialog.Title>Confirm</Dialog.Title>
|
|
104
|
+
</Dialog.Content>
|
|
105
|
+
</Dialog.Root>
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
Single-element components (`Button`, `Input`, `Badge`, `Bubble`, `Marker`) export directly.
|
|
109
|
+
|
|
110
|
+
**`className` merges, it doesn't fight.** Every component runs your `className` through
|
|
111
|
+
`tailwind-merge`, so a later conflicting utility wins cleanly — `<Button className="bg-red-500">`
|
|
112
|
+
replaces the variant's background rather than producing two competing rules. You do not need `!`
|
|
113
|
+
overrides.
|
|
114
|
+
|
|
115
|
+
**Variants are props, not classes.** Reach for `variant`, `size`, `tone` before reaching for
|
|
116
|
+
`className`. The `.d.ts` for each component lists the accepted values.
|
|
117
|
+
|
|
118
|
+
---
|
|
119
|
+
|
|
120
|
+
## 5. Components that need something mounted
|
|
121
|
+
|
|
122
|
+
Most components are self-contained. These are not:
|
|
123
|
+
|
|
124
|
+
| Component | Requirement |
|
|
125
|
+
|---|---|
|
|
126
|
+
| `Toaster` | Mount `<Toaster />` once near the app root. Push toasts from anywhere with `useToast().toast(...)`. |
|
|
127
|
+
| `Sidebar` | Everything must sit inside `<Sidebar.Provider>`. It owns open/collapsed state, the Cmd/Ctrl+B shortcut, and optional `persistKey` localStorage persistence. |
|
|
128
|
+
| `MessageScroller` | Parts must sit inside `MessageScroller.Root`. |
|
|
129
|
+
| `Questionnaire` | Parts must sit inside `Questionnaire.Root`. |
|
|
130
|
+
| `Carousel`, `Chart` | Parts must sit inside `Carousel.Root` / `Chart.Container`. |
|
|
131
|
+
| `Resizable` | Parts must sit inside `Resizable.Group`. |
|
|
132
|
+
| Chat components | `Message.Root` provides speaker direction to `Bubble`/`Attachment` below it. Outside a `Message`, wrap in `<Direction.Provider value="outgoing">`. |
|
|
133
|
+
|
|
134
|
+
`Tooltip` carries its own Radix provider internally — no app-level provider needed.
|
|
135
|
+
|
|
136
|
+
Most of these throw immediately, with a message naming the provider, if you use a part outside it —
|
|
137
|
+
a loud failure at mount beats a component that silently does nothing. Two exceptions worth knowing:
|
|
138
|
+
|
|
139
|
+
- **`Resizable` has no such guard**; it surfaces whatever `react-resizable-panels` reports, which is
|
|
140
|
+
less obvious. Check your nesting first if it misbehaves.
|
|
141
|
+
- **`Bubble` and `Attachment` never throw** — with no `Direction.Provider` above them they default
|
|
142
|
+
to `incoming`. If an outgoing message renders left-aligned, a missing provider is the reason.
|
|
143
|
+
|
|
144
|
+
---
|
|
145
|
+
|
|
146
|
+
## 6. Design tokens
|
|
147
|
+
|
|
148
|
+
Tokens are CSS custom properties, available anywhere once `styles.css` is imported. Use the
|
|
149
|
+
**semantic** names, not the raw palette — semantic tokens flip in dark mode, raw ones don't.
|
|
150
|
+
|
|
151
|
+
```css
|
|
152
|
+
/* Use these */
|
|
153
|
+
var(--bg-page) var(--bg-surface) var(--bg-surface-hover)
|
|
154
|
+
var(--text-primary) var(--text-secondary) var(--text-muted) var(--text-inverse)
|
|
155
|
+
var(--border-default) var(--border-strong) var(--border-focus)
|
|
156
|
+
var(--accent) var(--accent-hover) var(--accent-active)
|
|
157
|
+
|
|
158
|
+
/* Not these, unless you specifically want a fixed colour in both themes */
|
|
159
|
+
var(--neutral-100) var(--accent-500)
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
In Tailwind these are utilities of the same name: `bg-bg-surface`, `text-text-primary`,
|
|
163
|
+
`border-border-default`.
|
|
164
|
+
|
|
165
|
+
---
|
|
166
|
+
|
|
167
|
+
## 7. Known limits — read before committing to an approach
|
|
168
|
+
|
|
169
|
+
Stated plainly so you don't discover them at integration time:
|
|
170
|
+
|
|
171
|
+
- **SSR is untested.** The build stamps `'use client'` on every module, which implies Next.js App
|
|
172
|
+
Router support, but no component has ever been rendered on a server. Expect to hit issues and
|
|
173
|
+
report them; do not assume it works because the directive is present.
|
|
174
|
+
- **Only React 18.3 has been tested.** `peerDependencies` claims `>=18`. React 19 is unverified.
|
|
175
|
+
- **No component has been consumed from a real install before.** If something is broken in the
|
|
176
|
+
packaging — a missing export, a type that doesn't resolve — you may be the first to see it. That
|
|
177
|
+
is a bug in this package, not in your app. Report it rather than working around it.
|
|
178
|
+
- **Chat components (`Message`, `Bubble`, `Attachment`, `Marker`, `Direction`,
|
|
179
|
+
`MessageScroller`, `Questionnaire`) are the newest and least settled.** Their API may change in a
|
|
180
|
+
minor version. Everything else follows well-established patterns and is stable.
|
|
181
|
+
|
|
182
|
+
---
|
|
183
|
+
|
|
184
|
+
## 8. Getting this into an AI agent's context in a consuming repo
|
|
185
|
+
|
|
186
|
+
Four files ship with the package, sized for three different jobs. The point of the split is context
|
|
187
|
+
budget: you cannot afford to keep all 66 components' props permanently in context, but you *can*
|
|
188
|
+
afford their names — and names are what stop an agent inventing `<ChatBubble>`.
|
|
189
|
+
|
|
190
|
+
| File | Size | When it's read |
|
|
191
|
+
|---|---|---|
|
|
192
|
+
| `dist/AI_INVENTORY.md` | ~1k tokens | **Always.** Inline it into the repo's `CLAUDE.md`. |
|
|
193
|
+
| `CONSUMING.md` (this file) | ~2k tokens | Once, when setting up or when something behaves oddly. |
|
|
194
|
+
| `dist/AI_CONTEXT.md` | ~5k tokens | On demand, when the agent needs exact props. |
|
|
195
|
+
| `dist/ui-manifest.json` | ~9k tokens | Never by a human. For codemods, lint rules, an MCP server. |
|
|
196
|
+
|
|
197
|
+
All four regenerate from source on every `pnpm build`, so they cannot drift from the code.
|
|
198
|
+
|
|
199
|
+
**The mechanism, concretely.** Add the block below to the consuming repo's `CLAUDE.md`. The
|
|
200
|
+
`@`-prefix imports that file's contents into context on every session, so the agent starts every
|
|
201
|
+
task already knowing the full component and token inventory; anything deeper it opens on demand.
|
|
202
|
+
If your tooling doesn't support `@`-imports, paste the output of
|
|
203
|
+
`cat node_modules/@tlglobal/ui/dist/AI_INVENTORY.md` in its place — or better, script that
|
|
204
|
+
as a `postinstall` so it re-syncs when the package updates.
|
|
205
|
+
|
|
206
|
+
```markdown
|
|
207
|
+
## UI: @tlglobal/ui
|
|
208
|
+
|
|
209
|
+
@node_modules/@tlglobal/ui/dist/AI_INVENTORY.md
|
|
210
|
+
|
|
211
|
+
Public design system published on npm. The inventory above is the complete list of
|
|
212
|
+
what exists. For exact props read
|
|
213
|
+
`node_modules/@tlglobal/ui/dist/AI_CONTEXT.md`; for setup and known limits read
|
|
214
|
+
`node_modules/@tlglobal/ui/CONSUMING.md`. Never guess a prop or invent a
|
|
215
|
+
component name — if it isn't in the inventory, it doesn't exist.
|
|
216
|
+
|
|
217
|
+
Non-negotiable:
|
|
218
|
+
- `import "@tlglobal/ui/styles.css"` once at the app root.
|
|
219
|
+
- The shipped CSS contains ONLY classes the library's own components use. A utility class
|
|
220
|
+
in `className` does nothing unless this app's own Tailwind build generates it.
|
|
221
|
+
- Dark mode is `<html data-theme="dark">`, never `class="dark"`.
|
|
222
|
+
- Multi-part components are namespace objects: `Dialog.Root`, `Sidebar.Provider`,
|
|
223
|
+
`Message.Root`. There is no `DialogContent` or `SidebarProvider` export.
|
|
224
|
+
- Prefer variant props (`variant`, `size`, `tone`) over `className`.
|
|
225
|
+
- `<Toaster />` mounts once at the app root; `Sidebar.*` requires `Sidebar.Provider`.
|
|
226
|
+
|
|
227
|
+
Do not vendor, fork, or copy component source into this repo. Fix bugs upstream in the
|
|
228
|
+
design system so every product gets the fix.
|
|
229
|
+
```
|
package/LICENSE
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright 2026 TuringLab Global
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|