Chonky Versions Save

😸 A File Browser component for React.

v1.1.5

3 years ago

Bug fixes:

  • Fixed container overflow in .chonky-root class.

v1.1.4

3 years ago

New features:

  • Updated Recoil to v0.0.13 to get rid of Batcher ... warnings.
  • Made React v16.13+ a required peer dependency to support Recoil v0.0.13.

v1.1.3

3 years ago

New features:

  • Added .chonky-file-entry-has-thumbnail class. See #29 for details.

Bug fixes:

  • Fix missing faAdobe icon issue with FontAwesome v5.15.

v1.1.2

3 years ago

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 to false.

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

3 years ago

New features:

  • Added support for toggling between List and Grid file views. Added relevant default file actions: ChonkyActions.EnableListView and ChonkyActions.EnableGridView. Also added defaultFileViewActionId prop to FileBrowser, which can be used to specify the file view that Chonky will activate upon loading (see documentation for more info).
  • Added isEncrypted field to FileData type.

Bug fixes:

  • Removed fillParentContainer prop. It was in leftover copy-paste code from v0.x, but it wasn't actually used anywhere in v1.x. In Chonky v1.x, fillParentContainer is always enabled, and users can wrap FileBrowser into a custom div to get finer control over file browser height.

v1.1.0

3 years ago

Breaking changes:

  • Added an imperative handle with some instance methods to FileBrowser component. This involved wrapping it into React.forwardRef, which might have changed the way FileBrowser refs behave.

New features:

  • Added ChangeSelection action which is dispatched any time user changes the file selection.
  • Added getFileSelection and setFileSelection methods to the FileBrowser 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

3 years ago

Bug fixes:

  • Added type="button" to button tags and event.preventDefault() to the search input field to prevent submitting the form when Chonky is used inside of a form.

v1.0.5

3 years ago

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