ywana-core8 0.0.435 → 0.0.436
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
@@ -3478,7 +3478,8 @@ var UploadDialog = function UploadDialog(_ref) {
|
|
3478
3478
|
onComplete = _ref.onComplete,
|
3479
3479
|
onClose = _ref.onClose,
|
3480
3480
|
children = _ref.children,
|
3481
|
-
className = _ref.className
|
3481
|
+
className = _ref.className,
|
3482
|
+
disabled = _ref.disabled;
|
3482
3483
|
var site = React.useContext(SiteContext);
|
3483
3484
|
|
3484
3485
|
function success(file, message) {
|
@@ -3511,7 +3512,7 @@ var UploadDialog = function UploadDialog(_ref) {
|
|
3511
3512
|
onAction: onAction,
|
3512
3513
|
actions: actions,
|
3513
3514
|
className: className
|
3514
|
-
}, /*#__PURE__*/React__default["default"].createElement(Uploader, {
|
3515
|
+
}, disabled ? "" : /*#__PURE__*/React__default["default"].createElement(Uploader, {
|
3515
3516
|
label: label,
|
3516
3517
|
accept: accept,
|
3517
3518
|
target: target,
|