Skip to content
This repository was archived by the owner on Jan 27, 2025. It is now read-only.

Releases: uptick/react-keyed-file-browser

1.5.4

02 Dec 23:17
79b0c9a
Compare
Choose a tag to compare
  • Make browserProps available to the ActionRenderer #81

1.5.3

28 Nov 23:26
b6ceb77
Compare
Choose a tag to compare
  • Allow actionRenderer to be defined as a prop on the file browser #72

1.5.2

04 Jul 01:02
Compare
Choose a tag to compare

Patch release

Included in this release
Wrap onCreateFolder callback #63
Bump js-yaml #64

1.5.1

03 Jun 07:28
225ccaa
Compare
Choose a tag to compare

Patch

Folders and File names can no longer be named with back slashes

1.5.0

06 May 06:57
Compare
Choose a tag to compare
  • Updated to Webpack 4 and Babel 7 to support storybooks.
  • Installed and configured storybooks for easier development and provided some stories.

Includes the following improvements: #46, #47, #50

Includes the following bug fixes: #45

1.4.3

18 Dec 22:16
Compare
Choose a tag to compare
  • Added interaction callbacks #37
  • Update/remove old syntax #36 #43

1.4.2

04 Dec 23:15
Compare
Choose a tag to compare

Bug fix for display of file size and last modified on thumbnails (#40)

1.4.1

30 Oct 04:10
Compare
Choose a tag to compare

Added the noFilesMessage prop (#32).

This allows you customise the message displayed when no files are present - defaults to "No Files."

1.4.0 [BREAKING]

18 Oct 04:27
Compare
Choose a tag to compare

Backwards Incompatible Changes
Icons are no longer specified by default (#31).

This means that you will need to pass icons in as so:

  <FileBrowser
    files=[]
    icons={{
      File: <i className="file" aria-hidden="true" />,
      Image: <i className="file-image" aria-hidden="true" />,
      PDF: <i className="file-pdf" aria-hidden="true" />,
      Rename: <i className="i-cursor" aria-hidden="true" />,
      Folder: <i className="folder" aria-hidden="true" />,
      FolderOpen: <i className="folder-open" aria-hidden="true" />,
      Delete: <i className="trash" aria-hidden="true" />,
      Loading: <i className="circle-notch spin" aria-hidden="true" />,
    }}
  />

For Font Awesome icons, you can use our built in util, specifying if you are using v4 or v5:

import FileBrowser, {Icons} from 'react-keyed-file-browser'
  <FileBrowser
    files=[]
    icons={Icons.FontAwesome(4)}
  />

1.3.2

17 Sep 05:47
Compare
Choose a tag to compare

#29 Added file count to folder header props.