funda-ui 3.8.755 → 3.8.757

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.
@@ -1041,7 +1041,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
1041
1041
  zIndex: DEPTH - 5
1042
1042
  },
1043
1043
  onClick: function onClick(e) {
1044
- if (typeof closeDisabled === 'undefined' || closeDisabled === false) {
1044
+ if ((typeof closeDisabled === 'undefined' || closeDisabled === false) && (typeof closeOnlyBtn === 'undefined' || closeOnlyBtn === false)) {
1045
1045
  handleCloseWin(null);
1046
1046
  }
1047
1047
  }
@@ -1183,7 +1183,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
1183
1183
  zIndex: DEPTH - 5
1184
1184
  },
1185
1185
  onClick: function onClick(e) {
1186
- if (typeof closeDisabled === 'undefined' || closeDisabled === false) {
1186
+ if ((typeof closeDisabled === 'undefined' || closeDisabled === false) && (typeof closeOnlyBtn === 'undefined' || closeOnlyBtn === false)) {
1187
1187
  handleCloseWin(null);
1188
1188
  }
1189
1189
  }
@@ -911,7 +911,7 @@ var ModalDialog = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_r
911
911
  zIndex: DEPTH - 5
912
912
  },
913
913
  onClick: function onClick(e) {
914
- if (typeof closeDisabled === 'undefined' || closeDisabled === false) {
914
+ if ((typeof closeDisabled === 'undefined' || closeDisabled === false) && (typeof closeOnlyBtn === 'undefined' || closeOnlyBtn === false)) {
915
915
  handleCloseWin(null);
916
916
  }
917
917
  }
@@ -1041,7 +1041,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
1041
1041
  zIndex: DEPTH - 5
1042
1042
  },
1043
1043
  onClick: function onClick(e) {
1044
- if (typeof closeDisabled === 'undefined' || closeDisabled === false) {
1044
+ if ((typeof closeDisabled === 'undefined' || closeDisabled === false) && (typeof closeOnlyBtn === 'undefined' || closeOnlyBtn === false)) {
1045
1045
  handleCloseWin(null);
1046
1046
  }
1047
1047
  }
@@ -1183,7 +1183,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
1183
1183
  zIndex: DEPTH - 5
1184
1184
  },
1185
1185
  onClick: function onClick(e) {
1186
- if (typeof closeDisabled === 'undefined' || closeDisabled === false) {
1186
+ if ((typeof closeDisabled === 'undefined' || closeDisabled === false) && (typeof closeOnlyBtn === 'undefined' || closeOnlyBtn === false)) {
1187
1187
  handleCloseWin(null);
1188
1188
  }
1189
1189
  }
@@ -911,7 +911,7 @@ var ModalDialog = /*#__PURE__*/(0,external_root_React_commonjs2_react_commonjs_r
911
911
  zIndex: DEPTH - 5
912
912
  },
913
913
  onClick: function onClick(e) {
914
- if (typeof closeDisabled === 'undefined' || closeDisabled === false) {
914
+ if ((typeof closeDisabled === 'undefined' || closeDisabled === false) && (typeof closeOnlyBtn === 'undefined' || closeOnlyBtn === false)) {
915
915
  handleCloseWin(null);
916
916
  }
917
917
  }
@@ -2,6 +2,7 @@ import React, { useId, useState, useRef, useEffect, forwardRef, useImperativeHan
2
2
 
3
3
  import RootPortal from 'funda-root-portal';
4
4
 
5
+
5
6
  //Destroys body scroll locking
6
7
  import { clearAllBodyScrollLocks, disableBodyScroll, enableBodyScroll } from './plugins/BSL';
7
8
 
@@ -472,7 +473,7 @@ const ModalDialog = forwardRef((props: ModalDialogProps, ref: React.ForwardedRef
472
473
  zIndex: DEPTH - 5
473
474
  }}
474
475
  onClick={(e: any) => {
475
- if (typeof closeDisabled === 'undefined' || closeDisabled === false) {
476
+ if ((typeof closeDisabled === 'undefined' || closeDisabled === false) && (typeof closeOnlyBtn === 'undefined' || closeOnlyBtn === false)) {
476
477
  handleCloseWin(null);
477
478
  }
478
479
  }}
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "author": "UIUX Lab",
3
3
  "email": "uiuxlab@gmail.com",
4
4
  "name": "funda-ui",
5
- "version": "3.8.755",
5
+ "version": "3.8.757",
6
6
  "description": "React components using pure Bootstrap 5+ which does not contain any external style and script libraries.",
7
7
  "repository": {
8
8
  "type": "git",