rc-animate
Advanced tools
Comparing version 2.8.1 to 2.8.2
@@ -10,9 +10,11 @@ import _objectWithoutProperties from 'babel-runtime/helpers/objectWithoutProperties'; | ||
import PropTypes from 'prop-types'; | ||
import CSSMotion from './CSSMotion'; | ||
import OriginCSSMotion from './CSSMotion'; | ||
import { supportTransition } from './util/motion'; | ||
import { STATUS_ADD, STATUS_KEEP, STATUS_REMOVE, STATUS_REMOVED, diffKeys, parseKeys } from './util/diff'; | ||
var MOTION_PROP_NAMES = Object.keys(CSSMotion.propTypes); | ||
var MOTION_PROP_NAMES = Object.keys(OriginCSSMotion.propTypes); | ||
export function genCSSMotionList(transitionSupport) { | ||
var CSSMotion = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : OriginCSSMotion; | ||
var CSSMotionList = function (_React$Component) { | ||
@@ -19,0 +21,0 @@ _inherits(CSSMotionList, _React$Component); |
@@ -56,2 +56,4 @@ 'use strict'; | ||
function genCSSMotionList(transitionSupport) { | ||
var CSSMotion = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _CSSMotion2['default']; | ||
var CSSMotionList = function (_React$Component) { | ||
@@ -116,3 +118,3 @@ (0, _inherits3['default'])(CSSMotionList, _React$Component); | ||
return _react2['default'].createElement( | ||
_CSSMotion2['default'], | ||
CSSMotion, | ||
(0, _extends3['default'])({}, motionProps, { | ||
@@ -178,3 +180,3 @@ key: eventProps.key, | ||
CSSMotionList.propTypes = (0, _extends3['default'])({}, _CSSMotion2['default'].propTypes, { | ||
CSSMotionList.propTypes = (0, _extends3['default'])({}, CSSMotion.propTypes, { | ||
component: _propTypes2['default'].string, | ||
@@ -181,0 +183,0 @@ keys: _propTypes2['default'].array |
{ | ||
"name": "rc-animate", | ||
"version": "2.8.1", | ||
"version": "2.8.2", | ||
"description": "css-transition ui component for react", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
88562
2169