@zentauri-ui/zentauri-components 2.0.0 → 2.1.1
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/CHANGELOG.md +18 -11
- package/README.md +12 -11
- package/cli/cli.integration.test.ts +52 -0
- package/cli/index.mjs +288 -0
- package/dist/chunk-22FJROCI.js +70 -0
- package/dist/chunk-22FJROCI.js.map +1 -0
- package/dist/chunk-2NQKFH26.mjs +64 -0
- package/dist/chunk-2NQKFH26.mjs.map +1 -0
- package/dist/chunk-2VPXQ2LA.mjs +57 -0
- package/dist/chunk-2VPXQ2LA.mjs.map +1 -0
- package/dist/chunk-3453DQNL.js +63 -0
- package/dist/chunk-3453DQNL.js.map +1 -0
- package/dist/chunk-34LHS26H.mjs +240 -0
- package/dist/chunk-34LHS26H.mjs.map +1 -0
- package/dist/chunk-3CYJQ6KF.js +121 -0
- package/dist/chunk-3CYJQ6KF.js.map +1 -0
- package/dist/chunk-3EJCQXGV.js +169 -0
- package/dist/chunk-3EJCQXGV.js.map +1 -0
- package/dist/chunk-3IE4IELX.mjs +64 -0
- package/dist/chunk-3IE4IELX.mjs.map +1 -0
- package/dist/{chunk-44NX3DAZ.mjs → chunk-3N575QVC.mjs} +3 -3
- package/dist/{chunk-44NX3DAZ.mjs.map → chunk-3N575QVC.mjs.map} +1 -1
- package/dist/chunk-3VW4HMJT.mjs +58 -0
- package/dist/chunk-3VW4HMJT.mjs.map +1 -0
- package/dist/chunk-42ZSQNDF.mjs +64 -0
- package/dist/chunk-42ZSQNDF.mjs.map +1 -0
- package/dist/{chunk-V4FFKIX3.js → chunk-4LCH4OJ5.js} +10 -10
- package/dist/{chunk-V4FFKIX3.js.map → chunk-4LCH4OJ5.js.map} +1 -1
- package/dist/chunk-4WG3VNVL.mjs +69 -0
- package/dist/chunk-4WG3VNVL.mjs.map +1 -0
- package/dist/chunk-4ZBMDWWY.mjs +107 -0
- package/dist/chunk-4ZBMDWWY.mjs.map +1 -0
- package/dist/chunk-523VQLCW.mjs +62 -0
- package/dist/chunk-523VQLCW.mjs.map +1 -0
- package/dist/chunk-5AOVTY2X.mjs +68 -0
- package/dist/chunk-5AOVTY2X.mjs.map +1 -0
- package/dist/{chunk-GVGKISKD.js → chunk-5QLPZYWO.js} +9 -9
- package/dist/{chunk-GVGKISKD.js.map → chunk-5QLPZYWO.js.map} +1 -1
- package/dist/{chunk-OPACTZGV.js → chunk-5TVBPPS6.js} +11 -11
- package/dist/{chunk-OPACTZGV.js.map → chunk-5TVBPPS6.js.map} +1 -1
- package/dist/{chunk-NWMSIYZP.js → chunk-642JVK45.js} +16 -16
- package/dist/{chunk-NWMSIYZP.js.map → chunk-642JVK45.js.map} +1 -1
- package/dist/chunk-6ERBVFDA.mjs +66 -0
- package/dist/chunk-6ERBVFDA.mjs.map +1 -0
- package/dist/chunk-6Q4EOLKN.js +74 -0
- package/dist/chunk-6Q4EOLKN.js.map +1 -0
- package/dist/{chunk-VUIWYURS.js → chunk-6XVSACCS.js} +15 -15
- package/dist/{chunk-VUIWYURS.js.map → chunk-6XVSACCS.js.map} +1 -1
- package/dist/{chunk-7GIL24GK.js → chunk-7ARZ3MK2.js} +12 -12
- package/dist/{chunk-7GIL24GK.js.map → chunk-7ARZ3MK2.js.map} +1 -1
- package/dist/chunk-7DVECOO7.js +78 -0
- package/dist/chunk-7DVECOO7.js.map +1 -0
- package/dist/{chunk-O23PJPGM.mjs → chunk-7HQFFQSQ.mjs} +3 -3
- package/dist/{chunk-O23PJPGM.mjs.map → chunk-7HQFFQSQ.mjs.map} +1 -1
- package/dist/{chunk-2PWT2MB5.mjs → chunk-7KCX2FX2.mjs} +3 -3
- package/dist/{chunk-2PWT2MB5.mjs.map → chunk-7KCX2FX2.mjs.map} +1 -1
- package/dist/chunk-7N2UYQBJ.mjs +655 -0
- package/dist/chunk-7N2UYQBJ.mjs.map +1 -0
- package/dist/{chunk-ZCTSXNAE.mjs → chunk-7WQ5TWUO.mjs} +3 -3
- package/dist/{chunk-ZCTSXNAE.mjs.map → chunk-7WQ5TWUO.mjs.map} +1 -1
- package/dist/chunk-A7MU6SFI.js +254 -0
- package/dist/chunk-A7MU6SFI.js.map +1 -0
- package/dist/{chunk-D4B62J5C.js → chunk-APBQNYFN.js} +11 -11
- package/dist/{chunk-D4B62J5C.js.map → chunk-APBQNYFN.js.map} +1 -1
- package/dist/{chunk-37YQUTKG.js → chunk-APCN6NUH.js} +8 -8
- package/dist/{chunk-37YQUTKG.js.map → chunk-APCN6NUH.js.map} +1 -1
- package/dist/chunk-BBM4BKSN.js +65 -0
- package/dist/chunk-BBM4BKSN.js.map +1 -0
- package/dist/chunk-BIQZC26Q.js +83 -0
- package/dist/chunk-BIQZC26Q.js.map +1 -0
- package/dist/{chunk-RYJ5WEE3.js → chunk-BUBIH4LS.js} +9 -9
- package/dist/{chunk-RYJ5WEE3.js.map → chunk-BUBIH4LS.js.map} +1 -1
- package/dist/chunk-BUEI4RMR.mjs +82 -0
- package/dist/chunk-BUEI4RMR.mjs.map +1 -0
- package/dist/{chunk-7JBQ3ZJN.mjs → chunk-BYXFSXNG.mjs} +3 -3
- package/dist/{chunk-7JBQ3ZJN.mjs.map → chunk-BYXFSXNG.mjs.map} +1 -1
- package/dist/chunk-BZTAA3MK.js +62 -0
- package/dist/chunk-BZTAA3MK.js.map +1 -0
- package/dist/chunk-CJCOURVM.js +79 -0
- package/dist/chunk-CJCOURVM.js.map +1 -0
- package/dist/chunk-COVTMJIQ.mjs +171 -0
- package/dist/chunk-COVTMJIQ.mjs.map +1 -0
- package/dist/{chunk-ZY6O6Z2I.mjs → chunk-CQ2S43AD.mjs} +3 -3
- package/dist/{chunk-ZY6O6Z2I.mjs.map → chunk-CQ2S43AD.mjs.map} +1 -1
- package/dist/chunk-D7ATXPVI.js +70 -0
- package/dist/chunk-D7ATXPVI.js.map +1 -0
- package/dist/chunk-DOA4ESKS.mjs +58 -0
- package/dist/chunk-DOA4ESKS.mjs.map +1 -0
- package/dist/{chunk-QIUVXTLE.mjs → chunk-DSGPPYZ3.mjs} +3 -3
- package/dist/{chunk-QIUVXTLE.mjs.map → chunk-DSGPPYZ3.mjs.map} +1 -1
- package/dist/chunk-DYSXCJGL.js +47 -0
- package/dist/chunk-DYSXCJGL.js.map +1 -0
- package/dist/{chunk-P2DQP4J4.js → chunk-EDJ6TVL3.js} +117 -12
- package/dist/chunk-EDJ6TVL3.js.map +1 -0
- package/dist/chunk-EE53BIXR.mjs +112 -0
- package/dist/chunk-EE53BIXR.mjs.map +1 -0
- package/dist/chunk-EJ3UMMCS.mjs +65 -0
- package/dist/chunk-EJ3UMMCS.mjs.map +1 -0
- package/dist/chunk-ENYZGL4R.mjs +94 -0
- package/dist/chunk-ENYZGL4R.mjs.map +1 -0
- package/dist/{chunk-BZZVO4GL.mjs → chunk-F6W3GJJ2.mjs} +108 -3
- package/dist/chunk-F6W3GJJ2.mjs.map +1 -0
- package/dist/chunk-FBUY6K6S.js +69 -0
- package/dist/chunk-FBUY6K6S.js.map +1 -0
- package/dist/{chunk-QKZR2UTL.mjs → chunk-FEMXNI6E.mjs} +3 -3
- package/dist/{chunk-QKZR2UTL.mjs.map → chunk-FEMXNI6E.mjs.map} +1 -1
- package/dist/chunk-FX5KR2GP.mjs +81 -0
- package/dist/chunk-FX5KR2GP.mjs.map +1 -0
- package/dist/{chunk-C7F6OCGK.mjs → chunk-GFCT24TH.mjs} +3 -3
- package/dist/{chunk-C7F6OCGK.mjs.map → chunk-GFCT24TH.mjs.map} +1 -1
- package/dist/{chunk-IPUQBMAB.mjs → chunk-GH2GZFRD.mjs} +3 -3
- package/dist/{chunk-IPUQBMAB.mjs.map → chunk-GH2GZFRD.mjs.map} +1 -1
- package/dist/{chunk-NAHHFB2M.js → chunk-GICW4DH5.js} +9 -9
- package/dist/{chunk-NAHHFB2M.js.map → chunk-GICW4DH5.js.map} +1 -1
- package/dist/{chunk-ATMCT3A3.mjs → chunk-GOH2THVW.mjs} +3 -3
- package/dist/{chunk-ATMCT3A3.mjs.map → chunk-GOH2THVW.mjs.map} +1 -1
- package/dist/chunk-GUB3RSPR.mjs +211 -0
- package/dist/chunk-GUB3RSPR.mjs.map +1 -0
- package/dist/chunk-HFQJRAG7.mjs +116 -0
- package/dist/chunk-HFQJRAG7.mjs.map +1 -0
- package/dist/chunk-HNRCPZCK.js +107 -0
- package/dist/chunk-HNRCPZCK.js.map +1 -0
- package/dist/chunk-HOOZYA4N.js +92 -0
- package/dist/chunk-HOOZYA4N.js.map +1 -0
- package/dist/{chunk-3HSFL4WA.mjs → chunk-HVMYPW3Q.mjs} +3 -3
- package/dist/{chunk-3HSFL4WA.mjs.map → chunk-HVMYPW3Q.mjs.map} +1 -1
- package/dist/chunk-IEHY6KNM.js +122 -0
- package/dist/chunk-IEHY6KNM.js.map +1 -0
- package/dist/{chunk-BDBL4XXI.mjs → chunk-ILCT3P7D.mjs} +3 -3
- package/dist/{chunk-BDBL4XXI.mjs.map → chunk-ILCT3P7D.mjs.map} +1 -1
- package/dist/chunk-IR5SJ7AQ.js +87 -0
- package/dist/chunk-IR5SJ7AQ.js.map +1 -0
- package/dist/chunk-J2SUGU3X.js +63 -0
- package/dist/chunk-J2SUGU3X.js.map +1 -0
- package/dist/chunk-J5NTJVKX.js +229 -0
- package/dist/chunk-J5NTJVKX.js.map +1 -0
- package/dist/{chunk-4LVEWKXF.mjs → chunk-J7IATHJY.mjs} +3 -3
- package/dist/{chunk-4LVEWKXF.mjs.map → chunk-J7IATHJY.mjs.map} +1 -1
- package/dist/{chunk-EKBSSKJQ.js → chunk-JD7TCCMW.js} +10 -10
- package/dist/{chunk-EKBSSKJQ.js.map → chunk-JD7TCCMW.js.map} +1 -1
- package/dist/chunk-JEDMUBYI.mjs +75 -0
- package/dist/chunk-JEDMUBYI.mjs.map +1 -0
- package/dist/{chunk-KEGOUZL5.js → chunk-JGPG2D2Y.js} +7 -7
- package/dist/{chunk-KEGOUZL5.js.map → chunk-JGPG2D2Y.js.map} +1 -1
- package/dist/chunk-JOLSS7UY.mjs +61 -0
- package/dist/chunk-JOLSS7UY.mjs.map +1 -0
- package/dist/chunk-KJMW7S5X.js +78 -0
- package/dist/chunk-KJMW7S5X.js.map +1 -0
- package/dist/chunk-KOIXQXZB.js +49 -0
- package/dist/{chunk-NVTV3EQB.js.map → chunk-KOIXQXZB.js.map} +1 -1
- package/dist/{chunk-PKXDRTC7.js → chunk-KQZWTTY2.js} +13 -13
- package/dist/{chunk-PKXDRTC7.js.map → chunk-KQZWTTY2.js.map} +1 -1
- package/dist/chunk-KWBGLH7G.js +155 -0
- package/dist/chunk-KWBGLH7G.js.map +1 -0
- package/dist/chunk-L7W4NRK6.js +78 -0
- package/dist/chunk-L7W4NRK6.js.map +1 -0
- package/dist/chunk-LRYKMXKI.mjs +159 -0
- package/dist/chunk-LRYKMXKI.mjs.map +1 -0
- package/dist/chunk-MBEQ4GQ7.mjs +44 -0
- package/dist/chunk-MBEQ4GQ7.mjs.map +1 -0
- package/dist/{chunk-PAJYNQR3.mjs → chunk-MI3CVVNR.mjs} +3 -3
- package/dist/{chunk-PAJYNQR3.mjs.map → chunk-MI3CVVNR.mjs.map} +1 -1
- package/dist/{chunk-4FU6FDUT.mjs → chunk-MXYQOQJ4.mjs} +3 -3
- package/dist/{chunk-4FU6FDUT.mjs.map → chunk-MXYQOQJ4.mjs.map} +1 -1
- package/dist/chunk-NFUOJMNI.js +61 -0
- package/dist/chunk-NFUOJMNI.js.map +1 -0
- package/dist/chunk-NGZTAVQO.mjs +79 -0
- package/dist/chunk-NGZTAVQO.mjs.map +1 -0
- package/dist/chunk-NNGL2AFQ.js +181 -0
- package/dist/chunk-NNGL2AFQ.js.map +1 -0
- package/dist/{chunk-Q2NE2UAO.mjs → chunk-NXVSGMLI.mjs} +3 -3
- package/dist/{chunk-Q2NE2UAO.mjs.map → chunk-NXVSGMLI.mjs.map} +1 -1
- package/dist/chunk-NYO3W5GY.js +61 -0
- package/dist/chunk-NYO3W5GY.js.map +1 -0
- package/dist/{chunk-ZFNVFMWG.mjs → chunk-O22T5X4G.mjs} +3 -3
- package/dist/{chunk-ZFNVFMWG.mjs.map → chunk-O22T5X4G.mjs.map} +1 -1
- package/dist/{chunk-Y73U7C4T.js → chunk-OCKSRD6O.js} +16 -16
- package/dist/{chunk-Y73U7C4T.js.map → chunk-OCKSRD6O.js.map} +1 -1
- package/dist/{chunk-27PO2FY2.mjs → chunk-OO4IPM4F.mjs} +3 -3
- package/dist/{chunk-27PO2FY2.mjs.map → chunk-OO4IPM4F.mjs.map} +1 -1
- package/dist/chunk-PP3L6M62.js +126 -0
- package/dist/chunk-PP3L6M62.js.map +1 -0
- package/dist/{chunk-63YMCBGJ.js → chunk-PYNQZP4X.js} +12 -12
- package/dist/{chunk-63YMCBGJ.js.map → chunk-PYNQZP4X.js.map} +1 -1
- package/dist/chunk-PZ25OHJE.js +69 -0
- package/dist/chunk-PZ25OHJE.js.map +1 -0
- package/dist/{chunk-O6R6OQXI.mjs → chunk-PZI2UVPL.mjs} +3 -3
- package/dist/{chunk-O6R6OQXI.mjs.map → chunk-PZI2UVPL.mjs.map} +1 -1
- package/dist/{chunk-QDHARZDN.js → chunk-QGTLXKKB.js} +12 -12
- package/dist/{chunk-QDHARZDN.js.map → chunk-QGTLXKKB.js.map} +1 -1
- package/dist/chunk-QX6PPTWL.mjs +125 -0
- package/dist/chunk-QX6PPTWL.mjs.map +1 -0
- package/dist/chunk-R4D5V7NT.js +19 -0
- package/dist/{chunk-FAMHSJTK.js.map → chunk-R4D5V7NT.js.map} +1 -1
- package/dist/{chunk-I4TGI6U3.mjs → chunk-RJ7L45SA.mjs} +3 -3
- package/dist/{chunk-I4TGI6U3.mjs.map → chunk-RJ7L45SA.mjs.map} +1 -1
- package/dist/{chunk-IQ6QVIZ3.mjs → chunk-RSMFWP5S.mjs} +3 -3
- package/dist/{chunk-IQ6QVIZ3.mjs.map → chunk-RSMFWP5S.mjs.map} +1 -1
- package/dist/chunk-SCOIRBML.js +705 -0
- package/dist/{chunk-WBRTXAKP.js.map → chunk-SCOIRBML.js.map} +1 -1
- package/dist/chunk-SCWQSQBJ.mjs +113 -0
- package/dist/chunk-SCWQSQBJ.mjs.map +1 -0
- package/dist/{chunk-LLNK24MM.js → chunk-SK24YZIC.js} +18 -18
- package/dist/{chunk-LLNK24MM.js.map → chunk-SK24YZIC.js.map} +1 -1
- package/dist/chunk-SRSRY5K2.js +71 -0
- package/dist/chunk-SRSRY5K2.js.map +1 -0
- package/dist/chunk-SS3T3BUL.mjs +70 -0
- package/dist/chunk-SS3T3BUL.mjs.map +1 -0
- package/dist/{chunk-L6PSW7JE.mjs → chunk-SUTFW53Y.mjs} +3 -3
- package/dist/{chunk-L6PSW7JE.mjs.map → chunk-SUTFW53Y.mjs.map} +1 -1
- package/dist/chunk-T4ZLTKV2.mjs +112 -0
- package/dist/chunk-T4ZLTKV2.mjs.map +1 -0
- package/dist/{chunk-MUKI3OHH.js → chunk-TDVHPNYI.js} +14 -14
- package/dist/{chunk-MUKI3OHH.js.map → chunk-TDVHPNYI.js.map} +1 -1
- package/dist/chunk-TKAOHMVA.mjs +120 -0
- package/dist/chunk-TKAOHMVA.mjs.map +1 -0
- package/dist/chunk-TT33BIIT.js +71 -0
- package/dist/chunk-TT33BIIT.js.map +1 -0
- package/dist/chunk-TVEK6PKH.mjs +74 -0
- package/dist/chunk-TVEK6PKH.mjs.map +1 -0
- package/dist/{chunk-JXSM2EHC.mjs → chunk-TYBQZO6Y.mjs} +3 -3
- package/dist/{chunk-JXSM2EHC.mjs.map → chunk-TYBQZO6Y.mjs.map} +1 -1
- package/dist/chunk-U64ISRUX.mjs +73 -0
- package/dist/chunk-U64ISRUX.mjs.map +1 -0
- package/dist/chunk-UG3GF2BD.js +120 -0
- package/dist/chunk-UG3GF2BD.js.map +1 -0
- package/dist/chunk-UJXFD4SK.js +65 -0
- package/dist/chunk-UJXFD4SK.js.map +1 -0
- package/dist/chunk-UQQHB3OI.js +80 -0
- package/dist/chunk-UQQHB3OI.js.map +1 -0
- package/dist/chunk-USLNTKVQ.js +114 -0
- package/dist/chunk-USLNTKVQ.js.map +1 -0
- package/dist/chunk-UT6QG35L.js +68 -0
- package/dist/chunk-UT6QG35L.js.map +1 -0
- package/dist/chunk-V2LI5QZD.js +674 -0
- package/dist/chunk-V2LI5QZD.js.map +1 -0
- package/dist/{chunk-LS4GY2ZQ.js → chunk-VHYUH5OH.js} +6 -6
- package/dist/{chunk-LS4GY2ZQ.js.map → chunk-VHYUH5OH.js.map} +1 -1
- package/dist/{chunk-I5TREZO5.js → chunk-VSD4KDZT.js} +10 -10
- package/dist/{chunk-I5TREZO5.js.map → chunk-VSD4KDZT.js.map} +1 -1
- package/dist/chunk-WGN2CBG6.js +82 -0
- package/dist/chunk-WGN2CBG6.js.map +1 -0
- package/dist/chunk-WIKNEHPJ.mjs +68 -0
- package/dist/chunk-WIKNEHPJ.mjs.map +1 -0
- package/dist/{chunk-EIX26RKN.js → chunk-XXGMFT6O.js} +9 -9
- package/dist/{chunk-EIX26RKN.js.map → chunk-XXGMFT6O.js.map} +1 -1
- package/dist/chunk-Y5JAQEBF.js +134 -0
- package/dist/chunk-Y5JAQEBF.js.map +1 -0
- package/dist/{chunk-34OSFCSH.js → chunk-Y6DFOQ5E.js} +7 -7
- package/dist/{chunk-34OSFCSH.js.map → chunk-Y6DFOQ5E.js.map} +1 -1
- package/dist/chunk-Y7BU5RC4.js +95 -0
- package/dist/chunk-Y7BU5RC4.js.map +1 -0
- package/dist/chunk-YH6MOKHR.mjs +65 -0
- package/dist/chunk-YH6MOKHR.mjs.map +1 -0
- package/dist/chunk-YKTANA3H.mjs +52 -0
- package/dist/chunk-YKTANA3H.mjs.map +1 -0
- package/dist/chunk-YPTHTFVF.mjs +144 -0
- package/dist/chunk-YPTHTFVF.mjs.map +1 -0
- package/dist/chunk-YPYPWALR.js +128 -0
- package/dist/chunk-YPYPWALR.js.map +1 -0
- package/dist/chunk-YXU2MJMT.mjs +52 -0
- package/dist/chunk-YXU2MJMT.mjs.map +1 -0
- package/dist/{chunk-ZITS2V53.js → chunk-ZIP7EX64.js} +9 -9
- package/dist/{chunk-ZITS2V53.js.map → chunk-ZIP7EX64.js.map} +1 -1
- package/dist/chunk-ZJWOSRAS.mjs +57 -0
- package/dist/chunk-ZJWOSRAS.mjs.map +1 -0
- package/dist/{chunk-ODT5TFIT.mjs → chunk-ZMFRJHO6.mjs} +3 -3
- package/dist/{chunk-ODT5TFIT.mjs.map → chunk-ZMFRJHO6.mjs.map} +1 -1
- package/dist/chunk-ZPGYR2UP.mjs +54 -0
- package/dist/chunk-ZPGYR2UP.mjs.map +1 -0
- package/dist/{chunk-XPHD3X4L.mjs → chunk-ZUQOQW5W.mjs} +3 -3
- package/dist/{chunk-XPHD3X4L.mjs.map → chunk-ZUQOQW5W.mjs.map} +1 -1
- package/dist/design-system/accordion.d.ts +85 -85
- package/dist/design-system/accordion.d.ts.map +1 -1
- package/dist/design-system/alert.d.ts +46 -46
- package/dist/design-system/alert.d.ts.map +1 -1
- package/dist/design-system/animated-number.d.ts +44 -44
- package/dist/design-system/avatar.d.ts +47 -47
- package/dist/design-system/avatar.d.ts.map +1 -1
- package/dist/design-system/badge.d.ts +92 -92
- package/dist/design-system/badge.d.ts.map +1 -1
- package/dist/design-system/breadcrumb.d.ts +38 -38
- package/dist/design-system/breadcrumb.d.ts.map +1 -1
- package/dist/design-system/button.d.ts +50 -50
- package/dist/design-system/button.d.ts.map +1 -1
- package/dist/design-system/card.d.ts +52 -52
- package/dist/design-system/card.d.ts.map +1 -1
- package/dist/design-system/checkbox.d.ts +32 -32
- package/dist/design-system/checkbox.d.ts.map +1 -1
- package/dist/design-system/combobox.d.ts +181 -98
- package/dist/design-system/combobox.d.ts.map +1 -1
- package/dist/design-system/command.d.ts +53 -53
- package/dist/design-system/command.d.ts.map +1 -1
- package/dist/design-system/context-menu.d.ts +51 -51
- package/dist/design-system/context-menu.d.ts.map +1 -1
- package/dist/design-system/copy-button.d.ts +49 -49
- package/dist/design-system/copy-button.d.ts.map +1 -1
- package/dist/design-system/divider.d.ts +47 -47
- package/dist/design-system/drawer.d.ts +90 -90
- package/dist/design-system/drawer.d.ts.map +1 -1
- package/dist/design-system/dropdown.d.ts +97 -97
- package/dist/design-system/dropdown.d.ts.map +1 -1
- package/dist/design-system/dynamic-stepper.d.ts +57 -57
- package/dist/design-system/empty-state.d.ts +25 -25
- package/dist/design-system/empty-state.d.ts.map +1 -1
- package/dist/design-system/facade.js +41 -41
- package/dist/design-system/facade.mjs +40 -40
- package/dist/design-system/file-upload.d.ts +36 -36
- package/dist/design-system/file-upload.d.ts.map +1 -1
- package/dist/design-system/inputs.d.ts +159 -159
- package/dist/design-system/inputs.d.ts.map +1 -1
- package/dist/design-system/kbd.d.ts +51 -51
- package/dist/design-system/kbd.d.ts.map +1 -1
- package/dist/design-system/marquee.d.ts +43 -43
- package/dist/design-system/marquee.d.ts.map +1 -1
- package/dist/design-system/modal.d.ts +90 -90
- package/dist/design-system/modal.d.ts.map +1 -1
- package/dist/design-system/otp-input.d.ts +38 -38
- package/dist/design-system/otp-input.d.ts.map +1 -1
- package/dist/design-system/pagination.d.ts +51 -51
- package/dist/design-system/pagination.d.ts.map +1 -1
- package/dist/design-system/popover.d.ts +44 -44
- package/dist/design-system/popover.d.ts.map +1 -1
- package/dist/design-system/progress.d.ts +47 -47
- package/dist/design-system/progress.d.ts.map +1 -1
- package/dist/design-system/radio-group.d.ts +32 -32
- package/dist/design-system/radio-group.d.ts.map +1 -1
- package/dist/design-system/rating.d.ts +54 -54
- package/dist/design-system/rating.d.ts.map +1 -1
- package/dist/design-system/scroll-area.d.ts +30 -30
- package/dist/design-system/scroll-area.d.ts.map +1 -1
- package/dist/design-system/select.d.ts +132 -132
- package/dist/design-system/select.d.ts.map +1 -1
- package/dist/design-system/skeleton.d.ts +67 -67
- package/dist/design-system/skeleton.d.ts.map +1 -1
- package/dist/design-system/slider.d.ts +45 -45
- package/dist/design-system/slider.d.ts.map +1 -1
- package/dist/design-system/spinner.d.ts +43 -43
- package/dist/design-system/table.d.ts +108 -108
- package/dist/design-system/table.d.ts.map +1 -1
- package/dist/design-system/tabs.d.ts +43 -43
- package/dist/design-system/tabs.d.ts.map +1 -1
- package/dist/design-system/timeline.d.ts +45 -45
- package/dist/design-system/timeline.d.ts.map +1 -1
- package/dist/design-system/toast.d.ts +47 -47
- package/dist/design-system/toast.d.ts.map +1 -1
- package/dist/design-system/toggle.d.ts +88 -88
- package/dist/design-system/toggle.d.ts.map +1 -1
- package/dist/design-system/tokens.d.ts +101 -0
- package/dist/design-system/tokens.d.ts.map +1 -1
- package/dist/design-system/tokens.js +11 -7
- package/dist/design-system/tokens.mjs +1 -1
- package/dist/design-system/tooltip.d.ts +44 -44
- package/dist/design-system/tooltip.d.ts.map +1 -1
- package/dist/design-system/tree-view.d.ts +92 -92
- package/dist/design-system/tree-view.d.ts.map +1 -1
- package/dist/hooks/useCookie/useCookie.d.ts.map +1 -1
- package/dist/hooks/useCookie.js +1 -7
- package/dist/hooks/useCookie.js.map +1 -1
- package/dist/hooks/useCookie.mjs +1 -7
- package/dist/hooks/useCookie.mjs.map +1 -1
- package/dist/hooks/useEventListener.js.map +1 -1
- package/dist/hooks/useEventListener.mjs.map +1 -1
- package/dist/hooks/useGeolocation/useGeolocation.d.ts.map +1 -1
- package/dist/hooks/useGeolocation.js.map +1 -1
- package/dist/hooks/useGeolocation.mjs.map +1 -1
- package/dist/hooks/useHotkeys/useHotkeys.d.ts.map +1 -1
- package/dist/hooks/useHotkeys.js +5 -1
- package/dist/hooks/useHotkeys.js.map +1 -1
- package/dist/hooks/useHotkeys.mjs +5 -1
- package/dist/hooks/useHotkeys.mjs.map +1 -1
- package/dist/hooks/useVirtualList/useVirtualList.d.ts.map +1 -1
- package/dist/hooks/useVirtualList.js +1 -4
- package/dist/hooks/useVirtualList.js.map +1 -1
- package/dist/hooks/useVirtualList.mjs +1 -4
- package/dist/hooks/useVirtualList.mjs.map +1 -1
- package/dist/ui/accordion/animated.js +8 -8
- package/dist/ui/accordion/animated.mjs +3 -3
- package/dist/ui/accordion.js +10 -10
- package/dist/ui/accordion.mjs +3 -3
- package/dist/ui/alert/animated.js +3 -3
- package/dist/ui/alert/animated.mjs +2 -2
- package/dist/ui/alert.js +11 -11
- package/dist/ui/alert.mjs +3 -3
- package/dist/ui/animated-number.js +4 -4
- package/dist/ui/animated-number.mjs +1 -1
- package/dist/ui/avatar/animated.js +6 -6
- package/dist/ui/avatar/animated.mjs +3 -3
- package/dist/ui/avatar.js +10 -10
- package/dist/ui/avatar.mjs +3 -3
- package/dist/ui/badge/animated.js +3 -3
- package/dist/ui/badge/animated.mjs +2 -2
- package/dist/ui/badge/variants.d.ts +45 -45
- package/dist/ui/badge.js +5 -5
- package/dist/ui/badge.mjs +3 -3
- package/dist/ui/breadcrumb.js +9 -9
- package/dist/ui/breadcrumb.mjs +1 -1
- package/dist/ui/buttons/animated.js +43 -43
- package/dist/ui/buttons/animated.mjs +41 -41
- package/dist/ui/buttons.js +44 -44
- package/dist/ui/buttons.mjs +42 -42
- package/dist/ui/card/animated.js +8 -8
- package/dist/ui/card/animated.mjs +3 -3
- package/dist/ui/card.js +13 -13
- package/dist/ui/card.mjs +3 -3
- package/dist/ui/checkbox/animated.js +5 -5
- package/dist/ui/checkbox/animated.mjs +2 -2
- package/dist/ui/checkbox.js +9 -9
- package/dist/ui/checkbox.mjs +3 -3
- package/dist/ui/combobox/combobox-base.d.ts.map +1 -1
- package/dist/ui/combobox/variants.d.ts +3 -3
- package/dist/ui/combobox.js +22 -20
- package/dist/ui/combobox.js.map +1 -1
- package/dist/ui/combobox.mjs +6 -4
- package/dist/ui/combobox.mjs.map +1 -1
- package/dist/ui/command/animated.js +3 -3
- package/dist/ui/command/animated.mjs +2 -2
- package/dist/ui/command.js +16 -16
- package/dist/ui/command.mjs +3 -3
- package/dist/ui/context-menu.js +8 -8
- package/dist/ui/context-menu.mjs +2 -2
- package/dist/ui/copy-button/animated.js +3 -3
- package/dist/ui/copy-button/animated.mjs +2 -2
- package/dist/ui/copy-button.js +4 -4
- package/dist/ui/copy-button.mjs +3 -3
- package/dist/ui/divider/animated.js +3 -3
- package/dist/ui/divider/animated.mjs +2 -2
- package/dist/ui/divider.js +7 -7
- package/dist/ui/divider.mjs +3 -3
- package/dist/ui/drawer/animated.js +12 -12
- package/dist/ui/drawer/animated.mjs +3 -3
- package/dist/ui/drawer.js +12 -12
- package/dist/ui/drawer.mjs +2 -2
- package/dist/ui/dropdown.js +9 -9
- package/dist/ui/dropdown.mjs +1 -1
- package/dist/ui/dynamic-stepper/variants.d.ts +1 -1
- package/dist/ui/dynamic-stepper/variants.d.ts.map +1 -1
- package/dist/ui/dynamic-stepper.js +53 -53
- package/dist/ui/dynamic-stepper.mjs +42 -42
- package/dist/ui/empty-state/animated.js +3 -3
- package/dist/ui/empty-state/animated.mjs +2 -2
- package/dist/ui/empty-state.js +11 -11
- package/dist/ui/empty-state.mjs +3 -3
- package/dist/ui/file-upload.js +3 -3
- package/dist/ui/file-upload.mjs +1 -1
- package/dist/ui/inputs/animated.js +4 -4
- package/dist/ui/inputs/animated.mjs +2 -2
- package/dist/ui/inputs.js +5 -5
- package/dist/ui/inputs.mjs +3 -3
- package/dist/ui/kbd/animated.js +3 -3
- package/dist/ui/kbd/animated.mjs +2 -2
- package/dist/ui/kbd.js +5 -5
- package/dist/ui/kbd.mjs +3 -3
- package/dist/ui/marquee.js +6 -6
- package/dist/ui/marquee.mjs +1 -1
- package/dist/ui/modal/animated.js +5 -5
- package/dist/ui/modal/animated.mjs +2 -2
- package/dist/ui/modal.js +13 -13
- package/dist/ui/modal.mjs +3 -3
- package/dist/ui/otp-input.js +10 -10
- package/dist/ui/otp-input.mjs +1 -1
- package/dist/ui/pagination.js +49 -49
- package/dist/ui/pagination.mjs +41 -41
- package/dist/ui/popover/animated.js +5 -5
- package/dist/ui/popover/animated.mjs +2 -2
- package/dist/ui/popover.js +8 -8
- package/dist/ui/popover.mjs +2 -2
- package/dist/ui/progress/animated.js +9 -9
- package/dist/ui/progress/animated.mjs +3 -3
- package/dist/ui/progress.js +10 -10
- package/dist/ui/progress.mjs +3 -3
- package/dist/ui/radio-group/animated.js +8 -8
- package/dist/ui/radio-group/animated.mjs +2 -2
- package/dist/ui/radio-group.js +12 -12
- package/dist/ui/radio-group.mjs +3 -3
- package/dist/ui/rating.js +11 -11
- package/dist/ui/rating.mjs +1 -1
- package/dist/ui/scroll-area.js +7 -7
- package/dist/ui/scroll-area.mjs +1 -1
- package/dist/ui/search/search-suggestion-list.d.ts.map +1 -1
- package/dist/ui/search.js +12 -9
- package/dist/ui/search.js.map +1 -1
- package/dist/ui/search.mjs +11 -8
- package/dist/ui/search.mjs.map +1 -1
- package/dist/ui/select.js +11 -11
- package/dist/ui/select.mjs +1 -1
- package/dist/ui/skeleton/animated.js +9 -9
- package/dist/ui/skeleton/animated.mjs +2 -2
- package/dist/ui/skeleton/variants.d.ts +21 -21
- package/dist/ui/skeleton/variants.d.ts.map +1 -1
- package/dist/ui/skeleton.js +10 -10
- package/dist/ui/skeleton.mjs +2 -2
- package/dist/ui/slider.js +9 -9
- package/dist/ui/slider.mjs +1 -1
- package/dist/ui/spinner/animated.js +5 -5
- package/dist/ui/spinner/animated.mjs +1 -1
- package/dist/ui/table/animated.js +9 -9
- package/dist/ui/table/animated.mjs +3 -3
- package/dist/ui/table.js +15 -15
- package/dist/ui/table.mjs +2 -2
- package/dist/ui/tabs/animated.js +3 -3
- package/dist/ui/tabs/animated.mjs +2 -2
- package/dist/ui/tabs.js +10 -10
- package/dist/ui/tabs.mjs +2 -2
- package/dist/ui/timeline/animated.js +12 -12
- package/dist/ui/timeline/animated.mjs +3 -3
- package/dist/ui/timeline.js +15 -15
- package/dist/ui/timeline.mjs +3 -3
- package/dist/ui/toast/animated.js +8 -8
- package/dist/ui/toast/animated.mjs +2 -2
- package/dist/ui/toast.js +13 -13
- package/dist/ui/toast.mjs +2 -2
- package/dist/ui/toggle/animated.js +5 -5
- package/dist/ui/toggle/animated.mjs +2 -2
- package/dist/ui/toggle.js +5 -5
- package/dist/ui/toggle.mjs +3 -3
- package/dist/ui/tooltip/animated.js +4 -4
- package/dist/ui/tooltip/animated.mjs +2 -2
- package/dist/ui/tooltip.js +8 -8
- package/dist/ui/tooltip.mjs +2 -2
- package/dist/ui/tree-view/animated.js +3 -3
- package/dist/ui/tree-view/animated.mjs +2 -2
- package/dist/ui/tree-view.js +6 -6
- package/dist/ui/tree-view.mjs +3 -3
- package/package.json +2 -2
- package/src/design-system/accordion.ts +85 -85
- package/src/design-system/alert.ts +46 -46
- package/src/design-system/animated-number.ts +44 -44
- package/src/design-system/avatar.ts +47 -47
- package/src/design-system/badge.ts +50 -50
- package/src/design-system/breadcrumb.ts +38 -38
- package/src/design-system/button.ts +52 -52
- package/src/design-system/card.ts +54 -54
- package/src/design-system/checkbox.ts +32 -32
- package/src/design-system/combobox.ts +237 -107
- package/src/design-system/command.ts +53 -53
- package/src/design-system/context-menu.ts +24 -24
- package/src/design-system/copy-button.ts +51 -51
- package/src/design-system/divider.ts +47 -47
- package/src/design-system/drawer.ts +90 -90
- package/src/design-system/dropdown.ts +97 -97
- package/src/design-system/dynamic-stepper.ts +57 -57
- package/src/design-system/empty-state.ts +25 -25
- package/src/design-system/file-upload.ts +36 -36
- package/src/design-system/inputs.ts +166 -166
- package/src/design-system/kbd.ts +52 -52
- package/src/design-system/marquee.ts +43 -43
- package/src/design-system/modal.ts +90 -90
- package/src/design-system/otp-input.ts +38 -38
- package/src/design-system/pagination.ts +51 -51
- package/src/design-system/popover.ts +44 -44
- package/src/design-system/progress.ts +47 -47
- package/src/design-system/radio-group.ts +32 -32
- package/src/design-system/rating.ts +54 -54
- package/src/design-system/scroll-area.ts +30 -30
- package/src/design-system/select.ts +132 -132
- package/src/design-system/skeleton.ts +67 -67
- package/src/design-system/slider.ts +45 -45
- package/src/design-system/spinner.ts +43 -43
- package/src/design-system/table.ts +108 -108
- package/src/design-system/tabs.ts +44 -43
- package/src/design-system/timeline.ts +45 -45
- package/src/design-system/toast.ts +47 -47
- package/src/design-system/toggle.ts +88 -88
- package/src/design-system/tokens.ts +102 -0
- package/src/design-system/tooltip.ts +44 -44
- package/src/design-system/tree-view.ts +92 -92
- package/src/hooks/useCookie/useCookie.ts +1 -7
- package/src/hooks/useEventListener/useEventListener.test.ts +3 -3
- package/src/hooks/useEventListener/useEventListener.ts +2 -1
- package/src/hooks/useGeolocation/useGeolocation.test.ts +6 -4
- package/src/hooks/useGeolocation/useGeolocation.ts +3 -1
- package/src/hooks/useHotkeys/useHotkeys.ts +6 -6
- package/src/hooks/useIdleTimeout/useIdleTimeout.test.ts +1 -3
- package/src/hooks/useVirtualList/useVirtualList.ts +1 -4
- package/src/lib/facade.test.ts +24 -3
- package/src/ui/combobox/combobox-base.tsx +5 -3
- package/src/ui/combobox/combobox.test.tsx +69 -0
- package/src/ui/command/command.test.tsx +15 -0
- package/src/ui/popover/popover.test.tsx +15 -0
- package/src/ui/search/search-suggestion-list.tsx +11 -6
- package/src/ui/skeleton/variants.ts +105 -0
- package/src/ui/tabs/tabs.test.tsx +15 -0
- package/src/ui/toast/toast.test.tsx +12 -0
- package/dist/chunk-22I54GJW.js +0 -69
- package/dist/chunk-22I54GJW.js.map +0 -1
- package/dist/chunk-3I6XR7KN.js +0 -87
- package/dist/chunk-3I6XR7KN.js.map +0 -1
- package/dist/chunk-3R6PQUG2.mjs +0 -144
- package/dist/chunk-3R6PQUG2.mjs.map +0 -1
- package/dist/chunk-3Z6L24ZK.js +0 -83
- package/dist/chunk-3Z6L24ZK.js.map +0 -1
- package/dist/chunk-44G3U35C.js +0 -181
- package/dist/chunk-44G3U35C.js.map +0 -1
- package/dist/chunk-456OEGUT.mjs +0 -58
- package/dist/chunk-456OEGUT.mjs.map +0 -1
- package/dist/chunk-45CGVW7S.js +0 -126
- package/dist/chunk-45CGVW7S.js.map +0 -1
- package/dist/chunk-4QLWSXXO.mjs +0 -65
- package/dist/chunk-4QLWSXXO.mjs.map +0 -1
- package/dist/chunk-4U7CDEN7.mjs +0 -57
- package/dist/chunk-4U7CDEN7.mjs.map +0 -1
- package/dist/chunk-4ZP444GA.mjs +0 -19
- package/dist/chunk-4ZP444GA.mjs.map +0 -1
- package/dist/chunk-56DECC6D.js +0 -95
- package/dist/chunk-56DECC6D.js.map +0 -1
- package/dist/chunk-56KZVM5D.mjs +0 -159
- package/dist/chunk-56KZVM5D.mjs.map +0 -1
- package/dist/chunk-5BSYGFN7.mjs +0 -94
- package/dist/chunk-5BSYGFN7.mjs.map +0 -1
- package/dist/chunk-5QSYJHWL.mjs +0 -75
- package/dist/chunk-5QSYJHWL.mjs.map +0 -1
- package/dist/chunk-5R6XJAXQ.mjs +0 -66
- package/dist/chunk-5R6XJAXQ.mjs.map +0 -1
- package/dist/chunk-5WWD3TZ2.mjs +0 -70
- package/dist/chunk-5WWD3TZ2.mjs.map +0 -1
- package/dist/chunk-63UE3BR4.mjs +0 -79
- package/dist/chunk-63UE3BR4.mjs.map +0 -1
- package/dist/chunk-7LFRU6AW.js +0 -254
- package/dist/chunk-7LFRU6AW.js.map +0 -1
- package/dist/chunk-7M4TUP4I.js +0 -74
- package/dist/chunk-7M4TUP4I.js.map +0 -1
- package/dist/chunk-AADGUMYW.js +0 -122
- package/dist/chunk-AADGUMYW.js.map +0 -1
- package/dist/chunk-BTSCPOWZ.mjs +0 -171
- package/dist/chunk-BTSCPOWZ.mjs.map +0 -1
- package/dist/chunk-BZZVO4GL.mjs.map +0 -1
- package/dist/chunk-DWDDIG6R.js +0 -68
- package/dist/chunk-DWDDIG6R.js.map +0 -1
- package/dist/chunk-E7BPOL74.js +0 -155
- package/dist/chunk-E7BPOL74.js.map +0 -1
- package/dist/chunk-EP7WTIKH.mjs +0 -81
- package/dist/chunk-EP7WTIKH.mjs.map +0 -1
- package/dist/chunk-F6V74YMW.js +0 -71
- package/dist/chunk-F6V74YMW.js.map +0 -1
- package/dist/chunk-FAMHSJTK.js +0 -19
- package/dist/chunk-FNNIH7R2.js +0 -70
- package/dist/chunk-FNNIH7R2.js.map +0 -1
- package/dist/chunk-FWY22BZZ.js +0 -134
- package/dist/chunk-FWY22BZZ.js.map +0 -1
- package/dist/chunk-FXDHDQTH.js +0 -79
- package/dist/chunk-FXDHDQTH.js.map +0 -1
- package/dist/chunk-FZET7XQV.js +0 -169
- package/dist/chunk-FZET7XQV.js.map +0 -1
- package/dist/chunk-GDYSB7SB.js +0 -78
- package/dist/chunk-GDYSB7SB.js.map +0 -1
- package/dist/chunk-GPM2PRC5.js +0 -61
- package/dist/chunk-GPM2PRC5.js.map +0 -1
- package/dist/chunk-I42UYWYA.mjs +0 -128
- package/dist/chunk-I42UYWYA.mjs.map +0 -1
- package/dist/chunk-I55QC57T.js +0 -47
- package/dist/chunk-I55QC57T.js.map +0 -1
- package/dist/chunk-IKXO5SJ4.js +0 -671
- package/dist/chunk-IKXO5SJ4.js.map +0 -1
- package/dist/chunk-ISXAUMRW.js +0 -63
- package/dist/chunk-ISXAUMRW.js.map +0 -1
- package/dist/chunk-IULYVARJ.mjs +0 -107
- package/dist/chunk-IULYVARJ.mjs.map +0 -1
- package/dist/chunk-IZAQBJKT.mjs +0 -125
- package/dist/chunk-IZAQBJKT.mjs.map +0 -1
- package/dist/chunk-J6XKTPP5.js +0 -61
- package/dist/chunk-J6XKTPP5.js.map +0 -1
- package/dist/chunk-JF4BRFOG.mjs +0 -54
- package/dist/chunk-JF4BRFOG.mjs.map +0 -1
- package/dist/chunk-JI3IEKH6.mjs +0 -64
- package/dist/chunk-JI3IEKH6.mjs.map +0 -1
- package/dist/chunk-JTMRSRYD.js +0 -63
- package/dist/chunk-JTMRSRYD.js.map +0 -1
- package/dist/chunk-KXNMW4NV.mjs +0 -61
- package/dist/chunk-KXNMW4NV.mjs.map +0 -1
- package/dist/chunk-L67EJJFN.js +0 -82
- package/dist/chunk-L67EJJFN.js.map +0 -1
- package/dist/chunk-L6AS5AVO.js +0 -121
- package/dist/chunk-L6AS5AVO.js.map +0 -1
- package/dist/chunk-LL2UY6CD.mjs +0 -74
- package/dist/chunk-LL2UY6CD.mjs.map +0 -1
- package/dist/chunk-LU6VEI4B.js +0 -92
- package/dist/chunk-LU6VEI4B.js.map +0 -1
- package/dist/chunk-MCYFKM7T.js +0 -62
- package/dist/chunk-MCYFKM7T.js.map +0 -1
- package/dist/chunk-MUP7DVQR.js +0 -26
- package/dist/chunk-MUP7DVQR.js.map +0 -1
- package/dist/chunk-N2RUT33F.mjs +0 -68
- package/dist/chunk-N2RUT33F.mjs.map +0 -1
- package/dist/chunk-NMBSK44H.mjs +0 -44
- package/dist/chunk-NMBSK44H.mjs.map +0 -1
- package/dist/chunk-NVTV3EQB.js +0 -49
- package/dist/chunk-NXNL64Q7.mjs +0 -112
- package/dist/chunk-NXNL64Q7.mjs.map +0 -1
- package/dist/chunk-OGMIKRLJ.js +0 -78
- package/dist/chunk-OGMIKRLJ.js.map +0 -1
- package/dist/chunk-OOBA2MDD.mjs +0 -57
- package/dist/chunk-OOBA2MDD.mjs.map +0 -1
- package/dist/chunk-OQCI2IVL.mjs +0 -112
- package/dist/chunk-OQCI2IVL.mjs.map +0 -1
- package/dist/chunk-P25NI2HG.js +0 -114
- package/dist/chunk-P25NI2HG.js.map +0 -1
- package/dist/chunk-P2DQP4J4.js.map +0 -1
- package/dist/chunk-P43A2BPU.mjs +0 -82
- package/dist/chunk-P43A2BPU.mjs.map +0 -1
- package/dist/chunk-P54PZ72L.mjs +0 -65
- package/dist/chunk-P54PZ72L.mjs.map +0 -1
- package/dist/chunk-PNAFXOZC.mjs +0 -69
- package/dist/chunk-PNAFXOZC.mjs.map +0 -1
- package/dist/chunk-QTFOUK4H.js +0 -107
- package/dist/chunk-QTFOUK4H.js.map +0 -1
- package/dist/chunk-QW2ZHKPC.mjs +0 -64
- package/dist/chunk-QW2ZHKPC.mjs.map +0 -1
- package/dist/chunk-R2256VSD.js +0 -80
- package/dist/chunk-R2256VSD.js.map +0 -1
- package/dist/chunk-S4OSJ4ZN.js +0 -71
- package/dist/chunk-S4OSJ4ZN.js.map +0 -1
- package/dist/chunk-SWU5U5BB.mjs +0 -116
- package/dist/chunk-SWU5U5BB.mjs.map +0 -1
- package/dist/chunk-SYFTQAZG.mjs +0 -58
- package/dist/chunk-SYFTQAZG.mjs.map +0 -1
- package/dist/chunk-T5SPR27V.mjs +0 -64
- package/dist/chunk-T5SPR27V.mjs.map +0 -1
- package/dist/chunk-TD4W3AHI.mjs +0 -113
- package/dist/chunk-TD4W3AHI.mjs.map +0 -1
- package/dist/chunk-TMFXI5FH.mjs +0 -52
- package/dist/chunk-TMFXI5FH.mjs.map +0 -1
- package/dist/chunk-UJBXDDHN.mjs +0 -73
- package/dist/chunk-UJBXDDHN.mjs.map +0 -1
- package/dist/chunk-USLP5NY6.js +0 -69
- package/dist/chunk-USLP5NY6.js.map +0 -1
- package/dist/chunk-UU34Q42Q.js +0 -70
- package/dist/chunk-UU34Q42Q.js.map +0 -1
- package/dist/chunk-V4U6Q5NL.mjs +0 -68
- package/dist/chunk-V4U6Q5NL.mjs.map +0 -1
- package/dist/chunk-VQQHVKEU.mjs +0 -652
- package/dist/chunk-VQQHVKEU.mjs.map +0 -1
- package/dist/chunk-VWHER5XN.js +0 -65
- package/dist/chunk-VWHER5XN.js.map +0 -1
- package/dist/chunk-WBRTXAKP.js +0 -705
- package/dist/chunk-WN7XWKAS.mjs +0 -52
- package/dist/chunk-WN7XWKAS.mjs.map +0 -1
- package/dist/chunk-X3N4EVF7.mjs +0 -240
- package/dist/chunk-X3N4EVF7.mjs.map +0 -1
- package/dist/chunk-Y4YQSCNL.js +0 -65
- package/dist/chunk-Y4YQSCNL.js.map +0 -1
- package/dist/chunk-Y7NRTCAT.js +0 -78
- package/dist/chunk-Y7NRTCAT.js.map +0 -1
- package/dist/chunk-YDKAE7RM.mjs +0 -62
- package/dist/chunk-YDKAE7RM.mjs.map +0 -1
- package/dist/chunk-YN4ZS3R2.js +0 -120
- package/dist/chunk-YN4ZS3R2.js.map +0 -1
- package/dist/chunk-ZVRGLG35.js +0 -144
- package/dist/chunk-ZVRGLG35.js.map +0 -1
- package/src/ui/accessibility/axe-core.test.tsx +0 -139
package/CHANGELOG.md
CHANGED
|
@@ -1,21 +1,28 @@
|
|
|
1
1
|
# @zentauri-ui/zentauri-components Changelog
|
|
2
2
|
|
|
3
|
+
## 2.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 398393d: Add compact global theme tokens and generated theme CSS support for the Zentauri UI token system.
|
|
8
|
+
|
|
3
9
|
## 2.0.0
|
|
4
10
|
|
|
5
11
|
### Major Changes
|
|
6
12
|
|
|
7
13
|
#### Extender hooks list
|
|
8
|
-
|
|
9
|
-
-
|
|
10
|
-
-
|
|
11
|
-
-
|
|
12
|
-
-
|
|
13
|
-
-
|
|
14
|
-
-
|
|
15
|
-
-
|
|
16
|
-
-
|
|
17
|
-
-
|
|
18
|
-
-
|
|
14
|
+
|
|
15
|
+
- useEventListener Fundamental utility — safely attach/remove any DOM event
|
|
16
|
+
- usePrevious Track previous value across renders — very common pattern
|
|
17
|
+
- useInterval / useTimeout Safe, cleanup-aware timer hooks
|
|
18
|
+
- useCountdown Countdown timer with pause/resume
|
|
19
|
+
- useKeyPress / useHotkeys Keyboard shortcut management
|
|
20
|
+
- useScrollPosition Track scroll X/Y (differs from useInView)
|
|
21
|
+
- useCookie Cookie read/write with reactive updates
|
|
22
|
+
- useGeolocation Browser geolocation with permission state
|
|
23
|
+
- useLongPress Long-press gesture support
|
|
24
|
+
- useVirtualList Virtual scrolling for large lists (critical for performance)
|
|
25
|
+
- useIdleTimeout Detect user inactivity (session management)
|
|
19
26
|
|
|
20
27
|
## 1.9.0
|
|
21
28
|
|
package/README.md
CHANGED
|
@@ -30,15 +30,16 @@ Generated from the component package Vitest JSON report via `pnpm --filter @zent
|
|
|
30
30
|
| Metric | Result |
|
|
31
31
|
| ---------- | ---------------- |
|
|
32
32
|
| Test files | 92 passed (92) |
|
|
33
|
-
| Tests |
|
|
33
|
+
| Tests | 707 passed (707) |
|
|
34
34
|
|
|
35
35
|
| Area | Test files | Tests |
|
|
36
36
|
| --------------------------- | ---------- | ----- |
|
|
37
|
-
| Components and UI utilities |
|
|
37
|
+
| Components and UI utilities | 46 | 453 |
|
|
38
38
|
| Standalone animations | 1 | 45 |
|
|
39
39
|
| React hooks | 41 | 174 |
|
|
40
40
|
| Design system facade | 1 | 11 |
|
|
41
|
-
| CLI and import rewriting | 2 |
|
|
41
|
+
| CLI and import rewriting | 2 | 18 |
|
|
42
|
+
| Axe core test cases | 1 | 6 |
|
|
42
43
|
|
|
43
44
|
### Per-suite snapshot
|
|
44
45
|
|
|
@@ -48,15 +49,15 @@ Generated from the component package Vitest JSON report via `pnpm --filter @zent
|
|
|
48
49
|
| `src/ui/buttons/button.test.tsx` | 44 |
|
|
49
50
|
| `src/ui/inputs/input.test.tsx` | 40 |
|
|
50
51
|
| `src/ui/peer-isolation.test.ts` | 29 |
|
|
51
|
-
| `src/ui/combobox/combobox.test.tsx` |
|
|
52
|
+
| `src/ui/combobox/combobox.test.tsx` | 24 |
|
|
52
53
|
| `src/ui/pagination/pagination.test.tsx` | 15 |
|
|
53
54
|
| `src/ui/timeline/timeline.test.tsx` | 14 |
|
|
55
|
+
| `cli/cli.integration.test.ts` | 13 |
|
|
54
56
|
| `src/lib/facade.test.ts` | 11 |
|
|
55
57
|
| `src/ui/alert/alert.test.tsx` | 11 |
|
|
56
58
|
| `src/ui/rating/rating.test.tsx` | 11 |
|
|
57
59
|
| `src/ui/select/select.test.tsx` | 11 |
|
|
58
60
|
| `src/ui/table/table.test.tsx` | 11 |
|
|
59
|
-
| `cli/cli.integration.test.ts` | 10 |
|
|
60
61
|
| `src/hooks/usePagination/usePagination.test.ts` | 10 |
|
|
61
62
|
| `src/ui/context-menu/context-menu.test.tsx` | 10 |
|
|
62
63
|
| `src/ui/marquee/marquee.test.tsx` | 10 |
|
|
@@ -67,6 +68,7 @@ Generated from the component package Vitest JSON report via `pnpm --filter @zent
|
|
|
67
68
|
| `src/hooks/useTableFilter/useTableFilter.test.ts` | 9 |
|
|
68
69
|
| `src/ui/animated-number/animated-number.test.tsx` | 9 |
|
|
69
70
|
| `src/ui/slider/slider.test.tsx` | 9 |
|
|
71
|
+
| `src/ui/command/command.test.tsx` | 8 |
|
|
70
72
|
| `src/ui/copy-button/copy-button.test.tsx` | 8 |
|
|
71
73
|
| `src/ui/dynamic-stepper/dynamic-stepper.test.tsx` | 8 |
|
|
72
74
|
| `src/ui/progress/progress.test.tsx` | 8 |
|
|
@@ -78,10 +80,10 @@ Generated from the component package Vitest JSON report via `pnpm --filter @zent
|
|
|
78
80
|
| `src/hooks/useTableSort/useTableSort.test.ts` | 7 |
|
|
79
81
|
| `src/ui/accordion/accordion.test.tsx` | 7 |
|
|
80
82
|
| `src/ui/card/card.test.tsx` | 7 |
|
|
81
|
-
| `src/ui/command/command.test.tsx` | 7 |
|
|
82
83
|
| `src/ui/drawer/drawer.test.tsx` | 7 |
|
|
83
84
|
| `src/ui/kbd/kbd.test.tsx` | 7 |
|
|
84
85
|
| `src/ui/typography/typography.test.tsx` | 7 |
|
|
86
|
+
| `src/accessibility/axe-core.test.tsx` | 6 |
|
|
85
87
|
| `src/charts/charts.test.tsx` | 6 |
|
|
86
88
|
| `src/hooks/useClipboard/useClipboard.test.ts` | 6 |
|
|
87
89
|
| `src/hooks/useCountdown/useCountdown.test.ts` | 6 |
|
|
@@ -90,21 +92,21 @@ Generated from the component package Vitest JSON report via `pnpm --filter @zent
|
|
|
90
92
|
| `src/hooks/useKeyPress/useKeyPress.test.ts` | 6 |
|
|
91
93
|
| `src/hooks/useLocalStorage/useLocalStorage.test.ts` | 6 |
|
|
92
94
|
| `src/hooks/useVirtualList/useVirtualList.test.ts` | 6 |
|
|
93
|
-
| `src/ui/accessibility/axe-core.test.tsx` | 6 |
|
|
94
95
|
| `src/ui/badge/badge.test.tsx` | 6 |
|
|
95
96
|
| `src/ui/checkbox/checkbox.test.tsx` | 6 |
|
|
96
97
|
| `src/ui/divider/divider.test.tsx` | 6 |
|
|
97
98
|
| `src/ui/dropdown/dropdown.test.tsx` | 6 |
|
|
98
99
|
| `src/ui/empty-state/empty-state.test.tsx` | 6 |
|
|
99
100
|
| `src/ui/search/filter-search-suggestions.test.ts` | 6 |
|
|
101
|
+
| `src/ui/toast/toast.test.tsx` | 6 |
|
|
100
102
|
| `cli/rewrite-imports.test.ts` | 5 |
|
|
101
103
|
| `src/hooks/useCookie/useCookie.test.ts` | 5 |
|
|
102
104
|
| `src/hooks/useDisclosure/useDisclosure.test.ts` | 5 |
|
|
103
105
|
| `src/hooks/useEventListener/useEventListener.test.ts` | 5 |
|
|
104
106
|
| `src/hooks/useScrollPosition/useScrollPosition.test.ts` | 5 |
|
|
105
107
|
| `src/hooks/useTimeout/useTimeout.test.ts` | 5 |
|
|
108
|
+
| `src/ui/popover/popover.test.tsx` | 5 |
|
|
106
109
|
| `src/ui/radio-group/radio-group.test.tsx` | 5 |
|
|
107
|
-
| `src/ui/toast/toast.test.tsx` | 5 |
|
|
108
110
|
| `src/ui/toggle/toggle.test.tsx` | 5 |
|
|
109
111
|
| `src/hooks/useBodyScrollLock/useBodyScrollLock.test.ts` | 4 |
|
|
110
112
|
| `src/hooks/useControllableState/useControllableState.test.ts` | 4 |
|
|
@@ -115,7 +117,7 @@ Generated from the component package Vitest JSON report via `pnpm --filter @zent
|
|
|
115
117
|
| `src/ui/avatar/avatar.test.tsx` | 4 |
|
|
116
118
|
| `src/ui/breadcrumb/breadcrumb.test.tsx` | 4 |
|
|
117
119
|
| `src/ui/file-upload/file-upload.test.tsx` | 4 |
|
|
118
|
-
| `src/ui/
|
|
120
|
+
| `src/ui/tabs/tabs.test.tsx` | 4 |
|
|
119
121
|
| `src/ui/tooltip/tooltip.test.tsx` | 4 |
|
|
120
122
|
| `src/hooks/useClickOutside/useClickOutside.test.tsx` | 3 |
|
|
121
123
|
| `src/hooks/useDocumentTitle/useDocumentTitle.test.ts` | 3 |
|
|
@@ -123,7 +125,6 @@ Generated from the component package Vitest JSON report via `pnpm --filter @zent
|
|
|
123
125
|
| `src/hooks/useIsMounted/useIsMounted.test.ts` | 3 |
|
|
124
126
|
| `src/hooks/usePrevious/usePrevious.test.ts` | 3 |
|
|
125
127
|
| `src/hooks/useSessionStorage/useSessionStorage.test.ts` | 3 |
|
|
126
|
-
| `src/ui/tabs/tabs.test.tsx` | 3 |
|
|
127
128
|
| `src/hooks/useHover/useHover.test.ts` | 2 |
|
|
128
129
|
| `src/hooks/useIntersectionObserver/useIntersectionObserver.test.ts` | 2 |
|
|
129
130
|
| `src/hooks/useMediaQuery/useMediaQuery.test.ts` | 2 |
|
|
@@ -845,7 +846,7 @@ From this package directory in the monorepo:
|
|
|
845
846
|
|
|
846
847
|
- `pnpm build` (or `npm run build`) — production bundle via `tsup` (Rollup treeshake + `scripts/prepend-use-client.mjs` via `onSuccess` so each UI entry under `dist/ui/`, animation entry under `dist/animations/`, chart entry under `dist/charts/`, and `dist/ui/<name>/animated.*` starts with `"use client"` where needed)
|
|
847
848
|
- `pnpm dev` — `tsup` watch mode (same `onSuccess` hook after each rebuild)
|
|
848
|
-
- `pnpm test` / `pnpm test:watch` — **Vitest** and **Testing Library** unit tests // currently covered
|
|
849
|
+
- `pnpm test` / `pnpm test:watch` — **Vitest** and **Testing Library** unit tests // currently covered 707 test cases in total
|
|
849
850
|
- `pnpm test:a11y` — focused **axe-core** accessibility smoke coverage for package-level UI primitives and compound components
|
|
850
851
|
- `pnpm check:tokens` — enforce the `--zui-*` token contract across design-system, variant, and local custom-property usage without generating a large checked-in token catalog
|
|
851
852
|
- **`pnpm run generate:registry`** — runs `scripts/generate-registry.mjs`, which reads **`uiComponentNames`**, **`uiAnimatedComponentNames`**, **`animationEntryNames`**, **`chartEntryNames`**, and **`hooksEntryNames`** from `tsup.config.ts`, applies fixed **`nameAliases`**, scans each component/chart source to build **`peerHints`**, and writes **`cli/registry.json`** (`components` + `animations` + `hooks` + `peerHints`). Run this after adding or renaming UI, animation, chart, or hook entries so the CLI stays in sync (the script prints counts).
|
|
@@ -162,6 +162,58 @@ describe("zentauri-ui CLI", () => {
|
|
|
162
162
|
}
|
|
163
163
|
});
|
|
164
164
|
|
|
165
|
+
it("should generate compact global theme CSS", () => {
|
|
166
|
+
const dir = mkdtempSync(join(tmpdir(), "zentauri-cli-theme-"));
|
|
167
|
+
try {
|
|
168
|
+
const out = runCli(dir, ["theme", "#2563eb", "--dark", "#60a5fa"]);
|
|
169
|
+
const tokenCount = (out.match(/^\s*--zui-/gm) ?? []).length;
|
|
170
|
+
expect(out).toContain("Generated by zentauri-ui theme #2563eb");
|
|
171
|
+
expect(out).toContain("--zui-brand: #2563eb;");
|
|
172
|
+
expect(out).toContain("--zui-brand-dark: #60a5fa;");
|
|
173
|
+
expect(out).toContain("--zui-color-blue: var(--zui-brand);");
|
|
174
|
+
expect(out).toContain("--zui-color-blue-dark: var(--zui-brand-dark);");
|
|
175
|
+
expect(out).not.toContain("--zui-button-default-bg:");
|
|
176
|
+
expect(tokenCount).toBeLessThan(100);
|
|
177
|
+
} finally {
|
|
178
|
+
rmSync(dir, { recursive: true, force: true });
|
|
179
|
+
}
|
|
180
|
+
});
|
|
181
|
+
|
|
182
|
+
it("should keep readable dark foreground when default dark brand stays dark", () => {
|
|
183
|
+
const dir = mkdtempSync(join(tmpdir(), "zentauri-cli-theme-dark-"));
|
|
184
|
+
try {
|
|
185
|
+
const out = runCli(dir, ["theme", "#020617"]);
|
|
186
|
+
expect(out).toContain(
|
|
187
|
+
"--zui-brand-dark: color-mix(in oklch, #020617 72%, #ffffff);",
|
|
188
|
+
);
|
|
189
|
+
expect(out).toContain("--zui-brand-fg-dark: #ffffff;");
|
|
190
|
+
} finally {
|
|
191
|
+
rmSync(dir, { recursive: true, force: true });
|
|
192
|
+
}
|
|
193
|
+
});
|
|
194
|
+
|
|
195
|
+
it("should write compact theme CSS with a custom selector", () => {
|
|
196
|
+
const dir = mkdtempSync(join(tmpdir(), "zentauri-cli-theme-out-"));
|
|
197
|
+
try {
|
|
198
|
+
const out = runCli(dir, [
|
|
199
|
+
"theme",
|
|
200
|
+
"38bdf8",
|
|
201
|
+
"--selector",
|
|
202
|
+
"[data-theme='zentauri']",
|
|
203
|
+
"--out",
|
|
204
|
+
"src/styles/zentauri-theme.css",
|
|
205
|
+
]);
|
|
206
|
+
const themePath = join(dir, "src/styles/zentauri-theme.css");
|
|
207
|
+
expect(out).toContain("Wrote ");
|
|
208
|
+
expect(out).toContain("zentauri-theme.css");
|
|
209
|
+
const css = readFileSync(themePath, "utf8");
|
|
210
|
+
expect(css).toContain("[data-theme='zentauri'] {");
|
|
211
|
+
expect(css).toContain("--zui-brand: #38bdf8;");
|
|
212
|
+
} finally {
|
|
213
|
+
rmSync(dir, { recursive: true, force: true });
|
|
214
|
+
}
|
|
215
|
+
});
|
|
216
|
+
|
|
165
217
|
it("should not error when re-adding a component (existing files)", () => {
|
|
166
218
|
const dir = mkdtempSync(join(tmpdir(), "zentauri-cli-reAdd-"));
|
|
167
219
|
try {
|
package/cli/index.mjs
CHANGED
|
@@ -146,6 +146,7 @@ Usage:
|
|
|
146
146
|
zentauri-components init [options] Create components.json with defaults
|
|
147
147
|
zentauri-components add <component> [...] Copy UI components (and their hooks)
|
|
148
148
|
zentauri-components add hook <hook> [...] Copy hook source only (plus transitive hook deps)
|
|
149
|
+
zentauri-components theme <hex> Generate compact global --zui-* theme tokens
|
|
149
150
|
|
|
150
151
|
List of components:
|
|
151
152
|
${componentsList}
|
|
@@ -160,6 +161,9 @@ ${hooksList}
|
|
|
160
161
|
|
|
161
162
|
Options:
|
|
162
163
|
--cwd <dir> Working directory (default: process.cwd())
|
|
164
|
+
--out <file> Write theme CSS to a file instead of stdout
|
|
165
|
+
--selector <s> CSS selector for light tokens (default: :root)
|
|
166
|
+
--dark <hex> Explicit dark-mode brand color (default: derived from <hex>)
|
|
163
167
|
-h, --help Show help
|
|
164
168
|
-v, --version Show package version
|
|
165
169
|
|
|
@@ -175,6 +179,7 @@ Use hooks from the package without copying (after npm install):
|
|
|
175
179
|
Published package:
|
|
176
180
|
npx @zentauri-ui/zentauri-components init
|
|
177
181
|
npx @zentauri-ui/zentauri-components add accordion buttons inputs
|
|
182
|
+
npx @zentauri-ui/zentauri-components theme "#2563eb" --dark "#60a5fa" --out zentauri-theme.css
|
|
178
183
|
|
|
179
184
|
If npx does not pick the right binary:
|
|
180
185
|
npx --yes --package=@zentauri-ui/zentauri-components zentauri-components init
|
|
@@ -391,6 +396,259 @@ function resolveHookName(input, registry) {
|
|
|
391
396
|
);
|
|
392
397
|
}
|
|
393
398
|
|
|
399
|
+
const THEME_COLOR_NAMES = [
|
|
400
|
+
"blue",
|
|
401
|
+
"cyan",
|
|
402
|
+
"green",
|
|
403
|
+
"lime",
|
|
404
|
+
"mint",
|
|
405
|
+
"ocean",
|
|
406
|
+
"sapphire",
|
|
407
|
+
"lavender",
|
|
408
|
+
"ruby",
|
|
409
|
+
"red",
|
|
410
|
+
"slate",
|
|
411
|
+
"zinc",
|
|
412
|
+
"stone",
|
|
413
|
+
"royal",
|
|
414
|
+
"electric",
|
|
415
|
+
"forest",
|
|
416
|
+
"sunset",
|
|
417
|
+
"magenta",
|
|
418
|
+
"crimson",
|
|
419
|
+
"aqua",
|
|
420
|
+
"plum",
|
|
421
|
+
"emerald",
|
|
422
|
+
"indigo",
|
|
423
|
+
"purple",
|
|
424
|
+
"pink",
|
|
425
|
+
"rose",
|
|
426
|
+
"sky",
|
|
427
|
+
"teal",
|
|
428
|
+
"yellow",
|
|
429
|
+
"orange",
|
|
430
|
+
"gray",
|
|
431
|
+
"amber",
|
|
432
|
+
"violet",
|
|
433
|
+
];
|
|
434
|
+
|
|
435
|
+
function normalizeHexColor(input) {
|
|
436
|
+
const raw = input.trim().replace(/^#/, "");
|
|
437
|
+
if (/^[0-9a-fA-F]{3}$/.test(raw)) {
|
|
438
|
+
return `#${raw
|
|
439
|
+
.split("")
|
|
440
|
+
.map((ch) => `${ch}${ch}`)
|
|
441
|
+
.join("")
|
|
442
|
+
.toLowerCase()}`;
|
|
443
|
+
}
|
|
444
|
+
if (/^[0-9a-fA-F]{6}$/.test(raw)) {
|
|
445
|
+
return `#${raw.toLowerCase()}`;
|
|
446
|
+
}
|
|
447
|
+
throw new Error(
|
|
448
|
+
`Invalid brand color "${input}". Use a 3- or 6-digit hex color, for example "#2563eb".`,
|
|
449
|
+
);
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
function hexToRgb(hex) {
|
|
453
|
+
const normalized = normalizeHexColor(hex).slice(1);
|
|
454
|
+
return {
|
|
455
|
+
r: Number.parseInt(normalized.slice(0, 2), 16),
|
|
456
|
+
g: Number.parseInt(normalized.slice(2, 4), 16),
|
|
457
|
+
b: Number.parseInt(normalized.slice(4, 6), 16),
|
|
458
|
+
};
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
function srgbChannelToLinear(value) {
|
|
462
|
+
const channel = value / 255;
|
|
463
|
+
return channel <= 0.04045
|
|
464
|
+
? channel / 12.92
|
|
465
|
+
: ((channel + 0.055) / 1.055) ** 2.4;
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
function linearChannelToSrgb(value) {
|
|
469
|
+
const channel =
|
|
470
|
+
value <= 0.0031308 ? 12.92 * value : 1.055 * value ** (1 / 2.4) - 0.055;
|
|
471
|
+
return Math.min(255, Math.max(0, Math.round(channel * 255)));
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
function rgbToOklab({ r, g, b }) {
|
|
475
|
+
const linearR = srgbChannelToLinear(r);
|
|
476
|
+
const linearG = srgbChannelToLinear(g);
|
|
477
|
+
const linearB = srgbChannelToLinear(b);
|
|
478
|
+
|
|
479
|
+
const l = Math.cbrt(
|
|
480
|
+
0.4122214708 * linearR + 0.5363325363 * linearG + 0.0514459929 * linearB,
|
|
481
|
+
);
|
|
482
|
+
const m = Math.cbrt(
|
|
483
|
+
0.2119034982 * linearR + 0.6806995451 * linearG + 0.1073969566 * linearB,
|
|
484
|
+
);
|
|
485
|
+
const s = Math.cbrt(
|
|
486
|
+
0.0883024619 * linearR + 0.2817188376 * linearG + 0.6299787005 * linearB,
|
|
487
|
+
);
|
|
488
|
+
|
|
489
|
+
return {
|
|
490
|
+
l: 0.2104542553 * l + 0.793617785 * m - 0.0040720468 * s,
|
|
491
|
+
a: 1.9779984951 * l - 2.428592205 * m + 0.4505937099 * s,
|
|
492
|
+
b: 0.0259040371 * l + 0.7827717662 * m - 0.808675766 * s,
|
|
493
|
+
};
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
function oklabToRgb({ l, a, b }) {
|
|
497
|
+
const lPrime = l + 0.3963377774 * a + 0.2158037573 * b;
|
|
498
|
+
const mPrime = l - 0.1055613458 * a - 0.0638541728 * b;
|
|
499
|
+
const sPrime = l - 0.0894841775 * a - 1.291485548 * b;
|
|
500
|
+
|
|
501
|
+
const lCubed = lPrime ** 3;
|
|
502
|
+
const mCubed = mPrime ** 3;
|
|
503
|
+
const sCubed = sPrime ** 3;
|
|
504
|
+
|
|
505
|
+
return {
|
|
506
|
+
r: linearChannelToSrgb(
|
|
507
|
+
4.0767416621 * lCubed - 3.3077115913 * mCubed + 0.2309699292 * sCubed,
|
|
508
|
+
),
|
|
509
|
+
g: linearChannelToSrgb(
|
|
510
|
+
-1.2684380046 * lCubed + 2.6097574011 * mCubed - 0.3413193965 * sCubed,
|
|
511
|
+
),
|
|
512
|
+
b: linearChannelToSrgb(
|
|
513
|
+
-0.0041960863 * lCubed - 0.7034186147 * mCubed + 1.707614701 * sCubed,
|
|
514
|
+
),
|
|
515
|
+
};
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
function rgbToOklch(rgb) {
|
|
519
|
+
const lab = rgbToOklab(rgb);
|
|
520
|
+
return {
|
|
521
|
+
l: lab.l,
|
|
522
|
+
c: Math.sqrt(lab.a ** 2 + lab.b ** 2),
|
|
523
|
+
h: Math.atan2(lab.b, lab.a),
|
|
524
|
+
};
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
function oklchToRgb({ l, c, h }) {
|
|
528
|
+
return oklabToRgb({
|
|
529
|
+
l,
|
|
530
|
+
a: c * Math.cos(h),
|
|
531
|
+
b: c * Math.sin(h),
|
|
532
|
+
});
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
function mixHexWithWhiteInOklch(hex, weight) {
|
|
536
|
+
const brand = rgbToOklch(hexToRgb(hex));
|
|
537
|
+
const white = rgbToOklch({ r: 255, g: 255, b: 255 });
|
|
538
|
+
|
|
539
|
+
return oklchToRgb({
|
|
540
|
+
l: brand.l * weight + white.l * (1 - weight),
|
|
541
|
+
c: brand.c * weight,
|
|
542
|
+
h: brand.h,
|
|
543
|
+
});
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
function readableTextColorFromRgb({ r, g, b }) {
|
|
547
|
+
const linear = [r, g, b].map((value) => {
|
|
548
|
+
const channel = value / 255;
|
|
549
|
+
return channel <= 0.03928
|
|
550
|
+
? channel / 12.92
|
|
551
|
+
: ((channel + 0.055) / 1.055) ** 2.4;
|
|
552
|
+
});
|
|
553
|
+
const luminance =
|
|
554
|
+
0.2126 * linear[0] + 0.7152 * linear[1] + 0.0722 * linear[2];
|
|
555
|
+
return luminance > 0.56 ? "#0f172a" : "#ffffff";
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
function readableTextColor(hex) {
|
|
559
|
+
return readableTextColorFromRgb(hexToRgb(hex));
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
function buildCompactThemeCss(hex, options = {}) {
|
|
563
|
+
const brand = normalizeHexColor(hex);
|
|
564
|
+
const darkBrand = options.dark
|
|
565
|
+
? normalizeHexColor(options.dark)
|
|
566
|
+
: `color-mix(in oklch, ${brand} 72%, #ffffff)`;
|
|
567
|
+
const brandFg = readableTextColor(brand);
|
|
568
|
+
const darkBrandFg = options.dark
|
|
569
|
+
? readableTextColor(darkBrand)
|
|
570
|
+
: readableTextColorFromRgb(mixHexWithWhiteInOklch(brand, 0.72));
|
|
571
|
+
const selector = options.selector || ":root";
|
|
572
|
+
const lightTokens = [
|
|
573
|
+
["--zui-ring-offset", "#f8fafc"],
|
|
574
|
+
["--zui-focus-ring", "color-mix(in oklch, var(--zui-brand) 72%, #475569)"],
|
|
575
|
+
["--zui-surface-muted", "#e2e8f0"],
|
|
576
|
+
[
|
|
577
|
+
"--zui-surface-soft",
|
|
578
|
+
"color-mix(in oklch, var(--zui-brand) 8%, transparent)",
|
|
579
|
+
],
|
|
580
|
+
[
|
|
581
|
+
"--zui-surface-hover",
|
|
582
|
+
"color-mix(in oklch, var(--zui-brand) 14%, transparent)",
|
|
583
|
+
],
|
|
584
|
+
["--zui-border", "color-mix(in oklch, var(--zui-brand) 24%, transparent)"],
|
|
585
|
+
["--zui-fg", "#0f172a"],
|
|
586
|
+
["--zui-fg-muted", "#475569"],
|
|
587
|
+
["--zui-brand", brand],
|
|
588
|
+
["--zui-brand-hover", "color-mix(in oklch, var(--zui-brand) 88%, #000000)"],
|
|
589
|
+
["--zui-brand-fg", brandFg],
|
|
590
|
+
["--zui-status-success", "#16a34a"],
|
|
591
|
+
["--zui-status-warning", "#d97706"],
|
|
592
|
+
["--zui-status-error", "#e11d48"],
|
|
593
|
+
["--zui-status-info", "#0284c7"],
|
|
594
|
+
...THEME_COLOR_NAMES.map((name) => [
|
|
595
|
+
`--zui-color-${name}`,
|
|
596
|
+
"var(--zui-brand)",
|
|
597
|
+
]),
|
|
598
|
+
];
|
|
599
|
+
const darkTokens = [
|
|
600
|
+
["--zui-ring-offset-dark", "#020617"],
|
|
601
|
+
[
|
|
602
|
+
"--zui-focus-ring-dark",
|
|
603
|
+
"color-mix(in oklch, var(--zui-brand-dark) 72%, #cbd5e1)",
|
|
604
|
+
],
|
|
605
|
+
["--zui-surface-muted-dark", "#1e293b"],
|
|
606
|
+
[
|
|
607
|
+
"--zui-surface-soft-dark",
|
|
608
|
+
"color-mix(in oklch, var(--zui-brand-dark) 12%, transparent)",
|
|
609
|
+
],
|
|
610
|
+
[
|
|
611
|
+
"--zui-surface-hover-dark",
|
|
612
|
+
"color-mix(in oklch, var(--zui-brand-dark) 18%, transparent)",
|
|
613
|
+
],
|
|
614
|
+
[
|
|
615
|
+
"--zui-border-dark",
|
|
616
|
+
"color-mix(in oklch, var(--zui-brand-dark) 28%, transparent)",
|
|
617
|
+
],
|
|
618
|
+
["--zui-fg-dark", "#f8fafc"],
|
|
619
|
+
["--zui-fg-muted-dark", "#cbd5e1"],
|
|
620
|
+
["--zui-brand-dark", darkBrand],
|
|
621
|
+
[
|
|
622
|
+
"--zui-brand-hover-dark",
|
|
623
|
+
"color-mix(in oklch, var(--zui-brand-dark) 88%, #ffffff)",
|
|
624
|
+
],
|
|
625
|
+
["--zui-brand-fg-dark", darkBrandFg],
|
|
626
|
+
["--zui-status-success-dark", "#22c55e"],
|
|
627
|
+
["--zui-status-warning-dark", "#f59e0b"],
|
|
628
|
+
["--zui-status-error-dark", "#fb7185"],
|
|
629
|
+
["--zui-status-info-dark", "#38bdf8"],
|
|
630
|
+
...THEME_COLOR_NAMES.map((name) => [
|
|
631
|
+
`--zui-color-${name}-dark`,
|
|
632
|
+
"var(--zui-brand-dark)",
|
|
633
|
+
]),
|
|
634
|
+
];
|
|
635
|
+
|
|
636
|
+
const render = (scope, tokens) =>
|
|
637
|
+
`${scope} {\n${tokens.map(([name, value]) => ` ${name}: ${value};`).join("\n")}\n}`;
|
|
638
|
+
|
|
639
|
+
return [
|
|
640
|
+
"/*",
|
|
641
|
+
` * Generated by zentauri-ui theme ${brand}`,
|
|
642
|
+
` * Compact global token mode: ${lightTokens.length + darkTokens.length} variables`,
|
|
643
|
+
" */",
|
|
644
|
+
"",
|
|
645
|
+
render(selector, lightTokens),
|
|
646
|
+
"",
|
|
647
|
+
render(".dark", darkTokens),
|
|
648
|
+
"",
|
|
649
|
+
].join("\n");
|
|
650
|
+
}
|
|
651
|
+
|
|
394
652
|
/**
|
|
395
653
|
* Starting from hook folder names discovered in UI code, expands the set to
|
|
396
654
|
* include every hook that those hooks import from **sibling** hook packages
|
|
@@ -792,6 +1050,29 @@ async function cmdAdd(names, cwd) {
|
|
|
792
1050
|
printAdoptionHints(resolvedNames, registry, config);
|
|
793
1051
|
}
|
|
794
1052
|
|
|
1053
|
+
async function cmdTheme(hex, options, cwd) {
|
|
1054
|
+
if (!hex) {
|
|
1055
|
+
console.error(
|
|
1056
|
+
'Usage: zentauri-components theme <hex> (e.g. theme "#2563eb" --dark "#60a5fa" --out zentauri-theme.css)',
|
|
1057
|
+
);
|
|
1058
|
+
process.exitCode = 1;
|
|
1059
|
+
return;
|
|
1060
|
+
}
|
|
1061
|
+
|
|
1062
|
+
const css = buildCompactThemeCss(hex, {
|
|
1063
|
+
dark: options.dark,
|
|
1064
|
+
selector: options.selector,
|
|
1065
|
+
});
|
|
1066
|
+
if (options.out) {
|
|
1067
|
+
const outPath = resolve(cwd, options.out);
|
|
1068
|
+
await mkdir(dirname(outPath), { recursive: true });
|
|
1069
|
+
await writeFile(outPath, css, "utf8");
|
|
1070
|
+
console.log(`Wrote ${outPath}`);
|
|
1071
|
+
return;
|
|
1072
|
+
}
|
|
1073
|
+
console.log(css);
|
|
1074
|
+
}
|
|
1075
|
+
|
|
795
1076
|
/**
|
|
796
1077
|
* Parses `process.argv` with `node:util.parseArgs`, dispatches `init` / `add`,
|
|
797
1078
|
* or prints help / version. Sets `process.exitCode` for recoverable CLI errors
|
|
@@ -818,6 +1099,9 @@ async function main() {
|
|
|
818
1099
|
help: { type: "boolean", short: "h" },
|
|
819
1100
|
version: { type: "boolean", short: "v" },
|
|
820
1101
|
cwd: { type: "string" },
|
|
1102
|
+
out: { type: "string" },
|
|
1103
|
+
selector: { type: "string" },
|
|
1104
|
+
dark: { type: "string" },
|
|
821
1105
|
},
|
|
822
1106
|
});
|
|
823
1107
|
|
|
@@ -858,6 +1142,10 @@ async function main() {
|
|
|
858
1142
|
await cmdAdd(rest, cwd);
|
|
859
1143
|
return;
|
|
860
1144
|
}
|
|
1145
|
+
if (cmd === "theme") {
|
|
1146
|
+
await cmdTheme(rest[0], values, cwd);
|
|
1147
|
+
return;
|
|
1148
|
+
}
|
|
861
1149
|
|
|
862
1150
|
console.error(`Unknown command: ${cmd}`);
|
|
863
1151
|
printHelp();
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
// src/design-system/radio-group.ts
|
|
4
|
+
var zuiRadioGroupRootBase = "grid gap-2";
|
|
5
|
+
var zuiRadioGroupItemBase = "group inline-flex w-fit items-start gap-2.5 text-sm font-medium text-[color:var(--zui-radio-label-fg,var(--zui-fg,oklch(20.8%_0.042_265.755)))] dark:text-[color:var(--zui-radio-label-fg-dark,var(--zui-fg-dark,oklch(98.4%_0.003_247.858)))] data-[disabled=true]:cursor-not-allowed data-[disabled=true]:opacity-50";
|
|
6
|
+
var zuiRadioGroupControlBase = "grid shrink-0 place-items-center rounded-full border-2 border-[color:var(--zui-radio-border,var(--zui-border,#0000004d))] bg-[var(--zui-radio-bg,var(--zui-surface-muted,transparent))] dark:bg-[var(--zui-radio-bg-dark,var(--zui-surface-muted-dark,transparent))] transition-[background-color,border-color,box-shadow] peer-focus-visible:outline-none peer-focus-visible:ring-2 peer-focus-visible:ring-[var(--zui-radio-ring-focus,var(--zui-focus-ring,oklch(44.6%_0.043_257.281_/_0.7)))] peer-focus-visible:ring-offset-2 peer-focus-visible:ring-offset-[var(--zui-radio-ring-offset-focus,var(--zui-ring-offset,oklch(98.4%_0.003_247.858)))] dark:border-[color:var(--zui-radio-border-dark,var(--zui-border-dark,#ffffff4d))] dark:peer-focus-visible:ring-[var(--zui-radio-ring-focus-dark,var(--zui-focus-ring-dark,oklch(86.9%_0.022_252.894_/_0.7)))] dark:peer-focus-visible:ring-offset-[var(--zui-radio-ring-offset-focus-dark,var(--zui-ring-offset-dark,oklch(12.9%_0.042_264.695)))] group-data-[disabled=true]:cursor-not-allowed";
|
|
7
|
+
var zuiRadioGroupIndicatorBase = "pointer-events-none block rounded-full opacity-0 transition-opacity duration-150 group-data-[state=checked]:opacity-100";
|
|
8
|
+
var zuiRadioGroupSizes = {
|
|
9
|
+
sm: {
|
|
10
|
+
item: "text-xs",
|
|
11
|
+
control: "mt-0.5 size-4",
|
|
12
|
+
indicator: "size-1.5"
|
|
13
|
+
},
|
|
14
|
+
md: {
|
|
15
|
+
item: "text-sm",
|
|
16
|
+
control: "mt-0.5 size-5",
|
|
17
|
+
indicator: "size-2"
|
|
18
|
+
},
|
|
19
|
+
lg: {
|
|
20
|
+
item: "text-base",
|
|
21
|
+
control: "mt-0.5 size-6",
|
|
22
|
+
indicator: "size-2.5"
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
var zuiRadioGroupAppearances = {
|
|
26
|
+
default: "group-data-[state=checked]:border-[color:var(--zui-radio-default-border-checked,var(--zui-border,oklch(44.6%_0.043_257.281)))] dark:group-data-[state=checked]:border-[color:var(--zui-radio-default-border-checked-dark,var(--zui-border-dark,oklch(44.6%_0.043_257.281)))] [&_[data-slot=radio-group-indicator]]:bg-[var(--zui-radio-default-indicator-bg,var(--zui-surface-muted,oklch(44.6%_0.043_257.281)))] dark:[&_[data-slot=radio-group-indicator]]:bg-[var(--zui-radio-default-indicator-bg-dark,var(--zui-surface-muted-dark,oklch(44.6%_0.043_257.281)))]",
|
|
27
|
+
success: "group-data-[state=checked]:border-[color:var(--zui-radio-success-border-checked,var(--zui-status-success,oklch(59.6%_0.145_163.225)))] dark:group-data-[state=checked]:border-[color:var(--zui-radio-success-border-checked-dark,var(--zui-status-success-dark,oklch(59.6%_0.145_163.225)))] [&_[data-slot=radio-group-indicator]]:bg-[var(--zui-radio-success-indicator-bg,var(--zui-status-success,oklch(59.6%_0.145_163.225)))] dark:[&_[data-slot=radio-group-indicator]]:bg-[var(--zui-radio-success-indicator-bg-dark,var(--zui-status-success-dark,oklch(59.6%_0.145_163.225)))]",
|
|
28
|
+
warning: "group-data-[state=checked]:border-[color:var(--zui-radio-warning-border-checked,var(--zui-status-warning,oklch(68.1%_0.162_75.834)))] dark:group-data-[state=checked]:border-[color:var(--zui-radio-warning-border-checked-dark,var(--zui-status-warning-dark,oklch(68.1%_0.162_75.834)))] [&_[data-slot=radio-group-indicator]]:bg-[var(--zui-radio-warning-indicator-bg,var(--zui-status-warning,oklch(68.1%_0.162_75.834)))] dark:[&_[data-slot=radio-group-indicator]]:bg-[var(--zui-radio-warning-indicator-bg-dark,var(--zui-status-warning-dark,oklch(68.1%_0.162_75.834)))]",
|
|
29
|
+
error: "group-data-[state=checked]:border-[color:var(--zui-radio-error-border-checked,var(--zui-status-error,oklch(58.6%_0.253_17.585)))] dark:group-data-[state=checked]:border-[color:var(--zui-radio-error-border-checked-dark,var(--zui-status-error-dark,oklch(58.6%_0.253_17.585)))] [&_[data-slot=radio-group-indicator]]:bg-[var(--zui-radio-error-indicator-bg,var(--zui-status-error,oklch(58.6%_0.253_17.585)))] dark:[&_[data-slot=radio-group-indicator]]:bg-[var(--zui-radio-error-indicator-bg-dark,var(--zui-status-error-dark,oklch(58.6%_0.253_17.585)))]",
|
|
30
|
+
info: "group-data-[state=checked]:border-[color:var(--zui-radio-info-border-checked,var(--zui-status-info,oklch(54.6%_0.245_262.881)))] dark:group-data-[state=checked]:border-[color:var(--zui-radio-info-border-checked-dark,var(--zui-status-info-dark,oklch(54.6%_0.245_262.881)))] [&_[data-slot=radio-group-indicator]]:bg-[var(--zui-radio-info-indicator-bg,var(--zui-status-info,oklch(54.6%_0.245_262.881)))] dark:[&_[data-slot=radio-group-indicator]]:bg-[var(--zui-radio-info-indicator-bg-dark,var(--zui-status-info-dark,oklch(54.6%_0.245_262.881)))]",
|
|
31
|
+
violet: "group-data-[state=checked]:border-[color:var(--zui-radio-violet-border-checked,var(--zui-color-violet,oklch(54.1%_0.281_293.009)))] dark:group-data-[state=checked]:border-[color:var(--zui-radio-violet-border-checked-dark,var(--zui-color-violet-dark,oklch(54.1%_0.281_293.009)))] [&_[data-slot=radio-group-indicator]]:bg-[var(--zui-radio-violet-indicator-bg,color-mix(in oklch, var(--zui-color-violet,oklch(54.1%_0.281_293.009)) 10%, transparent))] dark:[&_[data-slot=radio-group-indicator]]:bg-[var(--zui-radio-violet-indicator-bg-dark,color-mix(in oklch, var(--zui-color-violet-dark,oklch(54.1%_0.281_293.009)) 18%, transparent))]",
|
|
32
|
+
amber: "group-data-[state=checked]:border-[color:var(--zui-radio-amber-border-checked,var(--zui-color-amber,oklch(66.6%_0.179_58.318)))] dark:group-data-[state=checked]:border-[color:var(--zui-radio-amber-border-checked-dark,var(--zui-color-amber-dark,oklch(66.6%_0.179_58.318)))] [&_[data-slot=radio-group-indicator]]:bg-[var(--zui-radio-amber-indicator-bg,color-mix(in oklch, var(--zui-color-amber,oklch(66.6%_0.179_58.318)) 10%, transparent))] dark:[&_[data-slot=radio-group-indicator]]:bg-[var(--zui-radio-amber-indicator-bg-dark,color-mix(in oklch, var(--zui-color-amber-dark,oklch(66.6%_0.179_58.318)) 18%, transparent))]",
|
|
33
|
+
pink: "group-data-[state=checked]:border-[color:var(--zui-radio-pink-border-checked,var(--zui-color-pink,oklch(59.2%_0.249_0.584)))] dark:group-data-[state=checked]:border-[color:var(--zui-radio-pink-border-checked-dark,var(--zui-color-pink-dark,oklch(59.2%_0.249_0.584)))] [&_[data-slot=radio-group-indicator]]:bg-[var(--zui-radio-pink-indicator-bg,color-mix(in oklch, var(--zui-color-pink,oklch(59.2%_0.249_0.584)) 10%, transparent))] dark:[&_[data-slot=radio-group-indicator]]:bg-[var(--zui-radio-pink-indicator-bg-dark,color-mix(in oklch, var(--zui-color-pink-dark,oklch(59.2%_0.249_0.584)) 18%, transparent))]",
|
|
34
|
+
indigo: "group-data-[state=checked]:border-[color:var(--zui-radio-indigo-border-checked,var(--zui-color-indigo,oklch(51.1%_0.262_276.966)))] dark:group-data-[state=checked]:border-[color:var(--zui-radio-indigo-border-checked-dark,var(--zui-color-indigo-dark,oklch(51.1%_0.262_276.966)))] [&_[data-slot=radio-group-indicator]]:bg-[var(--zui-radio-indigo-indicator-bg,color-mix(in oklch, var(--zui-color-indigo,oklch(51.1%_0.262_276.966)) 10%, transparent))] dark:[&_[data-slot=radio-group-indicator]]:bg-[var(--zui-radio-indigo-indicator-bg-dark,color-mix(in oklch, var(--zui-color-indigo-dark,oklch(51.1%_0.262_276.966)) 18%, transparent))]",
|
|
35
|
+
blue: "border-[color:var(--zui-radio-group-blue-border,var(--zui-color-blue,#2563eb))] dark:border-[color:var(--zui-radio-group-blue-border-dark,var(--zui-color-blue-dark,#3b82f6))] text-[color:var(--zui-radio-group-blue-fg,var(--zui-color-blue,#2563eb))] dark:text-[color:var(--zui-radio-group-blue-fg-dark,var(--zui-color-blue-dark,#3b82f6))] data-[state=checked]:border-[color:var(--zui-radio-group-blue-border-checked,var(--zui-color-blue,#2563eb))] dark:data-[state=checked]:border-[color:var(--zui-radio-group-blue-border-checked-dark,var(--zui-color-blue-dark,#3b82f6))] data-[state=checked]:bg-[var(--zui-radio-group-blue-bg-checked,color-mix(in oklch, var(--zui-color-blue,#2563eb14) 8%, transparent))] dark:data-[state=checked]:bg-[var(--zui-radio-group-blue-bg-checked-dark,color-mix(in oklch, var(--zui-color-blue-dark,#3b82f624) 14%, transparent))]",
|
|
36
|
+
cyan: "border-[color:var(--zui-radio-group-cyan-border,var(--zui-color-cyan,#0891b2))] dark:border-[color:var(--zui-radio-group-cyan-border-dark,var(--zui-color-cyan-dark,#22d3ee))] text-[color:var(--zui-radio-group-cyan-fg,var(--zui-color-cyan,#0891b2))] dark:text-[color:var(--zui-radio-group-cyan-fg-dark,var(--zui-color-cyan-dark,#22d3ee))] data-[state=checked]:border-[color:var(--zui-radio-group-cyan-border-checked,var(--zui-color-cyan,#0891b2))] dark:data-[state=checked]:border-[color:var(--zui-radio-group-cyan-border-checked-dark,var(--zui-color-cyan-dark,#22d3ee))] data-[state=checked]:bg-[var(--zui-radio-group-cyan-bg-checked,color-mix(in oklch, var(--zui-color-cyan,#0891b214) 8%, transparent))] dark:data-[state=checked]:bg-[var(--zui-radio-group-cyan-bg-checked-dark,color-mix(in oklch, var(--zui-color-cyan-dark,#22d3ee24) 14%, transparent))]",
|
|
37
|
+
green: "border-[color:var(--zui-radio-group-green-border,var(--zui-color-green,#16a34a))] dark:border-[color:var(--zui-radio-group-green-border-dark,var(--zui-color-green-dark,#22c55e))] text-[color:var(--zui-radio-group-green-fg,var(--zui-color-green,#16a34a))] dark:text-[color:var(--zui-radio-group-green-fg-dark,var(--zui-color-green-dark,#22c55e))] data-[state=checked]:border-[color:var(--zui-radio-group-green-border-checked,var(--zui-color-green,#16a34a))] dark:data-[state=checked]:border-[color:var(--zui-radio-group-green-border-checked-dark,var(--zui-color-green-dark,#22c55e))] data-[state=checked]:bg-[var(--zui-radio-group-green-bg-checked,color-mix(in oklch, var(--zui-color-green,#16a34a14) 8%, transparent))] dark:data-[state=checked]:bg-[var(--zui-radio-group-green-bg-checked-dark,color-mix(in oklch, var(--zui-color-green-dark,#22c55e24) 14%, transparent))]",
|
|
38
|
+
lime: "border-[color:var(--zui-radio-group-lime-border,var(--zui-color-lime,#65a30d))] dark:border-[color:var(--zui-radio-group-lime-border-dark,var(--zui-color-lime-dark,#a3e635))] text-[color:var(--zui-radio-group-lime-fg,var(--zui-color-lime,#65a30d))] dark:text-[color:var(--zui-radio-group-lime-fg-dark,var(--zui-color-lime-dark,#a3e635))] data-[state=checked]:border-[color:var(--zui-radio-group-lime-border-checked,var(--zui-color-lime,#65a30d))] dark:data-[state=checked]:border-[color:var(--zui-radio-group-lime-border-checked-dark,var(--zui-color-lime-dark,#a3e635))] data-[state=checked]:bg-[var(--zui-radio-group-lime-bg-checked,color-mix(in oklch, var(--zui-color-lime,#65a30d14) 8%, transparent))] dark:data-[state=checked]:bg-[var(--zui-radio-group-lime-bg-checked-dark,color-mix(in oklch, var(--zui-color-lime-dark,#a3e63524) 14%, transparent))]",
|
|
39
|
+
mint: "border-[color:var(--zui-radio-group-mint-border,var(--zui-color-mint,#10b981))] dark:border-[color:var(--zui-radio-group-mint-border-dark,var(--zui-color-mint-dark,#6ee7b7))] text-[color:var(--zui-radio-group-mint-fg,var(--zui-color-mint,#10b981))] dark:text-[color:var(--zui-radio-group-mint-fg-dark,var(--zui-color-mint-dark,#6ee7b7))] data-[state=checked]:border-[color:var(--zui-radio-group-mint-border-checked,var(--zui-color-mint,#10b981))] dark:data-[state=checked]:border-[color:var(--zui-radio-group-mint-border-checked-dark,var(--zui-color-mint-dark,#6ee7b7))] data-[state=checked]:bg-[var(--zui-radio-group-mint-bg-checked,color-mix(in oklch, var(--zui-color-mint,#10b98114) 8%, transparent))] dark:data-[state=checked]:bg-[var(--zui-radio-group-mint-bg-checked-dark,color-mix(in oklch, var(--zui-color-mint-dark,#6ee7b724) 14%, transparent))]",
|
|
40
|
+
ocean: "border-[color:var(--zui-radio-group-ocean-border,var(--zui-color-ocean,#0284c7))] dark:border-[color:var(--zui-radio-group-ocean-border-dark,var(--zui-color-ocean-dark,#38bdf8))] text-[color:var(--zui-radio-group-ocean-fg,var(--zui-color-ocean,#0284c7))] dark:text-[color:var(--zui-radio-group-ocean-fg-dark,var(--zui-color-ocean-dark,#38bdf8))] data-[state=checked]:border-[color:var(--zui-radio-group-ocean-border-checked,var(--zui-color-ocean,#0284c7))] dark:data-[state=checked]:border-[color:var(--zui-radio-group-ocean-border-checked-dark,var(--zui-color-ocean-dark,#38bdf8))] data-[state=checked]:bg-[var(--zui-radio-group-ocean-bg-checked,color-mix(in oklch, var(--zui-color-ocean,#0284c714) 8%, transparent))] dark:data-[state=checked]:bg-[var(--zui-radio-group-ocean-bg-checked-dark,color-mix(in oklch, var(--zui-color-ocean-dark,#38bdf824) 14%, transparent))]",
|
|
41
|
+
sapphire: "border-[color:var(--zui-radio-group-sapphire-border,var(--zui-color-sapphire,#1d4ed8))] dark:border-[color:var(--zui-radio-group-sapphire-border-dark,var(--zui-color-sapphire-dark,#60a5fa))] text-[color:var(--zui-radio-group-sapphire-fg,var(--zui-color-sapphire,#1d4ed8))] dark:text-[color:var(--zui-radio-group-sapphire-fg-dark,var(--zui-color-sapphire-dark,#60a5fa))] data-[state=checked]:border-[color:var(--zui-radio-group-sapphire-border-checked,var(--zui-color-sapphire,#1d4ed8))] dark:data-[state=checked]:border-[color:var(--zui-radio-group-sapphire-border-checked-dark,var(--zui-color-sapphire-dark,#60a5fa))] data-[state=checked]:bg-[var(--zui-radio-group-sapphire-bg-checked,color-mix(in oklch, var(--zui-color-sapphire,#1d4ed814) 8%, transparent))] dark:data-[state=checked]:bg-[var(--zui-radio-group-sapphire-bg-checked-dark,color-mix(in oklch, var(--zui-color-sapphire-dark,#60a5fa24) 14%, transparent))]",
|
|
42
|
+
lavender: "border-[color:var(--zui-radio-group-lavender-border,var(--zui-color-lavender,#8b5cf6))] dark:border-[color:var(--zui-radio-group-lavender-border-dark,var(--zui-color-lavender-dark,#a78bfa))] text-[color:var(--zui-radio-group-lavender-fg,var(--zui-color-lavender,#8b5cf6))] dark:text-[color:var(--zui-radio-group-lavender-fg-dark,var(--zui-color-lavender-dark,#a78bfa))] data-[state=checked]:border-[color:var(--zui-radio-group-lavender-border-checked,var(--zui-color-lavender,#8b5cf6))] dark:data-[state=checked]:border-[color:var(--zui-radio-group-lavender-border-checked-dark,var(--zui-color-lavender-dark,#a78bfa))] data-[state=checked]:bg-[var(--zui-radio-group-lavender-bg-checked,color-mix(in oklch, var(--zui-color-lavender,#8b5cf614) 8%, transparent))] dark:data-[state=checked]:bg-[var(--zui-radio-group-lavender-bg-checked-dark,color-mix(in oklch, var(--zui-color-lavender-dark,#a78bfa24) 14%, transparent))]",
|
|
43
|
+
ruby: "border-[color:var(--zui-radio-group-ruby-border,var(--zui-color-ruby,#be123c))] dark:border-[color:var(--zui-radio-group-ruby-border-dark,var(--zui-color-ruby-dark,#fb7185))] text-[color:var(--zui-radio-group-ruby-fg,var(--zui-color-ruby,#be123c))] dark:text-[color:var(--zui-radio-group-ruby-fg-dark,var(--zui-color-ruby-dark,#fb7185))] data-[state=checked]:border-[color:var(--zui-radio-group-ruby-border-checked,var(--zui-color-ruby,#be123c))] dark:data-[state=checked]:border-[color:var(--zui-radio-group-ruby-border-checked-dark,var(--zui-color-ruby-dark,#fb7185))] data-[state=checked]:bg-[var(--zui-radio-group-ruby-bg-checked,color-mix(in oklch, var(--zui-color-ruby,#be123c14) 8%, transparent))] dark:data-[state=checked]:bg-[var(--zui-radio-group-ruby-bg-checked-dark,color-mix(in oklch, var(--zui-color-ruby-dark,#fb718524) 14%, transparent))]",
|
|
44
|
+
red: "border-[color:var(--zui-radio-group-red-border,var(--zui-color-red,#dc2626))] dark:border-[color:var(--zui-radio-group-red-border-dark,var(--zui-color-red-dark,#ef4444))] text-[color:var(--zui-radio-group-red-fg,var(--zui-color-red,#dc2626))] dark:text-[color:var(--zui-radio-group-red-fg-dark,var(--zui-color-red-dark,#ef4444))] data-[state=checked]:border-[color:var(--zui-radio-group-red-border-checked,var(--zui-color-red,#dc2626))] dark:data-[state=checked]:border-[color:var(--zui-radio-group-red-border-checked-dark,var(--zui-color-red-dark,#ef4444))] data-[state=checked]:bg-[var(--zui-radio-group-red-bg-checked,color-mix(in oklch, var(--zui-color-red,#dc262614) 8%, transparent))] dark:data-[state=checked]:bg-[var(--zui-radio-group-red-bg-checked-dark,color-mix(in oklch, var(--zui-color-red-dark,#ef444424) 14%, transparent))]",
|
|
45
|
+
slate: "border-[color:var(--zui-radio-group-slate-border,var(--zui-color-slate,#475569))] dark:border-[color:var(--zui-radio-group-slate-border-dark,var(--zui-color-slate-dark,#64748b))] text-[color:var(--zui-radio-group-slate-fg,var(--zui-color-slate,#475569))] dark:text-[color:var(--zui-radio-group-slate-fg-dark,var(--zui-color-slate-dark,#64748b))] data-[state=checked]:border-[color:var(--zui-radio-group-slate-border-checked,var(--zui-color-slate,#475569))] dark:data-[state=checked]:border-[color:var(--zui-radio-group-slate-border-checked-dark,var(--zui-color-slate-dark,#64748b))] data-[state=checked]:bg-[var(--zui-radio-group-slate-bg-checked,color-mix(in oklch, var(--zui-color-slate,#47556914) 8%, transparent))] dark:data-[state=checked]:bg-[var(--zui-radio-group-slate-bg-checked-dark,color-mix(in oklch, var(--zui-color-slate-dark,#64748b24) 14%, transparent))]",
|
|
46
|
+
zinc: "border-[color:var(--zui-radio-group-zinc-border,var(--zui-color-zinc,#52525b))] dark:border-[color:var(--zui-radio-group-zinc-border-dark,var(--zui-color-zinc-dark,#71717a))] text-[color:var(--zui-radio-group-zinc-fg,var(--zui-color-zinc,#52525b))] dark:text-[color:var(--zui-radio-group-zinc-fg-dark,var(--zui-color-zinc-dark,#71717a))] data-[state=checked]:border-[color:var(--zui-radio-group-zinc-border-checked,var(--zui-color-zinc,#52525b))] dark:data-[state=checked]:border-[color:var(--zui-radio-group-zinc-border-checked-dark,var(--zui-color-zinc-dark,#71717a))] data-[state=checked]:bg-[var(--zui-radio-group-zinc-bg-checked,color-mix(in oklch, var(--zui-color-zinc,#52525b14) 8%, transparent))] dark:data-[state=checked]:bg-[var(--zui-radio-group-zinc-bg-checked-dark,color-mix(in oklch, var(--zui-color-zinc-dark,#71717a24) 14%, transparent))]",
|
|
47
|
+
stone: "border-[color:var(--zui-radio-group-stone-border,var(--zui-color-stone,#57534e))] dark:border-[color:var(--zui-radio-group-stone-border-dark,var(--zui-color-stone-dark,#78716c))] text-[color:var(--zui-radio-group-stone-fg,var(--zui-color-stone,#57534e))] dark:text-[color:var(--zui-radio-group-stone-fg-dark,var(--zui-color-stone-dark,#78716c))] data-[state=checked]:border-[color:var(--zui-radio-group-stone-border-checked,var(--zui-color-stone,#57534e))] dark:data-[state=checked]:border-[color:var(--zui-radio-group-stone-border-checked-dark,var(--zui-color-stone-dark,#78716c))] data-[state=checked]:bg-[var(--zui-radio-group-stone-bg-checked,color-mix(in oklch, var(--zui-color-stone,#57534e14) 8%, transparent))] dark:data-[state=checked]:bg-[var(--zui-radio-group-stone-bg-checked-dark,color-mix(in oklch, var(--zui-color-stone-dark,#78716c24) 14%, transparent))]",
|
|
48
|
+
royal: "border-[color:var(--zui-radio-group-royal-border,var(--zui-color-royal,#4338ca))] dark:border-[color:var(--zui-radio-group-royal-border-dark,var(--zui-color-royal-dark,#818cf8))] text-[color:var(--zui-radio-group-royal-fg,var(--zui-color-royal,#4338ca))] dark:text-[color:var(--zui-radio-group-royal-fg-dark,var(--zui-color-royal-dark,#818cf8))] data-[state=checked]:border-[color:var(--zui-radio-group-royal-border-checked,var(--zui-color-royal,#4338ca))] dark:data-[state=checked]:border-[color:var(--zui-radio-group-royal-border-checked-dark,var(--zui-color-royal-dark,#818cf8))] data-[state=checked]:bg-[var(--zui-radio-group-royal-bg-checked,color-mix(in oklch, var(--zui-color-royal,#4338ca14) 8%, transparent))] dark:data-[state=checked]:bg-[var(--zui-radio-group-royal-bg-checked-dark,color-mix(in oklch, var(--zui-color-royal-dark,#818cf824) 14%, transparent))]",
|
|
49
|
+
electric: "border-[color:var(--zui-radio-group-electric-border,var(--zui-color-electric,#0ea5e9))] dark:border-[color:var(--zui-radio-group-electric-border-dark,var(--zui-color-electric-dark,#38bdf8))] text-[color:var(--zui-radio-group-electric-fg,var(--zui-color-electric,#0ea5e9))] dark:text-[color:var(--zui-radio-group-electric-fg-dark,var(--zui-color-electric-dark,#38bdf8))] data-[state=checked]:border-[color:var(--zui-radio-group-electric-border-checked,var(--zui-color-electric,#0ea5e9))] dark:data-[state=checked]:border-[color:var(--zui-radio-group-electric-border-checked-dark,var(--zui-color-electric-dark,#38bdf8))] data-[state=checked]:bg-[var(--zui-radio-group-electric-bg-checked,color-mix(in oklch, var(--zui-color-electric,#0ea5e914) 8%, transparent))] dark:data-[state=checked]:bg-[var(--zui-radio-group-electric-bg-checked-dark,color-mix(in oklch, var(--zui-color-electric-dark,#38bdf824) 14%, transparent))]",
|
|
50
|
+
forest: "border-[color:var(--zui-radio-group-forest-border,var(--zui-color-forest,#166534))] dark:border-[color:var(--zui-radio-group-forest-border-dark,var(--zui-color-forest-dark,#4ade80))] text-[color:var(--zui-radio-group-forest-fg,var(--zui-color-forest,#166534))] dark:text-[color:var(--zui-radio-group-forest-fg-dark,var(--zui-color-forest-dark,#4ade80))] data-[state=checked]:border-[color:var(--zui-radio-group-forest-border-checked,var(--zui-color-forest,#166534))] dark:data-[state=checked]:border-[color:var(--zui-radio-group-forest-border-checked-dark,var(--zui-color-forest-dark,#4ade80))] data-[state=checked]:bg-[var(--zui-radio-group-forest-bg-checked,color-mix(in oklch, var(--zui-color-forest,#16653414) 8%, transparent))] dark:data-[state=checked]:bg-[var(--zui-radio-group-forest-bg-checked-dark,color-mix(in oklch, var(--zui-color-forest-dark,#4ade8024) 14%, transparent))]",
|
|
51
|
+
sunset: "border-[color:var(--zui-radio-group-sunset-border,var(--zui-color-sunset,#ea580c))] dark:border-[color:var(--zui-radio-group-sunset-border-dark,var(--zui-color-sunset-dark,#fb923c))] text-[color:var(--zui-radio-group-sunset-fg,var(--zui-color-sunset,#ea580c))] dark:text-[color:var(--zui-radio-group-sunset-fg-dark,var(--zui-color-sunset-dark,#fb923c))] data-[state=checked]:border-[color:var(--zui-radio-group-sunset-border-checked,var(--zui-color-sunset,#ea580c))] dark:data-[state=checked]:border-[color:var(--zui-radio-group-sunset-border-checked-dark,var(--zui-color-sunset-dark,#fb923c))] data-[state=checked]:bg-[var(--zui-radio-group-sunset-bg-checked,color-mix(in oklch, var(--zui-color-sunset,#ea580c14) 8%, transparent))] dark:data-[state=checked]:bg-[var(--zui-radio-group-sunset-bg-checked-dark,color-mix(in oklch, var(--zui-color-sunset-dark,#fb923c24) 14%, transparent))]",
|
|
52
|
+
magenta: "border-[color:var(--zui-radio-group-magenta-border,var(--zui-color-magenta,#c026d3))] dark:border-[color:var(--zui-radio-group-magenta-border-dark,var(--zui-color-magenta-dark,#e879f9))] text-[color:var(--zui-radio-group-magenta-fg,var(--zui-color-magenta,#c026d3))] dark:text-[color:var(--zui-radio-group-magenta-fg-dark,var(--zui-color-magenta-dark,#e879f9))] data-[state=checked]:border-[color:var(--zui-radio-group-magenta-border-checked,var(--zui-color-magenta,#c026d3))] dark:data-[state=checked]:border-[color:var(--zui-radio-group-magenta-border-checked-dark,var(--zui-color-magenta-dark,#e879f9))] data-[state=checked]:bg-[var(--zui-radio-group-magenta-bg-checked,color-mix(in oklch, var(--zui-color-magenta,#c026d314) 8%, transparent))] dark:data-[state=checked]:bg-[var(--zui-radio-group-magenta-bg-checked-dark,color-mix(in oklch, var(--zui-color-magenta-dark,#e879f924) 14%, transparent))]",
|
|
53
|
+
crimson: "border-[color:var(--zui-radio-group-crimson-border,var(--zui-color-crimson,#b91c1c))] dark:border-[color:var(--zui-radio-group-crimson-border-dark,var(--zui-color-crimson-dark,#f87171))] text-[color:var(--zui-radio-group-crimson-fg,var(--zui-color-crimson,#b91c1c))] dark:text-[color:var(--zui-radio-group-crimson-fg-dark,var(--zui-color-crimson-dark,#f87171))] data-[state=checked]:border-[color:var(--zui-radio-group-crimson-border-checked,var(--zui-color-crimson,#b91c1c))] dark:data-[state=checked]:border-[color:var(--zui-radio-group-crimson-border-checked-dark,var(--zui-color-crimson-dark,#f87171))] data-[state=checked]:bg-[var(--zui-radio-group-crimson-bg-checked,color-mix(in oklch, var(--zui-color-crimson,#b91c1c14) 8%, transparent))] dark:data-[state=checked]:bg-[var(--zui-radio-group-crimson-bg-checked-dark,color-mix(in oklch, var(--zui-color-crimson-dark,#f8717124) 14%, transparent))]",
|
|
54
|
+
aqua: "border-[color:var(--zui-radio-group-aqua-border,var(--zui-color-aqua,#0f766e))] dark:border-[color:var(--zui-radio-group-aqua-border-dark,var(--zui-color-aqua-dark,#2dd4bf))] text-[color:var(--zui-radio-group-aqua-fg,var(--zui-color-aqua,#0f766e))] dark:text-[color:var(--zui-radio-group-aqua-fg-dark,var(--zui-color-aqua-dark,#2dd4bf))] data-[state=checked]:border-[color:var(--zui-radio-group-aqua-border-checked,var(--zui-color-aqua,#0f766e))] dark:data-[state=checked]:border-[color:var(--zui-radio-group-aqua-border-checked-dark,var(--zui-color-aqua-dark,#2dd4bf))] data-[state=checked]:bg-[var(--zui-radio-group-aqua-bg-checked,color-mix(in oklch, var(--zui-color-aqua,#0f766e14) 8%, transparent))] dark:data-[state=checked]:bg-[var(--zui-radio-group-aqua-bg-checked-dark,color-mix(in oklch, var(--zui-color-aqua-dark,#2dd4bf24) 14%, transparent))]",
|
|
55
|
+
plum: "border-[color:var(--zui-radio-group-plum-border,var(--zui-color-plum,#7e22ce))] dark:border-[color:var(--zui-radio-group-plum-border-dark,var(--zui-color-plum-dark,#c084fc))] text-[color:var(--zui-radio-group-plum-fg,var(--zui-color-plum,#7e22ce))] dark:text-[color:var(--zui-radio-group-plum-fg-dark,var(--zui-color-plum-dark,#c084fc))] data-[state=checked]:border-[color:var(--zui-radio-group-plum-border-checked,var(--zui-color-plum,#7e22ce))] dark:data-[state=checked]:border-[color:var(--zui-radio-group-plum-border-checked-dark,var(--zui-color-plum-dark,#c084fc))] data-[state=checked]:bg-[var(--zui-radio-group-plum-bg-checked,color-mix(in oklch, var(--zui-color-plum,#7e22ce14) 8%, transparent))] dark:data-[state=checked]:bg-[var(--zui-radio-group-plum-bg-checked-dark,color-mix(in oklch, var(--zui-color-plum-dark,#c084fc24) 14%, transparent))]"
|
|
56
|
+
};
|
|
57
|
+
var zuiRadioGroupOrientations = {
|
|
58
|
+
vertical: "grid gap-2",
|
|
59
|
+
horizontal: "flex flex-wrap gap-x-5 gap-y-2"
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
exports.zuiRadioGroupAppearances = zuiRadioGroupAppearances;
|
|
63
|
+
exports.zuiRadioGroupControlBase = zuiRadioGroupControlBase;
|
|
64
|
+
exports.zuiRadioGroupIndicatorBase = zuiRadioGroupIndicatorBase;
|
|
65
|
+
exports.zuiRadioGroupItemBase = zuiRadioGroupItemBase;
|
|
66
|
+
exports.zuiRadioGroupOrientations = zuiRadioGroupOrientations;
|
|
67
|
+
exports.zuiRadioGroupRootBase = zuiRadioGroupRootBase;
|
|
68
|
+
exports.zuiRadioGroupSizes = zuiRadioGroupSizes;
|
|
69
|
+
//# sourceMappingURL=chunk-22FJROCI.js.map
|
|
70
|
+
//# sourceMappingURL=chunk-22FJROCI.js.map
|