@linzjs/lui 21.45.1 → 21.45.2-0
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/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/dist/lui.css +10 -10
- package/dist/lui.css.map +1 -1
- package/dist/lui.esm.js +5 -0
- package/dist/lui.esm.js.map +1 -1
- package/dist/scss/Elements/Forms/FormComponents/RadiosCheckboxes.scss +1 -1
- package/dist/scss/Global/GenericElements/Typography.scss +9 -9
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -42288,6 +42288,11 @@ var LuiModalV2 = function (props) {
|
|
|
42288
42288
|
var showHelpButton = Boolean(props.helpLink);
|
|
42289
42289
|
var showButtons = showCloseButton || showHelpButton;
|
|
42290
42290
|
var showHeadingIcon = props.headingIcon && !props.isLoading;
|
|
42291
|
+
// this is here for the tests
|
|
42292
|
+
React.useEffect(function () {
|
|
42293
|
+
if (isProcess && !isTest)
|
|
42294
|
+
Modal.setAppElement('#root');
|
|
42295
|
+
}, []);
|
|
42291
42296
|
return (React__default["default"].createElement(Modal, { key: props.key, isOpen: true,
|
|
42292
42297
|
// disble the `shouldClose` props as we handle them ourselves
|
|
42293
42298
|
shouldCloseOnOverlayClick: false, shouldCloseOnEsc: false, overlayClassName: "modal", className: props.lowContrast ? 'lui-scrim-low-contrast' : 'lui-scrim', appElement: document.getElementById('root'),
|