Skip to content

Commit

Permalink
Release v2.3.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
diasbruno committed Sep 5, 2017
1 parent 93256e9 commit 57e9316
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 5 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
v2.2.4 - Mon, 14 Aug 2017 09:41:39 UTC
--------------------------------------




v2.2.4 - Mon, 14 Aug 2017 09:40:50 UTC
--------------------------------------

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": "2.2.4",
"version": "2.3.1",
"homepage": "https://github.com/reactjs/react-modal",
"authors": [
"Ryan Florence",
Expand Down
5 changes: 4 additions & 1 deletion dist/react-modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ return /******/ (function(modules) { // webpackBootstrap
onRequestClose: _propTypes2.default.func,
closeTimeoutMS: _propTypes2.default.number,
ariaHideApp: _propTypes2.default.bool,
shouldFocusAfter: _propTypes2.default.bool,
shouldCloseOnOverlayClick: _propTypes2.default.bool,
parentSelector: _propTypes2.default.func,
aria: _propTypes2.default.object,
Expand All @@ -260,6 +261,7 @@ return /******/ (function(modules) { // webpackBootstrap
bodyOpenClassName: bodyOpenClassName,
ariaHideApp: true,
closeTimeoutMS: 0,
shouldFocusAfterRender: true,
shouldCloseOnOverlayClick: true,
parentSelector: function parentSelector() {
return document.body;
Expand Down Expand Up @@ -1257,7 +1259,7 @@ return /******/ (function(modules) { // webpackBootstrap
var _this = _possibleConstructorReturn(this, (ModalPortal.__proto__ || Object.getPrototypeOf(ModalPortal)).call(this, props));

_this.setFocusAfterRender = function (focus) {
_this.focusAfterRender = focus;
_this.focusAfterRender = _this.props.shouldFocusAfterRender && focus;
};

_this.setOverlayRef = function (overlay) {
Expand Down Expand Up @@ -1538,6 +1540,7 @@ return /******/ (function(modules) { // webpackBootstrap
onAfterOpen: _propTypes.PropTypes.func,
onRequestClose: _propTypes.PropTypes.func,
closeTimeoutMS: _propTypes.PropTypes.number,
shouldFocusAfterRender: _propTypes.PropTypes.bool,
shouldCloseOnOverlayClick: _propTypes.PropTypes.bool,
role: _propTypes.PropTypes.string,
contentLabel: _propTypes.PropTypes.string,
Expand Down
Loading

0 comments on commit 57e9316

Please sign in to comment.