@douyinfe/semi-animation-react
Advanced tools
Comparing version 2.67.2-alpha.0 to 2.67.2
@@ -149,3 +149,3 @@ "use strict"; | ||
return children(this.animation.getCurrentStates()); | ||
} else if ( /*#__PURE__*/(0, _react.isValidElement)(children)) { | ||
} else if (/*#__PURE__*/(0, _react.isValidElement)(children)) { | ||
return children; | ||
@@ -152,0 +152,0 @@ } else { |
@@ -94,3 +94,3 @@ "use strict"; | ||
}; | ||
if ( /*#__PURE__*/(0, _react.isValidElement)(children)) { | ||
if (/*#__PURE__*/(0, _react.isValidElement)(children)) { | ||
children = _react.Children.map(children, child => { | ||
@@ -97,0 +97,0 @@ const animateEvents = this._generateAnimateEvents(child, this.props); |
@@ -141,3 +141,3 @@ /* eslint-disable @typescript-eslint/ban-types */ | ||
return children(this.animation.getCurrentStates()); | ||
} else if ( /*#__PURE__*/isValidElement(children)) { | ||
} else if (/*#__PURE__*/isValidElement(children)) { | ||
return children; | ||
@@ -144,0 +144,0 @@ } else { |
@@ -87,3 +87,3 @@ import { PureComponent, isValidElement, cloneElement, Children } from 'react'; | ||
}; | ||
if ( /*#__PURE__*/isValidElement(children)) { | ||
if (/*#__PURE__*/isValidElement(children)) { | ||
children = Children.map(children, child => { | ||
@@ -90,0 +90,0 @@ const animateEvents = this._generateAnimateEvents(child, this.props); |
{ | ||
"name": "@douyinfe/semi-animation-react", | ||
"version": "2.67.2-alpha.0", | ||
"version": "2.67.2", | ||
"description": "motion library for semi-ui-react", | ||
@@ -28,4 +28,4 @@ "keywords": [ | ||
"dependencies": { | ||
"@douyinfe/semi-animation": "2.67.2-alpha.0", | ||
"@douyinfe/semi-animation-styled": "2.67.2-alpha.0", | ||
"@douyinfe/semi-animation": "2.67.2", | ||
"@douyinfe/semi-animation-styled": "2.67.2", | ||
"classnames": "^2.2.6" | ||
@@ -46,3 +46,3 @@ }, | ||
}, | ||
"gitHead": "9ad910e9b057e33d05d7194786dfeb76519f89cb" | ||
"gitHead": "2ff1f1c65aa51266782304dfd1dea055d20ee028" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1
79567
+ Added@douyinfe/semi-animation@2.67.2(transitive)
+ Added@douyinfe/semi-animation-styled@2.67.2(transitive)
- Removed@douyinfe/semi-animation@2.67.2-alpha.0(transitive)
- Removed@douyinfe/semi-animation-styled@2.67.2-alpha.0(transitive)