diff --git a/components/log/index.js b/components/log/index.js index bcf2700..53453c1 100644 --- a/components/log/index.js +++ b/components/log/index.js @@ -9,7 +9,7 @@ const { const React = require('react'); -const ReactCSSTransitionGroup = require('react-addons-css-transition-group'); +const { CSSTransitionGroup } = require('react-transition-group'); const r = require('r-dom'); @@ -62,7 +62,7 @@ class Log extends React.Component { render() { return r.div({ className: 'log', - }, r(ReactCSSTransitionGroup, { + }, r(CSSTransitionGroup, { transitionName: 'log-item-transition', transitionEnterTimeout: 300, transitionLeaveTimeout: 2000, diff --git a/package.json b/package.json index 16d7613..b4b234c 100644 --- a/package.json +++ b/package.json @@ -40,12 +40,12 @@ "r-dom": "^2.4.0", "ramda": "^0.25.0", "react": "^16.6.0", - "react-addons-css-transition-group": "^15.6.2", "react-digraph": "^6.2.2", "react-dom": "^16.6.0", "react-hotkeys": "^1.1.4", "react-modal": "^3.6.1", "react-redux": "^5.1.0", + "react-transition-group": "^1.2.1", "recompose": "^0.30.0", "redux": "^4.0.1", "redux-actions": "^2.6.4", diff --git a/yarn.lock b/yarn.lock index bbc86dd..862c221 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6158,13 +6158,6 @@ rcedit@^1.0.0: resolved "https://registry.yarnpkg.com/rcedit/-/rcedit-1.1.1.tgz#79321893357e74f79546617d792c572b38d2f7f0" integrity sha512-6NjOhOpkvbc/gpMEfk2hpXuWyHfbLFN8as5jx3jf4bhELvouRoYvc8d/W3NVVPwEBF1ICfbpwp1oRm8OJ2WDWw== -react-addons-css-transition-group@^15.6.2: - version "15.6.2" - resolved "https://registry.yarnpkg.com/react-addons-css-transition-group/-/react-addons-css-transition-group-15.6.2.tgz#9e4376bcf40b5217d14ec68553081cee4b08a6d6" - integrity sha1-nkN2vPQLUhfRTsaFUwgc7ksIptY= - dependencies: - react-transition-group "^1.2.0" - react-digraph@^6.2.2: version "6.2.2" resolved "https://registry.yarnpkg.com/react-digraph/-/react-digraph-6.2.2.tgz#485fda10572423458983fad95c6818b272ce72e4" @@ -6259,7 +6252,7 @@ react-test-renderer@^16.6.3: react-is "^16.6.3" scheduler "^0.11.2" -react-transition-group@^1.2.0: +react-transition-group@^1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/react-transition-group/-/react-transition-group-1.2.1.tgz#e11f72b257f921b213229a774df46612346c7ca6" integrity sha512-CWaL3laCmgAFdxdKbhhps+c0HRGF4c+hdM4H23+FI1QBNUyx/AMeIJGWorehPNSaKnQNOAxL7PQmqMu78CDj3Q==