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 +4 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +4 -9
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +4 -9
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/site/dialog.js +1 -3
- package/src/widgets/upload/UploadDialog.js +1 -1
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
|
-
|
3388
|
-
|
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,
|