Update CSSTransitionGroup
This commit is contained in:
parent
a470fe38fd
commit
11d0344d3b
|
@ -9,7 +9,7 @@ const {
|
||||||
|
|
||||||
const React = require('react');
|
const React = require('react');
|
||||||
|
|
||||||
const ReactCSSTransitionGroup = require('react-addons-css-transition-group');
|
const { CSSTransitionGroup } = require('react-transition-group');
|
||||||
|
|
||||||
const r = require('r-dom');
|
const r = require('r-dom');
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ class Log extends React.Component {
|
||||||
render() {
|
render() {
|
||||||
return r.div({
|
return r.div({
|
||||||
className: 'log',
|
className: 'log',
|
||||||
}, r(ReactCSSTransitionGroup, {
|
}, r(CSSTransitionGroup, {
|
||||||
transitionName: 'log-item-transition',
|
transitionName: 'log-item-transition',
|
||||||
transitionEnterTimeout: 300,
|
transitionEnterTimeout: 300,
|
||||||
transitionLeaveTimeout: 2000,
|
transitionLeaveTimeout: 2000,
|
||||||
|
|
|
@ -40,12 +40,12 @@
|
||||||
"r-dom": "^2.4.0",
|
"r-dom": "^2.4.0",
|
||||||
"ramda": "^0.25.0",
|
"ramda": "^0.25.0",
|
||||||
"react": "^16.6.0",
|
"react": "^16.6.0",
|
||||||
"react-addons-css-transition-group": "^15.6.2",
|
|
||||||
"react-digraph": "^6.2.2",
|
"react-digraph": "^6.2.2",
|
||||||
"react-dom": "^16.6.0",
|
"react-dom": "^16.6.0",
|
||||||
"react-hotkeys": "^1.1.4",
|
"react-hotkeys": "^1.1.4",
|
||||||
"react-modal": "^3.6.1",
|
"react-modal": "^3.6.1",
|
||||||
"react-redux": "^5.1.0",
|
"react-redux": "^5.1.0",
|
||||||
|
"react-transition-group": "^1.2.1",
|
||||||
"recompose": "^0.30.0",
|
"recompose": "^0.30.0",
|
||||||
"redux": "^4.0.1",
|
"redux": "^4.0.1",
|
||||||
"redux-actions": "^2.6.4",
|
"redux-actions": "^2.6.4",
|
||||||
|
|
|
@ -6158,13 +6158,6 @@ rcedit@^1.0.0:
|
||||||
resolved "https://registry.yarnpkg.com/rcedit/-/rcedit-1.1.1.tgz#79321893357e74f79546617d792c572b38d2f7f0"
|
resolved "https://registry.yarnpkg.com/rcedit/-/rcedit-1.1.1.tgz#79321893357e74f79546617d792c572b38d2f7f0"
|
||||||
integrity sha512-6NjOhOpkvbc/gpMEfk2hpXuWyHfbLFN8as5jx3jf4bhELvouRoYvc8d/W3NVVPwEBF1ICfbpwp1oRm8OJ2WDWw==
|
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:
|
react-digraph@^6.2.2:
|
||||||
version "6.2.2"
|
version "6.2.2"
|
||||||
resolved "https://registry.yarnpkg.com/react-digraph/-/react-digraph-6.2.2.tgz#485fda10572423458983fad95c6818b272ce72e4"
|
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"
|
react-is "^16.6.3"
|
||||||
scheduler "^0.11.2"
|
scheduler "^0.11.2"
|
||||||
|
|
||||||
react-transition-group@^1.2.0:
|
react-transition-group@^1.2.1:
|
||||||
version "1.2.1"
|
version "1.2.1"
|
||||||
resolved "https://registry.yarnpkg.com/react-transition-group/-/react-transition-group-1.2.1.tgz#e11f72b257f921b213229a774df46612346c7ca6"
|
resolved "https://registry.yarnpkg.com/react-transition-group/-/react-transition-group-1.2.1.tgz#e11f72b257f921b213229a774df46612346c7ca6"
|
||||||
integrity sha512-CWaL3laCmgAFdxdKbhhps+c0HRGF4c+hdM4H23+FI1QBNUyx/AMeIJGWorehPNSaKnQNOAxL7PQmqMu78CDj3Q==
|
integrity sha512-CWaL3laCmgAFdxdKbhhps+c0HRGF4c+hdM4H23+FI1QBNUyx/AMeIJGWorehPNSaKnQNOAxL7PQmqMu78CDj3Q==
|
||||||
|
|
Loading…
Reference in New Issue
Block a user