Thanks to all contributers who improved material-ui-dropzone by opening an issue/PR.
This changelog refers to master
branch (currently v3.x
), for v2.x
-specific changelog see v2.x CHANGELOG.md
.
- Upgrade
react-dropzone
to version 10 (PR #120 by @panz3r) - Drop support for React
<16.8
and Material-UIv3
(PR #120 by @panz3r)
- Addition of
previewText
prop toDropzoneArea
component (PR #121 by @panz3r, same as #112 by @charlot567) - Add
disableRejectionFeedback
prop toDropzoneArea
component (PR #142 by @panz3r, reported as #141 by @PabloCanalSuarez) - Add
inputProps
prop toDropzoneArea
component (PR #134 by @panz3r), fixes: - Add
dropzoneProps
prop toDropzoneArea
component (PR #134 by @panz3r), fixes:- Dropzone disable attribute not working (#103 by @stefanstankovic995)
- Add
alertSnackbarProps
prop toDropzoneArea
component (PR #134 by @panz3r), fixes:
- Avoid appending extension if present when loading external files (PR #137 by @panz3r, reported as #135 by @mballeng91)
- onDrop returns each file one at a time (PR #121 by @panz3r, reported as #65 by @AlanOrtega91)
- Fully support setting
acceptedFiles
as.fileending
(PR #121 by @panz3r, reported as #107 by @wirmar)
- Should be using Typography instead of
<p></p>
(PR #121 by @panz3r, reported as #31 by @PolGuixe and @IsabellaRey)
- Code refactor (#121 by @panz3r)
- Improved docs (#128 by @panz3r)
- Add
previewGridClasses
,previewGridProps
props (PR #124 by @loongyh, reported as #85 by @zeckdude) - Add
dialogProps
prop to customizeDropzoneDialog
appearance (PR #105 by @chattling)
- ReferenceError: regeneratorRuntime is not defined (PR #111 by @panz3r, reported as #77 by @rooch84, @Tassfighter and @eluchsinger)
- Added new
dialogProps
prop toREADME
(PR #113 by @chattling) - Fix submit/cancel typo (PR #126 by @Maxim-Mazurok)
- Add
dialogProps
prop to customizeDropzoneDialog
appearance (PR #105 by @chattling)
- initialFiles not shown up (PR #101 by @faupol3, reported as #87 by @ameenazeemiacmedocs)
- Unable to preview png file (PR #101 by @faupol3, reported as #90 by @shailesh-padave)
- remove console logs from Dropzone dialog (PR #102 by @chattling, reported as #96 by @Morteza-Jenabzadeh)
- Improved code quality (PR #94 by @GRcwolf)