framer-motion-3d
Advanced tools
Comparing version 9.1.1 to 9.1.2
@@ -39,3 +39,3 @@ 'use strict'; | ||
var _a; | ||
(_a = visualElement.animationState) === null || _a === void 0 ? void 0 : _a.setActive(framerMotion.AnimationType.Hover, true); | ||
(_a = visualElement.animationState) === null || _a === void 0 ? void 0 : _a.setActive("whileHover" /* AnimationType.Hover */, true); | ||
onPointerOver && onPointerOver(event); | ||
@@ -45,3 +45,3 @@ }, | ||
var _a; | ||
(_a = visualElement.animationState) === null || _a === void 0 ? void 0 : _a.setActive(framerMotion.AnimationType.Hover, false); | ||
(_a = visualElement.animationState) === null || _a === void 0 ? void 0 : _a.setActive("whileHover" /* AnimationType.Hover */, false); | ||
onPointerOut && onPointerOut(event); | ||
@@ -67,3 +67,3 @@ }, | ||
isPressing.current = false; | ||
(_a = visualElement.animationState) === null || _a === void 0 ? void 0 : _a.setActive(framerMotion.AnimationType.Tap, false); | ||
(_a = visualElement.animationState) === null || _a === void 0 ? void 0 : _a.setActive("whileTap" /* AnimationType.Tap */, false); | ||
return !framerMotion.isDragActive(); | ||
@@ -99,3 +99,3 @@ } | ||
cancelPointerEndListeners.current = framerMotion.pipe(framerMotion.addPointerEvent(window, "pointerup", onPointerUp, options), framerMotion.addPointerEvent(window, "pointercancel", onPointerCancel, options)); | ||
(_a = visualElement.animationState) === null || _a === void 0 ? void 0 : _a.setActive(framerMotion.AnimationType.Tap, true); | ||
(_a = visualElement.animationState) === null || _a === void 0 ? void 0 : _a.setActive("whileTap" /* AnimationType.Tap */, true); | ||
onPointerDown === null || onPointerDown === void 0 ? void 0 : onPointerDown(event); | ||
@@ -102,0 +102,0 @@ onTapStart === null || onTapStart === void 0 ? void 0 : onTapStart(event, info); |
{ | ||
"name": "framer-motion-3d", | ||
"version": "9.1.1", | ||
"version": "9.1.2", | ||
"description": "A simple and powerful React animation library for @react-three/fiber", | ||
@@ -49,3 +49,3 @@ "main": "dist/cjs/index.js", | ||
"dependencies": { | ||
"framer-motion": "^9.1.1", | ||
"framer-motion": "^9.1.2", | ||
"react-merge-refs": "^2.0.1" | ||
@@ -64,3 +64,3 @@ }, | ||
}, | ||
"gitHead": "d2977eff81153d6d70d99683956bc6bb912e06a6" | ||
"gitHead": "08ea4a259f3db9ba64d01d867500ec88ca2fd214" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
55768
1127
Updatedframer-motion@^9.1.2