ywana-core8 0.0.381 → 0.0.384

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.
@@ -2778,7 +2778,7 @@ var UploadArea = function UploadArea(props) {
2778
2778
  }, /*#__PURE__*/React.createElement(Icon, {
2779
2779
  icon: icon,
2780
2780
  clickable: true,
2781
- eventPropagation: false
2781
+ eventPropagation: true
2782
2782
  }), /*#__PURE__*/React.createElement("label", null, label));
2783
2783
  };
2784
2784
  /**
@@ -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))));
@@ -3481,8 +3487,7 @@ var UploadDialog = function UploadDialog(_ref) {
3481
3487
  title: title,
3482
3488
  open: true,
3483
3489
  onAction: onAction,
3484
- actions: actions,
3485
- eventPropagation: true
3490
+ actions: actions
3486
3491
  }, /*#__PURE__*/React.createElement(Uploader, {
3487
3492
  label: label,
3488
3493
  accept: accept,