@uppy/progress-bar
Advanced tools
Comparing version 1.3.13 to 1.3.14
@@ -46,4 +46,5 @@ var _class, _temp; | ||
_proto.render = function render(state) { | ||
var progress = state.totalProgress || 0; | ||
var isHidden = progress === 100 && this.opts.hideAfterFinish; | ||
var progress = state.totalProgress || 0; // before starting and after finish should be hidden if specified in the options | ||
var isHidden = (progress === 0 || progress === 100) && this.opts.hideAfterFinish; | ||
return h("div", { | ||
@@ -78,2 +79,2 @@ class: "uppy uppy-ProgressBar", | ||
return ProgressBar; | ||
}(Plugin), _class.VERSION = "1.3.13", _temp); | ||
}(Plugin), _class.VERSION = "1.3.14", _temp); |
{ | ||
"name": "@uppy/progress-bar", | ||
"description": "A progress bar UI for Uppy", | ||
"version": "1.3.13", | ||
"version": "1.3.14", | ||
"license": "MIT", | ||
@@ -26,3 +26,3 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@uppy/utils": "^2.4.4", | ||
"@uppy/utils": "^3.0.0", | ||
"preact": "8.2.9" | ||
@@ -33,3 +33,3 @@ }, | ||
}, | ||
"gitHead": "5528c6f6eae8873a363be5a45862459f168a7c90" | ||
"gitHead": "6a0152327386cb6dd1ae8aada13f13062d326b61" | ||
} |
@@ -33,3 +33,4 @@ const { Plugin } = require('@uppy/core') | ||
const progress = state.totalProgress || 0 | ||
const isHidden = progress === 100 && this.opts.hideAfterFinish | ||
// before starting and after finish should be hidden if specified in the options | ||
const isHidden = (progress === 0 || progress === 100) && this.opts.hideAfterFinish | ||
return ( | ||
@@ -36,0 +37,0 @@ <div |
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
9464
150
- Removed@uppy/utils@2.4.4(transitive)
Updated@uppy/utils@^3.0.0