Comparing version 4.8.2 to 4.9.0
# Changelog | ||
## 4.9.0 | ||
- Add drag to reorder file items, enable by setting `allowReorder` to `true`. | ||
- Only works in single column mode (for now). | ||
- It also works when the list of files is showing a scrollbar, but dragging + scrolling isn't working correctly at the moment. | ||
- Limited to [browsers supporting Pointer events](https://caniuse.com/#feat=pointer). | ||
- Add `moveFile(query, index)` method. Use to move a file to a different index in the file items array. | ||
## 4.8.2 | ||
@@ -4,0 +13,0 @@ |
{ | ||
"name": "filepond", | ||
"version": "4.8.2", | ||
"version": "4.9.0", | ||
"description": "FilePond, Where files go to stretch their bits.", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -615,2 +615,7 @@ // Based on definitions by Zach Posten for React-Filepond <https://github.com/zposten> | ||
/** | ||
* Allows the user to reorder the file items | ||
* @default false | ||
*/ | ||
allowReorder?: boolean; | ||
/** | ||
* Require the file to be successfully reverted before continuing. | ||
@@ -617,0 +622,0 @@ * @default false |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
890618
21316