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.
package/dist/index.umd.js CHANGED
@@ -3371,9 +3371,7 @@
3371
3371
  title = _props$title === void 0 ? "Dialog" : _props$title,
3372
3372
  children = props.children,
3373
3373
  actions = props.actions,
3374
- className = props.className,
3375
- _props$eventPropagati = props.eventPropagation,
3376
- eventPropagation = _props$eventPropagati === void 0 ? false : _props$eventPropagati;
3374
+ className = props.className;
3377
3375
 
3378
3376
  function close() {
3379
3377
  if (className === "prompt") {
@@ -3384,10 +3382,8 @@
3384
3382
  }
3385
3383
 
3386
3384
  function prevent(e) {
3387
- if (!eventPropagation) {
3388
- e.preventDefault();
3389
- e.stopPropagation();
3390
- }
3385
+ e.preventDefault();
3386
+ e.stopPropagation();
3391
3387
  }
3392
3388
 
3393
3389
  return /*#__PURE__*/React__default["default"].createElement(React.Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -3494,8 +3490,7 @@
3494
3490
  title: title,
3495
3491
  open: true,
3496
3492
  onAction: onAction,
3497
- actions: actions,
3498
- eventPropagation: true
3493
+ actions: actions
3499
3494
  }, /*#__PURE__*/React__default["default"].createElement(Uploader, {
3500
3495
  label: label,
3501
3496
  accept: accept,