Update dependency react-dropzone to v14 - autoclosed
This MR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
react-dropzone | ^11.4.2 -> ^14.0.0 |
Release Notes
react-dropzone/react-dropzone
v14.2.3
Bug Fixes
v14.2.2
Bug Fixes
- allow {accept} file selection w/o using the OS options (8127759)
v14.2.1
Bug Fixes
- call onError if FS access API fails in secure ctx (a2039fd)
v14.2.0
Features
- bump file-selector to v0.6 (239dd29)
v14.1.2
Bug Fixes
- add missing onError type (7aff9a5)
v14.1.1
Bug Fixes
- apply custom validator on {isDragAccept,isDragReject} (2d33fdf)
v14.1.0
Features
v14.0.1
Bug Fixes
v14.0.0
Features
BREAKING CHANGES
- the {draggedFiles} prop on the returned hook state has been removed and the accept/reject state is only computed on drag enter and drop.
v13.0.0
Features
- add {onError} cb to allow users to handle errors (9134893)
- allow passing file ext. to the file picker options and close #1141 (58976f4)
BREAKING CHANGES
- The
{accept}
prop will now require an object instead of a string or array of strings:
Before:
useDropzone({
accept: ".jpeg,.png"
// accept: [".jpeg", ".png"]
})
After:
useDropzone({
accept: {
"image/*": [".jpeg", ".png"]
}
})
v12.1.0
Features
- deps: bump file-selector from 0.4.0 to 0.5.0 (2a71cc9)
v12.0.6
Bug Fixes
- remove autocomplete for file input type (5bc4273)
v12.0.5
Bug Fixes
- use KeyboardEvent.key to detect space/enter events (67e3f59)
v12.0.4
Bug Fixes
v12.0.3
Bug Fixes
- fallback to input click to open the file picker (dbaec3f)
v12.0.2
Bug Fixes
- do not use FS access API if code is not in secure context (8eb49d4)
v12.0.1
Bug Fixes
- add useFsAccessApi type (df8a9b4)
v12.0.0
Features
- enable file system access API by default (a034252)
BREAKING CHANGES
- As of this change, the
accept
attribute does not work with file extensions anymore. Check https://developer.mozilla.org/en-US/docs/Web/API/window/showOpenFilePicker#parameters for more information.
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.