mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-25 11:14:05 +00:00
* add passesRestrictions(file) and utilize it in provider-views * disallow selecting more than maxNumberOfFiles * add restriction reason and include folders * let’s leave folder out of this for now — otherwise not only you can’t select them, but navigate too * disallow selecting if totalCurrentSelectionFileSize is over maxTotalFileSize * handle maxNumberOfFiles not being set 🙈 * fix totalCurrentSelectionFileSize and handle no file.name * support grid in restrictions * refactor the restriction reason logic, rename to validateRestrictions, wrap icon in a container * add uppyFileSizes 🙈 * get rid of canSelectMore in favor of validateRestrictions (file, files) * handle shift key bulk selection * remove unused props * use infoTimeout |
||
|---|---|---|
| .. | ||
| __snapshots__ | ||
| _common.scss | ||
| _utils.scss | ||
| _variables.scss | ||
| index.js | ||
| index.test.js | ||
| loggers.js | ||
| Plugin.js | ||
| Plugin.test.js | ||
| style.scss | ||
| supportsUploadProgress.js | ||
| supportsUploadProgress.test.js | ||