Skip to content

Commit

Permalink
release v0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanflorence committed Feb 26, 2015
1 parent db8b725 commit d053cf8
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 7 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
v0.1.0 - Thu, 26 Feb 2015 17:14:27 GMT
--------------------------------------

- [1b8e2d0](../../commit/1b8e2d0) [fixed] ModalPortal's componentWillReceiveProps
- [28dbc63](../../commit/28dbc63) [added] Supporting custom overlay className closes #14
- [6626dae](../../commit/6626dae) [fixed] erroneous alias in webpack build


v0.0.7 - Sat, 03 Jan 2015 06:44:47 GMT
--------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-modal",
"version": "0.0.7",
"version": "0.1.0",
"homepage": "https://github.com/rackt/react-modal",
"authors": [
"Ryan Florence",
Expand Down
6 changes: 2 additions & 4 deletions dist/react-modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,12 +113,10 @@ var ModalPortal = module.exports = React.createClass({
// Focus only needs to be set once when the modal is being opened
if (!this.props.isOpen && newProps.isOpen) {
this.setFocusAfterRender(true);
}

if (newProps.isOpen === true)
this.open();
else if (newProps.isOpen === false)
} else if (this.props.isOpen && !newProps.isOpen) {
this.close();
}
},

componentDidUpdate: function () {
Expand Down
2 changes: 1 addition & 1 deletion dist/react-modal.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-modal",
"version": "0.0.7",
"version": "0.1.0",
"description": "Accessible modal dialog component for React.JS",
"main": "./lib/index",
"repository": {
Expand Down

0 comments on commit d053cf8

Please sign in to comment.