@mcurros2/microm 1.1.81-0 → 1.1.83-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.d.ts.map +1 -1
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4162,6 +4162,7 @@ const $ea58ddf30d0b80dd$export$4a25ee9b30a3b11c = ({ modalProps: modalProps, ani
|
|
|
4162
4162
|
children: [
|
|
4163
4163
|
children,
|
|
4164
4164
|
modals.map((modal, index)=>{
|
|
4165
|
+
var _a, _b;
|
|
4165
4166
|
const computedSizes = getModalSize(modal.props.size);
|
|
4166
4167
|
return (0, $b4te3$reactjsxruntime.jsxs)((0, $b4te3$mantinecore.Modal).Root, {
|
|
4167
4168
|
opened: modal.opened,
|
|
@@ -4173,6 +4174,8 @@ const $ea58ddf30d0b80dd$export$4a25ee9b30a3b11c = ({ modalProps: modalProps, ani
|
|
|
4173
4174
|
zIndex: (index + 1) * 5000,
|
|
4174
4175
|
returnFocus: false,
|
|
4175
4176
|
trapFocus: true,
|
|
4177
|
+
closeOnClickOutside: (_a = modal.props.closeOnClickOutside) !== null && _a !== void 0 ? _a : false,
|
|
4178
|
+
closeOnEscape: (_b = modal.props.closeOnEscape) !== null && _b !== void 0 ? _b : true,
|
|
4176
4179
|
children: [
|
|
4177
4180
|
(0, $b4te3$reactjsxruntime.jsx)((0, $b4te3$mantinecore.Modal).Overlay, Object.assign({}, index === modals.length - 1 ? modalProps.overlayProps : transparentOverlay)),
|
|
4178
4181
|
(0, $b4te3$reactjsxruntime.jsxs)((0, $b4te3$mantinecore.Modal).Content, {
|
|
@@ -45940,7 +45943,9 @@ function $d79003fd5611c3b6$export$66b3c1a9709bd8fc(_a) {
|
|
|
45940
45943
|
]
|
|
45941
45944
|
}),
|
|
45942
45945
|
size: modalFormSize,
|
|
45943
|
-
withFullscreenButton: withModalFullscreenButton
|
|
45946
|
+
withFullscreenButton: withModalFullscreenButton,
|
|
45947
|
+
closeOnClickOutside: false,
|
|
45948
|
+
closeOnEscape: true
|
|
45944
45949
|
},
|
|
45945
45950
|
onClosed: handleModalClosed,
|
|
45946
45951
|
focusOnClosed: element,
|