😸 A File Browser component for React.
Fixes:
useEffect
usage to not return things unless explicitly intended.New features:
react-intl
library. i18n can be configured using i18n
property on FileBrowser
.darkMode
prop on FileBrowser
.Bug fixes:
ThumbnailGenerator
type from index.ts
.Bug fixes:
Expected drag drop context
error when disableDragAndDrop
or disableDragAndDropProvider
is set to true. From now on, Chonky should never error out when DnD context is not present. Instead, it will silently disable drag & drop.index.ts
. Type and enum exports are no longer mixed, and TS no longer complains about missing types.Bug fixes:
exact-trie
(again) to remove all mentions of LGPL-3.0 license from its code.New features:
ChonkyDndFileEntryItem
type and ChonkyDndFileEntryType
constant from Chonky's index.ts
. This helps users define custom DnD drop zones, as shows in the Advanced drag & drop example.New features:
MoveFiles
action.dndOpenable
field to FileData
interface. This field is useful if you want to make some file openable using double-click/enter but not DND-openable. By default, dndOpenable
is true
for folders.New features:
folderChainIcon
field to FileData
interface. It can be used to display a custom file icon in the folder chain (FileNavbar
component).Bug fixes:
DnDProvider
component being rendered even when disableDragAndDrop
prop was set to true
.chonky-icon-fontawesome
package a real README.exact-trie
to the MIT-licensed version. Now all dependencies should be MIT-compliantThe first Chonky 2.x release. It revamps the file action framework, adds the FileNavbar
and FileContextMenu
components, introduces Redux for internal state management, breaks out ChonkyIconFA
into a separate package, and much more!
Bug fixes:
New features:
ChonkyIconName.paste
and ChonkyIconName.share
. Thanks @AndreyVanyakin!