ywana-core8 0.0.377 → 0.0.380
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
@@ -3463,14 +3463,12 @@ var View = function View(props) {
|
|
3463
3463
|
*/
|
3464
3464
|
|
3465
3465
|
var UploadDialog = function UploadDialog(_ref) {
|
3466
|
-
var
|
3467
|
-
label = _ref.label,
|
3466
|
+
var label = _ref.label,
|
3468
3467
|
target = _ref.target,
|
3469
3468
|
accept = _ref.accept,
|
3470
3469
|
onSuccess = _ref.onSuccess,
|
3471
3470
|
onComplete = _ref.onComplete,
|
3472
|
-
onClose = _ref.onClose
|
3473
|
-
children = _ref.children;
|
3471
|
+
onClose = _ref.onClose;
|
3474
3472
|
var site = React.useContext(SiteContext);
|
3475
3473
|
|
3476
3474
|
function success(file, message) {
|
@@ -3498,7 +3496,6 @@ var UploadDialog = function UploadDialog(_ref) {
|
|
3498
3496
|
use: "headline6"
|
3499
3497
|
}, label);
|
3500
3498
|
return /*#__PURE__*/React__default["default"].createElement(Dialog, {
|
3501
|
-
className: className,
|
3502
3499
|
title: title,
|
3503
3500
|
open: true,
|
3504
3501
|
onAction: onAction,
|
@@ -3510,7 +3507,7 @@ var UploadDialog = function UploadDialog(_ref) {
|
|
3510
3507
|
target: target,
|
3511
3508
|
onSuccess: success,
|
3512
3509
|
onComplete: complete
|
3513
|
-
})
|
3510
|
+
}));
|
3514
3511
|
};
|
3515
3512
|
|
3516
3513
|
/**
|