@uppy/status-bar
Advanced tools
Comparing version 4.0.2 to 4.0.3
# @uppy/status-bar | ||
## 4.0.3 | ||
Released: 2024-08-20 | ||
Included in: Uppy v4.2.0 | ||
- @uppy/status-bar: show upload button when files are recovered (Merlijn Vos / #5418) | ||
## 4.0.1 | ||
@@ -4,0 +11,0 @@ |
@@ -12,3 +12,3 @@ function _classPrivateFieldLooseBase(e, t) { if (!{}.hasOwnProperty.call(e, t)) throw new TypeError("attempted to use private field on non-instance"); return e; } | ||
const packageJson = { | ||
"version": "4.0.2" | ||
"version": "4.0.3" | ||
}; | ||
@@ -15,0 +15,0 @@ import locale from "./locale.js"; |
@@ -95,3 +95,3 @@ import { h } from 'preact'; | ||
const width = progressValue != null ? progressValue : 100; | ||
const showUploadBtn = !error && newFiles && !isUploadInProgress && !isAllPaused && allowNewUpload && !hideUploadButton; | ||
const showUploadBtn = !error && newFiles && (!isUploadInProgress && !isAllPaused || recoveredState) && allowNewUpload && !hideUploadButton; | ||
const showCancelBtn = !hideCancelButton && uploadState !== STATE_WAITING && uploadState !== STATE_COMPLETE; | ||
@@ -98,0 +98,0 @@ const showPauseResumeBtn = resumableUploads && !hidePauseResumeButton && uploadState === STATE_UPLOADING; |
{ | ||
"name": "@uppy/status-bar", | ||
"description": "A progress bar for Uppy, with many bells and whistles.", | ||
"version": "4.0.2", | ||
"version": "4.0.3", | ||
"license": "MIT", | ||
@@ -35,4 +35,4 @@ "main": "lib/index.js", | ||
"peerDependencies": { | ||
"@uppy/core": "^4.1.1" | ||
"@uppy/core": "^4.1.2" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
193305
2844