From cd35289dbcc0430a6644402a5bed2e0a46879395 Mon Sep 17 00:00:00 2001 From: Caleb Date: Wed, 20 Sep 2017 11:49:46 -0600 Subject: [PATCH] Upgrade depreciated transitions addon to `react-transition-group`. v1 of `react-transition-group` is a drop-in replacement. --- package.json | 2 +- src/components/UI/loader/Loader.js | 2 +- yarn.lock | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 3f95b716..374188d7 100644 --- a/package.json +++ b/package.json @@ -129,7 +129,6 @@ "prismjs": "^1.5.1", "prop-types": "^15.5.10", "react": "^15.1.0", - "react-addons-css-transition-group": "^15.3.1", "react-autosuggest": "^7.0.1", "react-datetime": "^2.6.0", "react-dom": "^15.1.0", @@ -149,6 +148,7 @@ "react-textarea-autosize": "^4.3.2", "react-toolbox": "^1.2.1", "react-topbar-progress-indicator": "^1.0.0", + "react-transition-group": "1.x", "react-waypoint": "^3.1.3", "redux": "^3.3.1", "redux-notifications": "^2.1.1", diff --git a/src/components/UI/loader/Loader.js b/src/components/UI/loader/Loader.js index c3c91ffc..9b4194a2 100644 --- a/src/components/UI/loader/Loader.js +++ b/src/components/UI/loader/Loader.js @@ -1,5 +1,5 @@ import React from 'react'; -import ReactCSSTransitionGroup from 'react-addons-css-transition-group'; +import ReactCSSTransitionGroup from 'react-transition-group/CSSTransitionGroup'; import styles from './Loader.css'; export default class Loader extends React.Component { diff --git a/yarn.lock b/yarn.lock index 52dd7200..10f89547 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6940,7 +6940,7 @@ rc@^1.0.1, rc@^1.1.6, rc@^1.1.7: minimist "^1.2.0" strip-json-comments "~2.0.1" -react-addons-css-transition-group@^15.0.2, react-addons-css-transition-group@^15.3.1: +react-addons-css-transition-group@^15.0.2: version "15.6.0" resolved "https://registry.yarnpkg.com/react-addons-css-transition-group/-/react-addons-css-transition-group-15.6.0.tgz#69887cf6e4874d25cd66e22a699e29f0d648aba0" dependencies: @@ -7205,7 +7205,7 @@ react-topbar-progress-indicator@^1.0.0: dependencies: topbar "^0.1.3" -react-transition-group@^1.2.0: +react-transition-group@1.x, react-transition-group@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/react-transition-group/-/react-transition-group-1.2.0.tgz#b51fc921b0c3835a7ef7c571c79fc82c73e9204f" dependencies: