Skip to content

Commit

Permalink
Release v3.9.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
diasbruno committed Jul 14, 2019
1 parent c747c24 commit 65b1c1a
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
v3.9.1 - Sun, 14 Jul 2019 16:52:30 UTC
--------------------------------------

- [c747c24](../../commit/c747c24) [added] Added an id prop, applied to the modal dialog (content) (#765)


v3.8.2 - Sun, 30 Jun 2019 20:48:21 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": "3.8.2",
"version": "3.9.1",
"homepage": "https://github.com/reactjs/react-modal",
"authors": [
"Ryan Florence",
Expand Down
3 changes: 3 additions & 0 deletions dist/react-modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -2058,6 +2058,7 @@ var ModalPortal = function (_Component) {
key: "render",
value: function render() {
var _props2 = this.props,
id = _props2.id,
className = _props2.className,
overlayClassName = _props2.overlayClassName,
defaultStyles = _props2.defaultStyles;
Expand All @@ -2077,6 +2078,7 @@ var ModalPortal = function (_Component) {
_react2.default.createElement(
"div",
_extends({
id: id,
ref: this.setContentRef,
style: _extends({}, contentStyles, this.props.style.content),
className: this.buildClassName("content", className),
Expand Down Expand Up @@ -2137,6 +2139,7 @@ ModalPortal.propTypes = {
shouldCloseOnEsc: _propTypes2.default.bool,
overlayRef: _propTypes2.default.func,
contentRef: _propTypes2.default.func,
id: _propTypes2.default.string,
testId: _propTypes2.default.string
};
exports.default = ModalPortal;
Expand Down
2 changes: 1 addition & 1 deletion dist/react-modal.min.js

Large diffs are not rendered by default.

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": "3.8.2",
"version": "3.9.1",
"description": "Accessible modal dialog component for React.JS",
"main": "./lib/index.js",
"module": "./lib/index.js",
Expand Down

0 comments on commit 65b1c1a

Please sign in to comment.