motion-v 1.0.1 → 1.0.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/dist/cjs/index.js CHANGED
@@ -6733,7 +6733,6 @@ class AnimationFeature extends Feature {
6733
6733
  const prevTarget = this.state.target;
6734
6734
  this.state.target = { ...this.state.baseTarget };
6735
6735
  let animationOptions = {};
6736
- const transition = { ...this.state.options.transition };
6737
6736
  animationOptions = this.resolveStateAnimation({
6738
6737
  controlActiveState,
6739
6738
  directAnimate,
@@ -6745,7 +6744,7 @@ class AnimationFeature extends Feature {
6745
6744
  factories,
6746
6745
  getChildAnimations,
6747
6746
  childAnimations,
6748
- transition,
6747
+ transition: animationOptions,
6749
6748
  controlActiveState,
6750
6749
  isExit
6751
6750
  });
@@ -27,7 +27,6 @@ class AnimationFeature extends Feature {
27
27
  const prevTarget = this.state.target;
28
28
  this.state.target = { ...this.state.baseTarget };
29
29
  let animationOptions = {};
30
- const transition = { ...this.state.options.transition };
31
30
  animationOptions = this.resolveStateAnimation({
32
31
  controlActiveState,
33
32
  directAnimate,
@@ -39,7 +38,7 @@ class AnimationFeature extends Feature {
39
38
  factories,
40
39
  getChildAnimations,
41
40
  childAnimations,
42
- transition,
41
+ transition: animationOptions,
43
42
  controlActiveState,
44
43
  isExit
45
44
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "motion-v",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "license": "MIT",