oolib 2.86.0 → 2.86.1

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.
@@ -96,12 +96,12 @@ var Modal = function (_a) {
96
96
  }, onAnimationComplete: function () {
97
97
  if (animPos.marginTop === initAnimPos.marginTop)
98
98
  handleClose();
99
- } }, genModalContents())) : (react_1.default.createElement(framer_motion_1.motion.div, { style: { width: "100%" }, initial: initAnimPos, animate: animPos, transition: {
99
+ }, onClick: function (e) { return e.stopPropagation(); } }, genModalContents())) : (react_1.default.createElement(framer_motion_1.motion.div, { style: { width: "100%" }, initial: initAnimPos, animate: animPos, transition: {
100
100
  type: "tween",
101
101
  ease: "easeOut",
102
102
  }, onAnimationComplete: function () {
103
103
  if (animPos.marginTop === initAnimPos.marginTop)
104
104
  handleClose();
105
- } }, genModalContents()))), document.getElementById("modal-root")));
105
+ }, onClick: function (e) { return e.stopPropagation(); } }, genModalContents()))), document.getElementById("modal-root")));
106
106
  };
107
107
  exports.Modal = Modal;
@@ -57,7 +57,7 @@ var ModalSmall = function (_a) {
57
57
  }, onAnimationComplete: function () {
58
58
  if (animPos.marginTop === initAnimPos.marginTop)
59
59
  onClose();
60
- } }, genModalContents())) : (react_1.default.createElement(styled_1.StyledModalSmallContentWrapper
60
+ }, onClick: function (e) { return e.stopPropagation(); } }, genModalContents())) : (react_1.default.createElement(styled_1.StyledModalSmallContentWrapper
61
61
  // style={{ width: "100%" }}
62
62
  , {
63
63
  // style={{ width: "100%" }}
@@ -73,6 +73,6 @@ var ModalSmall = function (_a) {
73
73
  }, onAnimationComplete: function () {
74
74
  if (animPos.marginTop === initAnimPos.marginTop)
75
75
  onClose();
76
- } }, genModalContents()))), document.getElementById("modal-root")));
76
+ }, onClick: function (e) { return e.stopPropagation(); } }, genModalContents()))), document.getElementById("modal-root")));
77
77
  };
78
78
  exports.ModalSmall = ModalSmall;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oolib",
3
- "version": "2.86.0",
3
+ "version": "2.86.1",
4
4
  "description": " OKE Component Library",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",