rc-motion
Advanced tools
Comparing version 2.7.1 to 2.7.2
@@ -115,4 +115,5 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; | ||
} | ||
var motionCls = getTransitionName(motionName, "".concat(status, "-").concat(statusSuffix)); | ||
motionChildren = children(_objectSpread(_objectSpread({}, mergedProps), {}, { | ||
className: classNames(getTransitionName(motionName, status), (_classNames = {}, _defineProperty(_classNames, getTransitionName(motionName, "".concat(status, "-").concat(statusSuffix)), statusSuffix), _defineProperty(_classNames, motionName, typeof motionName === 'string'), _classNames)), | ||
className: classNames(getTransitionName(motionName, status), (_classNames = {}, _defineProperty(_classNames, motionCls, motionCls && statusSuffix), _defineProperty(_classNames, motionName, typeof motionName === 'string'), _classNames)), | ||
style: statusStyle | ||
@@ -119,0 +120,0 @@ }), setNodeRef); |
@@ -126,4 +126,5 @@ "use strict"; | ||
} | ||
var motionCls = (0, _motion.getTransitionName)(motionName, "".concat(status, "-").concat(statusSuffix)); | ||
motionChildren = children((0, _objectSpread2.default)((0, _objectSpread2.default)({}, mergedProps), {}, { | ||
className: (0, _classnames.default)((0, _motion.getTransitionName)(motionName, status), (_classNames = {}, (0, _defineProperty2.default)(_classNames, (0, _motion.getTransitionName)(motionName, "".concat(status, "-").concat(statusSuffix)), statusSuffix), (0, _defineProperty2.default)(_classNames, motionName, typeof motionName === 'string'), _classNames)), | ||
className: (0, _classnames.default)((0, _motion.getTransitionName)(motionName, status), (_classNames = {}, (0, _defineProperty2.default)(_classNames, motionCls, motionCls && statusSuffix), (0, _defineProperty2.default)(_classNames, motionName, typeof motionName === 'string'), _classNames)), | ||
style: statusStyle | ||
@@ -130,0 +131,0 @@ }), setNodeRef); |
{ | ||
"name": "rc-motion", | ||
"version": "2.7.1", | ||
"version": "2.7.2", | ||
"description": "React lifecycle controlled motion library", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
106684
2199