ywana-core8 0.0.380 → 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.
@@ -3368,9 +3368,7 @@ var Dialog = function Dialog(props) {
3368
3368
  title = _props$title === void 0 ? "Dialog" : _props$title,
3369
3369
  children = props.children,
3370
3370
  actions = props.actions,
3371
- className = props.className,
3372
- _props$eventPropagati = props.eventPropagation,
3373
- eventPropagation = _props$eventPropagati === void 0 ? false : _props$eventPropagati;
3371
+ className = props.className;
3374
3372
 
3375
3373
  function close() {
3376
3374
  if (className === "prompt") {
@@ -3381,10 +3379,8 @@ var Dialog = function Dialog(props) {
3381
3379
  }
3382
3380
 
3383
3381
  function prevent(e) {
3384
- if (!eventPropagation) {
3385
- e.preventDefault();
3386
- e.stopPropagation();
3387
- }
3382
+ e.preventDefault();
3383
+ e.stopPropagation();
3388
3384
  }
3389
3385
 
3390
3386
  return /*#__PURE__*/React.createElement(Fragment, null, /*#__PURE__*/React.createElement("div", {
@@ -3491,8 +3487,7 @@ var UploadDialog = function UploadDialog(_ref) {
3491
3487
  title: title,
3492
3488
  open: true,
3493
3489
  onAction: onAction,
3494
- actions: actions,
3495
- eventPropagation: true
3490
+ actions: actions
3496
3491
  }, /*#__PURE__*/React.createElement(Uploader, {
3497
3492
  label: label,
3498
3493
  accept: accept,