Skip to content

Commit

Permalink
Release v3.4.5.
Browse files Browse the repository at this point in the history
  • Loading branch information
diasbruno committed Jun 1, 2018
1 parent 2bf2dd2 commit f715a69
Show file tree
Hide file tree
Showing 5 changed files with 111 additions and 100 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
v3.4.5 - Fri, 01 Jun 2018 11:11:21 UTC
--------------------------------------

- [2bf2dd2](../../commit/2bf2dd2) chore: update Makefile.
- [73893a2](../../commit/73893a2) [fixed] Safety check for SSR (#668)
- [5f92df7](../../commit/5f92df7) very small spelling correction in comment
- [92cae36](../../commit/92cae36) [chore] don't allow publish if branch is not master.


v3.4.4 - Mon, 23 Apr 2018 23:08:59 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.4.4",
"version": "3.4.5",
"homepage": "https://github.com/reactjs/react-modal",
"authors": [
"Ryan Florence",
Expand Down
190 changes: 96 additions & 94 deletions dist/react-modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
exports["ReactModal"] = factory(require("react"), require("react-dom"));
else
root["ReactModal"] = factory(root["React"], root["ReactDOM"]);
})(typeof self !== 'undefined' ? self : this, function(__WEBPACK_EXTERNAL_MODULE_3__, __WEBPACK_EXTERNAL_MODULE_11__) {
})(typeof self !== 'undefined' ? self : this, function(__WEBPACK_EXTERNAL_MODULE_4__, __WEBPACK_EXTERNAL_MODULE_11__) {
return /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
Expand Down Expand Up @@ -195,12 +195,38 @@ module.exports = ReactPropTypesSecret;

/***/ }),
/* 3 */
/***/ (function(module, exports) {
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
value: true
});
exports.canUseDOM = undefined;

module.exports = __WEBPACK_EXTERNAL_MODULE_3__;
var _exenv = __webpack_require__(20);

var _exenv2 = _interopRequireDefault(_exenv);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

var EE = _exenv2.default;

var SafeHTMLElement = EE.canUseDOM ? window.HTMLElement : {};

var canUseDOM = exports.canUseDOM = EE.canUseDOM;

exports.default = SafeHTMLElement;

