Skip to content

Commit

Permalink
Revert "replace deprecated CSSTransitionGroup (#1063)" (#1096)
Browse files Browse the repository at this point in the history
This reverts commit 81e7fed.
  • Loading branch information
cmslewis authored and adidahiya committed May 12, 2017
1 parent 299a929 commit 784f294
Show file tree
Hide file tree
Showing 11 changed files with 19 additions and 17 deletions.
2 changes: 1 addition & 1 deletion Gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ const projects = [
"moment",
"normalize.css",
"react",
"react-addons-css-transition-group",
"react-dom",
"react-transition-group",
],
},
copy: {
Expand Down
2 changes: 1 addition & 1 deletion gulp/util/webpack-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ const EXTERNALS = {
"jquery": "$",
"moment": "moment",
"react": "React",
"react-addons-css-transition-group": "React.addons.CSSTransitionGroup",
"react-day-picker": "DayPicker",
"react-dom": "ReactDOM",
"react-transition-group/CSSTransitionGroup": "CSSTransitionGroup",
"tether": "Tether",
};

Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,11 @@
"@types/mocha": "2.2.32",
"@types/pure-render-decorator": "0.2.27",
"@types/react": "0.14.40",
"@types/react-addons-css-transition-group": "0.14.17",
"@types/react-addons-test-utils": "0.14.15",
"@types/react-addons-transition-group": "0.14.17",
"@types/react-day-picker": "1.2.33",
"@types/react-dom": "0.14.17",
"@types/react-transition-group": "1.1.0",
"@types/tether": "1.1.27",
"autoprefixer": "6.5.2",
"better-handlebars": "github:wmeldon/better-handlebars",
Expand Down
8 changes: 4 additions & 4 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@
},
"peerDependencies": {
"react": "^15.0.1 || ^0.14",
"react-dom": "^15.0.1 || ^0.14",
"react-transition-group": "^1.1.3"
"react-addons-css-transition-group": "^15.0.1 || ^0.14",
"react-dom": "^15.0.1 || ^0.14"
},
"devDependencies": {
"bourbon": "4.3.2",
"react": "15.5.1",
"react-addons-css-transition-group": "15.5.1",
"react-addons-test-utils": "15.5.1",
"react-dom": "15.5.1",
"react-transition-group": "1.1.3"
"react-dom": "15.5.1"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/components/overlay/overlay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import * as classNames from "classnames";
import * as PureRender from "pure-render-decorator";
import * as React from "react";
import * as CSSTransitionGroup from "react-transition-group/CSSTransitionGroup";
import * as CSSTransitionGroup from "react-addons-css-transition-group";

import * as Classes from "../../common/classes";
import * as Keys from "../../common/keys";
Expand Down
4 changes: 2 additions & 2 deletions packages/datetime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
"devDependencies": {
"bourbon": "4.2.6",
"react": "15.5.1",
"react-addons-css-transition-group": "15.5.1",
"react-addons-test-utils": "15.5.1",
"react-dom": "15.5.1",
"react-transition-group": "1.1.3"
"react-dom": "15.5.1"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"documentalist": "^0.0.7",
"fuzzaldrin-plus": "^0.3.1",
"react": "^15.3.0",
"react-addons-css-transition-group": "^15.3.0",
"react-dom": "^15.3.0",
"react-transition-group": "^1.1.3",
"tslib": "^1.5.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/site-docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"moment": "2.15.1",
"normalize.css": "4.1.1",
"react": "15.5.1",
"react-addons-css-transition-group": "15.5.1",
"react-dom": "15.5.1",
"react-transition-group": "1.1.3",
"tslib": "1.5.0"
},
"repository": {
Expand Down
6 changes: 3 additions & 3 deletions packages/site-docs/src/blueprint.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ dependencies:
1. If you see `UNMET PEER DEPENDENCY` errors, you should manually install React:

```sh
npm install --save react react-dom react-transition-group
npm install --save react react-dom react-addons-css-transition-group
```

1. After installation, you'll be able to import the React components in your application:
Expand Down Expand Up @@ -140,7 +140,7 @@ install typings for Blueprint's dependencies before you can consume it:

```sh
# required for all @blueprintjs packages:
npm install --save @types/pure-render-decorator @types/react @types/react-dom @types/react-transition-group
npm install --save @types/pure-render-decorator @types/react @types/react-dom @types/react-addons-css-transition-group

# @blueprintjs/datetime requires:
npm install --save @types/moment
Expand Down Expand Up @@ -192,7 +192,7 @@ Check out the [React API docs](https://facebook.github.io/react/docs/react-api.h
You'll need to install React `v15.x` or `v0.14.x` alongside Blueprint.

```sh
npm install --save @blueprintjs/core react react-dom react-transition-group
npm install --save @blueprintjs/core react react-dom react-addons-css-transition-group
```

Import components from the `@blueprintjs/core` module into your project.
Expand Down
2 changes: 1 addition & 1 deletion packages/site-landing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
"postcss-loader": "1.1.0",
"raw-loader": "0.5.1",
"react": "15.5.1",
"react-addons-css-transition-group": "15.5.1",
"react-dom": "15.5.1",
"react-transition-group": "1.1.3",
"sass-loader": "4.0.0",
"style-loader": "0.13.1",
"svgo": "0.7.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/table/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@
"npm-run-all": "3.1.1",
"onchange": "3.0.2",
"react": "15.5.1",
"react-addons-css-transition-group": "15.5.1",
"react-addons-test-utils": "15.5.1",
"react-dom": "15.5.1",
"react-transition-group": "1.1.3",
"style-loader": "0.13.1",
"typescript": "2.1.5",
"webpack": "1.13.3"
Expand Down

0 comments on commit 784f294

Please sign in to comment.