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.modern.js
CHANGED
@@ -3470,7 +3470,8 @@ var UploadDialog = function UploadDialog(_ref) {
|
|
3470
3470
|
onComplete = _ref.onComplete,
|
3471
3471
|
onClose = _ref.onClose,
|
3472
3472
|
children = _ref.children,
|
3473
|
-
className = _ref.className
|
3473
|
+
className = _ref.className,
|
3474
|
+
disabled = _ref.disabled;
|
3474
3475
|
var site = useContext(SiteContext);
|
3475
3476
|
|
3476
3477
|
function success(file, message) {
|
@@ -3503,7 +3504,7 @@ var UploadDialog = function UploadDialog(_ref) {
|
|
3503
3504
|
onAction: onAction,
|
3504
3505
|
actions: actions,
|
3505
3506
|
className: className
|
3506
|
-
}, /*#__PURE__*/React.createElement(Uploader, {
|
3507
|
+
}, disabled ? "" : /*#__PURE__*/React.createElement(Uploader, {
|
3507
3508
|
label: label,
|
3508
3509
|
accept: accept,
|
3509
3510
|
target: target,
|