/***/ }),
/* 4 */
/***/ (function(module, exports) {

module.exports = __WEBPACK_EXTERNAL_MODULE_4__;

/***/ }),
/* 5 */
/***/ (function(module, exports, __webpack_require__) {

/**
Expand Down Expand Up @@ -234,7 +260,7 @@ if (undefined !== 'production') {


/***/ }),
/* 5 */
/* 6 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
Expand Down Expand Up @@ -302,7 +328,7 @@ if (undefined !== 'production') {
module.exports = warning;

/***/ }),
/* 6 */
/* 7 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
Expand Down Expand Up @@ -366,7 +392,7 @@ function findTabbableDescendants(element) {
module.exports = exports["default"];

/***/ }),
/* 7 */
/* 8 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
Expand All @@ -387,6 +413,8 @@ var _warning = __webpack_require__(19);

var _warning2 = _interopRequireDefault(_warning);

var _safeHTMLElement = __webpack_require__(3);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

var globalElement = null;
Expand All @@ -399,7 +427,7 @@ function assertNodeList(nodeList, selector) {

function setElement(element) {
var useElement = element;
if (typeof useElement === "string") {
if (typeof useElement === "string" && _safeHTMLElement.canUseDOM) {
var el = document.querySelectorAll(useElement);
assertNodeList(el, useElement);
useElement = "length" in el ? el[0] : el;
Expand Down Expand Up @@ -438,32 +466,6 @@ function resetForTesting() {
globalElement = null;
}

/***/ }),
/* 8 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Object.defineProperty(exports, "__esModule", {
value: true
});
exports.canUseDOM = undefined;

var _exenv = __webpack_require__(21);

var _exenv2 = _interopRequireDefault(_exenv);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

var EE = _exenv2.default;

var SafeHTMLElement = EE.canUseDOM ? window.HTMLElement : {};

var canUseDOM = exports.canUseDOM = EE.canUseDOM;

exports.default = SafeHTMLElement;

/***/ }),
/* 9 */
/***/ (function(module, exports, __webpack_require__) {
Expand Down Expand Up @@ -500,27 +502,27 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument

var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

var _react = __webpack_require__(3);
var _react = __webpack_require__(4);

var _react2 = _interopRequireDefault(_react);

var _reactDom = __webpack_require__(11);

var _reactDom2 = _interopRequireDefault(_reactDom);

var _propTypes = __webpack_require__(4);
var _propTypes = __webpack_require__(5);

var _propTypes2 = _interopRequireDefault(_propTypes);

var _ModalPortal = __webpack_require__(16);

var _ModalPortal2 = _interopRequireDefault(_ModalPortal);

var _ariaAppHider = __webpack_require__(7);
var _ariaAppHider = __webpack_require__(8);

var ariaAppHider = _interopRequireWildcard(_ariaAppHider);

var _safeHTMLElement = __webpack_require__(8);
var _safeHTMLElement = __webpack_require__(3);

var _safeHTMLElement2 = _interopRequireDefault(_safeHTMLElement);

Expand Down Expand Up @@ -771,7 +773,7 @@ module.exports = __WEBPACK_EXTERNAL_MODULE_11__;

var emptyFunction = __webpack_require__(0);
var invariant = __webpack_require__(1);
var warning = __webpack_require__(5);
var warning = __webpack_require__(6);
var assign = __webpack_require__(13);

var ReactPropTypesSecret = __webpack_require__(2);
Expand Down Expand Up @@ -1417,7 +1419,7 @@ module.exports = shouldUseNative() ? Object.assign : function (target, source) {

if (undefined !== 'production') {
var invariant = __webpack_require__(1);
var warning = __webpack_require__(5);
var warning = __webpack_require__(6);
var ReactPropTypesSecret = __webpack_require__(2);
var loggedTypeFailures = {};
}
Expand Down Expand Up @@ -1549,11 +1551,11 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol

var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

var _react = __webpack_require__(3);
var _react = __webpack_require__(4);

var _react2 = _interopRequireDefault(_react);

var _propTypes = __webpack_require__(4);
var _propTypes = __webpack_require__(5);

var _propTypes2 = _interopRequireDefault(_propTypes);

Expand All @@ -1565,15 +1567,15 @@ var _scopeTab = __webpack_require__(18);

var _scopeTab2 = _interopRequireDefault(_scopeTab);

var _ariaAppHider = __webpack_require__(7);
var _ariaAppHider = __webpack_require__(8);

var ariaAppHider = _interopRequireWildcard(_ariaAppHider);

var _classList = __webpack_require__(20);
var _classList = __webpack_require__(21);

var classList = _interopRequireWildcard(_classList);

var _safeHTMLElement = __webpack_require__(8);
var _safeHTMLElement = __webpack_require__(3);

var _safeHTMLElement2 = _interopRequireDefault(_safeHTMLElement);

Expand Down Expand Up @@ -1956,7 +1958,7 @@ exports.popWithoutFocus = popWithoutFocus;
exports.setupScopedFocus = setupScopedFocus;
exports.teardownScopedFocus = teardownScopedFocus;

var _tabbable = __webpack_require__(6);
var _tabbable = __webpack_require__(7);

var _tabbable2 = _interopRequireDefault(_tabbable);

Expand Down Expand Up @@ -2050,7 +2052,7 @@ Object.defineProperty(exports, "__esModule", {
});
exports.default = scopeTab;

var _tabbable = __webpack_require__(6);
var _tabbable = __webpack_require__(7);

var _tabbable2 = _interopRequireDefault(_tabbable);

Expand Down Expand Up @@ -2096,7 +2098,7 @@ function scopeTab(node, event) {
// Safari does not move the focus to the radio button,
// so we need to force it to really walk through all elements.
//
// This is very error prune, since we are trying to guess
// This is very error prone, since we are trying to guess
// if it is a safari browser from the first occurence between
// chrome or safari.
//
Expand Down Expand Up @@ -2192,6 +2194,53 @@ module.exports = warning;
/* 20 */
/***/ (function(module, exports, __webpack_require__) {

var __WEBPACK_AMD_DEFINE_RESULT__;/*!
Copyright (c) 2015 Jed Watson.
Based on code that is Copyright 2013-2015, Facebook, Inc.
All rights reserved.
*/
/* global define */

(function () {
'use strict';

var canUseDOM = !!(
typeof window !== 'undefined' &&
window.document &&
window.document.createElement
);

var ExecutionEnvironment = {

canUseDOM: canUseDOM,

canUseWorkers: typeof Worker !== 'undefined',

canUseEventListeners:
canUseDOM && !!(window.addEventListener || window.attachEvent),

canUseViewport: canUseDOM && !!window.screen

};

if (true) {
!(__WEBPACK_AMD_DEFINE_RESULT__ = (function () {
return ExecutionEnvironment;
}).call(exports, __webpack_require__, exports, module),
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
} else if (typeof module !== 'undefined' && module.exports) {
module.exports = ExecutionEnvironment;
} else {
window.ExecutionEnvironment = ExecutionEnvironment;
}

}());


/***/ }),
/* 21 */
/***/ (function(module, exports, __webpack_require__) {

"use strict";


Expand Down Expand Up @@ -2301,53 +2350,6 @@ var remove = exports.remove = function remove(element, classString) {
return untrackClass(element.classList, element.nodeName.toLowerCase() == "html" ? htmlClassList : docBodyClassList, classString.split(" "));
};

/***/ }),
/* 21 */
/***/ (function(module, exports, __webpack_require__) {

var __WEBPACK_AMD_DEFINE_RESULT__;/*!
Copyright (c) 2015 Jed Watson.
Based on code that is Copyright 2013-2015, Facebook, Inc.
All rights reserved.
*/
/* global define */

(function () {
'use strict';

var canUseDOM = !!(
typeof window !== 'undefined' &&
window.document &&
window.document.createElement
);

var ExecutionEnvironment = {

canUseDOM: canUseDOM,

canUseWorkers: typeof Worker !== 'undefined',

canUseEventListeners:
canUseDOM && !!(window.addEventListener || window.attachEvent),

canUseViewport: canUseDOM && !!window.screen

};

if (true) {
!(__WEBPACK_AMD_DEFINE_RESULT__ = (function () {
return ExecutionEnvironment;
}).call(exports, __webpack_require__, exports, module),
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
} else if (typeof module !== 'undefined' && module.exports) {
module.exports = ExecutionEnvironment;
} else {
window.ExecutionEnvironment = ExecutionEnvironment;
}

}());


/***/ }),
/* 22 */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
Expand Down
Loading

0 comments on commit f715a69

Please sign in to comment.