@zentauri-ui/zentauri-components 1.8.3 → 1.8.4
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 +54 -13
- package/cli/cli.integration.test.ts +20 -3
- package/cli/index.mjs +45 -15
- package/cli/registry.json +208 -1
- package/dist/animations/blur-in/blur-in.d.ts +5 -0
- package/dist/animations/blur-in/blur-in.d.ts.map +1 -0
- package/dist/animations/blur-in/index.d.ts +4 -0
- package/dist/animations/blur-in/index.d.ts.map +1 -0
- package/dist/animations/blur-in/presets.d.ts +19 -0
- package/dist/animations/blur-in/presets.d.ts.map +1 -0
- package/dist/animations/blur-in/types.d.ts +3 -0
- package/dist/animations/blur-in/types.d.ts.map +1 -0
- package/dist/animations/blur-in.js +24 -0
- package/dist/animations/blur-in.js.map +1 -0
- package/dist/animations/blur-in.mjs +21 -0
- package/dist/animations/blur-in.mjs.map +1 -0
- package/dist/animations/blur-out/blur-out.d.ts +5 -0
- package/dist/animations/blur-out/blur-out.d.ts.map +1 -0
- package/dist/animations/blur-out/index.d.ts +4 -0
- package/dist/animations/blur-out/index.d.ts.map +1 -0
- package/dist/animations/blur-out/presets.d.ts +19 -0
- package/dist/animations/blur-out/presets.d.ts.map +1 -0
- package/dist/animations/blur-out/types.d.ts +3 -0
- package/dist/animations/blur-out/types.d.ts.map +1 -0
- package/dist/animations/blur-out.js +24 -0
- package/dist/animations/blur-out.js.map +1 -0
- package/dist/animations/blur-out.mjs +21 -0
- package/dist/animations/blur-out.mjs.map +1 -0
- package/dist/animations/bounce/bounce.d.ts +5 -0
- package/dist/animations/bounce/bounce.d.ts.map +1 -0
- package/dist/animations/bounce/index.d.ts +4 -0
- package/dist/animations/bounce/index.d.ts.map +1 -0
- package/dist/animations/bounce/presets.d.ts +19 -0
- package/dist/animations/bounce/presets.d.ts.map +1 -0
- package/dist/animations/bounce/types.d.ts +3 -0
- package/dist/animations/bounce/types.d.ts.map +1 -0
- package/dist/animations/bounce.js +29 -0
- package/dist/animations/bounce.js.map +1 -0
- package/dist/animations/bounce.mjs +26 -0
- package/dist/animations/bounce.mjs.map +1 -0
- package/dist/animations/fade-down/fade-down.d.ts +5 -0
- package/dist/animations/fade-down/fade-down.d.ts.map +1 -0
- package/dist/animations/fade-down/index.d.ts +4 -0
- package/dist/animations/fade-down/index.d.ts.map +1 -0
- package/dist/animations/fade-down/presets.d.ts +19 -0
- package/dist/animations/fade-down/presets.d.ts.map +1 -0
- package/dist/animations/fade-down/types.d.ts +3 -0
- package/dist/animations/fade-down/types.d.ts.map +1 -0
- package/dist/animations/fade-down.js +24 -0
- package/dist/animations/fade-down.js.map +1 -0
- package/dist/animations/fade-down.mjs +21 -0
- package/dist/animations/fade-down.mjs.map +1 -0
- package/dist/animations/fade-in/fade-in.d.ts +5 -0
- package/dist/animations/fade-in/fade-in.d.ts.map +1 -0
- package/dist/animations/fade-in/index.d.ts +4 -0
- package/dist/animations/fade-in/index.d.ts.map +1 -0
- package/dist/animations/fade-in/presets.d.ts +16 -0
- package/dist/animations/fade-in/presets.d.ts.map +1 -0
- package/dist/animations/fade-in/types.d.ts +3 -0
- package/dist/animations/fade-in/types.d.ts.map +1 -0
- package/dist/animations/fade-in.js +24 -0
- package/dist/animations/fade-in.js.map +1 -0
- package/dist/animations/fade-in.mjs +21 -0
- package/dist/animations/fade-in.mjs.map +1 -0
- package/dist/animations/fade-left/fade-left.d.ts +5 -0
- package/dist/animations/fade-left/fade-left.d.ts.map +1 -0
- package/dist/animations/fade-left/index.d.ts +4 -0
- package/dist/animations/fade-left/index.d.ts.map +1 -0
- package/dist/animations/fade-left/presets.d.ts +19 -0
- package/dist/animations/fade-left/presets.d.ts.map +1 -0
- package/dist/animations/fade-left/types.d.ts +3 -0
- package/dist/animations/fade-left/types.d.ts.map +1 -0
- package/dist/animations/fade-left.js +24 -0
- package/dist/animations/fade-left.js.map +1 -0
- package/dist/animations/fade-left.mjs +21 -0
- package/dist/animations/fade-left.mjs.map +1 -0
- package/dist/animations/fade-out/fade-out.d.ts +5 -0
- package/dist/animations/fade-out/fade-out.d.ts.map +1 -0
- package/dist/animations/fade-out/index.d.ts +4 -0
- package/dist/animations/fade-out/index.d.ts.map +1 -0
- package/dist/animations/fade-out/presets.d.ts +16 -0
- package/dist/animations/fade-out/presets.d.ts.map +1 -0
- package/dist/animations/fade-out/types.d.ts +3 -0
- package/dist/animations/fade-out/types.d.ts.map +1 -0
- package/dist/animations/fade-out.js +24 -0
- package/dist/animations/fade-out.js.map +1 -0
- package/dist/animations/fade-out.mjs +21 -0
- package/dist/animations/fade-out.mjs.map +1 -0
- package/dist/animations/fade-right/fade-right.d.ts +5 -0
- package/dist/animations/fade-right/fade-right.d.ts.map +1 -0
- package/dist/animations/fade-right/index.d.ts +4 -0
- package/dist/animations/fade-right/index.d.ts.map +1 -0
- package/dist/animations/fade-right/presets.d.ts +19 -0
- package/dist/animations/fade-right/presets.d.ts.map +1 -0
- package/dist/animations/fade-right/types.d.ts +3 -0
- package/dist/animations/fade-right/types.d.ts.map +1 -0
- package/dist/animations/fade-right.js +24 -0
- package/dist/animations/fade-right.js.map +1 -0
- package/dist/animations/fade-right.mjs +21 -0
- package/dist/animations/fade-right.mjs.map +1 -0
- package/dist/animations/fade-up/fade-up.d.ts +5 -0
- package/dist/animations/fade-up/fade-up.d.ts.map +1 -0
- package/dist/animations/fade-up/index.d.ts +4 -0
- package/dist/animations/fade-up/index.d.ts.map +1 -0
- package/dist/animations/fade-up/presets.d.ts +19 -0
- package/dist/animations/fade-up/presets.d.ts.map +1 -0
- package/dist/animations/fade-up/types.d.ts +3 -0
- package/dist/animations/fade-up/types.d.ts.map +1 -0
- package/dist/animations/fade-up.js +24 -0
- package/dist/animations/fade-up.js.map +1 -0
- package/dist/animations/fade-up.mjs +21 -0
- package/dist/animations/fade-up.mjs.map +1 -0
- package/dist/animations/flip/flip.d.ts +5 -0
- package/dist/animations/flip/flip.d.ts.map +1 -0
- package/dist/animations/flip/index.d.ts +4 -0
- package/dist/animations/flip/index.d.ts.map +1 -0
- package/dist/animations/flip/presets.d.ts +22 -0
- package/dist/animations/flip/presets.d.ts.map +1 -0
- package/dist/animations/flip/types.d.ts +3 -0
- package/dist/animations/flip/types.d.ts.map +1 -0
- package/dist/animations/flip-in/flip-in.d.ts +5 -0
- package/dist/animations/flip-in/flip-in.d.ts.map +1 -0
- package/dist/animations/flip-in/index.d.ts +4 -0
- package/dist/animations/flip-in/index.d.ts.map +1 -0
- package/dist/animations/flip-in/presets.d.ts +22 -0
- package/dist/animations/flip-in/presets.d.ts.map +1 -0
- package/dist/animations/flip-in/types.d.ts +3 -0
- package/dist/animations/flip-in/types.d.ts.map +1 -0
- package/dist/animations/flip-in.js +24 -0
- package/dist/animations/flip-in.js.map +1 -0
- package/dist/animations/flip-in.mjs +21 -0
- package/dist/animations/flip-in.mjs.map +1 -0
- package/dist/animations/flip.js +25 -0
- package/dist/animations/flip.js.map +1 -0
- package/dist/animations/flip.mjs +22 -0
- package/dist/animations/flip.mjs.map +1 -0
- package/dist/animations/float/float.d.ts +5 -0
- package/dist/animations/float/float.d.ts.map +1 -0
- package/dist/animations/float/index.d.ts +4 -0
- package/dist/animations/float/index.d.ts.map +1 -0
- package/dist/animations/float/presets.d.ts +18 -0
- package/dist/animations/float/presets.d.ts.map +1 -0
- package/dist/animations/float/types.d.ts +3 -0
- package/dist/animations/float/types.d.ts.map +1 -0
- package/dist/animations/float.js +24 -0
- package/dist/animations/float.js.map +1 -0
- package/dist/animations/float.mjs +21 -0
- package/dist/animations/float.mjs.map +1 -0
- package/dist/animations/hover-lift/hover-lift.d.ts +5 -0
- package/dist/animations/hover-lift/hover-lift.d.ts.map +1 -0
- package/dist/animations/hover-lift/index.d.ts +4 -0
- package/dist/animations/hover-lift/index.d.ts.map +1 -0
- package/dist/animations/hover-lift/presets.d.ts +29 -0
- package/dist/animations/hover-lift/presets.d.ts.map +1 -0
- package/dist/animations/hover-lift/types.d.ts +3 -0
- package/dist/animations/hover-lift/types.d.ts.map +1 -0
- package/dist/animations/hover-lift.js +26 -0
- package/dist/animations/hover-lift.js.map +1 -0
- package/dist/animations/hover-lift.mjs +23 -0
- package/dist/animations/hover-lift.mjs.map +1 -0
- package/dist/animations/hover-scale/hover-scale.d.ts +5 -0
- package/dist/animations/hover-scale/hover-scale.d.ts.map +1 -0
- package/dist/animations/hover-scale/index.d.ts +4 -0
- package/dist/animations/hover-scale/index.d.ts.map +1 -0
- package/dist/animations/hover-scale/presets.d.ts +24 -0
- package/dist/animations/hover-scale/presets.d.ts.map +1 -0
- package/dist/animations/hover-scale/types.d.ts +3 -0
- package/dist/animations/hover-scale/types.d.ts.map +1 -0
- package/dist/animations/hover-scale.js +26 -0
- package/dist/animations/hover-scale.js.map +1 -0
- package/dist/animations/hover-scale.mjs +23 -0
- package/dist/animations/hover-scale.mjs.map +1 -0
- package/dist/animations/magnetic/index.d.ts +4 -0
- package/dist/animations/magnetic/index.d.ts.map +1 -0
- package/dist/animations/magnetic/magnetic.d.ts +5 -0
- package/dist/animations/magnetic/magnetic.d.ts.map +1 -0
- package/dist/animations/magnetic/presets.d.ts +32 -0
- package/dist/animations/magnetic/presets.d.ts.map +1 -0
- package/dist/animations/magnetic/types.d.ts +3 -0
- package/dist/animations/magnetic/types.d.ts.map +1 -0
- package/dist/animations/magnetic.js +26 -0
- package/dist/animations/magnetic.js.map +1 -0
- package/dist/animations/magnetic.mjs +23 -0
- package/dist/animations/magnetic.mjs.map +1 -0
- package/dist/animations/parallax/index.d.ts +4 -0
- package/dist/animations/parallax/index.d.ts.map +1 -0
- package/dist/animations/parallax/parallax.d.ts +5 -0
- package/dist/animations/parallax/parallax.d.ts.map +1 -0
- package/dist/animations/parallax/presets.d.ts +20 -0
- package/dist/animations/parallax/presets.d.ts.map +1 -0
- package/dist/animations/parallax/types.d.ts +3 -0
- package/dist/animations/parallax/types.d.ts.map +1 -0
- package/dist/animations/parallax.js +24 -0
- package/dist/animations/parallax.js.map +1 -0
- package/dist/animations/parallax.mjs +21 -0
- package/dist/animations/parallax.mjs.map +1 -0
- package/dist/animations/ping/index.d.ts +4 -0
- package/dist/animations/ping/index.d.ts.map +1 -0
- package/dist/animations/ping/ping.d.ts +5 -0
- package/dist/animations/ping/ping.d.ts.map +1 -0
- package/dist/animations/ping/presets.d.ts +21 -0
- package/dist/animations/ping/presets.d.ts.map +1 -0
- package/dist/animations/ping/types.d.ts +3 -0
- package/dist/animations/ping/types.d.ts.map +1 -0
- package/dist/animations/ping.js +25 -0
- package/dist/animations/ping.js.map +1 -0
- package/dist/animations/ping.mjs +22 -0
- package/dist/animations/ping.mjs.map +1 -0
- package/dist/animations/pop-in/index.d.ts +4 -0
- package/dist/animations/pop-in/index.d.ts.map +1 -0
- package/dist/animations/pop-in/pop-in.d.ts +5 -0
- package/dist/animations/pop-in/pop-in.d.ts.map +1 -0
- package/dist/animations/pop-in/presets.d.ts +19 -0
- package/dist/animations/pop-in/presets.d.ts.map +1 -0
- package/dist/animations/pop-in/types.d.ts +3 -0
- package/dist/animations/pop-in/types.d.ts.map +1 -0
- package/dist/animations/pop-in.js +24 -0
- package/dist/animations/pop-in.js.map +1 -0
- package/dist/animations/pop-in.mjs +21 -0
- package/dist/animations/pop-in.mjs.map +1 -0
- package/dist/animations/press/index.d.ts +4 -0
- package/dist/animations/press/index.d.ts.map +1 -0
- package/dist/animations/press/presets.d.ts +24 -0
- package/dist/animations/press/presets.d.ts.map +1 -0
- package/dist/animations/press/press.d.ts +5 -0
- package/dist/animations/press/press.d.ts.map +1 -0
- package/dist/animations/press/types.d.ts +3 -0
- package/dist/animations/press/types.d.ts.map +1 -0
- package/dist/animations/press.js +25 -0
- package/dist/animations/press.js.map +1 -0
- package/dist/animations/press.mjs +22 -0
- package/dist/animations/press.mjs.map +1 -0
- package/dist/animations/progress/index.d.ts +4 -0
- package/dist/animations/progress/index.d.ts.map +1 -0
- package/dist/animations/progress/presets.d.ts +19 -0
- package/dist/animations/progress/presets.d.ts.map +1 -0
- package/dist/animations/progress/progress.d.ts +5 -0
- package/dist/animations/progress/progress.d.ts.map +1 -0
- package/dist/animations/progress/types.d.ts +3 -0
- package/dist/animations/progress/types.d.ts.map +1 -0
- package/dist/animations/progress.js +24 -0
- package/dist/animations/progress.js.map +1 -0
- package/dist/animations/progress.mjs +21 -0
- package/dist/animations/progress.mjs.map +1 -0
- package/dist/animations/pulse/index.d.ts +4 -0
- package/dist/animations/pulse/index.d.ts.map +1 -0
- package/dist/animations/pulse/presets.d.ts +20 -0
- package/dist/animations/pulse/presets.d.ts.map +1 -0
- package/dist/animations/pulse/pulse.d.ts +5 -0
- package/dist/animations/pulse/pulse.d.ts.map +1 -0
- package/dist/animations/pulse/types.d.ts +3 -0
- package/dist/animations/pulse/types.d.ts.map +1 -0
- package/dist/animations/pulse.js +24 -0
- package/dist/animations/pulse.js.map +1 -0
- package/dist/animations/pulse.mjs +21 -0
- package/dist/animations/pulse.mjs.map +1 -0
- package/dist/animations/reorder/index.d.ts +4 -0
- package/dist/animations/reorder/index.d.ts.map +1 -0
- package/dist/animations/reorder/presets.d.ts +24 -0
- package/dist/animations/reorder/presets.d.ts.map +1 -0
- package/dist/animations/reorder/reorder.d.ts +5 -0
- package/dist/animations/reorder/reorder.d.ts.map +1 -0
- package/dist/animations/reorder/types.d.ts +3 -0
- package/dist/animations/reorder/types.d.ts.map +1 -0
- package/dist/animations/reorder.js +26 -0
- package/dist/animations/reorder.js.map +1 -0
- package/dist/animations/reorder.mjs +23 -0
- package/dist/animations/reorder.mjs.map +1 -0
- package/dist/animations/reveal-blur/index.d.ts +4 -0
- package/dist/animations/reveal-blur/index.d.ts.map +1 -0
- package/dist/animations/reveal-blur/presets.d.ts +22 -0
- package/dist/animations/reveal-blur/presets.d.ts.map +1 -0
- package/dist/animations/reveal-blur/reveal-blur.d.ts +5 -0
- package/dist/animations/reveal-blur/reveal-blur.d.ts.map +1 -0
- package/dist/animations/reveal-blur/types.d.ts +3 -0
- package/dist/animations/reveal-blur/types.d.ts.map +1 -0
- package/dist/animations/reveal-blur.js +24 -0
- package/dist/animations/reveal-blur.js.map +1 -0
- package/dist/animations/reveal-blur.mjs +21 -0
- package/dist/animations/reveal-blur.mjs.map +1 -0
- package/dist/animations/reveal-down/index.d.ts +4 -0
- package/dist/animations/reveal-down/index.d.ts.map +1 -0
- package/dist/animations/reveal-down/presets.d.ts +22 -0
- package/dist/animations/reveal-down/presets.d.ts.map +1 -0
- package/dist/animations/reveal-down/reveal-down.d.ts +5 -0
- package/dist/animations/reveal-down/reveal-down.d.ts.map +1 -0
- package/dist/animations/reveal-down/types.d.ts +3 -0
- package/dist/animations/reveal-down/types.d.ts.map +1 -0
- package/dist/animations/reveal-down.js +24 -0
- package/dist/animations/reveal-down.js.map +1 -0
- package/dist/animations/reveal-down.mjs +21 -0
- package/dist/animations/reveal-down.mjs.map +1 -0
- package/dist/animations/reveal-left/index.d.ts +4 -0
- package/dist/animations/reveal-left/index.d.ts.map +1 -0
- package/dist/animations/reveal-left/presets.d.ts +22 -0
- package/dist/animations/reveal-left/presets.d.ts.map +1 -0
- package/dist/animations/reveal-left/reveal-left.d.ts +5 -0
- package/dist/animations/reveal-left/reveal-left.d.ts.map +1 -0
- package/dist/animations/reveal-left/types.d.ts +3 -0
- package/dist/animations/reveal-left/types.d.ts.map +1 -0
- package/dist/animations/reveal-left.js +24 -0
- package/dist/animations/reveal-left.js.map +1 -0
- package/dist/animations/reveal-left.mjs +21 -0
- package/dist/animations/reveal-left.mjs.map +1 -0
- package/dist/animations/reveal-right/index.d.ts +4 -0
- package/dist/animations/reveal-right/index.d.ts.map +1 -0
- package/dist/animations/reveal-right/presets.d.ts +22 -0
- package/dist/animations/reveal-right/presets.d.ts.map +1 -0
- package/dist/animations/reveal-right/reveal-right.d.ts +5 -0
- package/dist/animations/reveal-right/reveal-right.d.ts.map +1 -0
- package/dist/animations/reveal-right/types.d.ts +3 -0
- package/dist/animations/reveal-right/types.d.ts.map +1 -0
- package/dist/animations/reveal-right.js +24 -0
- package/dist/animations/reveal-right.js.map +1 -0
- package/dist/animations/reveal-right.mjs +21 -0
- package/dist/animations/reveal-right.mjs.map +1 -0
- package/dist/animations/reveal-up/index.d.ts +4 -0
- package/dist/animations/reveal-up/index.d.ts.map +1 -0
- package/dist/animations/reveal-up/presets.d.ts +22 -0
- package/dist/animations/reveal-up/presets.d.ts.map +1 -0
- package/dist/animations/reveal-up/reveal-up.d.ts +5 -0
- package/dist/animations/reveal-up/reveal-up.d.ts.map +1 -0
- package/dist/animations/reveal-up/types.d.ts +3 -0
- package/dist/animations/reveal-up/types.d.ts.map +1 -0
- package/dist/animations/reveal-up.js +24 -0
- package/dist/animations/reveal-up.js.map +1 -0
- package/dist/animations/reveal-up.mjs +21 -0
- package/dist/animations/reveal-up.mjs.map +1 -0
- package/dist/animations/rotate-in/index.d.ts +4 -0
- package/dist/animations/rotate-in/index.d.ts.map +1 -0
- package/dist/animations/rotate-in/presets.d.ts +22 -0
- package/dist/animations/rotate-in/presets.d.ts.map +1 -0
- package/dist/animations/rotate-in/rotate-in.d.ts +5 -0
- package/dist/animations/rotate-in/rotate-in.d.ts.map +1 -0
- package/dist/animations/rotate-in/types.d.ts +3 -0
- package/dist/animations/rotate-in/types.d.ts.map +1 -0
- package/dist/animations/rotate-in.js +24 -0
- package/dist/animations/rotate-in.js.map +1 -0
- package/dist/animations/rotate-in.mjs +21 -0
- package/dist/animations/rotate-in.mjs.map +1 -0
- package/dist/animations/scale-in/index.d.ts +4 -0
- package/dist/animations/scale-in/index.d.ts.map +1 -0
- package/dist/animations/scale-in/presets.d.ts +19 -0
- package/dist/animations/scale-in/presets.d.ts.map +1 -0
- package/dist/animations/scale-in/scale-in.d.ts +5 -0
- package/dist/animations/scale-in/scale-in.d.ts.map +1 -0
- package/dist/animations/scale-in/types.d.ts +3 -0
- package/dist/animations/scale-in/types.d.ts.map +1 -0
- package/dist/animations/scale-in.js +24 -0
- package/dist/animations/scale-in.js.map +1 -0
- package/dist/animations/scale-in.mjs +21 -0
- package/dist/animations/scale-in.mjs.map +1 -0
- package/dist/animations/scale-out/index.d.ts +4 -0
- package/dist/animations/scale-out/index.d.ts.map +1 -0
- package/dist/animations/scale-out/presets.d.ts +19 -0
- package/dist/animations/scale-out/presets.d.ts.map +1 -0
- package/dist/animations/scale-out/scale-out.d.ts +5 -0
- package/dist/animations/scale-out/scale-out.d.ts.map +1 -0
- package/dist/animations/scale-out/types.d.ts +3 -0
- package/dist/animations/scale-out/types.d.ts.map +1 -0
- package/dist/animations/scale-out.js +24 -0
- package/dist/animations/scale-out.js.map +1 -0
- package/dist/animations/scale-out.mjs +21 -0
- package/dist/animations/scale-out.mjs.map +1 -0
- package/dist/animations/shake/index.d.ts +4 -0
- package/dist/animations/shake/index.d.ts.map +1 -0
- package/dist/animations/shake/presets.d.ts +19 -0
- package/dist/animations/shake/presets.d.ts.map +1 -0
- package/dist/animations/shake/shake.d.ts +5 -0
- package/dist/animations/shake/shake.d.ts.map +1 -0
- package/dist/animations/shake/types.d.ts +3 -0
- package/dist/animations/shake/types.d.ts.map +1 -0
- package/dist/animations/shake.js +29 -0
- package/dist/animations/shake.js.map +1 -0
- package/dist/animations/shake.mjs +26 -0
- package/dist/animations/shake.mjs.map +1 -0
- package/dist/animations/shared/create-motion-animation.d.ts +6 -0
- package/dist/animations/shared/create-motion-animation.d.ts.map +1 -0
- package/dist/animations/shared/index.d.ts +3 -0
- package/dist/animations/shared/index.d.ts.map +1 -0
- package/dist/animations/shared/types.d.ts +28 -0
- package/dist/animations/shared/types.d.ts.map +1 -0
- package/dist/animations/skeleton-shimmer/index.d.ts +4 -0
- package/dist/animations/skeleton-shimmer/index.d.ts.map +1 -0
- package/dist/animations/skeleton-shimmer/presets.d.ts +19 -0
- package/dist/animations/skeleton-shimmer/presets.d.ts.map +1 -0
- package/dist/animations/skeleton-shimmer/skeleton-shimmer.d.ts +5 -0
- package/dist/animations/skeleton-shimmer/skeleton-shimmer.d.ts.map +1 -0
- package/dist/animations/skeleton-shimmer/types.d.ts +3 -0
- package/dist/animations/skeleton-shimmer/types.d.ts.map +1 -0
- package/dist/animations/skeleton-shimmer.js +24 -0
- package/dist/animations/skeleton-shimmer.js.map +1 -0
- package/dist/animations/skeleton-shimmer.mjs +21 -0
- package/dist/animations/skeleton-shimmer.mjs.map +1 -0
- package/dist/animations/slide-down/index.d.ts +4 -0
- package/dist/animations/slide-down/index.d.ts.map +1 -0
- package/dist/animations/slide-down/presets.d.ts +16 -0
- package/dist/animations/slide-down/presets.d.ts.map +1 -0
- package/dist/animations/slide-down/slide-down.d.ts +5 -0
- package/dist/animations/slide-down/slide-down.d.ts.map +1 -0
- package/dist/animations/slide-down/types.d.ts +3 -0
- package/dist/animations/slide-down/types.d.ts.map +1 -0
- package/dist/animations/slide-down.js +24 -0
- package/dist/animations/slide-down.js.map +1 -0
- package/dist/animations/slide-down.mjs +21 -0
- package/dist/animations/slide-down.mjs.map +1 -0
- package/dist/animations/slide-left/index.d.ts +4 -0
- package/dist/animations/slide-left/index.d.ts.map +1 -0
- package/dist/animations/slide-left/presets.d.ts +16 -0
- package/dist/animations/slide-left/presets.d.ts.map +1 -0
- package/dist/animations/slide-left/slide-left.d.ts +5 -0
- package/dist/animations/slide-left/slide-left.d.ts.map +1 -0
- package/dist/animations/slide-left/types.d.ts +3 -0
- package/dist/animations/slide-left/types.d.ts.map +1 -0
- package/dist/animations/slide-left.js +24 -0
- package/dist/animations/slide-left.js.map +1 -0
- package/dist/animations/slide-left.mjs +21 -0
- package/dist/animations/slide-left.mjs.map +1 -0
- package/dist/animations/slide-right/index.d.ts +4 -0
- package/dist/animations/slide-right/index.d.ts.map +1 -0
- package/dist/animations/slide-right/presets.d.ts +16 -0
- package/dist/animations/slide-right/presets.d.ts.map +1 -0
- package/dist/animations/slide-right/slide-right.d.ts +5 -0
- package/dist/animations/slide-right/slide-right.d.ts.map +1 -0
- package/dist/animations/slide-right/types.d.ts +3 -0
- package/dist/animations/slide-right/types.d.ts.map +1 -0
- package/dist/animations/slide-right.js +24 -0
- package/dist/animations/slide-right.js.map +1 -0
- package/dist/animations/slide-right.mjs +21 -0
- package/dist/animations/slide-right.mjs.map +1 -0
- package/dist/animations/slide-up/index.d.ts +4 -0
- package/dist/animations/slide-up/index.d.ts.map +1 -0
- package/dist/animations/slide-up/presets.d.ts +16 -0
- package/dist/animations/slide-up/presets.d.ts.map +1 -0
- package/dist/animations/slide-up/slide-up.d.ts +5 -0
- package/dist/animations/slide-up/slide-up.d.ts.map +1 -0
- package/dist/animations/slide-up/types.d.ts +3 -0
- package/dist/animations/slide-up/types.d.ts.map +1 -0
- package/dist/animations/slide-up.js +24 -0
- package/dist/animations/slide-up.js.map +1 -0
- package/dist/animations/slide-up.mjs +21 -0
- package/dist/animations/slide-up.mjs.map +1 -0
- package/dist/animations/spin/index.d.ts +4 -0
- package/dist/animations/spin/index.d.ts.map +1 -0
- package/dist/animations/spin/presets.d.ts +18 -0
- package/dist/animations/spin/presets.d.ts.map +1 -0
- package/dist/animations/spin/spin.d.ts +5 -0
- package/dist/animations/spin/spin.d.ts.map +1 -0
- package/dist/animations/spin/types.d.ts +3 -0
- package/dist/animations/spin/types.d.ts.map +1 -0
- package/dist/animations/spin.js +20 -0
- package/dist/animations/spin.js.map +1 -0
- package/dist/animations/spin.mjs +17 -0
- package/dist/animations/spin.mjs.map +1 -0
- package/dist/animations/text-reveal/index.d.ts +4 -0
- package/dist/animations/text-reveal/index.d.ts.map +1 -0
- package/dist/animations/text-reveal/presets.d.ts +22 -0
- package/dist/animations/text-reveal/presets.d.ts.map +1 -0
- package/dist/animations/text-reveal/text-reveal.d.ts +5 -0
- package/dist/animations/text-reveal/text-reveal.d.ts.map +1 -0
- package/dist/animations/text-reveal/types.d.ts +3 -0
- package/dist/animations/text-reveal/types.d.ts.map +1 -0
- package/dist/animations/text-reveal.js +24 -0
- package/dist/animations/text-reveal.js.map +1 -0
- package/dist/animations/text-reveal.mjs +21 -0
- package/dist/animations/text-reveal.mjs.map +1 -0
- package/dist/animations/text-shimmer/index.d.ts +4 -0
- package/dist/animations/text-shimmer/index.d.ts.map +1 -0
- package/dist/animations/text-shimmer/presets.d.ts +19 -0
- package/dist/animations/text-shimmer/presets.d.ts.map +1 -0
- package/dist/animations/text-shimmer/text-shimmer.d.ts +5 -0
- package/dist/animations/text-shimmer/text-shimmer.d.ts.map +1 -0
- package/dist/animations/text-shimmer/types.d.ts +3 -0
- package/dist/animations/text-shimmer/types.d.ts.map +1 -0
- package/dist/animations/text-shimmer.js +24 -0
- package/dist/animations/text-shimmer.js.map +1 -0
- package/dist/animations/text-shimmer.mjs +21 -0
- package/dist/animations/text-shimmer.mjs.map +1 -0
- package/dist/animations/tilt/index.d.ts +4 -0
- package/dist/animations/tilt/index.d.ts.map +1 -0
- package/dist/animations/tilt/presets.d.ts +24 -0
- package/dist/animations/tilt/presets.d.ts.map +1 -0
- package/dist/animations/tilt/tilt.d.ts +5 -0
- package/dist/animations/tilt/tilt.d.ts.map +1 -0
- package/dist/animations/tilt/types.d.ts +3 -0
- package/dist/animations/tilt/types.d.ts.map +1 -0
- package/dist/animations/tilt.js +24 -0
- package/dist/animations/tilt.js.map +1 -0
- package/dist/animations/tilt.mjs +21 -0
- package/dist/animations/tilt.mjs.map +1 -0
- package/dist/animations/wiggle/index.d.ts +4 -0
- package/dist/animations/wiggle/index.d.ts.map +1 -0
- package/dist/animations/wiggle/presets.d.ts +19 -0
- package/dist/animations/wiggle/presets.d.ts.map +1 -0
- package/dist/animations/wiggle/types.d.ts +3 -0
- package/dist/animations/wiggle/types.d.ts.map +1 -0
- package/dist/animations/wiggle/wiggle.d.ts +5 -0
- package/dist/animations/wiggle/wiggle.d.ts.map +1 -0
- package/dist/animations/wiggle.js +29 -0
- package/dist/animations/wiggle.js.map +1 -0
- package/dist/animations/wiggle.mjs +26 -0
- package/dist/animations/wiggle.mjs.map +1 -0
- package/dist/charts/shared/variants.d.ts +1 -1
- package/dist/{chunk-RKX5MERK.js → chunk-2F7P4EJQ.js} +2 -2
- package/dist/chunk-2F7P4EJQ.js.map +1 -0
- package/dist/{chunk-MEAVYU2Y.mjs → chunk-2ZKW2E7B.mjs} +10 -3
- package/dist/chunk-2ZKW2E7B.mjs.map +1 -0
- package/dist/{chunk-CL3VH223.mjs → chunk-3F4FF2H4.mjs} +3 -9
- package/dist/chunk-3F4FF2H4.mjs.map +1 -0
- package/dist/{chunk-LMIL2R4R.js → chunk-3J3FYIG3.js} +10 -3
- package/dist/chunk-3J3FYIG3.js.map +1 -0
- package/dist/chunk-AACGI7FX.mjs +67 -0
- package/dist/chunk-AACGI7FX.mjs.map +1 -0
- package/dist/{chunk-XXRDLZW7.mjs → chunk-BJSWQQSC.mjs} +2 -2
- package/dist/{chunk-XXRDLZW7.mjs.map → chunk-BJSWQQSC.mjs.map} +1 -1
- package/dist/{chunk-VYI3GS2C.mjs → chunk-CJXGDY7A.mjs} +10 -3
- package/dist/chunk-CJXGDY7A.mjs.map +1 -0
- package/dist/{chunk-7TGUGTTQ.mjs → chunk-ECLHBSC6.mjs} +2 -2
- package/dist/chunk-ECLHBSC6.mjs.map +1 -0
- package/dist/{chunk-SFRS4EZ5.mjs → chunk-IM6KN77X.mjs} +3 -10
- package/dist/chunk-IM6KN77X.mjs.map +1 -0
- package/dist/{chunk-4OCTFG3W.js → chunk-NSJ6KGW2.js} +2 -2
- package/dist/{chunk-4OCTFG3W.js.map → chunk-NSJ6KGW2.js.map} +1 -1
- package/dist/chunk-ODZM25II.js +69 -0
- package/dist/chunk-ODZM25II.js.map +1 -0
- package/dist/{chunk-DN7TYUJ6.js → chunk-RFT2FLQT.js} +10 -3
- package/dist/chunk-RFT2FLQT.js.map +1 -0
- package/dist/{chunk-PMALYOPA.js → chunk-UY65KX3M.js} +3 -10
- package/dist/chunk-UY65KX3M.js.map +1 -0
- package/dist/{chunk-KTLJEPLF.js → chunk-VHVQELWF.js} +3 -9
- package/dist/chunk-VHVQELWF.js.map +1 -0
- package/dist/design-system/copy-button.d.ts.map +1 -1
- package/dist/design-system/kbd.d.ts.map +1 -1
- package/dist/hooks/useTableSort/index.d.ts +1 -1
- package/dist/hooks/useTableSort/index.d.ts.map +1 -1
- package/dist/ui/accordion/variants.d.ts +2 -2
- package/dist/ui/alert/animated.js.map +1 -1
- package/dist/ui/alert/animated.mjs.map +1 -1
- package/dist/ui/animated-number/animated-number.d.ts.map +1 -1
- package/dist/ui/animated-number/types.d.ts.map +1 -1
- package/dist/ui/animated-number/variants.d.ts.map +1 -1
- package/dist/ui/animated-number.js.map +1 -1
- package/dist/ui/animated-number.mjs.map +1 -1
- package/dist/ui/badge/variants.d.ts +1 -1
- package/dist/ui/buttons/variants.d.ts +1 -1
- package/dist/ui/card/variants.d.ts +1 -1
- package/dist/ui/checkbox/animated/checkbox-animated.d.ts.map +1 -1
- package/dist/ui/checkbox/animated.js.map +1 -1
- package/dist/ui/checkbox/animated.mjs.map +1 -1
- package/dist/ui/checkbox/checkbox-base.d.ts.map +1 -1
- package/dist/ui/checkbox/types.d.ts.map +1 -1
- package/dist/ui/checkbox.js +1 -8
- package/dist/ui/checkbox.js.map +1 -1
- package/dist/ui/checkbox.mjs +1 -8
- package/dist/ui/checkbox.mjs.map +1 -1
- package/dist/ui/command/animated.js +2 -2
- package/dist/ui/command/animated.mjs +1 -1
- package/dist/ui/command/index.d.ts +1 -1
- package/dist/ui/command/index.d.ts.map +1 -1
- package/dist/ui/command/types.d.ts.map +1 -1
- package/dist/ui/command.js +15 -15
- package/dist/ui/command.mjs +2 -2
- package/dist/ui/context-menu/variants.d.ts +2 -2
- package/dist/ui/copy-button/animated.js +2 -2
- package/dist/ui/copy-button/animated.mjs +1 -1
- package/dist/ui/copy-button/types.d.ts.map +1 -1
- package/dist/ui/copy-button/variants.d.ts +1 -1
- package/dist/ui/copy-button.js +3 -3
- package/dist/ui/copy-button.mjs +2 -2
- package/dist/ui/drawer/animated.js +11 -11
- package/dist/ui/drawer/animated.mjs +2 -2
- package/dist/ui/drawer/drawer-base.d.ts.map +1 -1
- package/dist/ui/drawer/variants.d.ts +1 -1
- package/dist/ui/drawer.js +11 -11
- package/dist/ui/drawer.mjs +1 -1
- package/dist/ui/dropdown/variants.d.ts +4 -4
- package/dist/ui/dropdown.js.map +1 -1
- package/dist/ui/dropdown.mjs.map +1 -1
- package/dist/ui/inputs/variants.d.ts +1 -1
- package/dist/ui/kbd/animated/kbd-animated.d.ts.map +1 -1
- package/dist/ui/kbd/animated.js +6 -3
- package/dist/ui/kbd/animated.js.map +1 -1
- package/dist/ui/kbd/animated.mjs +5 -2
- package/dist/ui/kbd/animated.mjs.map +1 -1
- package/dist/ui/kbd/kbd-base.d.ts.map +1 -1
- package/dist/ui/kbd/types.d.ts.map +1 -1
- package/dist/ui/kbd/variants.d.ts +1 -1
- package/dist/ui/kbd.js +4 -4
- package/dist/ui/kbd.mjs +2 -2
- package/dist/ui/marquee/variants.d.ts +1 -1
- package/dist/ui/otp-input/variants.d.ts +1 -1
- package/dist/ui/pagination/variants.d.ts +1 -1
- package/dist/ui/popover/animated.js +4 -4
- package/dist/ui/popover/animated.mjs +1 -1
- package/dist/ui/popover/popover-base.d.ts.map +1 -1
- package/dist/ui/popover/types.d.ts.map +1 -1
- package/dist/ui/popover/variants.d.ts +1 -1
- package/dist/ui/popover.js +7 -7
- package/dist/ui/popover.mjs +1 -1
- package/dist/ui/progress/variants.d.ts +1 -1
- package/dist/ui/radio-group/animated/index.d.ts +1 -1
- package/dist/ui/radio-group/animated/index.d.ts.map +1 -1
- package/dist/ui/radio-group/animated/radio-group-animated.d.ts.map +1 -1
- package/dist/ui/radio-group/animated.js.map +1 -1
- package/dist/ui/radio-group/animated.mjs.map +1 -1
- package/dist/ui/radio-group/radio-group.d.ts.map +1 -1
- package/dist/ui/radio-group.js.map +1 -1
- package/dist/ui/radio-group.mjs.map +1 -1
- package/dist/ui/rating/variants.d.ts +1 -1
- package/dist/ui/scroll-area/variants.d.ts +1 -1
- package/dist/ui/select/variants.d.ts +4 -4
- package/dist/ui/stepper/variants.d.ts +1 -1
- package/dist/ui/timeline/animated/index.d.ts +1 -1
- package/dist/ui/timeline/animated/index.d.ts.map +1 -1
- package/dist/ui/timeline/animated/timeline-item-animated.d.ts.map +1 -1
- package/dist/ui/timeline/animated.js.map +1 -1
- package/dist/ui/timeline/animated.mjs.map +1 -1
- package/dist/ui/timeline/types.d.ts.map +1 -1
- package/dist/ui/toggle/animated/toggle-animated.d.ts.map +1 -1
- package/dist/ui/toggle/animated.js +12 -5
- package/dist/ui/toggle/animated.js.map +1 -1
- package/dist/ui/toggle/animated.mjs +9 -2
- package/dist/ui/toggle/animated.mjs.map +1 -1
- package/dist/ui/toggle/toggle-base.d.ts.map +1 -1
- package/dist/ui/toggle.js +4 -4
- package/dist/ui/toggle.mjs +2 -2
- package/dist/ui/tooltip/variants.d.ts +1 -1
- package/dist/ui/tree-view/variants.d.ts +2 -2
- package/dist/ui/typography/variants.d.ts +2 -2
- package/package.json +7 -1
- package/src/animations/animations.test.tsx +129 -0
- package/src/animations/blur-in/blur-in.tsx +11 -0
- package/src/animations/blur-in/index.ts +5 -0
- package/src/animations/blur-in/presets.ts +8 -0
- package/src/animations/blur-in/types.ts +3 -0
- package/src/animations/blur-out/blur-out.tsx +11 -0
- package/src/animations/blur-out/index.ts +5 -0
- package/src/animations/blur-out/presets.ts +8 -0
- package/src/animations/blur-out/types.ts +3 -0
- package/src/animations/bounce/bounce.tsx +11 -0
- package/src/animations/bounce/index.ts +5 -0
- package/src/animations/bounce/presets.ts +13 -0
- package/src/animations/bounce/types.ts +3 -0
- package/src/animations/fade-down/fade-down.tsx +11 -0
- package/src/animations/fade-down/index.ts +5 -0
- package/src/animations/fade-down/presets.ts +8 -0
- package/src/animations/fade-down/types.ts +3 -0
- package/src/animations/fade-in/fade-in.tsx +11 -0
- package/src/animations/fade-in/index.ts +5 -0
- package/src/animations/fade-in/presets.ts +8 -0
- package/src/animations/fade-in/types.ts +3 -0
- package/src/animations/fade-left/fade-left.tsx +11 -0
- package/src/animations/fade-left/index.ts +5 -0
- package/src/animations/fade-left/presets.ts +8 -0
- package/src/animations/fade-left/types.ts +3 -0
- package/src/animations/fade-out/fade-out.tsx +11 -0
- package/src/animations/fade-out/index.ts +5 -0
- package/src/animations/fade-out/presets.ts +8 -0
- package/src/animations/fade-out/types.ts +3 -0
- package/src/animations/fade-right/fade-right.tsx +11 -0
- package/src/animations/fade-right/index.ts +5 -0
- package/src/animations/fade-right/presets.ts +8 -0
- package/src/animations/fade-right/types.ts +3 -0
- package/src/animations/fade-up/fade-up.tsx +11 -0
- package/src/animations/fade-up/index.ts +5 -0
- package/src/animations/fade-up/presets.ts +8 -0
- package/src/animations/fade-up/types.ts +3 -0
- package/src/animations/flip/flip.tsx +7 -0
- package/src/animations/flip/index.ts +5 -0
- package/src/animations/flip/presets.ts +13 -0
- package/src/animations/flip/types.ts +3 -0
- package/src/animations/flip-in/flip-in.tsx +11 -0
- package/src/animations/flip-in/index.ts +5 -0
- package/src/animations/flip-in/presets.ts +8 -0
- package/src/animations/flip-in/types.ts +3 -0
- package/src/animations/float/float.tsx +11 -0
- package/src/animations/float/index.ts +5 -0
- package/src/animations/float/presets.ts +8 -0
- package/src/animations/float/types.ts +3 -0
- package/src/animations/hover-lift/hover-lift.tsx +11 -0
- package/src/animations/hover-lift/index.ts +5 -0
- package/src/animations/hover-lift/presets.ts +10 -0
- package/src/animations/hover-lift/types.ts +3 -0
- package/src/animations/hover-scale/hover-scale.tsx +11 -0
- package/src/animations/hover-scale/index.ts +5 -0
- package/src/animations/hover-scale/presets.ts +10 -0
- package/src/animations/hover-scale/types.ts +3 -0
- package/src/animations/magnetic/index.ts +5 -0
- package/src/animations/magnetic/magnetic.tsx +11 -0
- package/src/animations/magnetic/presets.ts +10 -0
- package/src/animations/magnetic/types.ts +3 -0
- package/src/animations/parallax/index.ts +5 -0
- package/src/animations/parallax/parallax.tsx +11 -0
- package/src/animations/parallax/presets.ts +8 -0
- package/src/animations/parallax/types.ts +3 -0
- package/src/animations/ping/index.ts +5 -0
- package/src/animations/ping/ping.tsx +7 -0
- package/src/animations/ping/presets.ts +13 -0
- package/src/animations/ping/types.ts +3 -0
- package/src/animations/pop-in/index.ts +5 -0
- package/src/animations/pop-in/pop-in.tsx +11 -0
- package/src/animations/pop-in/presets.ts +8 -0
- package/src/animations/pop-in/types.ts +3 -0
- package/src/animations/press/index.ts +5 -0
- package/src/animations/press/presets.ts +9 -0
- package/src/animations/press/press.tsx +11 -0
- package/src/animations/press/types.ts +3 -0
- package/src/animations/progress/index.ts +5 -0
- package/src/animations/progress/presets.ts +8 -0
- package/src/animations/progress/progress.tsx +11 -0
- package/src/animations/progress/types.ts +3 -0
- package/src/animations/pulse/index.ts +5 -0
- package/src/animations/pulse/presets.ts +8 -0
- package/src/animations/pulse/pulse.tsx +11 -0
- package/src/animations/pulse/types.ts +3 -0
- package/src/animations/reorder/index.ts +5 -0
- package/src/animations/reorder/presets.ts +10 -0
- package/src/animations/reorder/reorder.tsx +11 -0
- package/src/animations/reorder/types.ts +3 -0
- package/src/animations/reveal-blur/index.ts +5 -0
- package/src/animations/reveal-blur/presets.ts +8 -0
- package/src/animations/reveal-blur/reveal-blur.tsx +11 -0
- package/src/animations/reveal-blur/types.ts +3 -0
- package/src/animations/reveal-down/index.ts +5 -0
- package/src/animations/reveal-down/presets.ts +8 -0
- package/src/animations/reveal-down/reveal-down.tsx +11 -0
- package/src/animations/reveal-down/types.ts +3 -0
- package/src/animations/reveal-left/index.ts +5 -0
- package/src/animations/reveal-left/presets.ts +8 -0
- package/src/animations/reveal-left/reveal-left.tsx +11 -0
- package/src/animations/reveal-left/types.ts +3 -0
- package/src/animations/reveal-right/index.ts +5 -0
- package/src/animations/reveal-right/presets.ts +8 -0
- package/src/animations/reveal-right/reveal-right.tsx +11 -0
- package/src/animations/reveal-right/types.ts +3 -0
- package/src/animations/reveal-up/index.ts +5 -0
- package/src/animations/reveal-up/presets.ts +8 -0
- package/src/animations/reveal-up/reveal-up.tsx +11 -0
- package/src/animations/reveal-up/types.ts +3 -0
- package/src/animations/rotate-in/index.ts +5 -0
- package/src/animations/rotate-in/presets.ts +8 -0
- package/src/animations/rotate-in/rotate-in.tsx +11 -0
- package/src/animations/rotate-in/types.ts +3 -0
- package/src/animations/scale-in/index.ts +5 -0
- package/src/animations/scale-in/presets.ts +8 -0
- package/src/animations/scale-in/scale-in.tsx +11 -0
- package/src/animations/scale-in/types.ts +3 -0
- package/src/animations/scale-out/index.ts +5 -0
- package/src/animations/scale-out/presets.ts +8 -0
- package/src/animations/scale-out/scale-out.tsx +11 -0
- package/src/animations/scale-out/types.ts +3 -0
- package/src/animations/shake/index.ts +5 -0
- package/src/animations/shake/presets.ts +13 -0
- package/src/animations/shake/shake.tsx +11 -0
- package/src/animations/shake/types.ts +3 -0
- package/src/animations/shared/create-motion-animation.tsx +89 -0
- package/src/animations/shared/index.ts +2 -0
- package/src/animations/shared/types.ts +34 -0
- package/src/animations/skeleton-shimmer/index.ts +5 -0
- package/src/animations/skeleton-shimmer/presets.ts +8 -0
- package/src/animations/skeleton-shimmer/skeleton-shimmer.tsx +11 -0
- package/src/animations/skeleton-shimmer/types.ts +3 -0
- package/src/animations/slide-down/index.ts +5 -0
- package/src/animations/slide-down/presets.ts +8 -0
- package/src/animations/slide-down/slide-down.tsx +11 -0
- package/src/animations/slide-down/types.ts +3 -0
- package/src/animations/slide-left/index.ts +5 -0
- package/src/animations/slide-left/presets.ts +8 -0
- package/src/animations/slide-left/slide-left.tsx +11 -0
- package/src/animations/slide-left/types.ts +3 -0
- package/src/animations/slide-right/index.ts +5 -0
- package/src/animations/slide-right/presets.ts +8 -0
- package/src/animations/slide-right/slide-right.tsx +11 -0
- package/src/animations/slide-right/types.ts +3 -0
- package/src/animations/slide-up/index.ts +5 -0
- package/src/animations/slide-up/presets.ts +8 -0
- package/src/animations/slide-up/slide-up.tsx +11 -0
- package/src/animations/slide-up/types.ts +3 -0
- package/src/animations/spin/index.ts +5 -0
- package/src/animations/spin/presets.ts +8 -0
- package/src/animations/spin/spin.tsx +7 -0
- package/src/animations/spin/types.ts +3 -0
- package/src/animations/text-reveal/index.ts +5 -0
- package/src/animations/text-reveal/presets.ts +8 -0
- package/src/animations/text-reveal/text-reveal.tsx +11 -0
- package/src/animations/text-reveal/types.ts +3 -0
- package/src/animations/text-shimmer/index.ts +5 -0
- package/src/animations/text-shimmer/presets.ts +8 -0
- package/src/animations/text-shimmer/text-shimmer.tsx +11 -0
- package/src/animations/text-shimmer/types.ts +3 -0
- package/src/animations/tilt/index.ts +5 -0
- package/src/animations/tilt/presets.ts +12 -0
- package/src/animations/tilt/tilt.tsx +7 -0
- package/src/animations/tilt/types.ts +3 -0
- package/src/animations/wiggle/index.ts +5 -0
- package/src/animations/wiggle/presets.ts +13 -0
- package/src/animations/wiggle/types.ts +3 -0
- package/src/animations/wiggle/wiggle.tsx +11 -0
- package/src/design-system/copy-button.ts +5 -10
- package/src/design-system/kbd.ts +5 -10
- package/src/hooks/useTableFilter/types.ts +1 -1
- package/src/hooks/useTableSort/index.ts +1 -4
- package/src/ui/alert/animated/alert-animated.tsx +1 -1
- package/src/ui/animated-number/animated-number.tsx +7 -1
- package/src/ui/animated-number/types.ts +10 -1
- package/src/ui/animated-number/variants.ts +7 -4
- package/src/ui/checkbox/animated/checkbox-animated.tsx +3 -1
- package/src/ui/checkbox/checkbox-base.tsx +4 -6
- package/src/ui/checkbox/checkbox.test.tsx +4 -4
- package/src/ui/checkbox/types.ts +4 -7
- package/src/ui/command/command-base.tsx +2 -2
- package/src/ui/command/command.test.tsx +10 -24
- package/src/ui/command/index.ts +1 -1
- package/src/ui/command/types.ts +1 -2
- package/src/ui/copy-button/types.ts +4 -2
- package/src/ui/drawer/drawer-base.tsx +1 -4
- package/src/ui/dropdown/dropdown.tsx +1 -1
- package/src/ui/kbd/animated/kbd-animated.tsx +4 -1
- package/src/ui/kbd/kbd-base.tsx +4 -1
- package/src/ui/kbd/kbd.test.tsx +1 -3
- package/src/ui/kbd/types.ts +4 -2
- package/src/ui/popover/popover-base.tsx +1 -3
- package/src/ui/popover/types.ts +2 -2
- package/src/ui/radio-group/animated/index.ts +4 -1
- package/src/ui/radio-group/animated/radio-group-animated.tsx +3 -1
- package/src/ui/radio-group/radio-group.test.tsx +3 -1
- package/src/ui/radio-group/radio-group.tsx +4 -5
- package/src/ui/timeline/animated/index.ts +1 -4
- package/src/ui/timeline/animated/timeline-item-animated.tsx +1 -4
- package/src/ui/timeline/types.ts +1 -4
- package/src/ui/toggle/animated/toggle-animated.tsx +6 -1
- package/src/ui/toggle/toggle-base.tsx +6 -1
- package/src/ui/tree-view/tree-view.test.tsx +6 -2
- package/dist/chunk-7TGUGTTQ.mjs.map +0 -1
- package/dist/chunk-CL3VH223.mjs.map +0 -1
- package/dist/chunk-DN7TYUJ6.js.map +0 -1
- package/dist/chunk-KTLJEPLF.js.map +0 -1
- package/dist/chunk-LMIL2R4R.js.map +0 -1
- package/dist/chunk-MEAVYU2Y.mjs.map +0 -1
- package/dist/chunk-PMALYOPA.js.map +0 -1
- package/dist/chunk-RKX5MERK.js.map +0 -1
- package/dist/chunk-SFRS4EZ5.mjs.map +0 -1
- package/dist/chunk-VYI3GS2C.mjs.map +0 -1
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@ A React UI kit for building product interfaces with Tailwind CSS. Components are
|
|
|
9
9
|
|
|
10
10
|
The library targets **React 18+** apps that use **Tailwind CSS v4** (or an equivalent setup where Tailwind can scan this package via `@source`). Styling uses utility classes; **class-variance-authority** powers variant APIs (size, appearance, and similar props), with **clsx** and **tailwind-merge** for predictable `className` composition. Component variants are light-theme ready by default and include paired `dark:` Tailwind classes for dark-mode surfaces, text, borders, focus rings, gradients, and form controls. **Framer Motion** backs motion where a feature ships animated variants, and **react-icons** is used for iconography where applicable.
|
|
11
11
|
|
|
12
|
-
Published artifacts live under `dist/`. Imports use **per-entry subpaths**: `@zentauri-ui/zentauri-components/ui/<area>` for static UI, `@zentauri-ui/zentauri-components/ui/<area>/animated` where a motion bundle exists, `@zentauri-ui/zentauri-components/charts/<type>` for Recharts-powered chart primitives, and `@zentauri-ui/zentauri-components/hooks/<entry>` for React hooks (and shared helpers under `hooks/utils`). Base UI entries do **not** re-export animated components; motion lives on its own entry so optional `framer-motion` usage stays tree-shakeable and chunk-friendly. Each entry resolves to its own ESM (`.mjs`), CJS (`.js`), and types (`.d.ts`) so bundlers pull only what you import. Most apps rely on Tailwind scanning the package sources (see installation); a separate CSS import is not required for that setup.
|
|
12
|
+
Published artifacts live under `dist/`. Imports use **per-entry subpaths**: `@zentauri-ui/zentauri-components/ui/<area>` for static UI, `@zentauri-ui/zentauri-components/ui/<area>/animated` where a motion bundle exists, `@zentauri-ui/zentauri-components/animations/<name>` for standalone Motion wrappers, `@zentauri-ui/zentauri-components/charts/<type>` for Recharts-powered chart primitives, and `@zentauri-ui/zentauri-components/hooks/<entry>` for React hooks (and shared helpers under `hooks/utils`). Base UI entries do **not** re-export animated components; motion lives on its own entry so optional `framer-motion` usage stays tree-shakeable and chunk-friendly. Each entry resolves to its own ESM (`.mjs`), CJS (`.js`), and types (`.d.ts`) so bundlers pull only what you import. Most apps rely on Tailwind scanning the package sources (see installation); a separate CSS import is not required for that setup.
|
|
13
13
|
|
|
14
14
|
## Current package surface
|
|
15
15
|
|
|
@@ -17,6 +17,7 @@ Published artifacts live under `dist/`. Imports use **per-entry subpaths**: `@ze
|
|
|
17
17
|
| ------------------- | ----: | ----------------------------------------------------- |
|
|
18
18
|
| Static UI entries | 42 | `@zentauri-ui/zentauri-components/ui/<name>` |
|
|
19
19
|
| Animated UI entries | 27 | `@zentauri-ui/zentauri-components/ui/<name>/animated` |
|
|
20
|
+
| Animation entries | 41 | `@zentauri-ui/zentauri-components/animations/<name>` |
|
|
20
21
|
| Chart entries | 9 | `@zentauri-ui/zentauri-components/charts/<type>` |
|
|
21
22
|
| Hook entries | 28 | `@zentauri-ui/zentauri-components/hooks/<entry>` |
|
|
22
23
|
|
|
@@ -26,14 +27,15 @@ Published artifacts live under `dist/`. Imports use **per-entry subpaths**: `@ze
|
|
|
26
27
|
|
|
27
28
|
| Metric | Result |
|
|
28
29
|
| ---------- | ---------------- |
|
|
29
|
-
| Test files |
|
|
30
|
-
| Tests |
|
|
30
|
+
| Test files | 77 passed (77) |
|
|
31
|
+
| Tests | 591 passed (591) |
|
|
31
32
|
|
|
32
33
|
| Area | Test files | Tests |
|
|
33
34
|
| --------------------------- | ---------- | ----- |
|
|
34
35
|
| Components and UI utilities | 46 | 433 |
|
|
36
|
+
| Standalone animations | 1 | 42 |
|
|
35
37
|
| React hooks | 28 | 101 |
|
|
36
|
-
| CLI and import rewriting | 2 |
|
|
38
|
+
| CLI and import rewriting | 2 | 15 |
|
|
37
39
|
|
|
38
40
|
### Per-suite snapshot
|
|
39
41
|
|
|
@@ -45,7 +47,8 @@ Published artifacts live under `dist/`. Imports use **per-entry subpaths**: `@ze
|
|
|
45
47
|
| `src/ui/modal/modal.test.tsx` | 10 |
|
|
46
48
|
| `src/ui/drawer/drawer.test.tsx` | 7 |
|
|
47
49
|
| `src/ui/peer-isolation.test.ts` | 29 |
|
|
48
|
-
| `cli/cli.integration.test.ts` |
|
|
50
|
+
| `cli/cli.integration.test.ts` | 10 |
|
|
51
|
+
| `src/animations/animations.test.tsx` | 42 |
|
|
49
52
|
| `src/ui/buttons/button.test.tsx` | 41 |
|
|
50
53
|
| `src/ui/inputs/input.test.tsx` | 40 |
|
|
51
54
|
| `src/ui/marquee/marquee.test.tsx` | 10 |
|
|
@@ -122,6 +125,7 @@ Published artifacts live under `dist/`. Imports use **per-entry subpaths**: `@ze
|
|
|
122
125
|
| ----------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
123
126
|
| `@zentauri-ui/zentauri-components/ui/<name>` | Single UI area: static primitives, compound parts, variants, and types. Does **not** include Framer Motion–based animated exports. |
|
|
124
127
|
| `@zentauri-ui/zentauri-components/ui/<name>/animated` | Motion entry for that area when published: animated components, motion presets, and related types (depends on **framer-motion**). |
|
|
128
|
+
| `@zentauri-ui/zentauri-components/animations/<name>` | Standalone Motion wrapper and preset entry for reusable transitions such as `fade-in`, `scale-in`, and `blur-out` (depends on **framer-motion**). |
|
|
125
129
|
| `@zentauri-ui/zentauri-components/charts/<type>` | Responsive Recharts chart entry for `area`, `bar`, `stacked-bar`, `radar`, `scatter`, `bubble`, `funnel`, `line`, or `pie`, with shared variants, palettes, and exported chart prop types. |
|
|
126
130
|
| `@zentauri-ui/zentauri-components/hooks/<entry>` | One hook module or `utils` (`cn`, `clampPage`, `range` from `src/lib/utils.ts`). Entries match files under `src/hooks/` (see **React hooks**). |
|
|
127
131
|
|
|
@@ -140,6 +144,35 @@ Published motion entries (same `<name>` as the base UI folder):
|
|
|
140
144
|
|
|
141
145
|
**Spinner:** only the motion entry is built—import from `@zentauri-ui/zentauri-components/ui/spinner/animated` (there is no separate `ui/spinner` static bundle).
|
|
142
146
|
|
|
147
|
+
## Animations
|
|
148
|
+
|
|
149
|
+
Standalone animations live outside `ui/*` under `@zentauri-ui/zentauri-components/animations/<name>`. They are small **framer-motion** wrappers around `motion.div`, designed for composing page sections, cards, panels, list items, and route-level content without coupling the motion preset to a UI primitive.
|
|
150
|
+
|
|
151
|
+
**Animation entries:** `fade-in`, `fade-out`, `fade-up`, `fade-down`, `fade-left`, `fade-right`, `scale-in`, `scale-out`, `pop-in`, `blur-in`, `blur-out`, `slide-up`, `slide-down`, `slide-left`, `slide-right`, `reveal-up`, `reveal-down`, `reveal-left`, `reveal-right`, `reveal-blur`, `text-reveal`, `text-shimmer`, `rotate-in`, `pulse`, `ping`, `shake`, `bounce`, `wiggle`, `float`, `spin`, `flip`, `flip-in`, `tilt`, `magnetic`, `hover-lift`, `hover-scale`, `press`, `reorder`, `skeleton-shimmer`, `progress`, `parallax`.
|
|
152
|
+
|
|
153
|
+
Each entry exports a named component and its preset object, for example `FadeIn` and `fadeInPreset`. Components accept regular `HTMLMotionProps<"div">`, so you can pass `className`, `transition`, `initial`, `animate`, `exit`, and accessibility attributes directly.
|
|
154
|
+
|
|
155
|
+
For lighter customization without replacing the whole Motion target, pass `from`, `to`, and `exitTo`. These override preset values for `opacity`, `x`, `y`, `scale`, `scaleX`, `scaleY`, `rotate`, `rotateX`, `rotateY`, and `blur`.
|
|
156
|
+
|
|
157
|
+
```tsx
|
|
158
|
+
import { FadeIn } from "@zentauri-ui/zentauri-components/animations/fade-in";
|
|
159
|
+
import { ScaleIn } from "@zentauri-ui/zentauri-components/animations/scale-in";
|
|
160
|
+
|
|
161
|
+
export function MotionPanel() {
|
|
162
|
+
return (
|
|
163
|
+
<FadeIn className="rounded-xl border border-white/10 bg-white/5 p-4">
|
|
164
|
+
<ScaleIn
|
|
165
|
+
from={{ scale: 0.92, blur: 8 }}
|
|
166
|
+
to={{ scale: 1, blur: 0 }}
|
|
167
|
+
transition={{ duration: 0.2 }}
|
|
168
|
+
>
|
|
169
|
+
Content with a nested scale entrance.
|
|
170
|
+
</ScaleIn>
|
|
171
|
+
</FadeIn>
|
|
172
|
+
);
|
|
173
|
+
}
|
|
174
|
+
```
|
|
175
|
+
|
|
143
176
|
## Requirements
|
|
144
177
|
|
|
145
178
|
- **React** and **React DOM** `>= 18` (peer dependencies)
|
|
@@ -444,7 +477,7 @@ yarn add react react-dom class-variance-authority clsx tailwind-merge
|
|
|
444
477
|
|
|
445
478
|
#### Optional: animations, icons, and charts
|
|
446
479
|
|
|
447
|
-
Add **`framer-motion`** when you import any `@zentauri-ui/zentauri-components/ui/<name>/animated` entry
|
|
480
|
+
Add **`framer-motion`** when you import any `@zentauri-ui/zentauri-components/ui/<name>/animated` entry, any `@zentauri-ui/zentauri-components/animations/<name>` entry, or **Spinner** (which is only published under `ui/spinner/animated`). Add **`react-icons`** when using icon sets from that package. Add **`recharts`** when you import any `@zentauri-ui/zentauri-components/charts/<type>` entry or vendor charts with the CLI.
|
|
448
481
|
|
|
449
482
|
```bash
|
|
450
483
|
npm install framer-motion react-icons recharts
|
|
@@ -458,7 +491,7 @@ pnpm add framer-motion react-icons recharts
|
|
|
458
491
|
yarn add framer-motion react-icons recharts
|
|
459
492
|
```
|
|
460
493
|
|
|
461
|
-
Published `dist/` files **import** these packages; they are **not** vendored inside `@zentauri-ui/zentauri-components`. Static `ui/<name>` bundles do not depend on `framer-motion`; only `ui/<name>/animated` entries do. Chart bundles are isolated to `charts/<type>` entries and depend on `recharts`. Your app installs peers via `dependencies` where needed, and your bundler resolves them from `node_modules`.
|
|
494
|
+
Published `dist/` files **import** these packages; they are **not** vendored inside `@zentauri-ui/zentauri-components`. Static `ui/<name>` bundles do not depend on `framer-motion`; only `ui/<name>/animated` and `animations/<name>` entries do. Chart bundles are isolated to `charts/<type>` entries and depend on `recharts`. Your app installs peers via `dependencies` where needed, and your bundler resolves them from `node_modules`.
|
|
462
495
|
|
|
463
496
|
### Next.js: smaller route chunks
|
|
464
497
|
|
|
@@ -526,7 +559,7 @@ Place these rules in your global stylesheet (for example `globals.css`) after Ta
|
|
|
526
559
|
|
|
527
560
|
### Step 4 — Import and use components and hooks
|
|
528
561
|
|
|
529
|
-
Use **one subpath per UI area** (static and animated are separate entries: `ui/<name>` vs `ui/<name>/animated`) and **one subpath per hook module** so the bundler resolves only the entries you use.
|
|
562
|
+
Use **one subpath per UI area** (static and animated are separate entries: `ui/<name>` vs `ui/<name>/animated`), **one subpath per animation**, and **one subpath per hook module** so the bundler resolves only the entries you use.
|
|
530
563
|
|
|
531
564
|
#### Imports (single UI area)
|
|
532
565
|
|
|
@@ -571,6 +604,13 @@ import { ButtonAnimated } from "@zentauri-ui/zentauri-components/ui/buttons/anim
|
|
|
571
604
|
import { Spinner } from "@zentauri-ui/zentauri-components/ui/spinner/animated";
|
|
572
605
|
```
|
|
573
606
|
|
|
607
|
+
#### Imports (standalone animations)
|
|
608
|
+
|
|
609
|
+
```tsx
|
|
610
|
+
import { FadeUp } from "@zentauri-ui/zentauri-components/animations/fade-up";
|
|
611
|
+
import { BlurIn } from "@zentauri-ui/zentauri-components/animations/blur-in";
|
|
612
|
+
```
|
|
613
|
+
|
|
574
614
|
#### Usage
|
|
575
615
|
|
|
576
616
|
```tsx
|
|
@@ -603,9 +643,9 @@ import { Spinner } from "@zentauri-ui/zentauri-components/ui/spinner/animated";
|
|
|
603
643
|
|
|
604
644
|
## CLI — copy component source into your app
|
|
605
645
|
|
|
606
|
-
The package ships a small **Node CLI** (`zentauri-components` and `zentauri-ui` point to the same `cli/index.mjs`) that copies **selected** folders from this package’s `src/ui`, `src/charts`, and `src/hooks` into your repository—similar to shadcn/ui. You keep the files, control paths via `components.json`, and imports are rewritten to your path aliases (`@/components/ui`, `@/hooks`, `@/lib/utils`, and so on).
|
|
646
|
+
The package ships a small **Node CLI** (`zentauri-components` and `zentauri-ui` point to the same `cli/index.mjs`) that copies **selected** folders from this package’s `src/ui`, `src/animations`, `src/charts`, and `src/hooks` into your repository—similar to shadcn/ui. You keep the files, control paths via `components.json`, and imports are rewritten to your path aliases (`@/components/ui`, `@/components/animations`, `@/hooks`, `@/lib/utils`, and so on).
|
|
607
647
|
|
|
608
|
-
Which UI folders are valid for `add` is driven by **`cli/registry.json`**: a generated manifest listing every addable directory name (matching `src/ui/<name
|
|
648
|
+
Which UI folders are valid for `add` is driven by **`cli/registry.json`**: a generated manifest listing every addable directory name (matching `src/ui/<name>`, animation entries like `animations/fade-in`, plus chart entries like `charts/area`) plus optional **`nameAliases`** so the CLI accepts friendly tokens (for example `button` → `buttons`).
|
|
609
649
|
|
|
610
650
|
### Commands
|
|
611
651
|
|
|
@@ -614,6 +654,7 @@ Call the published binary by name after the package (recommended so `npx` does n
|
|
|
614
654
|
```bash
|
|
615
655
|
npx @zentauri-ui/zentauri-components init
|
|
616
656
|
npx @zentauri-ui/zentauri-components add buttons inputs
|
|
657
|
+
npx @zentauri-ui/zentauri-components add animations/fade-in
|
|
617
658
|
npx @zentauri-ui/zentauri-components add charts/area charts/line
|
|
618
659
|
npx @zentauri-ui/zentauri-components -h
|
|
619
660
|
```
|
|
@@ -772,10 +813,10 @@ Add or extend the component's `*.test.tsx` to cover the items that apply; see
|
|
|
772
813
|
|
|
773
814
|
From this package directory in the monorepo:
|
|
774
815
|
|
|
775
|
-
- `pnpm build` (or `npm run build`) — production bundle via `tsup` (Rollup treeshake + `scripts/prepend-use-client.mjs` via `onSuccess` so each UI entry under `dist/ui/`,
|
|
816
|
+
- `pnpm build` (or `npm run build`) — production bundle via `tsup` (Rollup treeshake + `scripts/prepend-use-client.mjs` via `onSuccess` so each UI entry under `dist/ui/`, animation entry under `dist/animations/`, chart entry under `dist/charts/`, and `dist/ui/<name>/animated.*` starts with `"use client"` where needed)
|
|
776
817
|
- `pnpm dev` — `tsup` watch mode (same `onSuccess` hook after each rebuild)
|
|
777
|
-
- `pnpm test` / `pnpm test:watch` — **Vitest** and **Testing Library** unit tests // covered
|
|
778
|
-
- **`pnpm run generate:registry`** — runs `scripts/generate-registry.mjs`, which reads **`uiComponentNames`**, **`uiAnimatedComponentNames`**, **`chartEntryNames`**, and **`hooksEntryNames`** from `tsup.config.ts`, applies fixed **`nameAliases`**, scans each component/chart source to build **`peerHints`**, and writes **`cli/registry.json`** (`components` + `hooks` + `peerHints`). Run this after adding or renaming UI
|
|
818
|
+
- `pnpm test` / `pnpm test:watch` — **Vitest** and **Testing Library** unit tests // covered 591 test cases in total
|
|
819
|
+
- **`pnpm run generate:registry`** — runs `scripts/generate-registry.mjs`, which reads **`uiComponentNames`**, **`uiAnimatedComponentNames`**, **`animationEntryNames`**, **`chartEntryNames`**, and **`hooksEntryNames`** from `tsup.config.ts`, applies fixed **`nameAliases`**, scans each component/chart source to build **`peerHints`**, and writes **`cli/registry.json`** (`components` + `animations` + `hooks` + `peerHints`). Run this after adding or renaming UI, animation, chart, or hook entries so the CLI stays in sync (the script prints counts).
|
|
779
820
|
|
|
780
821
|
## Github Release log
|
|
781
822
|
|
|
@@ -100,14 +100,31 @@ describe("zentauri-ui CLI", () => {
|
|
|
100
100
|
}
|
|
101
101
|
});
|
|
102
102
|
|
|
103
|
+
it("should add an animation entry under animations/ and hint framer-motion", () => {
|
|
104
|
+
const dir = mkdtempSync(join(tmpdir(), "zentauri-cli-animation-"));
|
|
105
|
+
try {
|
|
106
|
+
runCli(dir, ["init"]);
|
|
107
|
+
const out = runCli(dir, ["add", "animations/fade-in"]);
|
|
108
|
+
expect(
|
|
109
|
+
existsSync(join(dir, "src/components/animations/fade-in/index.ts")),
|
|
110
|
+
).toBe(true);
|
|
111
|
+
expect(
|
|
112
|
+
existsSync(join(dir, "src/components/animations/shared/index.ts")),
|
|
113
|
+
).toBe(true);
|
|
114
|
+
expect(out).toContain("framer-motion");
|
|
115
|
+
} finally {
|
|
116
|
+
rmSync(dir, { recursive: true, force: true });
|
|
117
|
+
}
|
|
118
|
+
});
|
|
119
|
+
|
|
103
120
|
it("should add multiple components in one run", () => {
|
|
104
121
|
const dir = mkdtempSync(join(tmpdir(), "zentauri-cli-multi-"));
|
|
105
122
|
try {
|
|
106
123
|
runCli(dir, ["init"]);
|
|
107
124
|
const out = runCli(dir, ["add", "buttons", "card", "badge"]);
|
|
108
|
-
expect(
|
|
109
|
-
|
|
110
|
-
);
|
|
125
|
+
expect(
|
|
126
|
+
existsSync(join(dir, "src/components/ui/buttons/button.tsx")),
|
|
127
|
+
).toBe(true);
|
|
111
128
|
expect(existsSync(join(dir, "src/components/ui/card/card.tsx"))).toBe(
|
|
112
129
|
true,
|
|
113
130
|
);
|
package/cli/index.mjs
CHANGED
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
* └── src/ui/<name>/ ← source copied by `add`
|
|
23
23
|
* └── src/design-system/ ← shared tokens/variant maps copied by `add`
|
|
24
24
|
* └── src/charts/<type>/ ← chart source copied by `add charts/area` etc.
|
|
25
|
+
* └── src/animations/<name>/ ← animation source copied by `add animations/fade-in`
|
|
25
26
|
* └── src/hooks/<name>/ ← hooks pulled in as dependencies
|
|
26
27
|
* └── src/lib/utils.ts ← template for `cn()` etc. if missing in app
|
|
27
28
|
* ```
|
|
@@ -136,6 +137,7 @@ function loadRegistry() {
|
|
|
136
137
|
function printHelp() {
|
|
137
138
|
const reg = loadRegistry();
|
|
138
139
|
const componentsList = (reg.components ?? []).join("\n");
|
|
140
|
+
const animationsList = (reg.animations ?? []).join("\n");
|
|
139
141
|
const hooksList = (reg.hooks ?? []).join("\n");
|
|
140
142
|
|
|
141
143
|
console.log(`Zentauri UI — copy component source into your app (shadcn-style)
|
|
@@ -148,6 +150,9 @@ Usage:
|
|
|
148
150
|
List of components:
|
|
149
151
|
${componentsList}
|
|
150
152
|
|
|
153
|
+
List of animations:
|
|
154
|
+
${animationsList}
|
|
155
|
+
|
|
151
156
|
List of hooks:
|
|
152
157
|
${hooksList}
|
|
153
158
|
|
|
@@ -278,11 +283,13 @@ function defaultConfig() {
|
|
|
278
283
|
return {
|
|
279
284
|
aliases: {
|
|
280
285
|
ui: "@/components/ui",
|
|
286
|
+
animations: "@/components/animations",
|
|
281
287
|
utils: "@/lib/utils",
|
|
282
288
|
hooks: "@/hooks",
|
|
283
289
|
},
|
|
284
290
|
resolvedPaths: {
|
|
285
291
|
ui: "src/components/ui",
|
|
292
|
+
animations: "src/components/animations",
|
|
286
293
|
utils: "src/lib/utils.ts",
|
|
287
294
|
hooks: "src/hooks",
|
|
288
295
|
},
|
|
@@ -321,7 +328,7 @@ function validateConfig(cfg) {
|
|
|
321
328
|
|
|
322
329
|
/**
|
|
323
330
|
* Maps CLI input (any casing, optional registry alias) to a canonical folder name
|
|
324
|
-
* under `src/ui/<name
|
|
331
|
+
* under `src/ui/<name>`, `src/animations/<name>`, or `src/charts/<type>`.
|
|
325
332
|
*
|
|
326
333
|
* Resolution order:
|
|
327
334
|
* 1. Exact key in `registry.nameAliases`
|
|
@@ -425,10 +432,10 @@ async function collectHookTransitiveClosure(packageRoot, seedHooks) {
|
|
|
425
432
|
}
|
|
426
433
|
|
|
427
434
|
/**
|
|
428
|
-
* Copies `packageRoot/src/ui/<componentName
|
|
429
|
-
*
|
|
430
|
-
* imports in TS/JS files,
|
|
431
|
-
* files for later copying.
|
|
435
|
+
* Copies `packageRoot/src/ui/<componentName>`,
|
|
436
|
+
* `packageRoot/src/animations/<name>`, or `packageRoot/src/charts/<type>` into
|
|
437
|
+
* the configured destination, skipping tests, rewriting imports in TS/JS files,
|
|
438
|
+
* and collecting hook folder names referenced by those files for later copying.
|
|
432
439
|
*
|
|
433
440
|
* @param {string} componentName — resolved registry name (directory under `src/ui`, or `charts/<type>`)
|
|
434
441
|
* @param {object} config — validated `components.json`
|
|
@@ -444,26 +451,44 @@ async function collectHookTransitiveClosure(packageRoot, seedHooks) {
|
|
|
444
451
|
*/
|
|
445
452
|
async function copyUiComponent(componentName, config, configDir, packageRoot) {
|
|
446
453
|
const isChartEntry = componentName.startsWith("charts/");
|
|
454
|
+
const isAnimationEntry = componentName.startsWith("animations/");
|
|
455
|
+
const animationName = componentName.slice("animations/".length);
|
|
447
456
|
const srcRoot = isChartEntry
|
|
448
457
|
? join(packageRoot, "src", "charts")
|
|
449
|
-
:
|
|
458
|
+
: isAnimationEntry
|
|
459
|
+
? join(packageRoot, "src", "animations")
|
|
460
|
+
: join(packageRoot, "src", "ui", componentName);
|
|
450
461
|
if (!existsSync(srcRoot)) {
|
|
451
462
|
throw new Error(
|
|
452
463
|
`Missing package source: ${relative(packageRoot, srcRoot)}`,
|
|
453
464
|
);
|
|
454
465
|
}
|
|
466
|
+
const animationsPath =
|
|
467
|
+
config.resolvedPaths.animations ??
|
|
468
|
+
join(dirname(config.resolvedPaths.ui), "animations");
|
|
455
469
|
const destRoot = isChartEntry
|
|
456
470
|
? join(configDir, config.resolvedPaths.ui, "charts")
|
|
457
|
-
:
|
|
471
|
+
: isAnimationEntry
|
|
472
|
+
? join(configDir, animationsPath)
|
|
473
|
+
: join(configDir, config.resolvedPaths.ui, componentName);
|
|
458
474
|
const files = (await walkFiles(srcRoot)).filter((absSrc) => {
|
|
459
|
-
if (
|
|
460
|
-
|
|
475
|
+
if (isAnimationEntry) {
|
|
476
|
+
const relFromAnimationsRoot = relative(srcRoot, absSrc);
|
|
477
|
+
return (
|
|
478
|
+
relFromAnimationsRoot.startsWith("shared/") ||
|
|
479
|
+
relFromAnimationsRoot.startsWith(`${animationName}/`)
|
|
480
|
+
);
|
|
461
481
|
}
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
482
|
+
if (isChartEntry) {
|
|
483
|
+
const relFromChartsRoot = relative(srcRoot, absSrc);
|
|
484
|
+
return (
|
|
485
|
+
relFromChartsRoot.startsWith("shared/") ||
|
|
486
|
+
relFromChartsRoot.startsWith(
|
|
487
|
+
`${componentName.slice("charts/".length)}/`,
|
|
488
|
+
)
|
|
489
|
+
);
|
|
490
|
+
}
|
|
491
|
+
return true;
|
|
467
492
|
});
|
|
468
493
|
const usedHooks = new Set();
|
|
469
494
|
|
|
@@ -604,7 +629,7 @@ async function ensureUtilsFile(config, configDir, packageRoot) {
|
|
|
604
629
|
* needed, so the install hint is self-explanatory.
|
|
605
630
|
*/
|
|
606
631
|
const PEER_HINT_REASONS = {
|
|
607
|
-
"framer-motion": "only if you use
|
|
632
|
+
"framer-motion": "only if you use animated UI or animation entries",
|
|
608
633
|
"react-icons": "icons used by this component",
|
|
609
634
|
recharts: "required to render charts",
|
|
610
635
|
};
|
|
@@ -643,9 +668,14 @@ function printAdoptionHints(resolvedNames, registry, config) {
|
|
|
643
668
|
}
|
|
644
669
|
|
|
645
670
|
const uiPath = config?.resolvedPaths?.ui ?? "your components directory";
|
|
671
|
+
const animationsPath =
|
|
672
|
+
config?.resolvedPaths?.animations ?? "your animations directory";
|
|
646
673
|
console.log(
|
|
647
674
|
`\nTailwind v4: vendored files live in ${uiPath}, so they are scanned automatically when inside your app's content sources.`,
|
|
648
675
|
);
|
|
676
|
+
if (resolvedNames.some((name) => name.startsWith("animations/"))) {
|
|
677
|
+
console.log(` Animation files live in ${animationsPath}.`);
|
|
678
|
+
}
|
|
649
679
|
console.log(
|
|
650
680
|
` If you placed them elsewhere, add: @source "${uiPath}"; (light + dark: classes are paired, so the whole tree must be scanned)`,
|
|
651
681
|
);
|
package/cli/registry.json
CHANGED
|
@@ -1,10 +1,51 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"description": "Addable UI components (src/ui), chart entries (src/charts/*), and hooks (src/hooks). Generated by scripts/generate-registry.mjs.",
|
|
3
|
+
"description": "Addable UI components (src/ui), animation entries (src/animations/*), chart entries (src/charts/*), and hooks (src/hooks). Generated by scripts/generate-registry.mjs.",
|
|
4
4
|
"components": [
|
|
5
5
|
"accordion",
|
|
6
6
|
"alert",
|
|
7
7
|
"animated-number",
|
|
8
|
+
"animations/blur-in",
|
|
9
|
+
"animations/blur-out",
|
|
10
|
+
"animations/bounce",
|
|
11
|
+
"animations/fade-down",
|
|
12
|
+
"animations/fade-in",
|
|
13
|
+
"animations/fade-left",
|
|
14
|
+
"animations/fade-out",
|
|
15
|
+
"animations/fade-right",
|
|
16
|
+
"animations/fade-up",
|
|
17
|
+
"animations/flip",
|
|
18
|
+
"animations/flip-in",
|
|
19
|
+
"animations/float",
|
|
20
|
+
"animations/hover-lift",
|
|
21
|
+
"animations/hover-scale",
|
|
22
|
+
"animations/magnetic",
|
|
23
|
+
"animations/parallax",
|
|
24
|
+
"animations/ping",
|
|
25
|
+
"animations/pop-in",
|
|
26
|
+
"animations/press",
|
|
27
|
+
"animations/progress",
|
|
28
|
+
"animations/pulse",
|
|
29
|
+
"animations/reorder",
|
|
30
|
+
"animations/reveal-blur",
|
|
31
|
+
"animations/reveal-down",
|
|
32
|
+
"animations/reveal-left",
|
|
33
|
+
"animations/reveal-right",
|
|
34
|
+
"animations/reveal-up",
|
|
35
|
+
"animations/rotate-in",
|
|
36
|
+
"animations/scale-in",
|
|
37
|
+
"animations/scale-out",
|
|
38
|
+
"animations/shake",
|
|
39
|
+
"animations/skeleton-shimmer",
|
|
40
|
+
"animations/slide-down",
|
|
41
|
+
"animations/slide-left",
|
|
42
|
+
"animations/slide-right",
|
|
43
|
+
"animations/slide-up",
|
|
44
|
+
"animations/spin",
|
|
45
|
+
"animations/text-reveal",
|
|
46
|
+
"animations/text-shimmer",
|
|
47
|
+
"animations/tilt",
|
|
48
|
+
"animations/wiggle",
|
|
8
49
|
"avatar",
|
|
9
50
|
"badge",
|
|
10
51
|
"breadcrumb",
|
|
@@ -55,6 +96,49 @@
|
|
|
55
96
|
"tree-view",
|
|
56
97
|
"typography"
|
|
57
98
|
],
|
|
99
|
+
"animations": [
|
|
100
|
+
"animations/blur-in",
|
|
101
|
+
"animations/blur-out",
|
|
102
|
+
"animations/bounce",
|
|
103
|
+
"animations/fade-down",
|
|
104
|
+
"animations/fade-in",
|
|
105
|
+
"animations/fade-left",
|
|
106
|
+
"animations/fade-out",
|
|
107
|
+
"animations/fade-right",
|
|
108
|
+
"animations/fade-up",
|
|
109
|
+
"animations/flip",
|
|
110
|
+
"animations/flip-in",
|
|
111
|
+
"animations/float",
|
|
112
|
+
"animations/hover-lift",
|
|
113
|
+
"animations/hover-scale",
|
|
114
|
+
"animations/magnetic",
|
|
115
|
+
"animations/parallax",
|
|
116
|
+
"animations/ping",
|
|
117
|
+
"animations/pop-in",
|
|
118
|
+
"animations/press",
|
|
119
|
+
"animations/progress",
|
|
120
|
+
"animations/pulse",
|
|
121
|
+
"animations/reorder",
|
|
122
|
+
"animations/reveal-blur",
|
|
123
|
+
"animations/reveal-down",
|
|
124
|
+
"animations/reveal-left",
|
|
125
|
+
"animations/reveal-right",
|
|
126
|
+
"animations/reveal-up",
|
|
127
|
+
"animations/rotate-in",
|
|
128
|
+
"animations/scale-in",
|
|
129
|
+
"animations/scale-out",
|
|
130
|
+
"animations/shake",
|
|
131
|
+
"animations/skeleton-shimmer",
|
|
132
|
+
"animations/slide-down",
|
|
133
|
+
"animations/slide-left",
|
|
134
|
+
"animations/slide-right",
|
|
135
|
+
"animations/slide-up",
|
|
136
|
+
"animations/spin",
|
|
137
|
+
"animations/text-reveal",
|
|
138
|
+
"animations/text-shimmer",
|
|
139
|
+
"animations/tilt",
|
|
140
|
+
"animations/wiggle"
|
|
141
|
+
],
|
|
58
142
|
"hooks": [
|
|
59
143
|
"useBodyScrollLock",
|
|
60
144
|
"useClickOutside",
|
|
@@ -183,6 +267,129 @@
|
|
|
183
267
|
"spinner": [
|
|
184
268
|
"framer-motion"
|
|
185
269
|
],
|
|
270
|
+
"animations/blur-in": [
|
|
271
|
+
"framer-motion"
|
|
272
|
+
],
|
|
273
|
+
"animations/blur-out": [
|
|
274
|
+
"framer-motion"
|
|
275
|
+
],
|
|
276
|
+
"animations/bounce": [
|
|
277
|
+
"framer-motion"
|
|
278
|
+
],
|
|
279
|
+
"animations/fade-down": [
|
|
280
|
+
"framer-motion"
|
|
281
|
+
],
|
|
282
|
+
"animations/fade-in": [
|
|
283
|
+
"framer-motion"
|
|
284
|
+
],
|
|
285
|
+
"animations/fade-left": [
|
|
286
|
+
"framer-motion"
|
|
287
|
+
],
|
|
288
|
+
"animations/fade-out": [
|
|
289
|
+
"framer-motion"
|
|
290
|
+
],
|
|
291
|
+
"animations/fade-right": [
|
|
292
|
+
"framer-motion"
|
|
293
|
+
],
|
|
294
|
+
"animations/fade-up": [
|
|
295
|
+
"framer-motion"
|
|
296
|
+
],
|
|
297
|
+
"animations/flip": [
|
|
298
|
+
"framer-motion"
|
|
299
|
+
],
|
|
300
|
+
"animations/flip-in": [
|
|
301
|
+
"framer-motion"
|
|
302
|
+
],
|
|
303
|
+
"animations/float": [
|
|
304
|
+
"framer-motion"
|
|
305
|
+
],
|
|
306
|
+
"animations/hover-lift": [
|
|
307
|
+
"framer-motion"
|
|
308
|
+
],
|
|
309
|
+
"animations/hover-scale": [
|
|
310
|
+
"framer-motion"
|
|
311
|
+
],
|
|
312
|
+
"animations/magnetic": [
|
|
313
|
+
"framer-motion"
|
|
314
|
+
],
|
|
315
|
+
"animations/parallax": [
|
|
316
|
+
"framer-motion"
|
|
317
|
+
],
|
|
318
|
+
"animations/ping": [
|
|
319
|
+
"framer-motion"
|
|
320
|
+
],
|
|
321
|
+
"animations/pop-in": [
|
|
322
|
+
"framer-motion"
|
|
323
|
+
],
|
|
324
|
+
"animations/press": [
|
|
325
|
+
"framer-motion"
|
|
326
|
+
],
|
|
327
|
+
"animations/progress": [
|
|
328
|
+
"framer-motion"
|
|
329
|
+
],
|
|
330
|
+
"animations/pulse": [
|
|
331
|
+
"framer-motion"
|
|
332
|
+
],
|
|
333
|
+
"animations/reorder": [
|
|
334
|
+
"framer-motion"
|
|
335
|
+
],
|
|
336
|
+
"animations/reveal-blur": [
|
|
337
|
+
"framer-motion"
|
|
338
|
+
],
|
|
339
|
+
"animations/reveal-down": [
|
|
340
|
+
"framer-motion"
|
|
341
|
+
],
|
|
342
|
+
"animations/reveal-left": [
|
|
343
|
+
"framer-motion"
|
|
344
|
+
],
|
|
345
|
+
"animations/reveal-right": [
|
|
346
|
+
"framer-motion"
|
|
347
|
+
],
|
|
348
|
+
"animations/reveal-up": [
|
|
349
|
+
"framer-motion"
|
|
350
|
+
],
|
|
351
|
+
"animations/rotate-in": [
|
|
352
|
+
"framer-motion"
|
|
353
|
+
],
|
|
354
|
+
"animations/scale-in": [
|
|
355
|
+
"framer-motion"
|
|
356
|
+
],
|
|
357
|
+
"animations/scale-out": [
|
|
358
|
+
"framer-motion"
|
|
359
|
+
],
|
|
360
|
+
"animations/shake": [
|
|
361
|
+
"framer-motion"
|
|
362
|
+
],
|
|
363
|
+
"animations/skeleton-shimmer": [
|
|
364
|
+
"framer-motion"
|
|
365
|
+
],
|
|
366
|
+
"animations/slide-down": [
|
|
367
|
+
"framer-motion"
|
|
368
|
+
],
|
|
369
|
+
"animations/slide-left": [
|
|
370
|
+
"framer-motion"
|
|
371
|
+
],
|
|
372
|
+
"animations/slide-right": [
|
|
373
|
+
"framer-motion"
|
|
374
|
+
],
|
|
375
|
+
"animations/slide-up": [
|
|
376
|
+
"framer-motion"
|
|
377
|
+
],
|
|
378
|
+
"animations/spin": [
|
|
379
|
+
"framer-motion"
|
|
380
|
+
],
|
|
381
|
+
"animations/text-reveal": [
|
|
382
|
+
"framer-motion"
|
|
383
|
+
],
|
|
384
|
+
"animations/text-shimmer": [
|
|
385
|
+
"framer-motion"
|
|
386
|
+
],
|
|
387
|
+
"animations/tilt": [
|
|
388
|
+
"framer-motion"
|
|
389
|
+
],
|
|
390
|
+
"animations/wiggle": [
|
|
391
|
+
"framer-motion"
|
|
392
|
+
],
|
|
186
393
|
"charts/area": [
|
|
187
394
|
"recharts"
|
|
188
395
|
],
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blur-in.d.ts","sourceRoot":"","sources":["../../../src/animations/blur-in/blur-in.tsx"],"names":[],"mappings":"AAMA,eAAO,MAAM,MAAM;;;CAIlB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/animations/blur-in/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AACzC,YAAY,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const blurInPreset: {
|
|
2
|
+
initial: {
|
|
3
|
+
opacity: number;
|
|
4
|
+
filter: string;
|
|
5
|
+
};
|
|
6
|
+
animate: {
|
|
7
|
+
opacity: number;
|
|
8
|
+
filter: string;
|
|
9
|
+
};
|
|
10
|
+
exit: {
|
|
11
|
+
opacity: number;
|
|
12
|
+
filter: string;
|
|
13
|
+
};
|
|
14
|
+
transition: {
|
|
15
|
+
duration: number;
|
|
16
|
+
ease: "easeOut";
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=presets.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"presets.d.ts","sourceRoot":"","sources":["../../../src/animations/blur-in/presets.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;CAKQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/animations/blur-in/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAEtD,MAAM,MAAM,WAAW,GAAG,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkODZM25II_js = require('../chunk-ODZM25II.js');
|
|
4
|
+
require('../chunk-ZS5756ZC.js');
|
|
5
|
+
|
|
6
|
+
// src/animations/blur-in/presets.ts
|
|
7
|
+
var blurInPreset = {
|
|
8
|
+
initial: { opacity: 0, filter: "blur(12px)" },
|
|
9
|
+
animate: { opacity: 1, filter: "blur(0px)" },
|
|
10
|
+
exit: { opacity: 0, filter: "blur(8px)" },
|
|
11
|
+
transition: { duration: 0.34, ease: "easeOut" }
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
// src/animations/blur-in/blur-in.tsx
|
|
15
|
+
var BlurIn = chunkODZM25II_js.createMotionAnimation(
|
|
16
|
+
"BlurIn",
|
|
17
|
+
"animation-blur-in",
|
|
18
|
+
blurInPreset
|
|
19
|
+
);
|
|
20
|
+
|
|
21
|
+
exports.BlurIn = BlurIn;
|
|
22
|
+
exports.blurInPreset = blurInPreset;
|
|
23
|
+
//# sourceMappingURL=blur-in.js.map
|
|
24
|
+
//# sourceMappingURL=blur-in.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/animations/blur-in/presets.ts","../../src/animations/blur-in/blur-in.tsx"],"names":["createMotionAnimation"],"mappings":";;;;;;AAEO,IAAM,YAAA,GAAe;AAAA,EAC1B,OAAA,EAAS,EAAE,OAAA,EAAS,CAAA,EAAG,QAAQ,YAAA,EAAa;AAAA,EAC5C,OAAA,EAAS,EAAE,OAAA,EAAS,CAAA,EAAG,QAAQ,WAAA,EAAY;AAAA,EAC3C,IAAA,EAAM,EAAE,OAAA,EAAS,CAAA,EAAG,QAAQ,WAAA,EAAY;AAAA,EACxC,UAAA,EAAY,EAAE,QAAA,EAAU,IAAA,EAAM,MAAM,SAAA;AACtC;;;ACDO,IAAM,MAAA,GAASA,sCAAA;AAAA,EACpB,QAAA;AAAA,EACA,mBAAA;AAAA,EACA;AACF","file":"blur-in.js","sourcesContent":["import type { MotionAnimationPreset } from \"../shared\";\n\nexport const blurInPreset = {\n initial: { opacity: 0, filter: \"blur(12px)\" },\n animate: { opacity: 1, filter: \"blur(0px)\" },\n exit: { opacity: 0, filter: \"blur(8px)\" },\n transition: { duration: 0.34, ease: \"easeOut\" },\n} satisfies MotionAnimationPreset;\n","\"use client\";\n\nimport { createMotionAnimation } from \"../shared\";\n\nimport { blurInPreset } from \"./presets\";\n\nexport const BlurIn = createMotionAnimation(\n \"BlurIn\",\n \"animation-blur-in\",\n blurInPreset,\n);\n"]}
|