Socket
Socket
Sign inDemoInstall

rc-animate

Package Overview
Dependencies
Maintainers
3
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-animate - npm Package Compare versions

Comparing version 2.5.3 to 2.6.0-beta.1

12

es/CSSMotion.js

@@ -196,3 +196,4 @@ import _defineProperty from 'babel-runtime/helpers/defineProperty';

visible = _props.visible,
removeOnLeave = _props.removeOnLeave;
removeOnLeave = _props.removeOnLeave,
leavedClassName = _props.leavedClassName;

@@ -203,3 +204,9 @@

if (status === STATUS_NONE || !isSupportTransition(this.props)) {
return visible || !removeOnLeave ? children({}) : null;
if (visible) {
return children({});
} else if (!removeOnLeave) {
return children({ className: leavedClassName });
}
return null;
}

@@ -266,2 +273,3 @@

removeOnLeave: PropTypes.bool,
leavedClassName: PropTypes.string,
onAppearStart: PropTypes.func,

@@ -268,0 +276,0 @@ onAppearActive: PropTypes.func,

@@ -240,3 +240,4 @@ 'use strict';

visible = _props.visible,
removeOnLeave = _props.removeOnLeave;
removeOnLeave = _props.removeOnLeave,
leavedClassName = _props.leavedClassName;

@@ -247,3 +248,9 @@

if (status === STATUS_NONE || !isSupportTransition(this.props)) {
return visible || !removeOnLeave ? children({}) : null;
if (visible) {
return children({});
} else if (!removeOnLeave) {
return children({ className: leavedClassName });
}
return null;
}

@@ -309,2 +316,3 @@

removeOnLeave: _propTypes2['default'].bool,
leavedClassName: _propTypes2['default'].string,
onAppearStart: _propTypes2['default'].func,

@@ -311,0 +319,0 @@ onAppearActive: _propTypes2['default'].func,

2

package.json
{
"name": "rc-animate",
"version": "2.5.3",
"version": "2.6.0-beta.1",
"description": "css-transition ui component for react",

@@ -5,0 +5,0 @@ "keywords": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc