Releases: TimboKZ/Chonky
Releases · TimboKZ/Chonky
v1.1.5
v1.1.4
v1.1.3
v1.1.2
New features:
- Added
clearSelectionOnOutsideClick
boolean prop. By default, Chonky will clear the file selection whenever user clicks anywhere outside of the file browser, unless the click target is a button. Users can override this behaviour by setting the new prop tofalse
.
Bug fixes:
- Disabled source maps in generated JS files, which should fix
source-map-loader
errors. - Fixed the bug where clicking on buttons outside of Chonky would clear file selection if button had nested non-button components.
v1.1.1
New features:
- Added support for toggling between List and Grid file views. Added relevant default file actions:
ChonkyActions.EnableListView
andChonkyActions.EnableGridView
. Also addeddefaultFileViewActionId
prop toFileBrowser
, which can be used to specify the file view that Chonky will activate upon loading (see documentation for more info). - Added
isEncrypted
field toFileData
type.
Bug fixes:
- Removed
fillParentContainer
prop. It was in leftover copy-paste code fromv0.x
, but it wasn't actually used anywhere inv1.x
. In Chonky v1.x,fillParentContainer
is always enabled, and users can wrapFileBrowser
into a customdiv
to get finer control over file browser height.
v1.1.0
Breaking changes:
- Added an imperative handle with some instance methods to
FileBrowser
component. This involved wrapping it intoReact.forwardRef
, which might have changed the wayFileBrowser
refs behave.
New features:
- Added
ChangeSelection
action which is dispatched any time user changes the file selection. - Added
getFileSelection
andsetFileSelection
methods to theFileBrowser
ref.
Bug fixes:
- Clicking a button outside of the file browser will no longer clear out the selection. This is useful when an external button triggers an operation that depends on file selection from Chonky.
v1.0.6
First release - v1.0.5
Features:
- File sorting
- Text search
- Drag & drop
- File selections
- Mobile support
- Image thumbnails
- Custom file actions
- Custom keyboard shortcuts
- Virtualisation for large file collections
- Unique icons for custom file extensions