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.
- package/dist/index.cjs +9 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +9 -4
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +9 -4
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/site/dialog.js +6 -1
- package/src/widgets/upload/UploadArea.js +1 -1
- package/src/widgets/upload/UploadDialog.js +1 -1
package/dist/index.umd.js
CHANGED
@@ -2781,7 +2781,7 @@
|
|
2781
2781
|
}, /*#__PURE__*/React__default["default"].createElement(Icon, {
|
2782
2782
|
icon: icon,
|
2783
2783
|
clickable: true,
|
2784
|
-
eventPropagation:
|
2784
|
+
eventPropagation: true
|
2785
2785
|
}), /*#__PURE__*/React__default["default"].createElement("label", null, label));
|
2786
2786
|
};
|
2787
2787
|
/**
|
@@ -3381,13 +3381,19 @@
|
|
3381
3381
|
}
|
3382
3382
|
}
|
3383
3383
|
|
3384
|
+
function prevent(e) {
|
3385
|
+
e.preventDefault();
|
3386
|
+
e.stopPropagation();
|
3387
|
+
}
|
3388
|
+
|
3384
3389
|
return /*#__PURE__*/React__default["default"].createElement(React.Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
3385
3390
|
className: "overlay " + className
|
3386
3391
|
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
3387
3392
|
className: "dialog " + className,
|
3388
3393
|
onClick: close
|
3389
3394
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
3390
|
-
className: "dialog-panel"
|
3395
|
+
className: "dialog-panel",
|
3396
|
+
onClick: prevent
|
3391
3397
|
}, /*#__PURE__*/React__default["default"].createElement("header", null, icon ? /*#__PURE__*/React__default["default"].createElement(MenuIcon, {
|
3392
3398
|
icon: icon
|
3393
3399
|
}) : null, /*#__PURE__*/React__default["default"].createElement(Text, null, title)), /*#__PURE__*/React__default["default"].createElement("main", null, children), /*#__PURE__*/React__default["default"].createElement("footer", null, actions))));
|
@@ -3484,8 +3490,7 @@
|
|
3484
3490
|
title: title,
|
3485
3491
|
open: true,
|
3486
3492
|
onAction: onAction,
|
3487
|
-
actions: actions
|
3488
|
-
eventPropagation: true
|
3493
|
+
actions: actions
|
3489
3494
|
}, /*#__PURE__*/React__default["default"].createElement(Uploader, {
|
3490
3495
|
label: label,
|
3491
3496
|
accept: accept,
|