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.cjs CHANGED
@@ -3376,9 +3376,7 @@ var Dialog = function Dialog(props) {
3376
3376
  title = _props$title === void 0 ? "Dialog" : _props$title,
3377
3377
  children = props.children,
3378
3378
  actions = props.actions,
3379
- className = props.className,
3380
- _props$eventPropagati = props.eventPropagation,
3381
- eventPropagation = _props$eventPropagati === void 0 ? false : _props$eventPropagati;
3379
+ className = props.className;
3382
3380
 
3383
3381
  function close() {
3384
3382
  if (className === "prompt") {
@@ -3389,10 +3387,8 @@ var Dialog = function Dialog(props) {
3389
3387
  }
3390
3388
 
3391
3389
  function prevent(e) {
3392
- if (!eventPropagation) {
3393
- e.preventDefault();
3394
- e.stopPropagation();
3395
- }
3390
+ e.preventDefault();
3391
+ e.stopPropagation();
3396
3392
  }
3397
3393
 
3398
3394
  return /*#__PURE__*/React__default["default"].createElement(React.Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -3499,8 +3495,7 @@ var UploadDialog = function UploadDialog(_ref) {
3499
3495
  title: title,
3500
3496
  open: true,
3501
3497
  onAction: onAction,
3502
- actions: actions,
3503
- eventPropagation: true
3498
+ actions: actions
3504
3499
  }, /*#__PURE__*/React__default["default"].createElement(Uploader, {
3505
3500
  label: label,
3506
3501
  accept: accept,