@uppy/dashboard
Advanced tools
Comparing version 3.6.0 to 3.7.0
# @uppy/dashboard | ||
## 3.7.0 | ||
Released: 2023-11-08 | ||
Included in: Uppy v3.19.0 | ||
- @uppy/dashboard: Remove uppy-Dashboard-isFixed when uppy.close() is invoked (Artur Paikin / #4775) | ||
- @uppy/core,@uppy/dashboard: don't cancel all files when clicking "done" (Mikael Finstad / #4771) | ||
## 3.6.0 | ||
@@ -4,0 +12,0 @@ |
@@ -18,3 +18,3 @@ function _classPrivateFieldLooseBase(receiver, privateKey) { if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) { throw new TypeError("attempted to use private field on non-instance"); } return receiver; } | ||
const packageJson = { | ||
"version": "3.6.0" | ||
"version": "3.7.0" | ||
}; | ||
@@ -1038,2 +1038,5 @@ import locale from './locale.js'; | ||
} | ||
if (this.opts.disablePageScrollWhenModalOpen) { | ||
document.body.classList.remove('uppy-Dashboard-isFixed'); | ||
} | ||
this.unmount(); | ||
@@ -1068,3 +1071,3 @@ this.removeEvents(); | ||
doneButtonHandler: () => { | ||
this.uppy.cancelAll(); | ||
this.uppy.clearUploadedFiles(); | ||
this.requestCloseModal(); | ||
@@ -1071,0 +1074,0 @@ }, |
{ | ||
"name": "@uppy/dashboard", | ||
"description": "Universal UI plugin for Uppy.", | ||
"version": "3.6.0", | ||
"version": "3.7.0", | ||
"license": "MIT", | ||
@@ -28,6 +28,6 @@ "main": "lib/index.js", | ||
"@uppy/informer": "^3.0.4", | ||
"@uppy/provider-views": "^3.6.0", | ||
"@uppy/provider-views": "^3.7.0", | ||
"@uppy/status-bar": "^3.2.5", | ||
"@uppy/thumbnail-generator": "^3.0.6", | ||
"@uppy/utils": "^5.5.2", | ||
"@uppy/utils": "^5.6.0", | ||
"classnames": "^2.2.6", | ||
@@ -43,3 +43,3 @@ "is-shallow-equal": "^1.0.1", | ||
"@uppy/status-bar": "^3.2.5", | ||
"@uppy/url": "^3.3.4", | ||
"@uppy/url": "^3.4.0", | ||
"@uppy/webcam": "^3.3.4", | ||
@@ -50,4 +50,4 @@ "resize-observer-polyfill": "^1.5.0", | ||
"peerDependencies": { | ||
"@uppy/core": "^3.6.0" | ||
"@uppy/core": "^3.7.0" | ||
} | ||
} |
@@ -70,3 +70,3 @@ import { UIPlugin } from '@uppy/core' | ||
doneButtonHandler: () => { | ||
this.uppy.cancelAll() | ||
this.uppy.clearUploadedFiles() | ||
this.requestCloseModal() | ||
@@ -1164,2 +1164,6 @@ }, | ||
if (this.opts.disablePageScrollWhenModalOpen) { | ||
document.body.classList.remove('uppy-Dashboard-isFixed') | ||
} | ||
this.unmount() | ||
@@ -1166,0 +1170,0 @@ this.removeEvents() |
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
685781
9793
Updated@uppy/provider-views@^3.7.0
Updated@uppy/utils@^5.6.0