@zentauri-ui/zentauri-components 1.9.1 → 1.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -3
- package/dist/animations/blur-in.js +1 -0
- package/dist/animations/blur-in.js.map +1 -1
- package/dist/animations/blur-in.mjs +1 -0
- package/dist/animations/blur-in.mjs.map +1 -1
- package/dist/animations/blur-out.js +1 -0
- package/dist/animations/blur-out.js.map +1 -1
- package/dist/animations/blur-out.mjs +1 -0
- package/dist/animations/blur-out.mjs.map +1 -1
- package/dist/animations/bounce.js +1 -0
- package/dist/animations/bounce.js.map +1 -1
- package/dist/animations/bounce.mjs +1 -0
- package/dist/animations/bounce.mjs.map +1 -1
- package/dist/animations/fade-down.js +1 -0
- package/dist/animations/fade-down.js.map +1 -1
- package/dist/animations/fade-down.mjs +1 -0
- package/dist/animations/fade-down.mjs.map +1 -1
- package/dist/animations/fade-in.js +1 -0
- package/dist/animations/fade-in.js.map +1 -1
- package/dist/animations/fade-in.mjs +1 -0
- package/dist/animations/fade-in.mjs.map +1 -1
- package/dist/animations/fade-left.js +1 -0
- package/dist/animations/fade-left.js.map +1 -1
- package/dist/animations/fade-left.mjs +1 -0
- package/dist/animations/fade-left.mjs.map +1 -1
- package/dist/animations/fade-out.js +1 -0
- package/dist/animations/fade-out.js.map +1 -1
- package/dist/animations/fade-out.mjs +1 -0
- package/dist/animations/fade-out.mjs.map +1 -1
- package/dist/animations/fade-right.js +1 -0
- package/dist/animations/fade-right.js.map +1 -1
- package/dist/animations/fade-right.mjs +1 -0
- package/dist/animations/fade-right.mjs.map +1 -1
- package/dist/animations/fade-up.js +1 -0
- package/dist/animations/fade-up.js.map +1 -1
- package/dist/animations/fade-up.mjs +1 -0
- package/dist/animations/fade-up.mjs.map +1 -1
- package/dist/animations/flip-in.js +1 -0
- package/dist/animations/flip-in.js.map +1 -1
- package/dist/animations/flip-in.mjs +1 -0
- package/dist/animations/flip-in.mjs.map +1 -1
- package/dist/animations/flip.js +1 -0
- package/dist/animations/flip.js.map +1 -1
- package/dist/animations/flip.mjs +1 -0
- package/dist/animations/flip.mjs.map +1 -1
- package/dist/animations/float.js +1 -0
- package/dist/animations/float.js.map +1 -1
- package/dist/animations/float.mjs +1 -0
- package/dist/animations/float.mjs.map +1 -1
- package/dist/animations/hover-lift.js +1 -0
- package/dist/animations/hover-lift.js.map +1 -1
- package/dist/animations/hover-lift.mjs +1 -0
- package/dist/animations/hover-lift.mjs.map +1 -1
- package/dist/animations/hover-scale.js +1 -0
- package/dist/animations/hover-scale.js.map +1 -1
- package/dist/animations/hover-scale.mjs +1 -0
- package/dist/animations/hover-scale.mjs.map +1 -1
- package/dist/animations/magnetic.js +1 -0
- package/dist/animations/magnetic.js.map +1 -1
- package/dist/animations/magnetic.mjs +1 -0
- package/dist/animations/magnetic.mjs.map +1 -1
- package/dist/animations/parallax.js +1 -0
- package/dist/animations/parallax.js.map +1 -1
- package/dist/animations/parallax.mjs +1 -0
- package/dist/animations/parallax.mjs.map +1 -1
- package/dist/animations/ping.js +1 -0
- package/dist/animations/ping.js.map +1 -1
- package/dist/animations/ping.mjs +1 -0
- package/dist/animations/ping.mjs.map +1 -1
- package/dist/animations/pop-in.js +1 -0
- package/dist/animations/pop-in.js.map +1 -1
- package/dist/animations/pop-in.mjs +1 -0
- package/dist/animations/pop-in.mjs.map +1 -1
- package/dist/animations/press.js +1 -0
- package/dist/animations/press.js.map +1 -1
- package/dist/animations/press.mjs +1 -0
- package/dist/animations/press.mjs.map +1 -1
- package/dist/animations/progress.js +1 -0
- package/dist/animations/progress.js.map +1 -1
- package/dist/animations/progress.mjs +1 -0
- package/dist/animations/progress.mjs.map +1 -1
- package/dist/animations/pulse.js +1 -0
- package/dist/animations/pulse.js.map +1 -1
- package/dist/animations/pulse.mjs +1 -0
- package/dist/animations/pulse.mjs.map +1 -1
- package/dist/animations/reorder.js +1 -0
- package/dist/animations/reorder.js.map +1 -1
- package/dist/animations/reorder.mjs +1 -0
- package/dist/animations/reorder.mjs.map +1 -1
- package/dist/animations/reveal-blur.js +1 -0
- package/dist/animations/reveal-blur.js.map +1 -1
- package/dist/animations/reveal-blur.mjs +1 -0
- package/dist/animations/reveal-blur.mjs.map +1 -1
- package/dist/animations/reveal-down.js +1 -0
- package/dist/animations/reveal-down.js.map +1 -1
- package/dist/animations/reveal-down.mjs +1 -0
- package/dist/animations/reveal-down.mjs.map +1 -1
- package/dist/animations/reveal-left.js +1 -0
- package/dist/animations/reveal-left.js.map +1 -1
- package/dist/animations/reveal-left.mjs +1 -0
- package/dist/animations/reveal-left.mjs.map +1 -1
- package/dist/animations/reveal-right.js +1 -0
- package/dist/animations/reveal-right.js.map +1 -1
- package/dist/animations/reveal-right.mjs +1 -0
- package/dist/animations/reveal-right.mjs.map +1 -1
- package/dist/animations/reveal-up.js +1 -0
- package/dist/animations/reveal-up.js.map +1 -1
- package/dist/animations/reveal-up.mjs +1 -0
- package/dist/animations/reveal-up.mjs.map +1 -1
- package/dist/animations/rotate-in.js +1 -0
- package/dist/animations/rotate-in.js.map +1 -1
- package/dist/animations/rotate-in.mjs +1 -0
- package/dist/animations/rotate-in.mjs.map +1 -1
- package/dist/animations/scale-in.js +1 -0
- package/dist/animations/scale-in.js.map +1 -1
- package/dist/animations/scale-in.mjs +1 -0
- package/dist/animations/scale-in.mjs.map +1 -1
- package/dist/animations/scale-out.js +1 -0
- package/dist/animations/scale-out.js.map +1 -1
- package/dist/animations/scale-out.mjs +1 -0
- package/dist/animations/scale-out.mjs.map +1 -1
- package/dist/animations/shake.js +1 -0
- package/dist/animations/shake.js.map +1 -1
- package/dist/animations/shake.mjs +1 -0
- package/dist/animations/shake.mjs.map +1 -1
- package/dist/animations/skeleton-shimmer.js +1 -0
- package/dist/animations/skeleton-shimmer.js.map +1 -1
- package/dist/animations/skeleton-shimmer.mjs +1 -0
- package/dist/animations/skeleton-shimmer.mjs.map +1 -1
- package/dist/animations/slide-down.js +1 -0
- package/dist/animations/slide-down.js.map +1 -1
- package/dist/animations/slide-down.mjs +1 -0
- package/dist/animations/slide-down.mjs.map +1 -1
- package/dist/animations/slide-left.js +1 -0
- package/dist/animations/slide-left.js.map +1 -1
- package/dist/animations/slide-left.mjs +1 -0
- package/dist/animations/slide-left.mjs.map +1 -1
- package/dist/animations/slide-right.js +1 -0
- package/dist/animations/slide-right.js.map +1 -1
- package/dist/animations/slide-right.mjs +1 -0
- package/dist/animations/slide-right.mjs.map +1 -1
- package/dist/animations/slide-up.js +1 -0
- package/dist/animations/slide-up.js.map +1 -1
- package/dist/animations/slide-up.mjs +1 -0
- package/dist/animations/slide-up.mjs.map +1 -1
- package/dist/animations/spin.js +1 -0
- package/dist/animations/spin.js.map +1 -1
- package/dist/animations/spin.mjs +1 -0
- package/dist/animations/spin.mjs.map +1 -1
- package/dist/animations/text-reveal.js +1 -0
- package/dist/animations/text-reveal.js.map +1 -1
- package/dist/animations/text-reveal.mjs +1 -0
- package/dist/animations/text-reveal.mjs.map +1 -1
- package/dist/animations/text-shimmer.js +1 -0
- package/dist/animations/text-shimmer.js.map +1 -1
- package/dist/animations/text-shimmer.mjs +1 -0
- package/dist/animations/text-shimmer.mjs.map +1 -1
- package/dist/animations/tilt.js +1 -0
- package/dist/animations/tilt.js.map +1 -1
- package/dist/animations/tilt.mjs +1 -0
- package/dist/animations/tilt.mjs.map +1 -1
- package/dist/animations/wiggle.js +1 -0
- package/dist/animations/wiggle.js.map +1 -1
- package/dist/animations/wiggle.mjs +1 -0
- package/dist/animations/wiggle.mjs.map +1 -1
- package/dist/charts/area.js +1 -0
- package/dist/charts/area.js.map +1 -1
- package/dist/charts/area.mjs +1 -0
- package/dist/charts/area.mjs.map +1 -1
- package/dist/charts/bar.js +1 -0
- package/dist/charts/bar.mjs +1 -0
- package/dist/charts/bubble.js +1 -0
- package/dist/charts/bubble.js.map +1 -1
- package/dist/charts/bubble.mjs +1 -0
- package/dist/charts/bubble.mjs.map +1 -1
- package/dist/charts/funnel.js +1 -0
- package/dist/charts/funnel.js.map +1 -1
- package/dist/charts/funnel.mjs +1 -0
- package/dist/charts/funnel.mjs.map +1 -1
- package/dist/charts/line.js +1 -0
- package/dist/charts/line.js.map +1 -1
- package/dist/charts/line.mjs +1 -0
- package/dist/charts/line.mjs.map +1 -1
- package/dist/charts/pie.js +1 -0
- package/dist/charts/pie.js.map +1 -1
- package/dist/charts/pie.mjs +1 -0
- package/dist/charts/pie.mjs.map +1 -1
- package/dist/charts/radar.js +1 -0
- package/dist/charts/radar.js.map +1 -1
- package/dist/charts/radar.mjs +1 -0
- package/dist/charts/radar.mjs.map +1 -1
- package/dist/charts/scatter.js +1 -0
- package/dist/charts/scatter.js.map +1 -1
- package/dist/charts/scatter.mjs +1 -0
- package/dist/charts/scatter.mjs.map +1 -1
- package/dist/charts/stacked-bar.js +1 -0
- package/dist/charts/stacked-bar.js.map +1 -1
- package/dist/charts/stacked-bar.mjs +1 -0
- package/dist/charts/stacked-bar.mjs.map +1 -1
- package/dist/{chunk-OY3YJGOX.mjs → chunk-22I54GJW.js} +7 -203
- package/dist/chunk-22I54GJW.js.map +1 -0
- package/dist/chunk-27PO2FY2.mjs +161 -0
- package/dist/chunk-27PO2FY2.mjs.map +1 -0
- package/dist/chunk-2PWT2MB5.mjs +73 -0
- package/dist/chunk-2PWT2MB5.mjs.map +1 -0
- package/dist/chunk-34OSFCSH.js +212 -0
- package/dist/chunk-34OSFCSH.js.map +1 -0
- package/dist/chunk-37YQUTKG.js +204 -0
- package/dist/chunk-37YQUTKG.js.map +1 -0
- package/dist/chunk-3HSFL4WA.mjs +191 -0
- package/dist/chunk-3HSFL4WA.mjs.map +1 -0
- package/dist/{chunk-EKLWWV3G.mjs → chunk-3I6XR7KN.js} +10 -72
- package/dist/chunk-3I6XR7KN.js.map +1 -0
- package/dist/chunk-3MK7CWEX.js +54 -0
- package/dist/chunk-3MK7CWEX.js.map +1 -0
- package/dist/{chunk-UNPKDNLA.js → chunk-3R6PQUG2.mjs} +3 -264
- package/dist/chunk-3R6PQUG2.mjs.map +1 -0
- package/dist/{chunk-AS34PVUG.mjs → chunk-3Z6L24ZK.js} +11 -221
- package/dist/{chunk-IW2E4MLG.js.map → chunk-3Z6L24ZK.js.map} +1 -1
- package/dist/{chunk-DBW25HOR.mjs → chunk-44G3U35C.js} +12 -413
- package/dist/chunk-44G3U35C.js.map +1 -0
- package/dist/chunk-456OEGUT.mjs +58 -0
- package/dist/chunk-456OEGUT.mjs.map +1 -0
- package/dist/{chunk-URXYF25P.mjs → chunk-45CGVW7S.js} +12 -205
- package/dist/chunk-45CGVW7S.js.map +1 -0
- package/dist/chunk-4FU6FDUT.mjs +202 -0
- package/dist/chunk-4FU6FDUT.mjs.map +1 -0
- package/dist/chunk-4LVEWKXF.mjs +258 -0
- package/dist/chunk-4LVEWKXF.mjs.map +1 -0
- package/dist/{chunk-3IBWZM52.js → chunk-4QLWSXXO.mjs} +3 -209
- package/dist/chunk-4QLWSXXO.mjs.map +1 -0
- package/dist/{chunk-DMDCXYNN.js → chunk-4U7CDEN7.mjs} +3 -51
- package/dist/chunk-4U7CDEN7.mjs.map +1 -0
- package/dist/{chunk-6GPUHFXI.mjs → chunk-56DECC6D.js} +16 -220
- package/dist/chunk-56DECC6D.js.map +1 -0
- package/dist/chunk-56KZVM5D.mjs +159 -0
- package/dist/chunk-56KZVM5D.mjs.map +1 -0
- package/dist/{chunk-VJSME7ML.js → chunk-5BSYGFN7.mjs} +3 -162
- package/dist/chunk-5BSYGFN7.mjs.map +1 -0
- package/dist/chunk-5J6QMTES.js +655 -0
- package/dist/chunk-5J6QMTES.js.map +1 -0
- package/dist/{chunk-XIG2QDVN.js → chunk-5QSYJHWL.mjs} +3 -73
- package/dist/chunk-5QSYJHWL.mjs.map +1 -0
- package/dist/{chunk-WVBFSJEB.js → chunk-5R6XJAXQ.mjs} +3 -574
- package/dist/chunk-5R6XJAXQ.mjs.map +1 -0
- package/dist/{chunk-KIAYTBS5.js → chunk-5WWD3TZ2.mjs} +3 -129
- package/dist/chunk-5WWD3TZ2.mjs.map +1 -0
- package/dist/{chunk-4GVMPQZS.js → chunk-63UE3BR4.mjs} +3 -77
- package/dist/chunk-63UE3BR4.mjs.map +1 -0
- package/dist/chunk-63YMCBGJ.js +217 -0
- package/dist/chunk-63YMCBGJ.js.map +1 -0
- package/dist/chunk-7GIL24GK.js +354 -0
- package/dist/chunk-7GIL24GK.js.map +1 -0
- package/dist/chunk-7JBQ3ZJN.mjs +250 -0
- package/dist/chunk-7JBQ3ZJN.mjs.map +1 -0
- package/dist/{chunk-4WRCXG5E.mjs → chunk-7LFRU6AW.js} +16 -704
- package/dist/{chunk-XYKDSHRG.js.map → chunk-7LFRU6AW.js.map} +1 -1
- package/dist/{chunk-6ONKAOI7.mjs → chunk-7M4TUP4I.js} +8 -190
- package/dist/chunk-7M4TUP4I.js.map +1 -0
- package/dist/{chunk-XOYCFLEZ.mjs → chunk-AADGUMYW.js} +12 -349
- package/dist/chunk-AADGUMYW.js.map +1 -0
- package/dist/chunk-AQHY4S33.js +19 -0
- package/dist/chunk-AQHY4S33.js.map +1 -0
- package/dist/chunk-ATMCT3A3.mjs +222 -0
- package/dist/chunk-ATMCT3A3.mjs.map +1 -0
- package/dist/chunk-BDBL4XXI.mjs +45 -0
- package/dist/chunk-BDBL4XXI.mjs.map +1 -0
- package/dist/{chunk-U7FZ5RMV.js → chunk-BTSCPOWZ.mjs} +3 -424
- package/dist/chunk-BTSCPOWZ.mjs.map +1 -0
- package/dist/chunk-BZZVO4GL.mjs +414 -0
- package/dist/chunk-BZZVO4GL.mjs.map +1 -0
- package/dist/chunk-C7F6OCGK.mjs +123 -0
- package/dist/chunk-C7F6OCGK.mjs.map +1 -0
- package/dist/chunk-D4B62J5C.js +128 -0
- package/dist/chunk-D4B62J5C.js.map +1 -0
- package/dist/{chunk-REDZL4DY.mjs → chunk-DWDDIG6R.js} +9 -160
- package/dist/chunk-DWDDIG6R.js.map +1 -0
- package/dist/{chunk-UMXCV5IT.mjs → chunk-E7BPOL74.js} +13 -249
- package/dist/chunk-E7BPOL74.js.map +1 -0
- package/dist/chunk-EIX26RKN.js +73 -0
- package/dist/chunk-EIX26RKN.js.map +1 -0
- package/dist/chunk-EKBSSKJQ.js +271 -0
- package/dist/chunk-EKBSSKJQ.js.map +1 -0
- package/dist/{chunk-2RBUROXJ.js → chunk-EP7WTIKH.mjs} +3 -238
- package/dist/chunk-EP7WTIKH.mjs.map +1 -0
- package/dist/chunk-F6V74YMW.js +71 -0
- package/dist/chunk-F6V74YMW.js.map +1 -0
- package/dist/{chunk-S4NQTWMW.mjs → chunk-FNNIH7R2.js} +10 -61
- package/dist/chunk-FNNIH7R2.js.map +1 -0
- package/dist/chunk-FXDHDQTH.js +79 -0
- package/dist/chunk-FXDHDQTH.js.map +1 -0
- package/dist/chunk-FZET7XQV.js +169 -0
- package/dist/chunk-FZET7XQV.js.map +1 -0
- package/dist/chunk-GDYSB7SB.js +78 -0
- package/dist/chunk-GDYSB7SB.js.map +1 -0
- package/dist/chunk-GPM2PRC5.js +61 -0
- package/dist/chunk-GPM2PRC5.js.map +1 -0
- package/dist/chunk-GVGKISKD.js +170 -0
- package/dist/chunk-GVGKISKD.js.map +1 -0
- package/dist/chunk-I4TGI6U3.mjs +558 -0
- package/dist/chunk-I4TGI6U3.mjs.map +1 -0
- package/dist/chunk-I55QC57T.js +47 -0
- package/dist/chunk-I55QC57T.js.map +1 -0
- package/dist/chunk-I5TREZO5.js +263 -0
- package/dist/chunk-I5TREZO5.js.map +1 -0
- package/dist/chunk-IPUQBMAB.mjs +205 -0
- package/dist/chunk-IPUQBMAB.mjs.map +1 -0
- package/dist/chunk-IQ6QVIZ3.mjs +69 -0
- package/dist/chunk-IQ6QVIZ3.mjs.map +1 -0
- package/dist/{chunk-CARQELOX.mjs → chunk-ISXAUMRW.js} +8 -46
- package/dist/chunk-ISXAUMRW.js.map +1 -0
- package/dist/{chunk-WRHUWKZS.js → chunk-IULYVARJ.mjs} +3 -130
- package/dist/chunk-IULYVARJ.mjs.map +1 -0
- package/dist/chunk-J5LGTIGS.mjs +9 -0
- package/dist/chunk-J5LGTIGS.mjs.map +1 -0
- package/dist/chunk-J6XKTPP5.js +61 -0
- package/dist/chunk-J6XKTPP5.js.map +1 -0
- package/dist/{chunk-HI54NLVM.js → chunk-JF4BRFOG.mjs} +3 -128
- package/dist/chunk-JF4BRFOG.mjs.map +1 -0
- package/dist/{chunk-JGSQZZHF.js → chunk-JI3IEKH6.mjs} +3 -212
- package/dist/chunk-JI3IEKH6.mjs.map +1 -0
- package/dist/{chunk-6VZGM4DI.mjs → chunk-JTMRSRYD.js} +11 -118
- package/dist/chunk-JTMRSRYD.js.map +1 -0
- package/dist/chunk-KEGOUZL5.js +209 -0
- package/dist/chunk-KEGOUZL5.js.map +1 -0
- package/dist/{chunk-B3LCKPBX.js → chunk-KXNMW4NV.mjs} +3 -170
- package/dist/chunk-KXNMW4NV.mjs.map +1 -0
- package/dist/chunk-L4PDJ6IB.mjs +17 -0
- package/dist/chunk-L4PDJ6IB.mjs.map +1 -0
- package/dist/{chunk-OEDD43IT.mjs → chunk-L67EJJFN.js} +9 -68
- package/dist/chunk-L67EJJFN.js.map +1 -0
- package/dist/{chunk-7XHWUEQR.mjs → chunk-L6AS5AVO.js} +10 -250
- package/dist/chunk-L6AS5AVO.js.map +1 -0
- package/dist/chunk-L6PSW7JE.mjs +206 -0
- package/dist/chunk-L6PSW7JE.mjs.map +1 -0
- package/dist/{chunk-IW2E4MLG.js → chunk-LL2UY6CD.mjs} +3 -231
- package/dist/chunk-LL2UY6CD.mjs.map +1 -0
- package/dist/chunk-LLNK24MM.js +67 -0
- package/dist/chunk-LLNK24MM.js.map +1 -0
- package/dist/{chunk-UOZZUWIX.js → chunk-LQPKZ5ZD.js} +6 -6
- package/dist/{chunk-UOZZUWIX.js.map → chunk-LQPKZ5ZD.js.map} +1 -1
- package/dist/{chunk-XJFDGKZO.mjs → chunk-LU6VEI4B.js} +12 -204
- package/dist/chunk-LU6VEI4B.js.map +1 -0
- package/dist/chunk-MCYFKM7T.js +62 -0
- package/dist/chunk-MCYFKM7T.js.map +1 -0
- package/dist/chunk-MUKI3OHH.js +215 -0
- package/dist/chunk-MUKI3OHH.js.map +1 -0
- package/dist/chunk-N2RUT33F.mjs +68 -0
- package/dist/chunk-N2RUT33F.mjs.map +1 -0
- package/dist/chunk-NAHHFB2M.js +77 -0
- package/dist/chunk-NAHHFB2M.js.map +1 -0
- package/dist/chunk-NMBSK44H.mjs +44 -0
- package/dist/chunk-NMBSK44H.mjs.map +1 -0
- package/dist/chunk-NVTV3EQB.js +49 -0
- package/dist/chunk-NVTV3EQB.js.map +1 -0
- package/dist/chunk-NWMSIYZP.js +574 -0
- package/dist/chunk-NWMSIYZP.js.map +1 -0
- package/dist/{chunk-AFBKMQMK.js → chunk-NXNL64Q7.mjs} +3 -354
- package/dist/chunk-NXNL64Q7.mjs.map +1 -0
- package/dist/chunk-O23PJPGM.mjs +251 -0
- package/dist/chunk-O23PJPGM.mjs.map +1 -0
- package/dist/chunk-O6R6OQXI.mjs +204 -0
- package/dist/chunk-O6R6OQXI.mjs.map +1 -0
- package/dist/chunk-ODT5TFIT.mjs +156 -0
- package/dist/chunk-ODT5TFIT.mjs.map +1 -0
- package/dist/{chunk-VX56EVPF.mjs → chunk-OGMIKRLJ.js} +8 -98
- package/dist/chunk-OGMIKRLJ.js.map +1 -0
- package/dist/chunk-OOBA2MDD.mjs +57 -0
- package/dist/chunk-OOBA2MDD.mjs.map +1 -0
- package/dist/chunk-OPACTZGV.js +231 -0
- package/dist/chunk-OPACTZGV.js.map +1 -0
- package/dist/{chunk-NUYNJV5U.mjs → chunk-OPUO55TO.mjs} +3 -3
- package/dist/{chunk-NUYNJV5U.mjs.map → chunk-OPUO55TO.mjs.map} +1 -1
- package/dist/{chunk-PZBTZGJE.js → chunk-OQCI2IVL.mjs} +3 -271
- package/dist/chunk-OQCI2IVL.mjs.map +1 -0
- package/dist/{chunk-7PIOCFV3.mjs → chunk-P25NI2HG.js} +9 -124
- package/dist/chunk-P25NI2HG.js.map +1 -0
- package/dist/chunk-P2DQP4J4.js +424 -0
- package/dist/chunk-P2DQP4J4.js.map +1 -0
- package/dist/{chunk-KC77BXBC.js → chunk-P43A2BPU.mjs} +3 -215
- package/dist/chunk-P43A2BPU.mjs.map +1 -0
- package/dist/chunk-P54PZ72L.mjs +65 -0
- package/dist/chunk-P54PZ72L.mjs.map +1 -0
- package/dist/chunk-PAJYNQR3.mjs +150 -0
- package/dist/chunk-PAJYNQR3.mjs.map +1 -0
- package/dist/chunk-PKXDRTC7.js +264 -0
- package/dist/chunk-PKXDRTC7.js.map +1 -0
- package/dist/chunk-PNAFXOZC.mjs +69 -0
- package/dist/chunk-PNAFXOZC.mjs.map +1 -0
- package/dist/chunk-PUSCPBT2.mjs +46 -0
- package/dist/chunk-PUSCPBT2.mjs.map +1 -0
- package/dist/chunk-PZ5AY32C.js +11 -0
- package/dist/chunk-PZ5AY32C.js.map +1 -0
- package/dist/chunk-Q2NE2UAO.mjs +119 -0
- package/dist/chunk-Q2NE2UAO.mjs.map +1 -0
- package/dist/chunk-QDHARZDN.js +129 -0
- package/dist/chunk-QDHARZDN.js.map +1 -0
- package/dist/chunk-QIUVXTLE.mjs +60 -0
- package/dist/chunk-QIUVXTLE.mjs.map +1 -0
- package/dist/chunk-QKZR2UTL.mjs +125 -0
- package/dist/chunk-QKZR2UTL.mjs.map +1 -0
- package/dist/{chunk-O233I5N7.mjs → chunk-QTFOUK4H.js} +15 -149
- package/dist/chunk-QTFOUK4H.js.map +1 -0
- package/dist/chunk-QW2ZHKPC.mjs +64 -0
- package/dist/chunk-QW2ZHKPC.mjs.map +1 -0
- package/dist/{chunk-RFBTMJ2Z.mjs → chunk-R2256VSD.js} +16 -557
- package/dist/chunk-R2256VSD.js.map +1 -0
- package/dist/chunk-RYJ5WEE3.js +101 -0
- package/dist/chunk-RYJ5WEE3.js.map +1 -0
- package/dist/{chunk-YFXGRV7X.mjs → chunk-S4OSJ4ZN.js} +9 -155
- package/dist/chunk-S4OSJ4ZN.js.map +1 -0
- package/dist/{chunk-SRLYXLUU.js → chunk-SWU5U5BB.mjs} +3 -217
- package/dist/chunk-SWU5U5BB.mjs.map +1 -0
- package/dist/chunk-SYFTQAZG.mjs +58 -0
- package/dist/chunk-SYFTQAZG.mjs.map +1 -0
- package/dist/{chunk-JRB22VVK.js → chunk-T5SPR27V.mjs} +3 -166
- package/dist/chunk-T5SPR27V.mjs.map +1 -0
- package/dist/{chunk-KLGB3FYE.js → chunk-TD4W3AHI.mjs} +3 -263
- package/dist/chunk-TD4W3AHI.mjs.map +1 -0
- package/dist/chunk-TMFXI5FH.mjs +52 -0
- package/dist/chunk-TMFXI5FH.mjs.map +1 -0
- package/dist/{chunk-QCHHXFJQ.js → chunk-UJBXDDHN.mjs} +4 -102
- package/dist/chunk-UJBXDDHN.mjs.map +1 -0
- package/dist/chunk-USLP5NY6.js +69 -0
- package/dist/chunk-USLP5NY6.js.map +1 -0
- package/dist/{chunk-W73CZFMA.mjs → chunk-UU34Q42Q.js} +7 -201
- package/dist/chunk-UU34Q42Q.js.map +1 -0
- package/dist/chunk-V4FFKIX3.js +166 -0
- package/dist/chunk-V4FFKIX3.js.map +1 -0
- package/dist/{chunk-VGVB5XZX.js → chunk-V4U6Q5NL.mjs} +3 -204
- package/dist/chunk-V4U6Q5NL.mjs.map +1 -0
- package/dist/chunk-VIKQGO4W.mjs +636 -0
- package/dist/chunk-VIKQGO4W.mjs.map +1 -0
- package/dist/chunk-VUIWYURS.js +162 -0
- package/dist/chunk-VUIWYURS.js.map +1 -0
- package/dist/chunk-VWHER5XN.js +65 -0
- package/dist/chunk-VWHER5XN.js.map +1 -0
- package/dist/chunk-WBRTXAKP.js +705 -0
- package/dist/chunk-WBRTXAKP.js.map +1 -0
- package/dist/chunk-WN7XWKAS.mjs +52 -0
- package/dist/chunk-WN7XWKAS.mjs.map +1 -0
- package/dist/{chunk-XYKDSHRG.js → chunk-X3N4EVF7.mjs} +3 -707
- package/dist/chunk-X3N4EVF7.mjs.map +1 -0
- package/dist/chunk-XPHD3X4L.mjs +98 -0
- package/dist/chunk-XPHD3X4L.mjs.map +1 -0
- package/dist/chunk-Y4YQSCNL.js +65 -0
- package/dist/chunk-Y4YQSCNL.js.map +1 -0
- package/dist/chunk-Y73U7C4T.js +238 -0
- package/dist/chunk-Y73U7C4T.js.map +1 -0
- package/dist/{chunk-ENV73575.mjs → chunk-Y7NRTCAT.js} +10 -122
- package/dist/chunk-Y7NRTCAT.js.map +1 -0
- package/dist/{chunk-ZZ53RJNH.js → chunk-YDKAE7RM.mjs} +3 -69
- package/dist/chunk-YDKAE7RM.mjs.map +1 -0
- package/dist/{chunk-VO7LNOC5.mjs → chunk-YN4ZS3R2.js} +10 -257
- package/dist/chunk-YN4ZS3R2.js.map +1 -0
- package/dist/chunk-ZCTSXNAE.mjs +221 -0
- package/dist/chunk-ZCTSXNAE.mjs.map +1 -0
- package/dist/chunk-ZFNVFMWG.mjs +703 -0
- package/dist/chunk-ZFNVFMWG.mjs.map +1 -0
- package/dist/chunk-ZITS2V53.js +130 -0
- package/dist/chunk-ZITS2V53.js.map +1 -0
- package/dist/chunk-ZY6O6Z2I.mjs +350 -0
- package/dist/chunk-ZY6O6Z2I.mjs.map +1 -0
- package/dist/design-system/button.d.ts +1 -1
- package/dist/design-system/copy-button.d.ts +1 -1
- package/dist/design-system/facade.js +403 -0
- package/dist/design-system/facade.js.map +1 -0
- package/dist/design-system/facade.mjs +401 -0
- package/dist/design-system/facade.mjs.map +1 -0
- package/dist/design-system/tokens.js +1 -0
- package/dist/design-system/tokens.mjs +1 -0
- package/dist/hooks/useBodyScrollLock.js +1 -0
- package/dist/hooks/useBodyScrollLock.mjs +1 -0
- package/dist/hooks/useClickOutside.js +1 -0
- package/dist/hooks/useClickOutside.mjs +1 -0
- package/dist/hooks/useClipboard.js +1 -0
- package/dist/hooks/useClipboard.mjs +1 -0
- package/dist/hooks/useControllableState.js +1 -0
- package/dist/hooks/useControllableState.mjs +1 -0
- package/dist/hooks/useDebouncedValue.js +1 -1
- package/dist/hooks/useDebouncedValue.mjs +1 -1
- package/dist/hooks/useDisclosure.js +1 -0
- package/dist/hooks/useDisclosure.js.map +1 -1
- package/dist/hooks/useDisclosure.mjs +1 -0
- package/dist/hooks/useDisclosure.mjs.map +1 -1
- package/dist/hooks/useDocumentTitle.js +1 -1
- package/dist/hooks/useDocumentTitle.mjs +1 -1
- package/dist/hooks/useDynamicStepper.js +1 -0
- package/dist/hooks/useDynamicStepper.mjs +1 -0
- package/dist/hooks/useFocusManagement.js +1 -0
- package/dist/hooks/useFocusManagement.mjs +1 -0
- package/dist/hooks/useHover.js +1 -1
- package/dist/hooks/useHover.mjs +1 -1
- package/dist/hooks/useInView.js +1 -0
- package/dist/hooks/useInView.js.map +1 -1
- package/dist/hooks/useInView.mjs +1 -0
- package/dist/hooks/useInView.mjs.map +1 -1
- package/dist/hooks/useIntersectionObserver.js +1 -0
- package/dist/hooks/useIntersectionObserver.mjs +1 -0
- package/dist/hooks/useIsMounted.js +1 -1
- package/dist/hooks/useIsMounted.mjs +1 -1
- package/dist/hooks/useIsomorphicLayoutEffect.js +1 -0
- package/dist/hooks/useIsomorphicLayoutEffect.mjs +1 -0
- package/dist/hooks/useLocalStorage.js +1 -1
- package/dist/hooks/useLocalStorage.mjs +1 -1
- package/dist/hooks/useMediaQuery.js +1 -0
- package/dist/hooks/useMediaQuery.mjs +1 -0
- package/dist/hooks/useNetworkStatus.js +1 -1
- package/dist/hooks/useNetworkStatus.mjs +1 -1
- package/dist/hooks/usePageVisibility.js +1 -1
- package/dist/hooks/usePageVisibility.mjs +1 -1
- package/dist/hooks/usePagination.js +1 -0
- package/dist/hooks/usePagination.mjs +1 -0
- package/dist/hooks/usePrefersColorScheme.js +1 -0
- package/dist/hooks/usePrefersColorScheme.js.map +1 -1
- package/dist/hooks/usePrefersColorScheme.mjs +1 -0
- package/dist/hooks/usePrefersColorScheme.mjs.map +1 -1
- package/dist/hooks/usePrefersReducedMotion.js +1 -0
- package/dist/hooks/usePrefersReducedMotion.js.map +1 -1
- package/dist/hooks/usePrefersReducedMotion.mjs +1 -0
- package/dist/hooks/usePrefersReducedMotion.mjs.map +1 -1
- package/dist/hooks/useResizeObserver.js +1 -0
- package/dist/hooks/useResizeObserver.mjs +1 -0
- package/dist/hooks/useSessionStorage.js +1 -1
- package/dist/hooks/useSessionStorage.mjs +1 -1
- package/dist/hooks/useTableFilter.js +1 -1
- package/dist/hooks/useTableFilter.mjs +1 -1
- package/dist/hooks/useTableSort.js +1 -1
- package/dist/hooks/useTableSort.mjs +1 -1
- package/dist/hooks/useThrottledCallback.js +1 -1
- package/dist/hooks/useThrottledCallback.mjs +1 -1
- package/dist/hooks/useToggle.js +1 -1
- package/dist/hooks/useToggle.mjs +1 -1
- package/dist/hooks/useWindowSize.js +1 -1
- package/dist/hooks/useWindowSize.mjs +1 -1
- package/dist/hooks/utils.js +1 -0
- package/dist/hooks/utils.mjs +1 -0
- package/dist/lib/facade.d.ts +53 -0
- package/dist/lib/facade.d.ts.map +1 -0
- package/dist/ui/accordion/animated.js +9 -7
- package/dist/ui/accordion/animated.js.map +1 -1
- package/dist/ui/accordion/animated.mjs +4 -2
- package/dist/ui/accordion/animated.mjs.map +1 -1
- package/dist/ui/accordion.js +11 -9
- package/dist/ui/accordion.js.map +1 -1
- package/dist/ui/accordion.mjs +4 -2
- package/dist/ui/accordion.mjs.map +1 -1
- package/dist/ui/alert/animated.js +4 -2
- package/dist/ui/alert/animated.js.map +1 -1
- package/dist/ui/alert/animated.mjs +3 -1
- package/dist/ui/alert/animated.mjs.map +1 -1
- package/dist/ui/alert.js +12 -10
- package/dist/ui/alert.js.map +1 -1
- package/dist/ui/alert.mjs +4 -2
- package/dist/ui/alert.mjs.map +1 -1
- package/dist/ui/animated-number.js +5 -58
- package/dist/ui/animated-number.js.map +1 -1
- package/dist/ui/animated-number.mjs +2 -55
- package/dist/ui/animated-number.mjs.map +1 -1
- package/dist/ui/avatar/animated.js +7 -5
- package/dist/ui/avatar/animated.js.map +1 -1
- package/dist/ui/avatar/animated.mjs +4 -2
- package/dist/ui/avatar/animated.mjs.map +1 -1
- package/dist/ui/avatar.js +11 -9
- package/dist/ui/avatar.js.map +1 -1
- package/dist/ui/avatar.mjs +4 -2
- package/dist/ui/avatar.mjs.map +1 -1
- package/dist/ui/badge/animated.js +4 -2
- package/dist/ui/badge/animated.js.map +1 -1
- package/dist/ui/badge/animated.mjs +3 -1
- package/dist/ui/badge/animated.mjs.map +1 -1
- package/dist/ui/badge.js +6 -4
- package/dist/ui/badge.js.map +1 -1
- package/dist/ui/badge.mjs +4 -2
- package/dist/ui/badge.mjs.map +1 -1
- package/dist/ui/breadcrumb.js +10 -58
- package/dist/ui/breadcrumb.js.map +1 -1
- package/dist/ui/breadcrumb.mjs +2 -50
- package/dist/ui/breadcrumb.mjs.map +1 -1
- package/dist/ui/buttons/animated.js +43 -3
- package/dist/ui/buttons/animated.js.map +1 -1
- package/dist/ui/buttons/animated.mjs +41 -1
- package/dist/ui/buttons/animated.mjs.map +1 -1
- package/dist/ui/buttons.js +44 -4
- package/dist/ui/buttons.mjs +42 -2
- package/dist/ui/card/animated.js +9 -7
- package/dist/ui/card/animated.js.map +1 -1
- package/dist/ui/card/animated.mjs +4 -2
- package/dist/ui/card/animated.mjs.map +1 -1
- package/dist/ui/card.js +14 -12
- package/dist/ui/card.js.map +1 -1
- package/dist/ui/card.mjs +4 -2
- package/dist/ui/card.mjs.map +1 -1
- package/dist/ui/checkbox/animated.js +6 -4
- package/dist/ui/checkbox/animated.js.map +1 -1
- package/dist/ui/checkbox/animated.mjs +3 -1
- package/dist/ui/checkbox/animated.mjs.map +1 -1
- package/dist/ui/checkbox.js +10 -8
- package/dist/ui/checkbox.js.map +1 -1
- package/dist/ui/checkbox.mjs +4 -2
- package/dist/ui/checkbox.mjs.map +1 -1
- package/dist/ui/command/animated.js +4 -2
- package/dist/ui/command/animated.js.map +1 -1
- package/dist/ui/command/animated.mjs +3 -1
- package/dist/ui/command/animated.mjs.map +1 -1
- package/dist/ui/command.js +17 -15
- package/dist/ui/command.js.map +1 -1
- package/dist/ui/command.mjs +4 -2
- package/dist/ui/command.mjs.map +1 -1
- package/dist/ui/context-menu.js +9 -59
- package/dist/ui/context-menu.js.map +1 -1
- package/dist/ui/context-menu.mjs +3 -53
- package/dist/ui/context-menu.mjs.map +1 -1
- package/dist/ui/copy-button/animated.js +4 -2
- package/dist/ui/copy-button/animated.js.map +1 -1
- package/dist/ui/copy-button/animated.mjs +3 -1
- package/dist/ui/copy-button/animated.mjs.map +1 -1
- package/dist/ui/copy-button.js +5 -3
- package/dist/ui/copy-button.js.map +1 -1
- package/dist/ui/copy-button.mjs +4 -2
- package/dist/ui/copy-button.mjs.map +1 -1
- package/dist/ui/divider/animated.js +4 -2
- package/dist/ui/divider/animated.js.map +1 -1
- package/dist/ui/divider/animated.mjs +3 -1
- package/dist/ui/divider/animated.mjs.map +1 -1
- package/dist/ui/divider.js +8 -6
- package/dist/ui/divider.js.map +1 -1
- package/dist/ui/divider.mjs +4 -2
- package/dist/ui/divider.mjs.map +1 -1
- package/dist/ui/drawer/animated.js +13 -11
- package/dist/ui/drawer/animated.js.map +1 -1
- package/dist/ui/drawer/animated.mjs +4 -2
- package/dist/ui/drawer/animated.mjs.map +1 -1
- package/dist/ui/drawer.js +13 -11
- package/dist/ui/drawer.mjs +3 -1
- package/dist/ui/dropdown.js +1 -0
- package/dist/ui/dropdown.js.map +1 -1
- package/dist/ui/dropdown.mjs +1 -0
- package/dist/ui/dropdown.mjs.map +1 -1
- package/dist/ui/dynamic-stepper.js +53 -132
- package/dist/ui/dynamic-stepper.js.map +1 -1
- package/dist/ui/dynamic-stepper.mjs +42 -121
- package/dist/ui/dynamic-stepper.mjs.map +1 -1
- package/dist/ui/empty-state/animated.js +4 -2
- package/dist/ui/empty-state/animated.js.map +1 -1
- package/dist/ui/empty-state/animated.mjs +3 -1
- package/dist/ui/empty-state/animated.mjs.map +1 -1
- package/dist/ui/empty-state.js +12 -10
- package/dist/ui/empty-state.js.map +1 -1
- package/dist/ui/empty-state.mjs +4 -2
- package/dist/ui/empty-state.mjs.map +1 -1
- package/dist/ui/file-upload.js +4 -44
- package/dist/ui/file-upload.js.map +1 -1
- package/dist/ui/file-upload.mjs +2 -42
- package/dist/ui/file-upload.mjs.map +1 -1
- package/dist/ui/inputs/animated.js +5 -3
- package/dist/ui/inputs/animated.js.map +1 -1
- package/dist/ui/inputs/animated.mjs +3 -1
- package/dist/ui/inputs/animated.mjs.map +1 -1
- package/dist/ui/inputs.js +6 -4
- package/dist/ui/inputs.js.map +1 -1
- package/dist/ui/inputs.mjs +4 -2
- package/dist/ui/inputs.mjs.map +1 -1
- package/dist/ui/kbd/animated.js +4 -2
- package/dist/ui/kbd/animated.js.map +1 -1
- package/dist/ui/kbd/animated.mjs +3 -1
- package/dist/ui/kbd/animated.mjs.map +1 -1
- package/dist/ui/kbd.js +6 -4
- package/dist/ui/kbd.js.map +1 -1
- package/dist/ui/kbd.mjs +4 -2
- package/dist/ui/kbd.mjs.map +1 -1
- package/dist/ui/marquee.js +7 -68
- package/dist/ui/marquee.js.map +1 -1
- package/dist/ui/marquee.mjs +2 -63
- package/dist/ui/marquee.mjs.map +1 -1
- package/dist/ui/modal/animated.js +6 -4
- package/dist/ui/modal/animated.js.map +1 -1
- package/dist/ui/modal/animated.mjs +3 -1
- package/dist/ui/modal/animated.mjs.map +1 -1
- package/dist/ui/modal.js +14 -12
- package/dist/ui/modal.js.map +1 -1
- package/dist/ui/modal.mjs +4 -2
- package/dist/ui/modal.mjs.map +1 -1
- package/dist/ui/otp-input.js +11 -57
- package/dist/ui/otp-input.js.map +1 -1
- package/dist/ui/otp-input.mjs +2 -48
- package/dist/ui/otp-input.mjs.map +1 -1
- package/dist/ui/pagination.js +49 -95
- package/dist/ui/pagination.js.map +1 -1
- package/dist/ui/pagination.mjs +41 -87
- package/dist/ui/pagination.mjs.map +1 -1
- package/dist/ui/popover/animated.js +6 -4
- package/dist/ui/popover/animated.js.map +1 -1
- package/dist/ui/popover/animated.mjs +3 -1
- package/dist/ui/popover/animated.mjs.map +1 -1
- package/dist/ui/popover.js +9 -7
- package/dist/ui/popover.mjs +3 -1
- package/dist/ui/progress/animated.js +10 -8
- package/dist/ui/progress/animated.js.map +1 -1
- package/dist/ui/progress/animated.mjs +4 -2
- package/dist/ui/progress/animated.mjs.map +1 -1
- package/dist/ui/progress/variants.d.ts +2 -2
- package/dist/ui/progress.js +11 -9
- package/dist/ui/progress.js.map +1 -1
- package/dist/ui/progress.mjs +4 -2
- package/dist/ui/progress.mjs.map +1 -1
- package/dist/ui/radio-group/animated.js +9 -7
- package/dist/ui/radio-group/animated.js.map +1 -1
- package/dist/ui/radio-group/animated.mjs +3 -1
- package/dist/ui/radio-group/animated.mjs.map +1 -1
- package/dist/ui/radio-group.js +13 -11
- package/dist/ui/radio-group.js.map +1 -1
- package/dist/ui/radio-group.mjs +4 -2
- package/dist/ui/radio-group.mjs.map +1 -1
- package/dist/ui/rating.js +12 -74
- package/dist/ui/rating.js.map +1 -1
- package/dist/ui/rating.mjs +2 -64
- package/dist/ui/rating.mjs.map +1 -1
- package/dist/ui/scroll-area.js +8 -62
- package/dist/ui/scroll-area.js.map +1 -1
- package/dist/ui/scroll-area.mjs +2 -56
- package/dist/ui/scroll-area.mjs.map +1 -1
- package/dist/ui/search.js +4 -2
- package/dist/ui/search.js.map +1 -1
- package/dist/ui/search.mjs +3 -1
- package/dist/ui/search.mjs.map +1 -1
- package/dist/ui/select.js +12 -167
- package/dist/ui/select.js.map +1 -1
- package/dist/ui/select.mjs +2 -157
- package/dist/ui/select.mjs.map +1 -1
- package/dist/ui/skeleton/animated.js +10 -8
- package/dist/ui/skeleton/animated.js.map +1 -1
- package/dist/ui/skeleton/animated.mjs +3 -1
- package/dist/ui/skeleton/animated.mjs.map +1 -1
- package/dist/ui/skeleton.js +11 -9
- package/dist/ui/skeleton.mjs +3 -1
- package/dist/ui/slider.js +10 -75
- package/dist/ui/slider.js.map +1 -1
- package/dist/ui/slider.mjs +2 -67
- package/dist/ui/slider.mjs.map +1 -1
- package/dist/ui/spinner/animated.js +6 -66
- package/dist/ui/spinner/animated.js.map +1 -1
- package/dist/ui/spinner/animated.mjs +2 -62
- package/dist/ui/spinner/animated.mjs.map +1 -1
- package/dist/ui/table/animated.js +10 -8
- package/dist/ui/table/animated.js.map +1 -1
- package/dist/ui/table/animated.mjs +4 -2
- package/dist/ui/table/animated.mjs.map +1 -1
- package/dist/ui/table.js +16 -14
- package/dist/ui/table.mjs +3 -1
- package/dist/ui/tabs/animated.js +4 -2
- package/dist/ui/tabs/animated.js.map +1 -1
- package/dist/ui/tabs/animated.mjs +3 -1
- package/dist/ui/tabs/animated.mjs.map +1 -1
- package/dist/ui/tabs.js +11 -9
- package/dist/ui/tabs.mjs +3 -1
- package/dist/ui/timeline/animated.js +13 -11
- package/dist/ui/timeline/animated.js.map +1 -1
- package/dist/ui/timeline/animated.mjs +4 -2
- package/dist/ui/timeline/animated.mjs.map +1 -1
- package/dist/ui/timeline.js +16 -14
- package/dist/ui/timeline.js.map +1 -1
- package/dist/ui/timeline.mjs +4 -2
- package/dist/ui/timeline.mjs.map +1 -1
- package/dist/ui/toast/animated.js +9 -7
- package/dist/ui/toast/animated.js.map +1 -1
- package/dist/ui/toast/animated.mjs +3 -1
- package/dist/ui/toast/animated.mjs.map +1 -1
- package/dist/ui/toast.js +14 -12
- package/dist/ui/toast.mjs +3 -1
- package/dist/ui/toggle/animated.js +6 -4
- package/dist/ui/toggle/animated.js.map +1 -1
- package/dist/ui/toggle/animated.mjs +3 -1
- package/dist/ui/toggle/animated.mjs.map +1 -1
- package/dist/ui/toggle.js +6 -4
- package/dist/ui/toggle.js.map +1 -1
- package/dist/ui/toggle.mjs +4 -2
- package/dist/ui/toggle.mjs.map +1 -1
- package/dist/ui/tooltip/animated.js +5 -3
- package/dist/ui/tooltip/animated.js.map +1 -1
- package/dist/ui/tooltip/animated.mjs +3 -1
- package/dist/ui/tooltip/animated.mjs.map +1 -1
- package/dist/ui/tooltip.js +9 -7
- package/dist/ui/tooltip.mjs +3 -1
- package/dist/ui/tree-view/animated.js +4 -2
- package/dist/ui/tree-view/animated.js.map +1 -1
- package/dist/ui/tree-view/animated.mjs +3 -1
- package/dist/ui/tree-view/animated.mjs.map +1 -1
- package/dist/ui/tree-view.js +7 -5
- package/dist/ui/tree-view.js.map +1 -1
- package/dist/ui/tree-view.mjs +4 -2
- package/dist/ui/tree-view.mjs.map +1 -1
- package/dist/ui/typography.js +9 -51
- package/dist/ui/typography.js.map +1 -1
- package/dist/ui/typography.mjs +2 -44
- package/dist/ui/typography.mjs.map +1 -1
- package/package.json +7 -2
- package/src/design-system/button.ts +1 -1
- package/src/design-system/copy-button.ts +1 -1
- package/src/lib/facade.test.ts +182 -0
- package/src/lib/facade.ts +805 -0
- package/dist/chunk-2RBUROXJ.js.map +0 -1
- package/dist/chunk-3IBWZM52.js.map +0 -1
- package/dist/chunk-3RHJJZIT.js +0 -98
- package/dist/chunk-3RHJJZIT.js.map +0 -1
- package/dist/chunk-4GVMPQZS.js.map +0 -1
- package/dist/chunk-4WRCXG5E.mjs.map +0 -1
- package/dist/chunk-6GPUHFXI.mjs.map +0 -1
- package/dist/chunk-6ONKAOI7.mjs.map +0 -1
- package/dist/chunk-6VZGM4DI.mjs.map +0 -1
- package/dist/chunk-7PIOCFV3.mjs.map +0 -1
- package/dist/chunk-7XHWUEQR.mjs.map +0 -1
- package/dist/chunk-AFBKMQMK.js.map +0 -1
- package/dist/chunk-AS34PVUG.mjs.map +0 -1
- package/dist/chunk-B3LCKPBX.js.map +0 -1
- package/dist/chunk-CARQELOX.mjs.map +0 -1
- package/dist/chunk-CCVQ5KX6.mjs +0 -96
- package/dist/chunk-CCVQ5KX6.mjs.map +0 -1
- package/dist/chunk-DBW25HOR.mjs.map +0 -1
- package/dist/chunk-DMDCXYNN.js.map +0 -1
- package/dist/chunk-EKLWWV3G.mjs.map +0 -1
- package/dist/chunk-ENV73575.mjs.map +0 -1
- package/dist/chunk-HI54NLVM.js.map +0 -1
- package/dist/chunk-JGSQZZHF.js.map +0 -1
- package/dist/chunk-JRB22VVK.js.map +0 -1
- package/dist/chunk-KC77BXBC.js.map +0 -1
- package/dist/chunk-KIAYTBS5.js.map +0 -1
- package/dist/chunk-KLGB3FYE.js.map +0 -1
- package/dist/chunk-O233I5N7.mjs.map +0 -1
- package/dist/chunk-OEDD43IT.mjs.map +0 -1
- package/dist/chunk-OY3YJGOX.mjs.map +0 -1
- package/dist/chunk-PZBTZGJE.js.map +0 -1
- package/dist/chunk-QCHHXFJQ.js.map +0 -1
- package/dist/chunk-REDZL4DY.mjs.map +0 -1
- package/dist/chunk-RFBTMJ2Z.mjs.map +0 -1
- package/dist/chunk-S4NQTWMW.mjs.map +0 -1
- package/dist/chunk-SRLYXLUU.js.map +0 -1
- package/dist/chunk-U7FZ5RMV.js.map +0 -1
- package/dist/chunk-UMXCV5IT.mjs.map +0 -1
- package/dist/chunk-UNPKDNLA.js.map +0 -1
- package/dist/chunk-URXYF25P.mjs.map +0 -1
- package/dist/chunk-VGVB5XZX.js.map +0 -1
- package/dist/chunk-VJSME7ML.js.map +0 -1
- package/dist/chunk-VO7LNOC5.mjs.map +0 -1
- package/dist/chunk-VX56EVPF.mjs.map +0 -1
- package/dist/chunk-W73CZFMA.mjs.map +0 -1
- package/dist/chunk-WRHUWKZS.js.map +0 -1
- package/dist/chunk-WVBFSJEB.js.map +0 -1
- package/dist/chunk-XIG2QDVN.js.map +0 -1
- package/dist/chunk-XJFDGKZO.mjs.map +0 -1
- package/dist/chunk-XOYCFLEZ.mjs.map +0 -1
- package/dist/chunk-YFXGRV7X.mjs.map +0 -1
- package/dist/chunk-ZZ53RJNH.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/design-system/typography.ts"],"names":[],"mappings":";;;AAAO,IAAM,kBAAA,GAAqB;AAAA,EAChC,OAAA,EACE,mSAAA;AAAA,EACF,KAAA,EACE,0RAAA;AAAA,EACF,OAAA,EACE,+UAAA;AAAA,EACF,SAAA,EACE,2SAAA;AAAA,EACF,MAAA,EACE,4UAAA;AAAA,EACF,WAAA,EACE,2VAAA;AAAA,EACF,IAAA,EAAM,mUAAA;AAAA,EACN,OAAA,EACE,iVAAA;AAAA,EACF,OAAA,EACE,6UAAA;AAAA,EACF,KAAA,EACE,qUAAA;AAAA,EACF,sBAAA,EACE,qtBAAA;AAAA,EACF,sBAAA,EACE,stBAAA;AAAA,EACF,oBAAA,EACE,ssBAAA;AAAA,EACF,qBAAA,EACE,4sBAAA;AAAA,EACF,sBAAA,EACE,8sBAAA;AAAA,EACF,mBAAA,EACE,0rBAAA;AAAA,EACF,sBAAA,EACE,stBAAA;AAAA,EACF,oBAAA,EACE;AACJ;AAEO,IAAM,cAAA,GAAiB;AAEvB,IAAM,gBAAA,GAAmB;AAAA,EAC9B,CAAA,EAAG,+CAAA;AAAA,EACH,CAAA,EAAG,uCAAA;AAAA,EACH,CAAA,EAAG,uCAAA;AAAA,EACH,CAAA,EAAG,sCAAA;AAAA,EACH,CAAA,EAAG,qBAAA;AAAA,EACH,CAAA,EAAG;AACL;AAEO,IAAM,YAAA,GAAe;AAAA,EAC1B,EAAA,EAAI,yBAAA;AAAA,EACJ,IAAA,EAAM,2BAAA;AAAA,EACN,EAAA,EAAI;AACN;AAEO,IAAM,oBAAA,GAAuB;AAE7B,IAAM,mBAAA,GAAsB;AAAA,EACjC,IAAA,EAAM,WAAA;AAAA,EACN,MAAA,EAAQ,0BAAA;AAAA,EACR,IAAA,EAAM;AACR;AAEO,IAAM,kBAAA,GAAqB","file":"chunk-3MK7CWEX.js","sourcesContent":["export const zuiTypographyTones = {\n default:\n \"text-[color:var(--zui-typography-default-fg,oklch(20.8%_0.042_265.755))] dark:text-[color:var(--zui-typography-default-fg-dark,oklch(98.4%_0.003_247.858))] border-[color:var(--zui-typography-default-border,#00000026)] dark:border-[color:var(--zui-typography-default-border-dark,#ffffff26)]\",\n muted:\n \"text-[color:var(--zui-typography-muted-fg,oklch(55.4%_0.046_257.417))] dark:text-[color:var(--zui-typography-muted-fg-dark,oklch(70.4%_0.04_256.788))] border-[color:var(--zui-typography-muted-border,#00000026)] dark:border-[color:var(--zui-typography-muted-border-dark,#ffffff26)]\",\n primary:\n \"text-[color:var(--zui-typography-primary-fg,oklch(52%_0.105_223.128))] dark:text-[color:var(--zui-typography-primary-fg-dark,oklch(86.5%_0.127_207.078))] border-[color:var(--zui-typography-primary-border,oklch(86.5%_0.127_207.078_/_0.4))] dark:border-[color:var(--zui-typography-primary-border-dark,oklch(86.5%_0.127_207.078_/_0.4))]\",\n secondary:\n \"text-[color:var(--zui-typography-secondary-fg,oklch(44.6%_0.043_257.281))] dark:text-[color:var(--zui-typography-secondary-fg-dark,oklch(86.9%_0.022_252.894))] border-[color:var(--zui-typography-secondary-border,#00000026)] dark:border-[color:var(--zui-typography-secondary-border-dark,#ffffff26)]\",\n accent:\n \"text-[color:var(--zui-typography-accent-fg,oklch(49.1%_0.27_292.581))] dark:text-[color:var(--zui-typography-accent-fg-dark,oklch(81.1%_0.111_293.571))] border-[color:var(--zui-typography-accent-border,oklch(81.1%_0.111_293.571_/_0.4))] dark:border-[color:var(--zui-typography-accent-border-dark,oklch(81.1%_0.111_293.571_/_0.4))]\",\n destructive:\n \"text-[color:var(--zui-typography-destructive-fg,oklch(58.6%_0.253_17.585))] dark:text-[color:var(--zui-typography-destructive-fg-dark,oklch(71.2%_0.194_13.428))] border-[color:var(--zui-typography-destructive-border,oklch(81%_0.117_11.638_/_0.4))] dark:border-[color:var(--zui-typography-destructive-border-dark,oklch(71.2%_0.194_13.428_/_0.4))]\",\n info: \"text-[color:var(--zui-typography-info-fg,oklch(50%_0.134_242.749))] dark:text-[color:var(--zui-typography-info-fg-dark,oklch(82.8%_0.111_230.318))] border-[color:var(--zui-typography-info-border,oklch(82.8%_0.111_230.318_/_0.4))] dark:border-[color:var(--zui-typography-info-border-dark,oklch(82.8%_0.111_230.318_/_0.4))]\",\n success:\n \"text-[color:var(--zui-typography-success-fg,oklch(50.8%_0.118_165.612))] dark:text-[color:var(--zui-typography-success-fg-dark,oklch(84.5%_0.143_164.978))] border-[color:var(--zui-typography-success-border,oklch(84.5%_0.143_164.978_/_0.4))] dark:border-[color:var(--zui-typography-success-border-dark,oklch(84.5%_0.143_164.978_/_0.4))]\",\n warning:\n \"text-[color:var(--zui-typography-warning-fg,oklch(55.5%_0.163_48.998))] dark:text-[color:var(--zui-typography-warning-fg-dark,oklch(87.9%_0.169_91.605))] border-[color:var(--zui-typography-warning-border,oklch(87.9%_0.169_91.605_/_0.4))] dark:border-[color:var(--zui-typography-warning-border-dark,oklch(87.9%_0.169_91.605_/_0.4))]\",\n error:\n \"text-[color:var(--zui-typography-error-fg,oklch(50.5%_0.213_27.518))] dark:text-[color:var(--zui-typography-error-fg-dark,oklch(80.8%_0.114_19.571))] border-[color:var(--zui-typography-error-border,oklch(80.8%_0.114_19.571_/_0.4))] dark:border-[color:var(--zui-typography-error-border-dark,oklch(80.8%_0.114_19.571_/_0.4))]\",\n \"gradient-pink-violet\":\n \"bg-linear-to-r from-[var(--zui-typography-gradient-pink-violet-from,oklch(59.2%_0.249_0.584))] dark:from-[var(--zui-typography-gradient-pink-violet-from-dark,oklch(71.8%_0.202_349.761))] to-[var(--zui-typography-gradient-pink-violet-to,oklch(54.1%_0.281_293.009))] dark:to-[var(--zui-typography-gradient-pink-violet-to-dark,oklch(70.2%_0.183_293.541))] bg-clip-text text-[color:var(--zui-typography-gradient-pink-violet-fg,transparent)] dark:text-[color:var(--zui-typography-gradient-pink-violet-fg-dark,transparent)] border-[color:var(--zui-typography-gradient-pink-violet-border,oklch(81.1%_0.111_293.571_/_0.4))] dark:border-[color:var(--zui-typography-gradient-pink-violet-border-dark,oklch(81.1%_0.111_293.571_/_0.4))]\",\n \"gradient-cyan-violet\":\n \"bg-linear-to-r from-[var(--zui-typography-gradient-cyan-violet-from,oklch(60.9%_0.126_221.723))] dark:from-[var(--zui-typography-gradient-cyan-violet-from-dark,oklch(78.9%_0.154_211.53))] to-[var(--zui-typography-gradient-cyan-violet-to,oklch(54.1%_0.281_293.009))] dark:to-[var(--zui-typography-gradient-cyan-violet-to-dark,oklch(70.2%_0.183_293.541))] bg-clip-text text-[color:var(--zui-typography-gradient-cyan-violet-fg,transparent)] dark:text-[color:var(--zui-typography-gradient-cyan-violet-fg-dark,transparent)] border-[color:var(--zui-typography-gradient-cyan-violet-border,oklch(81.1%_0.111_293.571_/_0.4))] dark:border-[color:var(--zui-typography-gradient-cyan-violet-border-dark,oklch(81.1%_0.111_293.571_/_0.4))]\",\n \"gradient-cyan-blue\":\n \"bg-linear-to-r from-[var(--zui-typography-gradient-cyan-blue-from,oklch(60.9%_0.126_221.723))] dark:from-[var(--zui-typography-gradient-cyan-blue-from-dark,oklch(78.9%_0.154_211.53))] to-[var(--zui-typography-gradient-cyan-blue-to,oklch(54.6%_0.245_262.881))] dark:to-[var(--zui-typography-gradient-cyan-blue-to-dark,oklch(70.7%_0.165_254.624))] bg-clip-text text-[color:var(--zui-typography-gradient-cyan-blue-fg,transparent)] dark:text-[color:var(--zui-typography-gradient-cyan-blue-fg-dark,transparent)] border-[color:var(--zui-typography-gradient-cyan-blue-border,oklch(80.9%_0.105_251.813_/_0.4))] dark:border-[color:var(--zui-typography-gradient-cyan-blue-border-dark,oklch(80.9%_0.105_251.813_/_0.4))]\",\n \"gradient-cyan-green\":\n \"bg-linear-to-r from-[var(--zui-typography-gradient-cyan-green-from,oklch(60.9%_0.126_221.723))] dark:from-[var(--zui-typography-gradient-cyan-green-from-dark,oklch(78.9%_0.154_211.53))] to-[var(--zui-typography-gradient-cyan-green-to,oklch(62.7%_0.194_149.214))] dark:to-[var(--zui-typography-gradient-cyan-green-to-dark,oklch(79.2%_0.209_151.711))] bg-clip-text text-[color:var(--zui-typography-gradient-cyan-green-fg,transparent)] dark:text-[color:var(--zui-typography-gradient-cyan-green-fg-dark,transparent)] border-[color:var(--zui-typography-gradient-cyan-green-border,oklch(87.1%_0.15_154.449_/_0.4))] dark:border-[color:var(--zui-typography-gradient-cyan-green-border-dark,oklch(87.1%_0.15_154.449_/_0.4))]\",\n \"gradient-cyan-orange\":\n \"bg-linear-to-r from-[var(--zui-typography-gradient-cyan-orange-from,oklch(60.9%_0.126_221.723))] dark:from-[var(--zui-typography-gradient-cyan-orange-from-dark,oklch(78.9%_0.154_211.53))] to-[var(--zui-typography-gradient-cyan-orange-to,oklch(64.6%_0.222_41.116))] dark:to-[var(--zui-typography-gradient-cyan-orange-to-dark,oklch(75%_0.183_55.934))] bg-clip-text text-[color:var(--zui-typography-gradient-cyan-orange-fg,transparent)] dark:text-[color:var(--zui-typography-gradient-cyan-orange-fg-dark,transparent)] border-[color:var(--zui-typography-gradient-cyan-orange-border,oklch(83.7%_0.128_66.29_/_0.4))] dark:border-[color:var(--zui-typography-gradient-cyan-orange-border-dark,oklch(83.7%_0.128_66.29_/_0.4))]\",\n \"gradient-cyan-red\":\n \"bg-linear-to-r from-[var(--zui-typography-gradient-cyan-red-from,oklch(60.9%_0.126_221.723))] dark:from-[var(--zui-typography-gradient-cyan-red-from-dark,oklch(78.9%_0.154_211.53))] to-[var(--zui-typography-gradient-cyan-red-to,oklch(57.7%_0.245_27.325))] dark:to-[var(--zui-typography-gradient-cyan-red-to-dark,oklch(70.4%_0.191_22.216))] bg-clip-text text-[color:var(--zui-typography-gradient-cyan-red-fg,transparent)] dark:text-[color:var(--zui-typography-gradient-cyan-red-fg-dark,transparent)] border-[color:var(--zui-typography-gradient-cyan-red-border,oklch(80.8%_0.114_19.571_/_0.4))] dark:border-[color:var(--zui-typography-gradient-cyan-red-border-dark,oklch(80.8%_0.114_19.571_/_0.4))]\",\n \"gradient-cyan-purple\":\n \"bg-linear-to-r from-[var(--zui-typography-gradient-cyan-purple-from,oklch(60.9%_0.126_221.723))] dark:from-[var(--zui-typography-gradient-cyan-purple-from-dark,oklch(78.9%_0.154_211.53))] to-[var(--zui-typography-gradient-cyan-purple-to,oklch(55.8%_0.288_302.321))] dark:to-[var(--zui-typography-gradient-cyan-purple-to-dark,oklch(71.4%_0.203_305.504))] bg-clip-text text-[color:var(--zui-typography-gradient-cyan-purple-fg,transparent)] dark:text-[color:var(--zui-typography-gradient-cyan-purple-fg-dark,transparent)] border-[color:var(--zui-typography-gradient-cyan-purple-border,oklch(82.7%_0.119_306.383_/_0.4))] dark:border-[color:var(--zui-typography-gradient-cyan-purple-border-dark,oklch(82.7%_0.119_306.383_/_0.4))]\",\n \"gradient-cyan-pink\":\n \"bg-linear-to-r from-[var(--zui-typography-gradient-cyan-pink-from,oklch(60.9%_0.126_221.723))] dark:from-[var(--zui-typography-gradient-cyan-pink-from-dark,oklch(78.9%_0.154_211.53))] to-[var(--zui-typography-gradient-cyan-pink-to,oklch(59.2%_0.249_0.584))] dark:to-[var(--zui-typography-gradient-cyan-pink-to-dark,oklch(71.8%_0.202_349.761))] bg-clip-text text-[color:var(--zui-typography-gradient-cyan-pink-fg,transparent)] dark:text-[color:var(--zui-typography-gradient-cyan-pink-fg-dark,transparent)] border-[color:var(--zui-typography-gradient-cyan-pink-border,oklch(82.3%_0.12_346.018_/_0.4))] dark:border-[color:var(--zui-typography-gradient-cyan-pink-border-dark,oklch(82.3%_0.12_346.018_/_0.4))]\",\n} as const;\n\nexport const zuiHeadingBase = \"scroll-m-20\";\n\nexport const zuiHeadingLevels = {\n 1: \"text-4xl font-bold tracking-tight md:text-5xl\",\n 2: \"text-3xl font-semibold tracking-tight\",\n 3: \"text-2xl font-semibold tracking-tight\",\n 4: \"text-xl font-semibold tracking-tight\",\n 5: \"text-lg font-medium\",\n 6: \"text-base font-medium\",\n} as const;\n\nexport const zuiTextSizes = {\n sm: \"text-sm leading-relaxed\",\n base: \"text-base leading-relaxed\",\n lg: \"text-lg leading-relaxed\",\n} as const;\n\nexport const zuiUnorderedListBase = \"space-y-2 pl-5\";\n\nexport const zuiUnorderedMarkers = {\n disc: \"list-disc\",\n circle: \"[list-style-type:circle]\",\n none: \"list-none pl-0\",\n} as const;\n\nexport const zuiOrderedListBase = \"list-decimal space-y-2 pl-5\";\n"]}
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkZS5756ZC_js = require('./chunk-ZS5756ZC.js');
|
|
4
|
-
var classVarianceAuthority = require('class-variance-authority');
|
|
5
|
-
var react = require('react');
|
|
6
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
7
|
-
|
|
8
1
|
// src/design-system/table.ts
|
|
9
2
|
var zuiTableBase = "w-full table-auto border-collapse caption-bottom text-sm text-[color:var(--zui-table-fg,oklch(37.2%_0.044_257.287))] dark:text-[color:var(--zui-table-fg-dark,oklch(92.9%_0.013_255.508))] md:table-fixed";
|
|
10
3
|
var zuiTableAppearances = {
|
|
@@ -146,260 +139,6 @@ var zuiTableTextAlignments = {
|
|
|
146
139
|
right: "text-right"
|
|
147
140
|
};
|
|
148
141
|
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
appearance: zuiTableAppearances,
|
|
153
|
-
size: zuiTableSizes,
|
|
154
|
-
stickyHeader: zuiTableStickyHeader
|
|
155
|
-
},
|
|
156
|
-
defaultVariants: {
|
|
157
|
-
appearance: "default",
|
|
158
|
-
size: "md",
|
|
159
|
-
stickyHeader: false
|
|
160
|
-
}
|
|
161
|
-
});
|
|
162
|
-
var tableRowVariants = classVarianceAuthority.cva(zuiTableRowBase, {
|
|
163
|
-
variants: {
|
|
164
|
-
appearance: zuiTableRowAppearances
|
|
165
|
-
},
|
|
166
|
-
defaultVariants: { appearance: "default" }
|
|
167
|
-
});
|
|
168
|
-
var tableCellVariants = classVarianceAuthority.cva(zuiTableCellBase, {
|
|
169
|
-
variants: {
|
|
170
|
-
appearance: zuiTableCellAppearances,
|
|
171
|
-
size: zuiTableCellSizes,
|
|
172
|
-
textAlign: zuiTableTextAlignments
|
|
173
|
-
},
|
|
174
|
-
defaultVariants: { appearance: "default", size: "md" }
|
|
175
|
-
});
|
|
176
|
-
var TableContext = react.createContext(null);
|
|
177
|
-
function useTableContext(component) {
|
|
178
|
-
const ctx = react.useContext(TableContext);
|
|
179
|
-
if (!ctx) {
|
|
180
|
-
throw new Error(`${component} must be used within <Table>`);
|
|
181
|
-
}
|
|
182
|
-
return ctx;
|
|
183
|
-
}
|
|
184
|
-
function TableBase(props) {
|
|
185
|
-
const {
|
|
186
|
-
className,
|
|
187
|
-
appearance = "default",
|
|
188
|
-
size = "md",
|
|
189
|
-
textAlign = "left",
|
|
190
|
-
stickyHeader = false,
|
|
191
|
-
scrollAreaAriaLabel,
|
|
192
|
-
children,
|
|
193
|
-
ref,
|
|
194
|
-
...rest
|
|
195
|
-
} = props;
|
|
196
|
-
const ctx = react.useMemo(
|
|
197
|
-
() => ({
|
|
198
|
-
appearance: appearance ?? "default",
|
|
199
|
-
size: size ?? "md",
|
|
200
|
-
stickyHeader: Boolean(stickyHeader),
|
|
201
|
-
rowAnimation: "none",
|
|
202
|
-
textAlign
|
|
203
|
-
}),
|
|
204
|
-
[appearance, size, stickyHeader, textAlign]
|
|
205
|
-
);
|
|
206
|
-
return /* @__PURE__ */ jsxRuntime.jsx(TableContext.Provider, { value: ctx, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
207
|
-
"div",
|
|
208
|
-
{
|
|
209
|
-
"data-slot": "table-scroll",
|
|
210
|
-
tabIndex: 0,
|
|
211
|
-
role: "region",
|
|
212
|
-
"aria-label": scrollAreaAriaLabel ?? "Scrollable table",
|
|
213
|
-
className: chunkZS5756ZC_js.cn(
|
|
214
|
-
"relative w-full overflow-auto",
|
|
215
|
-
"outline-none focus-visible:ring-2 focus-visible:ring-slate-300 focus-visible:ring-offset-2 focus-visible:ring-offset-slate-950"
|
|
216
|
-
),
|
|
217
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
218
|
-
"table",
|
|
219
|
-
{
|
|
220
|
-
ref,
|
|
221
|
-
"data-slot": "table",
|
|
222
|
-
className: chunkZS5756ZC_js.cn(
|
|
223
|
-
tableVariants({ appearance, size, stickyHeader }),
|
|
224
|
-
"w-full min-w-0 table",
|
|
225
|
-
className
|
|
226
|
-
),
|
|
227
|
-
...rest,
|
|
228
|
-
children
|
|
229
|
-
}
|
|
230
|
-
)
|
|
231
|
-
}
|
|
232
|
-
) });
|
|
233
|
-
}
|
|
234
|
-
TableBase.displayName = "Table";
|
|
235
|
-
function TableHeader({ className, children }) {
|
|
236
|
-
const { stickyHeader } = useTableContext("TableHeader");
|
|
237
|
-
const stickyClass = stickyHeader ? "sticky top-0 z-10 dark:bg-slate-950/95 bg-slate-50/95 backdrop-blur" : "";
|
|
238
|
-
return /* @__PURE__ */ jsxRuntime.jsx("thead", { "data-slot": "table-header", className: chunkZS5756ZC_js.cn(stickyClass, className), children });
|
|
239
|
-
}
|
|
240
|
-
TableHeader.displayName = "TableHeader";
|
|
241
|
-
function TableBody({ className, children }) {
|
|
242
|
-
return /* @__PURE__ */ jsxRuntime.jsx("tbody", { "data-slot": "table-body", className: chunkZS5756ZC_js.cn(className), children });
|
|
243
|
-
}
|
|
244
|
-
TableBody.displayName = "TableBody";
|
|
245
|
-
function TableFooter({ className, children }) {
|
|
246
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
247
|
-
"tfoot",
|
|
248
|
-
{
|
|
249
|
-
"data-slot": "table-footer",
|
|
250
|
-
className: chunkZS5756ZC_js.cn(
|
|
251
|
-
"border-t border-white/10 bg-white/3 font-medium",
|
|
252
|
-
className
|
|
253
|
-
),
|
|
254
|
-
children
|
|
255
|
-
}
|
|
256
|
-
);
|
|
257
|
-
}
|
|
258
|
-
TableFooter.displayName = "TableFooter";
|
|
259
|
-
function TableRow({
|
|
260
|
-
className,
|
|
261
|
-
children,
|
|
262
|
-
ref,
|
|
263
|
-
as: Wrapper = "tr",
|
|
264
|
-
rowAnimation: _rowAnimation,
|
|
265
|
-
...rest
|
|
266
|
-
}) {
|
|
267
|
-
const { appearance } = useTableContext("TableRow");
|
|
268
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
269
|
-
Wrapper,
|
|
270
|
-
{
|
|
271
|
-
ref,
|
|
272
|
-
"data-slot": "table-row",
|
|
273
|
-
className: chunkZS5756ZC_js.cn(tableRowVariants({ appearance }), className),
|
|
274
|
-
...rest,
|
|
275
|
-
children
|
|
276
|
-
}
|
|
277
|
-
);
|
|
278
|
-
}
|
|
279
|
-
TableRow.displayName = "TableRow";
|
|
280
|
-
function TableHead({
|
|
281
|
-
className,
|
|
282
|
-
children,
|
|
283
|
-
scope = "col",
|
|
284
|
-
sortKey,
|
|
285
|
-
sortDirection,
|
|
286
|
-
onSortChange,
|
|
287
|
-
onClick,
|
|
288
|
-
onKeyDown,
|
|
289
|
-
tabIndex,
|
|
290
|
-
ref,
|
|
291
|
-
...rest
|
|
292
|
-
}) {
|
|
293
|
-
const { appearance, size, textAlign } = useTableContext("TableHead");
|
|
294
|
-
const isSortable = Boolean(sortKey && onSortChange);
|
|
295
|
-
const sortableDirection = sortDirection ?? "none";
|
|
296
|
-
const handleSort = react.useCallback(() => {
|
|
297
|
-
if (!sortKey || !onSortChange) {
|
|
298
|
-
return;
|
|
299
|
-
}
|
|
300
|
-
const nextDirection = sortableDirection === "ascending" ? "descending" : sortableDirection === "descending" ? "none" : "ascending";
|
|
301
|
-
onSortChange({
|
|
302
|
-
sortKey,
|
|
303
|
-
sortDirection: nextDirection
|
|
304
|
-
});
|
|
305
|
-
}, [onSortChange, sortKey, sortableDirection]);
|
|
306
|
-
const handleClick = react.useCallback(
|
|
307
|
-
(event) => {
|
|
308
|
-
onClick?.(event);
|
|
309
|
-
if (!event.defaultPrevented) {
|
|
310
|
-
handleSort();
|
|
311
|
-
}
|
|
312
|
-
},
|
|
313
|
-
[handleSort, onClick]
|
|
314
|
-
);
|
|
315
|
-
const handleKeyDown = react.useCallback(
|
|
316
|
-
(event) => {
|
|
317
|
-
onKeyDown?.(event);
|
|
318
|
-
if (event.defaultPrevented || !isSortable) {
|
|
319
|
-
return;
|
|
320
|
-
}
|
|
321
|
-
if (event.key === "Enter" || event.key === " ") {
|
|
322
|
-
event.preventDefault();
|
|
323
|
-
handleSort();
|
|
324
|
-
}
|
|
325
|
-
},
|
|
326
|
-
[handleSort, isSortable, onKeyDown]
|
|
327
|
-
);
|
|
328
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
329
|
-
"th",
|
|
330
|
-
{
|
|
331
|
-
ref,
|
|
332
|
-
"data-slot": "table-head",
|
|
333
|
-
scope,
|
|
334
|
-
"aria-sort": isSortable ? sortableDirection : sortDirection,
|
|
335
|
-
"data-sort-key": sortKey,
|
|
336
|
-
"data-sort-direction": sortDirection,
|
|
337
|
-
tabIndex: isSortable ? tabIndex ?? 0 : tabIndex,
|
|
338
|
-
className: chunkZS5756ZC_js.cn(
|
|
339
|
-
tableCellVariants({ appearance, size, textAlign }),
|
|
340
|
-
isSortable && "cursor-pointer select-none outline-none focus-visible:ring-2 focus-visible:ring-slate-300 focus-visible:ring-offset-2 focus-visible:ring-offset-slate-950",
|
|
341
|
-
className
|
|
342
|
-
),
|
|
343
|
-
onClick: isSortable ? handleClick : onClick,
|
|
344
|
-
onKeyDown: isSortable ? handleKeyDown : onKeyDown,
|
|
345
|
-
...rest,
|
|
346
|
-
children
|
|
347
|
-
}
|
|
348
|
-
);
|
|
349
|
-
}
|
|
350
|
-
TableHead.displayName = "TableHead";
|
|
351
|
-
function TableCell({
|
|
352
|
-
className,
|
|
353
|
-
children,
|
|
354
|
-
ref,
|
|
355
|
-
scope,
|
|
356
|
-
...rest
|
|
357
|
-
}) {
|
|
358
|
-
const { appearance, size, textAlign } = useTableContext("TableCell");
|
|
359
|
-
const cellClassName = chunkZS5756ZC_js.cn(
|
|
360
|
-
tableCellVariants({ appearance, size, textAlign }),
|
|
361
|
-
className
|
|
362
|
-
);
|
|
363
|
-
if (scope !== void 0) {
|
|
364
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
365
|
-
"th",
|
|
366
|
-
{
|
|
367
|
-
ref,
|
|
368
|
-
"data-slot": "table-cell",
|
|
369
|
-
scope,
|
|
370
|
-
className: cellClassName,
|
|
371
|
-
...rest,
|
|
372
|
-
children
|
|
373
|
-
}
|
|
374
|
-
);
|
|
375
|
-
}
|
|
376
|
-
return /* @__PURE__ */ jsxRuntime.jsx("td", { ref, "data-slot": "table-cell", className: cellClassName, ...rest, children });
|
|
377
|
-
}
|
|
378
|
-
TableCell.displayName = "TableCell";
|
|
379
|
-
function TableCaption({ className, children }) {
|
|
380
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
381
|
-
"caption",
|
|
382
|
-
{
|
|
383
|
-
"data-slot": "table-caption",
|
|
384
|
-
className: chunkZS5756ZC_js.cn("mt-3 text-left text-xs text-slate-500", className),
|
|
385
|
-
children
|
|
386
|
-
}
|
|
387
|
-
);
|
|
388
|
-
}
|
|
389
|
-
TableCaption.displayName = "TableCaption";
|
|
390
|
-
|
|
391
|
-
exports.TableBase = TableBase;
|
|
392
|
-
exports.TableBody = TableBody;
|
|
393
|
-
exports.TableCaption = TableCaption;
|
|
394
|
-
exports.TableCell = TableCell;
|
|
395
|
-
exports.TableContext = TableContext;
|
|
396
|
-
exports.TableFooter = TableFooter;
|
|
397
|
-
exports.TableHead = TableHead;
|
|
398
|
-
exports.TableHeader = TableHeader;
|
|
399
|
-
exports.TableRow = TableRow;
|
|
400
|
-
exports.tableCellVariants = tableCellVariants;
|
|
401
|
-
exports.tableRowVariants = tableRowVariants;
|
|
402
|
-
exports.tableVariants = tableVariants;
|
|
403
|
-
exports.useTableContext = useTableContext;
|
|
404
|
-
//# sourceMappingURL=chunk-UNPKDNLA.js.map
|
|
405
|
-
//# sourceMappingURL=chunk-UNPKDNLA.js.map
|
|
142
|
+
export { zuiTableAppearances, zuiTableBase, zuiTableCellAppearances, zuiTableCellBase, zuiTableCellSizes, zuiTableRowAppearances, zuiTableRowBase, zuiTableSizes, zuiTableStickyHeader, zuiTableTextAlignments };
|
|
143
|
+
//# sourceMappingURL=chunk-3R6PQUG2.mjs.map
|
|
144
|
+
//# sourceMappingURL=chunk-3R6PQUG2.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/design-system/table.ts"],"names":[],"mappings":";AAAO,IAAM,YAAA,GACX;AAEK,IAAM,mBAAA,GAAsB;AAAA,EACjC,OAAA,EAAS,EAAA;AAAA,EACT,OAAA,EAAS,EAAA;AAAA,EACT,QAAA,EACE,sIAAA;AAAA,EACF,KAAA,EAAO,EAAA;AAAA,EACP,GAAA,EAAK,4JAAA;AAAA,EACL,IAAA,EAAM,8JAAA;AAAA,EACN,MAAA,EACE,oKAAA;AAAA,EACF,IAAA,EAAM,4JAAA;AAAA,EACN,MAAA,EACE,gKAAA;AAAA,EACF,MAAA,EACE,kKAAA;AAAA,EACF,IAAA,EAAM,8JAAA;AAAA,EACN,MAAA,EACE,oKAAA;AAAA,EACF,OAAA,EACE,sKAAA;AAAA,EACF,IAAA,EAAM,+JAAA;AAAA,EACN,KAAA,EACE,gKAAA;AAAA,EACF,MAAA,EACE,oKAAA;AAAA,EACF,IAAA,EAAM,0HAAA;AAAA,EACN,IAAA,EAAM,0HAAA;AAAA,EACN,KAAA,EACE,4HAAA;AAAA,EACF,IAAA,EAAM,0HAAA;AAAA,EACN,IAAA,EAAM,0HAAA;AAAA,EACN,KAAA,EACE,4HAAA;AAAA,EACF,QAAA,EACE,kIAAA;AAAA,EACF,QAAA,EACE,kIAAA;AAAA,EACF,IAAA,EAAM,0HAAA;AAAA,EACN,GAAA,EAAK,wHAAA;AAAA,EACL,KAAA,EACE,4HAAA;AAAA,EACF,IAAA,EAAM,0HAAA;AAAA,EACN,KAAA,EACE,4HAAA;AAAA,EACF,KAAA,EACE,4HAAA;AAAA,EACF,QAAA,EACE,kIAAA;AAAA,EACF,MAAA,EACE,8HAAA;AAAA,EACF,MAAA,EACE,8HAAA;AAAA,EACF,OAAA,EACE,gIAAA;AAAA,EACF,OAAA,EACE,gIAAA;AAAA,EACF,IAAA,EAAM,0HAAA;AAAA,EACN,IAAA,EAAM;AACR;AAEO,IAAM,aAAA,GAAgB;AAAA,EAC3B,EAAA,EAAI,SAAA;AAAA,EACJ,EAAA,EAAI,SAAA;AAAA,EACJ,EAAA,EAAI;AACN;AAEO,IAAM,oBAAA,GAAuB;AAAA,EAClC,IAAA,EAAM,EAAA;AAAA,EACN,KAAA,EAAO;AACT;AAEO,IAAM,eAAA,GACX;AAEK,IAAM,sBAAA,GAAyB;AAAA,EACpC,OAAA,EAAS,EAAA;AAAA,EACT,OAAA,EACE,iHAAA;AAAA,EACF,QAAA,EAAU,EAAA;AAAA,EACV,KAAA,EACE,iQAAA;AAAA,EACF,GAAA,EAAK,+dAAA;AAAA,EACL,IAAA,EAAM,6dAAA;AAAA,EACN,MAAA,EACE,mfAAA;AAAA,EACF,IAAA,EAAM,meAAA;AAAA,EACN,MAAA,EACE,6eAAA;AAAA,EACF,MAAA,EACE,ifAAA;AAAA,EACF,IAAA,EAAM,seAAA;AAAA,EACN,MAAA,EACE,ifAAA;AAAA,EACF,OAAA,EACE,ofAAA;AAAA,EACF,IAAA,EAAM,seAAA;AAAA,EACN,KAAA,EACE,weAAA;AAAA,EACF,MAAA,EACE,kfAAA;AAAA,EACF,IAAA,EAAM,uXAAA;AAAA,EACN,IAAA,EAAM,uXAAA;AAAA,EACN,KAAA,EACE,6XAAA;AAAA,EACF,IAAA,EAAM,uXAAA;AAAA,EACN,IAAA,EAAM,uXAAA;AAAA,EACN,KAAA,EACE,6XAAA;AAAA,EACF,QAAA,EACE,+YAAA;AAAA,EACF,QAAA,EACE,+YAAA;AAAA,EACF,IAAA,EAAM,uXAAA;AAAA,EACN,GAAA,EAAK,iXAAA;AAAA,EACL,KAAA,EACE,6XAAA;AAAA,EACF,IAAA,EAAM,uXAAA;AAAA,EACN,KAAA,EACE,6XAAA;AAAA,EACF,KAAA,EACE,6XAAA;AAAA,EACF,QAAA,EACE,+YAAA;AAAA,EACF,MAAA,EACE,mYAAA;AAAA,EACF,MAAA,EACE,mYAAA;AAAA,EACF,OAAA,EACE,yYAAA;AAAA,EACF,OAAA,EACE,yYAAA;AAAA,EACF,IAAA,EAAM,uXAAA;AAAA,EACN,IAAA,EAAM;AACR;AAEO,IAAM,gBAAA,GAAmB;AAEzB,IAAM,uBAAA,GAA0B;AAAA,EACrC,OAAA,EACE,uIAAA;AAAA,EACF,OAAA,EACE,uIAAA;AAAA,EACF,QAAA,EACE,yIAAA;AAAA,EACF,KAAA,EACE,mIAAA;AAAA,EACF,GAAA,EAAK,+JAAA;AAAA,EACL,IAAA,EAAM,iKAAA;AAAA,EACN,MAAA,EACE,uKAAA;AAAA,EACF,IAAA,EAAM,+JAAA;AAAA,EACN,MAAA,EACE,mKAAA;AAAA,EACF,MAAA,EACE,qKAAA;AAAA,EACF,IAAA,EAAM,iKAAA;AAAA,EACN,MAAA,EACE,uKAAA;AAAA,EACF,OAAA,EACE,yKAAA;AAAA,EACF,IAAA,EAAM,kKAAA;AAAA,EACN,KAAA,EACE,mKAAA;AAAA,EACF,MAAA,EACE,uKAAA;AAAA,EACF,IAAA,EAAM,oIAAA;AAAA,EACN,IAAA,EAAM,oIAAA;AAAA,EACN,KAAA,EACE,sIAAA;AAAA,EACF,IAAA,EAAM,oIAAA;AAAA,EACN,IAAA,EAAM,oIAAA;AAAA,EACN,KAAA,EACE,sIAAA;AAAA,EACF,QAAA,EACE,4IAAA;AAAA,EACF,QAAA,EACE,4IAAA;AAAA,EACF,IAAA,EAAM,oIAAA;AAAA,EACN,GAAA,EAAK,kIAAA;AAAA,EACL,KAAA,EACE,sIAAA;AAAA,EACF,IAAA,EAAM,oIAAA;AAAA,EACN,KAAA,EACE,sIAAA;AAAA,EACF,KAAA,EACE,sIAAA;AAAA,EACF,QAAA,EACE,4IAAA;AAAA,EACF,MAAA,EACE,wIAAA;AAAA,EACF,MAAA,EACE,wIAAA;AAAA,EACF,OAAA,EACE,0IAAA;AAAA,EACF,OAAA,EACE,0IAAA;AAAA,EACF,IAAA,EAAM,oIAAA;AAAA,EACN,IAAA,EAAM;AACR;AAEO,IAAM,iBAAA,GAAoB;AAAA,EAC/B,EAAA,EAAI,KAAA;AAAA,EACJ,EAAA,EAAI,KAAA;AAAA,EACJ,EAAA,EAAI;AACN;AAEO,IAAM,sBAAA,GAAyB;AAAA,EACpC,IAAA,EAAM,WAAA;AAAA,EACN,MAAA,EAAQ,aAAA;AAAA,EACR,KAAA,EAAO;AACT","file":"chunk-3R6PQUG2.mjs","sourcesContent":["export const zuiTableBase =\n \"w-full table-auto border-collapse caption-bottom text-sm text-[color:var(--zui-table-fg,oklch(37.2%_0.044_257.287))] dark:text-[color:var(--zui-table-fg-dark,oklch(92.9%_0.013_255.508))] md:table-fixed\";\n\nexport const zuiTableAppearances = {\n default: \"\",\n striped: \"\",\n bordered:\n \"border border-[color:var(--zui-table-bordered-border,#0000001a)] dark:border-[color:var(--zui-table-bordered-border-dark,#ffffff1a)]\",\n ghost: \"\",\n sky: \"border border-[color:var(--zui-table-sky-border,oklch(44.3%_0.11_240.79))] dark:border-[color:var(--zui-table-sky-border-dark,oklch(58.8%_0.158_241.966))]\",\n rose: \"border border-[color:var(--zui-table-rose-border,oklch(45.5%_0.188_13.697))] dark:border-[color:var(--zui-table-rose-border-dark,oklch(58.6%_0.253_17.585))]\",\n purple:\n \"border border-[color:var(--zui-table-purple-border,oklch(43.8%_0.218_303.724))] dark:border-[color:var(--zui-table-purple-border-dark,oklch(55.8%_0.288_302.321))]\",\n pink: \"border border-[color:var(--zui-table-pink-border,oklch(45.9%_0.187_3.815))] dark:border-[color:var(--zui-table-pink-border-dark,oklch(59.2%_0.249_0.584))]\",\n orange:\n \"border border-[color:var(--zui-table-orange-border,oklch(47%_0.157_37.304))] dark:border-[color:var(--zui-table-orange-border-dark,oklch(64.6%_0.222_41.116))]\",\n yellow:\n \"border border-[color:var(--zui-table-yellow-border,oklch(47.6%_0.114_61.907))] dark:border-[color:var(--zui-table-yellow-border-dark,oklch(68.1%_0.162_75.834))]\",\n teal: \"border border-[color:var(--zui-table-teal-border,oklch(43.7%_0.078_188.216))] dark:border-[color:var(--zui-table-teal-border-dark,oklch(60%_0.118_184.704))]\",\n indigo:\n \"border border-[color:var(--zui-table-indigo-border,oklch(39.8%_0.195_277.366))] dark:border-[color:var(--zui-table-indigo-border-dark,oklch(51.1%_0.262_276.966))]\",\n emerald:\n \"border border-[color:var(--zui-table-emerald-border,oklch(43.2%_0.095_166.913))] dark:border-[color:var(--zui-table-emerald-border-dark,oklch(59.6%_0.145_163.225))]\",\n gray: \"border border-[color:var(--zui-table-gray-border,oklch(27.8%_0.033_256.848))] dark:border-[color:var(--zui-table-gray-border-dark,oklch(44.6%_0.03_256.802))]\",\n amber:\n \"border border-[color:var(--zui-table-amber-border,oklch(47.3%_0.137_46.201))] dark:border-[color:var(--zui-table-amber-border-dark,oklch(66.6%_0.179_58.318))]\",\n violet:\n \"border border-[color:var(--zui-table-violet-border,oklch(43.2%_0.232_292.759))] dark:border-[color:var(--zui-table-violet-border-dark,oklch(54.1%_0.281_293.009))]\",\n blue: \"border border-[color:var(--zui-table-blue-border,#2563eb)] dark:border-[color:var(--zui-table-blue-border-dark,#3b82f6)]\",\n cyan: \"border border-[color:var(--zui-table-cyan-border,#0891b2)] dark:border-[color:var(--zui-table-cyan-border-dark,#22d3ee)]\",\n green:\n \"border border-[color:var(--zui-table-green-border,#16a34a)] dark:border-[color:var(--zui-table-green-border-dark,#22c55e)]\",\n lime: \"border border-[color:var(--zui-table-lime-border,#65a30d)] dark:border-[color:var(--zui-table-lime-border-dark,#a3e635)]\",\n mint: \"border border-[color:var(--zui-table-mint-border,#10b981)] dark:border-[color:var(--zui-table-mint-border-dark,#6ee7b7)]\",\n ocean:\n \"border border-[color:var(--zui-table-ocean-border,#0284c7)] dark:border-[color:var(--zui-table-ocean-border-dark,#38bdf8)]\",\n sapphire:\n \"border border-[color:var(--zui-table-sapphire-border,#1d4ed8)] dark:border-[color:var(--zui-table-sapphire-border-dark,#60a5fa)]\",\n lavender:\n \"border border-[color:var(--zui-table-lavender-border,#8b5cf6)] dark:border-[color:var(--zui-table-lavender-border-dark,#a78bfa)]\",\n ruby: \"border border-[color:var(--zui-table-ruby-border,#be123c)] dark:border-[color:var(--zui-table-ruby-border-dark,#fb7185)]\",\n red: \"border border-[color:var(--zui-table-red-border,#dc2626)] dark:border-[color:var(--zui-table-red-border-dark,#ef4444)]\",\n slate:\n \"border border-[color:var(--zui-table-slate-border,#475569)] dark:border-[color:var(--zui-table-slate-border-dark,#64748b)]\",\n zinc: \"border border-[color:var(--zui-table-zinc-border,#52525b)] dark:border-[color:var(--zui-table-zinc-border-dark,#71717a)]\",\n stone:\n \"border border-[color:var(--zui-table-stone-border,#57534e)] dark:border-[color:var(--zui-table-stone-border-dark,#78716c)]\",\n royal:\n \"border border-[color:var(--zui-table-royal-border,#4338ca)] dark:border-[color:var(--zui-table-royal-border-dark,#818cf8)]\",\n electric:\n \"border border-[color:var(--zui-table-electric-border,#0ea5e9)] dark:border-[color:var(--zui-table-electric-border-dark,#38bdf8)]\",\n forest:\n \"border border-[color:var(--zui-table-forest-border,#166534)] dark:border-[color:var(--zui-table-forest-border-dark,#4ade80)]\",\n sunset:\n \"border border-[color:var(--zui-table-sunset-border,#ea580c)] dark:border-[color:var(--zui-table-sunset-border-dark,#fb923c)]\",\n magenta:\n \"border border-[color:var(--zui-table-magenta-border,#c026d3)] dark:border-[color:var(--zui-table-magenta-border-dark,#e879f9)]\",\n crimson:\n \"border border-[color:var(--zui-table-crimson-border,#b91c1c)] dark:border-[color:var(--zui-table-crimson-border-dark,#f87171)]\",\n aqua: \"border border-[color:var(--zui-table-aqua-border,#0f766e)] dark:border-[color:var(--zui-table-aqua-border-dark,#2dd4bf)]\",\n plum: \"border border-[color:var(--zui-table-plum-border,#7e22ce)] dark:border-[color:var(--zui-table-plum-border-dark,#c084fc)]\",\n} as const;\n\nexport const zuiTableSizes = {\n sm: \"text-xs\",\n md: \"text-sm\",\n lg: \"text-base\",\n} as const;\n\nexport const zuiTableStickyHeader = {\n true: \"\",\n false: \"\",\n} as const;\n\nexport const zuiTableRowBase =\n \"border-b border-[color:var(--zui-table-row-border,#0000000d)] dark:border-[color:var(--zui-table-row-border-dark,#ffffff0d)] transition-colors data-[state=selected]:bg-[var(--zui-table-row-bg-selected,#0000000f)] dark:data-[state=selected]:bg-[var(--zui-table-row-bg-selected-dark,#ffffff0f)]\";\n\nexport const zuiTableRowAppearances = {\n default: \"\",\n striped:\n \"odd:bg-[var(--zui-table-row-striped-bg,#00000008)] dark:odd:bg-[var(--zui-table-row-striped-bg-dark,#ffffff08)]\",\n bordered: \"\",\n ghost:\n \"border-[color:var(--zui-table-row-ghost-border,transparent)] dark:border-[color:var(--zui-table-row-ghost-border-dark,transparent)] hover:bg-[var(--zui-table-row-ghost-bg-hover,#00000008)] dark:hover:bg-[var(--zui-table-row-ghost-bg-hover-dark,#ffffff08)]\",\n sky: \"border-[color:var(--zui-table-row-sky-border,oklch(44.3%_0.11_240.79))] dark:border-[color:var(--zui-table-row-sky-border-dark,oklch(58.8%_0.158_241.966))] hover:bg-[var(--zui-table-row-sky-bg-hover,oklch(44.3%_0.11_240.79))] dark:hover:bg-[var(--zui-table-row-sky-bg-hover-dark,oklch(58.8%_0.158_241.966))] hover:text-[color:var(--zui-table-row-sky-fg-hover,oklch(95.1%_0.026_236.824))] dark:hover:text-[color:var(--zui-table-row-sky-fg-hover-dark,oklch(95.1%_0.026_236.824))]\",\n rose: \"border-[color:var(--zui-table-row-rose-border,oklch(45.5%_0.188_13.697))] dark:border-[color:var(--zui-table-row-rose-border-dark,oklch(58.6%_0.253_17.585))] hover:bg-[var(--zui-table-row-rose-bg-hover,oklch(64.5%_0.246_16.439))] dark:hover:bg-[var(--zui-table-row-rose-bg-hover-dark,oklch(41%_0.159_10.272))] hover:text-[color:var(--zui-table-row-rose-fg-hover,oklch(94.1%_0.03_12.58))] dark:hover:text-[color:var(--zui-table-row-rose-fg-hover-dark,oklch(94.1%_0.03_12.58))]\",\n purple:\n \"border-[color:var(--zui-table-row-purple-border,oklch(43.8%_0.218_303.724))] dark:border-[color:var(--zui-table-row-purple-border-dark,oklch(55.8%_0.288_302.321))] hover:bg-[var(--zui-table-row-purple-bg-hover,oklch(62.7%_0.265_303.9))] dark:hover:bg-[var(--zui-table-row-purple-bg-hover-dark,oklch(38.1%_0.176_304.987))] hover:text-[color:var(--zui-table-row-purple-fg-hover,oklch(94.6%_0.033_307.174))] dark:hover:text-[color:var(--zui-table-row-purple-fg-hover-dark,oklch(94.6%_0.033_307.174))]\",\n pink: \"border-[color:var(--zui-table-row-pink-border,oklch(45.9%_0.187_3.815))] dark:border-[color:var(--zui-table-row-pink-border-dark,oklch(59.2%_0.249_0.584))] hover:bg-[var(--zui-table-row-pink-bg-hover,oklch(65.6%_0.241_354.308))] dark:hover:bg-[var(--zui-table-row-pink-bg-hover-dark,oklch(40.8%_0.153_2.432))] hover:text-[color:var(--zui-table-row-pink-fg-hover,oklch(94.8%_0.028_342.258))] dark:hover:text-[color:var(--zui-table-row-pink-fg-hover-dark,oklch(94.8%_0.028_342.258))]\",\n orange:\n \"border-[color:var(--zui-table-row-orange-border,oklch(47%_0.157_37.304))] dark:border-[color:var(--zui-table-row-orange-border-dark,oklch(64.6%_0.222_41.116))] hover:bg-[var(--zui-table-row-orange-bg-hover,oklch(70.5%_0.213_47.604))] dark:hover:bg-[var(--zui-table-row-orange-bg-hover-dark,oklch(40.8%_0.123_38.172))] hover:text-[color:var(--zui-table-row-orange-fg-hover,oklch(95.4%_0.038_75.164))] dark:hover:text-[color:var(--zui-table-row-orange-fg-hover-dark,oklch(95.4%_0.038_75.164))]\",\n yellow:\n \"border-[color:var(--zui-table-row-yellow-border,oklch(47.6%_0.114_61.907))] dark:border-[color:var(--zui-table-row-yellow-border-dark,oklch(68.1%_0.162_75.834))] hover:bg-[var(--zui-table-row-yellow-bg-hover,oklch(79.5%_0.184_86.047))] dark:hover:bg-[var(--zui-table-row-yellow-bg-hover-dark,oklch(42.1%_0.095_57.708))] hover:text-[color:var(--zui-table-row-yellow-fg-hover,oklch(97.3%_0.071_103.193))] dark:hover:text-[color:var(--zui-table-row-yellow-fg-hover-dark,oklch(97.3%_0.071_103.193))]\",\n teal: \"border-[color:var(--zui-table-row-teal-border,oklch(43.7%_0.078_188.216))] dark:border-[color:var(--zui-table-row-teal-border-dark,oklch(60%_0.118_184.704))] hover:bg-[var(--zui-table-row-teal-bg-hover,oklch(70.4%_0.14_182.503))] dark:hover:bg-[var(--zui-table-row-teal-bg-hover-dark,oklch(38.6%_0.063_188.416))] hover:text-[color:var(--zui-table-row-teal-fg-hover,oklch(95.3%_0.051_180.801))] dark:hover:text-[color:var(--zui-table-row-teal-fg-hover-dark,oklch(95.3%_0.051_180.801))]\",\n indigo:\n \"border-[color:var(--zui-table-row-indigo-border,oklch(39.8%_0.195_277.366))] dark:border-[color:var(--zui-table-row-indigo-border-dark,oklch(51.1%_0.262_276.966))] hover:bg-[var(--zui-table-row-indigo-bg-hover,oklch(58.5%_0.233_277.117))] dark:hover:bg-[var(--zui-table-row-indigo-bg-hover-dark,oklch(35.9%_0.144_278.697))] hover:text-[color:var(--zui-table-row-indigo-fg-hover,oklch(93%_0.034_272.788))] dark:hover:text-[color:var(--zui-table-row-indigo-fg-hover-dark,oklch(93%_0.034_272.788))]\",\n emerald:\n \"border-[color:var(--zui-table-row-emerald-border,oklch(43.2%_0.095_166.913))] dark:border-[color:var(--zui-table-row-emerald-border-dark,oklch(59.6%_0.145_163.225))] hover:bg-[var(--zui-table-row-emerald-bg-hover,oklch(69.6%_0.17_162.48))] dark:hover:bg-[var(--zui-table-row-emerald-bg-hover-dark,oklch(37.8%_0.077_168.94))] hover:text-[color:var(--zui-table-row-emerald-fg-hover,oklch(95%_0.052_163.051))] dark:hover:text-[color:var(--zui-table-row-emerald-fg-hover-dark,oklch(95%_0.052_163.051))]\",\n gray: \"border-[color:var(--zui-table-row-gray-border,oklch(27.8%_0.033_256.848))] dark:border-[color:var(--zui-table-row-gray-border-dark,oklch(44.6%_0.03_256.802))] hover:bg-[var(--zui-table-row-gray-bg-hover,oklch(55.1%_0.027_264.364))] dark:hover:bg-[var(--zui-table-row-gray-bg-hover-dark,oklch(21%_0.034_264.665))] hover:text-[color:var(--zui-table-row-gray-fg-hover,oklch(96.7%_0.003_264.542))] dark:hover:text-[color:var(--zui-table-row-gray-fg-hover-dark,oklch(96.7%_0.003_264.542))]\",\n amber:\n \"border-[color:var(--zui-table-row-amber-border,oklch(47.3%_0.137_46.201))] dark:border-[color:var(--zui-table-row-amber-border-dark,oklch(66.6%_0.179_58.318))] hover:bg-[var(--zui-table-row-amber-bg-hover,oklch(76.9%_0.188_70.08))] dark:hover:bg-[var(--zui-table-row-amber-bg-hover-dark,oklch(41.4%_0.112_45.904))] hover:text-[color:var(--zui-table-row-amber-fg-hover,oklch(96.2%_0.059_95.617))] dark:hover:text-[color:var(--zui-table-row-amber-fg-hover-dark,oklch(96.2%_0.059_95.617))]\",\n violet:\n \"border-[color:var(--zui-table-row-violet-border,oklch(43.2%_0.232_292.759))] dark:border-[color:var(--zui-table-row-violet-border-dark,oklch(54.1%_0.281_293.009))] hover:bg-[var(--zui-table-row-violet-bg-hover,oklch(60.6%_0.25_292.717))] dark:hover:bg-[var(--zui-table-row-violet-bg-hover-dark,oklch(38%_0.189_293.745))] hover:text-[color:var(--zui-table-row-violet-fg-hover,oklch(94.3%_0.029_294.588))] dark:hover:text-[color:var(--zui-table-row-violet-fg-hover-dark,oklch(94.3%_0.029_294.588))]\",\n blue: \"border-[color:var(--zui-table-row-blue-border,#2563eb)] dark:border-[color:var(--zui-table-row-blue-border-dark,#3b82f6)] hover:bg-[var(--zui-table-row-blue-bg-hover,#2563eb)] dark:hover:bg-[var(--zui-table-row-blue-bg-hover-dark,#3b82f6)] hover:text-[color:var(--zui-table-row-blue-fg-hover,#ffffff)] dark:hover:text-[color:var(--zui-table-row-blue-fg-hover-dark,#ffffff)]\",\n cyan: \"border-[color:var(--zui-table-row-cyan-border,#0891b2)] dark:border-[color:var(--zui-table-row-cyan-border-dark,#22d3ee)] hover:bg-[var(--zui-table-row-cyan-bg-hover,#0891b2)] dark:hover:bg-[var(--zui-table-row-cyan-bg-hover-dark,#22d3ee)] hover:text-[color:var(--zui-table-row-cyan-fg-hover,#083344)] dark:hover:text-[color:var(--zui-table-row-cyan-fg-hover-dark,#083344)]\",\n green:\n \"border-[color:var(--zui-table-row-green-border,#16a34a)] dark:border-[color:var(--zui-table-row-green-border-dark,#22c55e)] hover:bg-[var(--zui-table-row-green-bg-hover,#16a34a)] dark:hover:bg-[var(--zui-table-row-green-bg-hover-dark,#22c55e)] hover:text-[color:var(--zui-table-row-green-fg-hover,#ffffff)] dark:hover:text-[color:var(--zui-table-row-green-fg-hover-dark,#ffffff)]\",\n lime: \"border-[color:var(--zui-table-row-lime-border,#65a30d)] dark:border-[color:var(--zui-table-row-lime-border-dark,#a3e635)] hover:bg-[var(--zui-table-row-lime-bg-hover,#65a30d)] dark:hover:bg-[var(--zui-table-row-lime-bg-hover-dark,#a3e635)] hover:text-[color:var(--zui-table-row-lime-fg-hover,#1a2e05)] dark:hover:text-[color:var(--zui-table-row-lime-fg-hover-dark,#1a2e05)]\",\n mint: \"border-[color:var(--zui-table-row-mint-border,#10b981)] dark:border-[color:var(--zui-table-row-mint-border-dark,#6ee7b7)] hover:bg-[var(--zui-table-row-mint-bg-hover,#10b981)] dark:hover:bg-[var(--zui-table-row-mint-bg-hover-dark,#6ee7b7)] hover:text-[color:var(--zui-table-row-mint-fg-hover,#064e3b)] dark:hover:text-[color:var(--zui-table-row-mint-fg-hover-dark,#064e3b)]\",\n ocean:\n \"border-[color:var(--zui-table-row-ocean-border,#0284c7)] dark:border-[color:var(--zui-table-row-ocean-border-dark,#38bdf8)] hover:bg-[var(--zui-table-row-ocean-bg-hover,#0284c7)] dark:hover:bg-[var(--zui-table-row-ocean-bg-hover-dark,#38bdf8)] hover:text-[color:var(--zui-table-row-ocean-fg-hover,#082f49)] dark:hover:text-[color:var(--zui-table-row-ocean-fg-hover-dark,#082f49)]\",\n sapphire:\n \"border-[color:var(--zui-table-row-sapphire-border,#1d4ed8)] dark:border-[color:var(--zui-table-row-sapphire-border-dark,#60a5fa)] hover:bg-[var(--zui-table-row-sapphire-bg-hover,#1d4ed8)] dark:hover:bg-[var(--zui-table-row-sapphire-bg-hover-dark,#60a5fa)] hover:text-[color:var(--zui-table-row-sapphire-fg-hover,#ffffff)] dark:hover:text-[color:var(--zui-table-row-sapphire-fg-hover-dark,#ffffff)]\",\n lavender:\n \"border-[color:var(--zui-table-row-lavender-border,#8b5cf6)] dark:border-[color:var(--zui-table-row-lavender-border-dark,#a78bfa)] hover:bg-[var(--zui-table-row-lavender-bg-hover,#8b5cf6)] dark:hover:bg-[var(--zui-table-row-lavender-bg-hover-dark,#a78bfa)] hover:text-[color:var(--zui-table-row-lavender-fg-hover,#ffffff)] dark:hover:text-[color:var(--zui-table-row-lavender-fg-hover-dark,#ffffff)]\",\n ruby: \"border-[color:var(--zui-table-row-ruby-border,#be123c)] dark:border-[color:var(--zui-table-row-ruby-border-dark,#fb7185)] hover:bg-[var(--zui-table-row-ruby-bg-hover,#be123c)] dark:hover:bg-[var(--zui-table-row-ruby-bg-hover-dark,#fb7185)] hover:text-[color:var(--zui-table-row-ruby-fg-hover,#ffffff)] dark:hover:text-[color:var(--zui-table-row-ruby-fg-hover-dark,#ffffff)]\",\n red: \"border-[color:var(--zui-table-row-red-border,#dc2626)] dark:border-[color:var(--zui-table-row-red-border-dark,#ef4444)] hover:bg-[var(--zui-table-row-red-bg-hover,#dc2626)] dark:hover:bg-[var(--zui-table-row-red-bg-hover-dark,#ef4444)] hover:text-[color:var(--zui-table-row-red-fg-hover,#ffffff)] dark:hover:text-[color:var(--zui-table-row-red-fg-hover-dark,#ffffff)]\",\n slate:\n \"border-[color:var(--zui-table-row-slate-border,#475569)] dark:border-[color:var(--zui-table-row-slate-border-dark,#64748b)] hover:bg-[var(--zui-table-row-slate-bg-hover,#475569)] dark:hover:bg-[var(--zui-table-row-slate-bg-hover-dark,#64748b)] hover:text-[color:var(--zui-table-row-slate-fg-hover,#ffffff)] dark:hover:text-[color:var(--zui-table-row-slate-fg-hover-dark,#ffffff)]\",\n zinc: \"border-[color:var(--zui-table-row-zinc-border,#52525b)] dark:border-[color:var(--zui-table-row-zinc-border-dark,#71717a)] hover:bg-[var(--zui-table-row-zinc-bg-hover,#52525b)] dark:hover:bg-[var(--zui-table-row-zinc-bg-hover-dark,#71717a)] hover:text-[color:var(--zui-table-row-zinc-fg-hover,#ffffff)] dark:hover:text-[color:var(--zui-table-row-zinc-fg-hover-dark,#ffffff)]\",\n stone:\n \"border-[color:var(--zui-table-row-stone-border,#57534e)] dark:border-[color:var(--zui-table-row-stone-border-dark,#78716c)] hover:bg-[var(--zui-table-row-stone-bg-hover,#57534e)] dark:hover:bg-[var(--zui-table-row-stone-bg-hover-dark,#78716c)] hover:text-[color:var(--zui-table-row-stone-fg-hover,#ffffff)] dark:hover:text-[color:var(--zui-table-row-stone-fg-hover-dark,#ffffff)]\",\n royal:\n \"border-[color:var(--zui-table-row-royal-border,#4338ca)] dark:border-[color:var(--zui-table-row-royal-border-dark,#818cf8)] hover:bg-[var(--zui-table-row-royal-bg-hover,#4338ca)] dark:hover:bg-[var(--zui-table-row-royal-bg-hover-dark,#818cf8)] hover:text-[color:var(--zui-table-row-royal-fg-hover,#ffffff)] dark:hover:text-[color:var(--zui-table-row-royal-fg-hover-dark,#ffffff)]\",\n electric:\n \"border-[color:var(--zui-table-row-electric-border,#0ea5e9)] dark:border-[color:var(--zui-table-row-electric-border-dark,#38bdf8)] hover:bg-[var(--zui-table-row-electric-bg-hover,#0ea5e9)] dark:hover:bg-[var(--zui-table-row-electric-bg-hover-dark,#38bdf8)] hover:text-[color:var(--zui-table-row-electric-fg-hover,#ffffff)] dark:hover:text-[color:var(--zui-table-row-electric-fg-hover-dark,#ffffff)]\",\n forest:\n \"border-[color:var(--zui-table-row-forest-border,#166534)] dark:border-[color:var(--zui-table-row-forest-border-dark,#4ade80)] hover:bg-[var(--zui-table-row-forest-bg-hover,#166534)] dark:hover:bg-[var(--zui-table-row-forest-bg-hover-dark,#4ade80)] hover:text-[color:var(--zui-table-row-forest-fg-hover,#ffffff)] dark:hover:text-[color:var(--zui-table-row-forest-fg-hover-dark,#ffffff)]\",\n sunset:\n \"border-[color:var(--zui-table-row-sunset-border,#ea580c)] dark:border-[color:var(--zui-table-row-sunset-border-dark,#fb923c)] hover:bg-[var(--zui-table-row-sunset-bg-hover,#ea580c)] dark:hover:bg-[var(--zui-table-row-sunset-bg-hover-dark,#fb923c)] hover:text-[color:var(--zui-table-row-sunset-fg-hover,#ffffff)] dark:hover:text-[color:var(--zui-table-row-sunset-fg-hover-dark,#ffffff)]\",\n magenta:\n \"border-[color:var(--zui-table-row-magenta-border,#c026d3)] dark:border-[color:var(--zui-table-row-magenta-border-dark,#e879f9)] hover:bg-[var(--zui-table-row-magenta-bg-hover,#c026d3)] dark:hover:bg-[var(--zui-table-row-magenta-bg-hover-dark,#e879f9)] hover:text-[color:var(--zui-table-row-magenta-fg-hover,#ffffff)] dark:hover:text-[color:var(--zui-table-row-magenta-fg-hover-dark,#ffffff)]\",\n crimson:\n \"border-[color:var(--zui-table-row-crimson-border,#b91c1c)] dark:border-[color:var(--zui-table-row-crimson-border-dark,#f87171)] hover:bg-[var(--zui-table-row-crimson-bg-hover,#b91c1c)] dark:hover:bg-[var(--zui-table-row-crimson-bg-hover-dark,#f87171)] hover:text-[color:var(--zui-table-row-crimson-fg-hover,#ffffff)] dark:hover:text-[color:var(--zui-table-row-crimson-fg-hover-dark,#ffffff)]\",\n aqua: \"border-[color:var(--zui-table-row-aqua-border,#0f766e)] dark:border-[color:var(--zui-table-row-aqua-border-dark,#2dd4bf)] hover:bg-[var(--zui-table-row-aqua-bg-hover,#0f766e)] dark:hover:bg-[var(--zui-table-row-aqua-bg-hover-dark,#2dd4bf)] hover:text-[color:var(--zui-table-row-aqua-fg-hover,#ffffff)] dark:hover:text-[color:var(--zui-table-row-aqua-fg-hover-dark,#ffffff)]\",\n plum: \"border-[color:var(--zui-table-row-plum-border,#7e22ce)] dark:border-[color:var(--zui-table-row-plum-border-dark,#c084fc)] hover:bg-[var(--zui-table-row-plum-bg-hover,#7e22ce)] dark:hover:bg-[var(--zui-table-row-plum-bg-hover-dark,#c084fc)] hover:text-[color:var(--zui-table-row-plum-fg-hover,#ffffff)] dark:hover:text-[color:var(--zui-table-row-plum-fg-hover-dark,#ffffff)]\",\n} as const;\n\nexport const zuiTableCellBase = \"min-w-0 border p-3 align-middle break-words\";\n\nexport const zuiTableCellAppearances = {\n default:\n \"border-[color:var(--zui-table-cell-default-border,#0000001a)] dark:border-[color:var(--zui-table-cell-default-border-dark,#ffffff1a)]\",\n striped:\n \"border-[color:var(--zui-table-cell-striped-border,#0000001a)] dark:border-[color:var(--zui-table-cell-striped-border-dark,#ffffff1a)]\",\n bordered:\n \"border-[color:var(--zui-table-cell-bordered-border,#0000001a)] dark:border-[color:var(--zui-table-cell-bordered-border-dark,#ffffff1a)]\",\n ghost:\n \"border-[color:var(--zui-table-cell-ghost-border,#0000001a)] dark:border-[color:var(--zui-table-cell-ghost-border-dark,#ffffff1a)]\",\n sky: \"border-[color:var(--zui-table-cell-sky-border,oklch(44.3%_0.11_240.79))] dark:border-[color:var(--zui-table-cell-sky-border-dark,oklch(58.8%_0.158_241.966))]\",\n rose: \"border-[color:var(--zui-table-cell-rose-border,oklch(45.5%_0.188_13.697))] dark:border-[color:var(--zui-table-cell-rose-border-dark,oklch(58.6%_0.253_17.585))]\",\n purple:\n \"border-[color:var(--zui-table-cell-purple-border,oklch(43.8%_0.218_303.724))] dark:border-[color:var(--zui-table-cell-purple-border-dark,oklch(55.8%_0.288_302.321))]\",\n pink: \"border-[color:var(--zui-table-cell-pink-border,oklch(45.9%_0.187_3.815))] dark:border-[color:var(--zui-table-cell-pink-border-dark,oklch(59.2%_0.249_0.584))]\",\n orange:\n \"border-[color:var(--zui-table-cell-orange-border,oklch(47%_0.157_37.304))] dark:border-[color:var(--zui-table-cell-orange-border-dark,oklch(64.6%_0.222_41.116))]\",\n yellow:\n \"border-[color:var(--zui-table-cell-yellow-border,oklch(47.6%_0.114_61.907))] dark:border-[color:var(--zui-table-cell-yellow-border-dark,oklch(68.1%_0.162_75.834))]\",\n teal: \"border-[color:var(--zui-table-cell-teal-border,oklch(43.7%_0.078_188.216))] dark:border-[color:var(--zui-table-cell-teal-border-dark,oklch(60%_0.118_184.704))]\",\n indigo:\n \"border-[color:var(--zui-table-cell-indigo-border,oklch(39.8%_0.195_277.366))] dark:border-[color:var(--zui-table-cell-indigo-border-dark,oklch(51.1%_0.262_276.966))]\",\n emerald:\n \"border-[color:var(--zui-table-cell-emerald-border,oklch(43.2%_0.095_166.913))] dark:border-[color:var(--zui-table-cell-emerald-border-dark,oklch(59.6%_0.145_163.225))]\",\n gray: \"border-[color:var(--zui-table-cell-gray-border,oklch(27.8%_0.033_256.848))] dark:border-[color:var(--zui-table-cell-gray-border-dark,oklch(44.6%_0.03_256.802))]\",\n amber:\n \"border-[color:var(--zui-table-cell-amber-border,oklch(47.3%_0.137_46.201))] dark:border-[color:var(--zui-table-cell-amber-border-dark,oklch(66.6%_0.179_58.318))]\",\n violet:\n \"border-[color:var(--zui-table-cell-violet-border,oklch(43.2%_0.232_292.759))] dark:border-[color:var(--zui-table-cell-violet-border-dark,oklch(54.1%_0.281_293.009))]\",\n blue: \"border border-[color:var(--zui-table-cell-blue-border,#2563eb)] dark:border-[color:var(--zui-table-cell-blue-border-dark,#3b82f6)]\",\n cyan: \"border border-[color:var(--zui-table-cell-cyan-border,#0891b2)] dark:border-[color:var(--zui-table-cell-cyan-border-dark,#22d3ee)]\",\n green:\n \"border border-[color:var(--zui-table-cell-green-border,#16a34a)] dark:border-[color:var(--zui-table-cell-green-border-dark,#22c55e)]\",\n lime: \"border border-[color:var(--zui-table-cell-lime-border,#65a30d)] dark:border-[color:var(--zui-table-cell-lime-border-dark,#a3e635)]\",\n mint: \"border border-[color:var(--zui-table-cell-mint-border,#10b981)] dark:border-[color:var(--zui-table-cell-mint-border-dark,#6ee7b7)]\",\n ocean:\n \"border border-[color:var(--zui-table-cell-ocean-border,#0284c7)] dark:border-[color:var(--zui-table-cell-ocean-border-dark,#38bdf8)]\",\n sapphire:\n \"border border-[color:var(--zui-table-cell-sapphire-border,#1d4ed8)] dark:border-[color:var(--zui-table-cell-sapphire-border-dark,#60a5fa)]\",\n lavender:\n \"border border-[color:var(--zui-table-cell-lavender-border,#8b5cf6)] dark:border-[color:var(--zui-table-cell-lavender-border-dark,#a78bfa)]\",\n ruby: \"border border-[color:var(--zui-table-cell-ruby-border,#be123c)] dark:border-[color:var(--zui-table-cell-ruby-border-dark,#fb7185)]\",\n red: \"border border-[color:var(--zui-table-cell-red-border,#dc2626)] dark:border-[color:var(--zui-table-cell-red-border-dark,#ef4444)]\",\n slate:\n \"border border-[color:var(--zui-table-cell-slate-border,#475569)] dark:border-[color:var(--zui-table-cell-slate-border-dark,#64748b)]\",\n zinc: \"border border-[color:var(--zui-table-cell-zinc-border,#52525b)] dark:border-[color:var(--zui-table-cell-zinc-border-dark,#71717a)]\",\n stone:\n \"border border-[color:var(--zui-table-cell-stone-border,#57534e)] dark:border-[color:var(--zui-table-cell-stone-border-dark,#78716c)]\",\n royal:\n \"border border-[color:var(--zui-table-cell-royal-border,#4338ca)] dark:border-[color:var(--zui-table-cell-royal-border-dark,#818cf8)]\",\n electric:\n \"border border-[color:var(--zui-table-cell-electric-border,#0ea5e9)] dark:border-[color:var(--zui-table-cell-electric-border-dark,#38bdf8)]\",\n forest:\n \"border border-[color:var(--zui-table-cell-forest-border,#166534)] dark:border-[color:var(--zui-table-cell-forest-border-dark,#4ade80)]\",\n sunset:\n \"border border-[color:var(--zui-table-cell-sunset-border,#ea580c)] dark:border-[color:var(--zui-table-cell-sunset-border-dark,#fb923c)]\",\n magenta:\n \"border border-[color:var(--zui-table-cell-magenta-border,#c026d3)] dark:border-[color:var(--zui-table-cell-magenta-border-dark,#e879f9)]\",\n crimson:\n \"border border-[color:var(--zui-table-cell-crimson-border,#b91c1c)] dark:border-[color:var(--zui-table-cell-crimson-border-dark,#f87171)]\",\n aqua: \"border border-[color:var(--zui-table-cell-aqua-border,#0f766e)] dark:border-[color:var(--zui-table-cell-aqua-border-dark,#2dd4bf)]\",\n plum: \"border border-[color:var(--zui-table-cell-plum-border,#7e22ce)] dark:border-[color:var(--zui-table-cell-plum-border-dark,#c084fc)]\",\n} as const;\n\nexport const zuiTableCellSizes = {\n sm: \"p-2\",\n md: \"p-3\",\n lg: \"p-4\",\n} as const;\n\nexport const zuiTableTextAlignments = {\n left: \"text-left\",\n center: \"text-center\",\n right: \"text-right\",\n} as const;\n"]}
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import { cva } from 'class-variance-authority';
|
|
3
|
-
import { createContext, useContext, useState, useId, useRef } from 'react';
|
|
4
|
-
import { jsx } from 'react/jsx-runtime';
|
|
1
|
+
'use strict';
|
|
5
2
|
|
|
6
3
|
// src/design-system/tabs.ts
|
|
7
4
|
var zuiTabsListBase = "flex flex-wrap items-center gap-1";
|
|
@@ -74,220 +71,13 @@ var zuiTabsTriggerSizes = {
|
|
|
74
71
|
lg: "px-4 py-2"
|
|
75
72
|
};
|
|
76
73
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
variant: "pills"
|
|
88
|
-
}
|
|
89
|
-
});
|
|
90
|
-
var tabsTriggerVariants = cva(zuiTabsTriggerBase, {
|
|
91
|
-
variants: {
|
|
92
|
-
appearance: zuiTabsTriggerAppearances,
|
|
93
|
-
variant: zuiTabsTriggerVariants,
|
|
94
|
-
size: zuiTabsTriggerSizes
|
|
95
|
-
},
|
|
96
|
-
defaultVariants: {
|
|
97
|
-
appearance: "default",
|
|
98
|
-
variant: "pills",
|
|
99
|
-
size: "md"
|
|
100
|
-
}
|
|
101
|
-
});
|
|
102
|
-
var TabsContext = createContext(null);
|
|
103
|
-
var useTabs = () => {
|
|
104
|
-
const ctx = useContext(TabsContext);
|
|
105
|
-
if (!ctx) throw new Error("Tabs components must be used within Tabs");
|
|
106
|
-
return ctx;
|
|
107
|
-
};
|
|
108
|
-
function Tabs({
|
|
109
|
-
value,
|
|
110
|
-
defaultValue,
|
|
111
|
-
onValueChange,
|
|
112
|
-
orientation = "horizontal",
|
|
113
|
-
variant,
|
|
114
|
-
size,
|
|
115
|
-
appearance,
|
|
116
|
-
children,
|
|
117
|
-
className
|
|
118
|
-
}) {
|
|
119
|
-
const [internalValue, setInternalValue] = useState(defaultValue);
|
|
120
|
-
const idPrefix = useId();
|
|
121
|
-
const listRef = useRef(null);
|
|
122
|
-
const isControlled = value !== void 0;
|
|
123
|
-
const currentValue = isControlled ? value : internalValue;
|
|
124
|
-
const setValue = (val) => {
|
|
125
|
-
if (!isControlled) setInternalValue(val);
|
|
126
|
-
onValueChange?.(val);
|
|
127
|
-
};
|
|
128
|
-
const tabTriggerId = (tabValue) => `${idPrefix}zentauri-tab-${tabValue}`;
|
|
129
|
-
const tabPanelId = (tabValue) => `${idPrefix}zentauri-panel-${tabValue}`;
|
|
130
|
-
return /* @__PURE__ */ jsx(
|
|
131
|
-
TabsContext.Provider,
|
|
132
|
-
{
|
|
133
|
-
value: {
|
|
134
|
-
value: currentValue,
|
|
135
|
-
setValue,
|
|
136
|
-
listRef,
|
|
137
|
-
orientation,
|
|
138
|
-
size,
|
|
139
|
-
variant,
|
|
140
|
-
appearance,
|
|
141
|
-
tabTriggerId,
|
|
142
|
-
tabPanelId
|
|
143
|
-
},
|
|
144
|
-
children: /* @__PURE__ */ jsx("div", { "data-slot": "tabs", className: cn("w-full", className), children })
|
|
145
|
-
}
|
|
146
|
-
);
|
|
147
|
-
}
|
|
148
|
-
function TabsList({ children, className, ...props }) {
|
|
149
|
-
const { orientation, size, listRef } = useTabs();
|
|
150
|
-
return /* @__PURE__ */ jsx(
|
|
151
|
-
"div",
|
|
152
|
-
{
|
|
153
|
-
ref: listRef,
|
|
154
|
-
role: "tablist",
|
|
155
|
-
"aria-orientation": orientation,
|
|
156
|
-
className: cn(tabsListVariants({ orientation, size }), className),
|
|
157
|
-
...props,
|
|
158
|
-
children
|
|
159
|
-
}
|
|
160
|
-
);
|
|
161
|
-
}
|
|
162
|
-
function TabsTrigger({
|
|
163
|
-
value,
|
|
164
|
-
children,
|
|
165
|
-
disabled,
|
|
166
|
-
className,
|
|
167
|
-
...props
|
|
168
|
-
}) {
|
|
169
|
-
const {
|
|
170
|
-
value: activeValue,
|
|
171
|
-
setValue,
|
|
172
|
-
listRef,
|
|
173
|
-
orientation,
|
|
174
|
-
tabTriggerId,
|
|
175
|
-
tabPanelId,
|
|
176
|
-
size,
|
|
177
|
-
appearance,
|
|
178
|
-
variant
|
|
179
|
-
} = useTabs();
|
|
180
|
-
const isActive = activeValue === value;
|
|
181
|
-
const handleKeyDown = (e) => {
|
|
182
|
-
const list = listRef.current;
|
|
183
|
-
const triggers = list === null ? [] : Array.from(list.querySelectorAll('[role="tab"]'));
|
|
184
|
-
const nextKeys = orientation === "vertical" ? ["ArrowDown"] : ["ArrowRight"];
|
|
185
|
-
const prevKeys = orientation === "vertical" ? ["ArrowUp"] : ["ArrowLeft"];
|
|
186
|
-
const index = triggers.findIndex((el) => el === e.currentTarget);
|
|
187
|
-
if (index === -1) {
|
|
188
|
-
return;
|
|
189
|
-
}
|
|
190
|
-
const findEnabledIndex = (start, direction) => {
|
|
191
|
-
const n = triggers.length;
|
|
192
|
-
if (n === 0) {
|
|
193
|
-
return void 0;
|
|
194
|
-
}
|
|
195
|
-
let i = start;
|
|
196
|
-
for (let step = 0; step < n; step += 1) {
|
|
197
|
-
i = (i + direction + n) % n;
|
|
198
|
-
if (triggers[i]?.disabled !== true) {
|
|
199
|
-
return i;
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
return void 0;
|
|
203
|
-
};
|
|
204
|
-
const focusAt = (i) => {
|
|
205
|
-
const target = triggers[i];
|
|
206
|
-
if (target !== void 0 && target.disabled !== true) {
|
|
207
|
-
target.focus();
|
|
208
|
-
}
|
|
209
|
-
};
|
|
210
|
-
const isNext = nextKeys.includes(e.key);
|
|
211
|
-
const isPrev = prevKeys.includes(e.key);
|
|
212
|
-
if (isNext) {
|
|
213
|
-
e.preventDefault();
|
|
214
|
-
const nextIdx = findEnabledIndex(index, 1);
|
|
215
|
-
if (nextIdx !== void 0) {
|
|
216
|
-
focusAt(nextIdx);
|
|
217
|
-
}
|
|
218
|
-
return;
|
|
219
|
-
}
|
|
220
|
-
if (isPrev) {
|
|
221
|
-
e.preventDefault();
|
|
222
|
-
const prevIdx = findEnabledIndex(index, -1);
|
|
223
|
-
if (prevIdx !== void 0) {
|
|
224
|
-
focusAt(prevIdx);
|
|
225
|
-
}
|
|
226
|
-
return;
|
|
227
|
-
}
|
|
228
|
-
if (e.key === "Home") {
|
|
229
|
-
e.preventDefault();
|
|
230
|
-
const firstEnabledIndex = triggers.findIndex((btn) => !btn.disabled);
|
|
231
|
-
if (firstEnabledIndex !== -1) {
|
|
232
|
-
triggers[firstEnabledIndex]?.focus();
|
|
233
|
-
}
|
|
234
|
-
return;
|
|
235
|
-
}
|
|
236
|
-
if (e.key === "End") {
|
|
237
|
-
e.preventDefault();
|
|
238
|
-
for (let i = triggers.length - 1; i >= 0; i -= 1) {
|
|
239
|
-
if (!triggers[i]?.disabled) {
|
|
240
|
-
triggers[i]?.focus();
|
|
241
|
-
break;
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
};
|
|
246
|
-
return /* @__PURE__ */ jsx(
|
|
247
|
-
"button",
|
|
248
|
-
{
|
|
249
|
-
id: tabTriggerId(value),
|
|
250
|
-
type: "button",
|
|
251
|
-
role: "tab",
|
|
252
|
-
"data-state": isActive ? "active" : "inactive",
|
|
253
|
-
"aria-selected": isActive,
|
|
254
|
-
"aria-controls": tabPanelId(value),
|
|
255
|
-
disabled,
|
|
256
|
-
tabIndex: activeValue === void 0 ? void 0 : isActive ? 0 : -1,
|
|
257
|
-
onClick: () => setValue(value),
|
|
258
|
-
onKeyDown: handleKeyDown,
|
|
259
|
-
className: cn(
|
|
260
|
-
tabsTriggerVariants({ size, appearance, variant }),
|
|
261
|
-
className,
|
|
262
|
-
"cursor-pointer"
|
|
263
|
-
),
|
|
264
|
-
...props,
|
|
265
|
-
children
|
|
266
|
-
}
|
|
267
|
-
);
|
|
268
|
-
}
|
|
269
|
-
function TabsContent({
|
|
270
|
-
value,
|
|
271
|
-
children,
|
|
272
|
-
className,
|
|
273
|
-
as: Wrapper = "div",
|
|
274
|
-
...props
|
|
275
|
-
}) {
|
|
276
|
-
const { value: activeValue, tabTriggerId, tabPanelId } = useTabs();
|
|
277
|
-
if (activeValue !== value) return null;
|
|
278
|
-
return /* @__PURE__ */ jsx(
|
|
279
|
-
Wrapper,
|
|
280
|
-
{
|
|
281
|
-
id: tabPanelId(value),
|
|
282
|
-
role: "tabpanel",
|
|
283
|
-
"aria-labelledby": tabTriggerId(value),
|
|
284
|
-
className: cn("mt-2", className),
|
|
285
|
-
...props,
|
|
286
|
-
children
|
|
287
|
-
}
|
|
288
|
-
);
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
export { Tabs, TabsContent, TabsContext, TabsList, TabsTrigger, tabsListVariants, tabsTriggerVariants, useTabs };
|
|
292
|
-
//# sourceMappingURL=chunk-AS34PVUG.mjs.map
|
|
293
|
-
//# sourceMappingURL=chunk-AS34PVUG.mjs.map
|
|
74
|
+
exports.zuiTabsListBase = zuiTabsListBase;
|
|
75
|
+
exports.zuiTabsListSizes = zuiTabsListSizes;
|
|
76
|
+
exports.zuiTabsListVariants = zuiTabsListVariants;
|
|
77
|
+
exports.zuiTabsOrientations = zuiTabsOrientations;
|
|
78
|
+
exports.zuiTabsTriggerAppearances = zuiTabsTriggerAppearances;
|
|
79
|
+
exports.zuiTabsTriggerBase = zuiTabsTriggerBase;
|
|
80
|
+
exports.zuiTabsTriggerSizes = zuiTabsTriggerSizes;
|
|
81
|
+
exports.zuiTabsTriggerVariants = zuiTabsTriggerVariants;
|
|
82
|
+
//# sourceMappingURL=chunk-3Z6L24ZK.js.map
|
|
83
|
+
//# sourceMappingURL=chunk-3Z6L24ZK.js.map
|