@shapesos/clay 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-XY2OM47L.js → chunk-UKM5VQKW.js} +1 -3
- package/dist/{chunk-XY2OM47L.js.map → chunk-UKM5VQKW.js.map} +1 -1
- package/dist/index.cjs +0 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/lottie.cjs +0 -2
- package/dist/lottie.cjs.map +1 -1
- package/dist/lottie.js +1 -1
- package/package.json +3 -3
|
@@ -16392,7 +16392,6 @@ function useLottie({
|
|
|
16392
16392
|
});
|
|
16393
16393
|
const container = containerRef.current;
|
|
16394
16394
|
let isHovering = false;
|
|
16395
|
-
let hasPlayedInitial = false;
|
|
16396
16395
|
const handleMouseEnter = () => {
|
|
16397
16396
|
isHovering = true;
|
|
16398
16397
|
if (loopOnHover) {
|
|
@@ -16410,7 +16409,6 @@ function useLottie({
|
|
|
16410
16409
|
};
|
|
16411
16410
|
const stopAfterInitialPlay = () => {
|
|
16412
16411
|
if (!isHovering) {
|
|
16413
|
-
hasPlayedInitial = true;
|
|
16414
16412
|
anim.pause();
|
|
16415
16413
|
}
|
|
16416
16414
|
};
|
|
@@ -16508,4 +16506,4 @@ lottie-web/build/player/lottie.js:
|
|
|
16508
16506
|
License: MIT, header required.
|
|
16509
16507
|
*)
|
|
16510
16508
|
*/
|
|
16511
|
-
//# sourceMappingURL=chunk-
|
|
16509
|
+
//# sourceMappingURL=chunk-UKM5VQKW.js.map
|