Skip to content

Releases: uptick/react-keyed-file-browser

1.14.0

03 Dec 04:14
Compare
Choose a tag to compare

Changelog

Features

  • noFilesMessage can now also be a component. (#191)
  • The noMatchingFilesMessage prop is also now available. (#191)

Fix

  • Added browser props to onFolder* callbacks (#182)

Contributors

@tmarcinkowski-logitech and @seanmadi

1.13.0

20 Jul 03:44
Compare
Choose a tag to compare

Changelog

  • feature: cjs support.
  • fix: stopped some instances of different builders having issues with processing just esm versions.

1.12.1

16 Jul 04:14
243335d
Compare
Choose a tag to compare

Changelog

  • feature: support for React 17. (#190)
  • feature: introduction of esbuild as our default builder. (#180)
  • feature: esm support. (#180)
  • fix: stop rename and delete submit events from propagating. (#193)

Credits

1.11.0

03 Jun 22:45
4fe4a50
Compare
Choose a tag to compare

Core Changes

  • Updated Dependency versions: date-fns, react-dnd-html5-backend, react-dnd | #178

Breaking: If you are using an older version of react-dnd or is using your own dnd provider. We would suggest updating to a newer version of react-dnd or using react-keyed-file-browser <= 0.10.0

  • DragDropContextProvider is removed.
  • DragDropContext Decorator is removed.
  • import HTML5Backend from 'react-dnd-html5-backend has been renamed to import { HTML5Backend } from 'react-dnd-html5-backend'

Documentation Changes

  • Added new example using your own custom React Drag & Drop Provider.

Example Changes

  • Added new story using external React Drag & Drop Provider.

1.10.0

28 Sep 01:47
Compare
Choose a tag to compare
  • Fixed a bug when trying to repeatedly add a folder within a subfolder #114 (thanks @ziaulrehman40)
  • Added a flag to display all folders when filtering for items #112 (thanks @eliasor96)
  • Replaced Moment with date-fns #103 (thanks @ivesdebruycker)
  • Fixed rename icon to use the free version #132 (thanks @oliverfoster)
  • Improvements to the build process #137, #140 (thanks @oliverfoster)
  • Added onDownloadFolder, which is called with the current selection #141 (thanks @oliverfoster)
  • Removed unnecessary internal refs #142 (thanks @scaredcat)
  • Fixed onSelect and onSelectFolder to always return the selected folder #148 (thanks @harsh-tamr) Previously you had to explicitly list each folder:
<FileBrowser
    files={[
      {
        key: 'media/',
        modified: 0,
        size: 0,
      },
      {
        key: 'media/images/',
        modified: 0,
        size: 0,
      },
      {
        key: 'media/images/giraffe.png',
        modified: 1601254906660,
        size: 20204,
      },

Now you can just specify the resulting file, and onSelect & onSelectFolder will return the media/ and media/images/ folders when selected:

<FileBrowser
    files={[
      {
        key: 'media/images/giraffe.png',
        modified: 1601254906660,
        size: 20204,
      },

1.9.0

21 May 03:04
4354c4c
Compare
Choose a tag to compare
  • Bump react-dnd to 8.x
  • Fix an issue when creating a new folder with rename disabled

Thanks to @ziaulrehman40tkxel and @fbessou

PRs included:
#110

Issues addressed:
#107

Issues partially addressed:
#27

1.8.0

26 Feb 04:57
aa6d24e
Compare
Choose a tag to compare

Allow multiple files to be selected using the ⊞ Windows or ⌘ Command keys in addition to the control key

PRs included:
#94

Issues addressed:
#93

1.7.0

19 Jan 23:54
Compare
Choose a tag to compare

Support added for bulk delete, download, and move of files.
Many thanks to @roymfibo

PRs included:
#86

Issues addressed:
#12
#13

1.6.1

08 Jan 03:45
Compare
Choose a tag to compare

Remove font size overrides

Includes:
68896ee
0b523ee

1.6.0

12 Dec 05:56
Compare
Choose a tag to compare

Allow custom ConfirmDeletionRenderer for File and Folder renderers. (thanks @hokevins !)

Issue: #82
PR: #83