ywana-core8 0.0.382 → 0.0.383

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.
@@ -3378,13 +3378,19 @@ var Dialog = function Dialog(props) {
3378
3378
  }
3379
3379
  }
3380
3380
 
3381
+ function prevent(e) {
3382
+ e.preventDefault();
3383
+ e.stopPropagation();
3384
+ }
3385
+
3381
3386
  return /*#__PURE__*/React.createElement(Fragment, null, /*#__PURE__*/React.createElement("div", {
3382
3387
  className: "overlay " + className
3383
3388
  }), /*#__PURE__*/React.createElement("div", {
3384
3389
  className: "dialog " + className,
3385
3390
  onClick: close
3386
3391
  }, /*#__PURE__*/React.createElement("div", {
3387
- className: "dialog-panel"
3392
+ className: "dialog-panel",
3393
+ onClick: prevent
3388
3394
  }, /*#__PURE__*/React.createElement("header", null, icon ? /*#__PURE__*/React.createElement(MenuIcon, {
3389
3395
  icon: icon
3390
3396
  }) : null, /*#__PURE__*/React.createElement(Text, null, title)), /*#__PURE__*/React.createElement("main", null, children), /*#__PURE__*/React.createElement("footer", null, actions))));