Skip to content

Commit f4d84f5

Browse files
committed
Merge branch 'release/0.2.7'
2 parents a6e6cb5 + 54bc12f commit f4d84f5

File tree

6 files changed

+29
-21
lines changed

6 files changed

+29
-21
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# CHANGELOG
22

3+
## 0.2.7 - Nov 20, 2015
4+
5+
**React 15 support:**
6+
7+
* Version 0.2.x now supports React 15 too.
8+
9+
310
## 0.2.6 - Nov 20, 2015
411

512
**Bugfix from PR:**

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ npm install react-notification-system
1818

1919
### Important
2020

21-
For **React 0.14.x**, use version 0.2.x:
21+
For **React ^0.14.x** or **React ^15.x.x**, use version 0.2.x:
2222

2323
```
2424
npm install [email protected]
@@ -36,7 +36,7 @@ npm install [email protected]
3636

3737
For optimal appearance, this component **must be rendered on a top level HTML element** in your application to avoid position conflicts.
3838

39-
Here is a basic example. For a more advanced usage, please see the [example code](https://github.com/igorprado/react-notification-system/blob/master/example/src/app.js).
39+
Here is a basic example. For a more advanced usage, please see the [example code](https://github.com/igorprado/react-notification-system/blob/master/example/src/scripts/App.jsx).
4040

4141
```js
4242
var React = require('react');

example/build/app.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example/build/app.js

Lines changed: 6 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example/src/scripts/App.jsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ NotificationSystemExample = React.createClass({
2424
_notificationsShowCase: [
2525
{
2626
title: 'Hey, it\'s good to see you!',
27-
message: 'Now you can how ease is to use notifications in React!',
27+
message: 'Now you can see how easy it is to use notifications in React!',
2828
level: 'success',
2929
position: 'tr',
3030
action: {
@@ -35,15 +35,15 @@ NotificationSystemExample = React.createClass({
3535
}
3636
},
3737
{
38-
title: 'I\'ll be here for ever!',
39-
message: 'Just kidding you can click me.',
38+
title: 'I\'ll be here forever!',
39+
message: 'Just kidding, you can click me.',
4040
level: 'success',
4141
position: 'tr',
4242
autoDismiss: 0
4343
},
4444
{
45-
title: 'Bad things can happer too!',
46-
message: 'It\'s four type of levels: `success`, `error`, `warning` and `info`',
45+
title: 'Bad things can happen too!',
46+
message: 'Four notification types: `success`, `error`, `warning` and `info`',
4747
level: 'error',
4848
position: 'tl'
4949
},
@@ -55,7 +55,7 @@ NotificationSystemExample = React.createClass({
5555
},
5656
{
5757
title: 'Warning!',
58-
message: 'It\'s not a good idea show all this notifications at the same time!',
58+
message: 'It\'s not a good idea show all these notifications at the same time!',
5959
level: 'warning',
6060
position: 'bc',
6161
action: {
@@ -119,7 +119,7 @@ NotificationSystemExample = React.createClass({
119119
<div className="content">
120120
<h1 className="title">React Notification System</h1>
121121
<h2 className="subtitle">A complete and totally customizable component for notifications in React.</h2>
122-
<h3 className="versions">(For React 0.14 and 0.13)</h3>
122+
<h3 className="versions">(For React 15, 0.14 and 0.13)</h3>
123123

124124
<div className="btn-show-magic-holder">
125125
<button className="btn btn-outline btn-show-magic" onClick={ this._showTheMagic }>

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-notification-system",
3-
"version": "0.2.5",
3+
"version": "0.2.7",
44
"description": "A React Notification System fully customized",
55
"main": "dist/NotificationSystem.js",
66
"scripts": {
@@ -36,8 +36,8 @@
3636
"object-assign": "^4.0.1"
3737
},
3838
"peerDependencies": {
39-
"react": "^0.14.0",
40-
"react-dom": "^0.14.0"
39+
"react": "0.14.x || ^15.0.0",
40+
"react-dom": "0.14.x || ^15.0.0"
4141
},
4242
"devDependencies": {
4343
"autoprefixer-loader": "^3.1.0",
@@ -69,9 +69,9 @@
6969
"mocha": "^2.3.3",
7070
"node-sass": "^3.3.3",
7171
"npm": "^3.3.6",
72-
"react": "^0.14.0",
73-
"react-addons-test-utils": "^0.14.0",
74-
"react-dom": "^0.14.0",
72+
"react": "^15.0.0",
73+
"react-addons-test-utils": "^15.0.0",
74+
"react-dom": "^15.0.0",
7575
"react-tools": "^0.13.2",
7676
"react-transform-catch-errors": "^1.0.0",
7777
"react-transform-hmr": "^1.0.1",

0 commit comments

Comments
 (0)