@linzjs/lui 17.5.4 → 17.5.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/lui.esm.js +3 -1
- package/dist/lui.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/lui.esm.js
CHANGED
|
@@ -55679,7 +55679,9 @@ var LuiUpdatesSplashModal = function (props) {
|
|
|
55679
55679
|
document.removeEventListener('mousedown', handleClickOutside);
|
|
55680
55680
|
};
|
|
55681
55681
|
}, [handleClickOutside]);
|
|
55682
|
-
|
|
55682
|
+
// process may be undefined, e.g. webpack 5 does not include a polyfill for it. Assume if process is undefined then
|
|
55683
|
+
// this isn't running in a test.
|
|
55684
|
+
if (typeof process === 'undefined' || ((_a = process === null || process === void 0 ? void 0 : process.env) === null || _a === void 0 ? void 0 : _a.NODE_ENV) !== 'test') {
|
|
55683
55685
|
Modal.setAppElement('#root');
|
|
55684
55686
|
}
|
|
55685
55687
|
return (React__default.createElement(Modal, { key: props.id, isOpen: true, shouldCloseOnOverlayClick: true, onRequestClose: props.onClose, contentLabel: "Recent updates", className: "lui-scrim", style: { overlay: { backgroundColor: 'transparent' } } },
|