diff --git a/CHANGELOG.md b/CHANGELOG.md index ef696228d4222d9319964d2db990e3e2bcc899cf..f9e31fa01955f814d02b5f8764fb0afc4c2e8427 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,8 @@ Thils file also consider all dropzone-ui [releases](https://github.com/dropzone- ## ๐งช New features and ๐ :hammer: Improvements +- [ExtFile](https://www.files-ui.com/types#extfile): Data estructure that "extends" the File Object. This object is designed to allow the information exchange between components. This data type replaces the old "FileValidate" type from dropzone-ui. + - [\<FileMosaic/\>](https://www.files-ui.com/components/filemosaic): This new component replaces the old "FileItem" component. - Dark mode: Now this component can be adpted to a dark mode pages with the respective prop. diff --git a/src/Avatar/Avatar.tsx b/src/Avatar/Avatar.tsx index f6cfe0f71fcbb78f709bcdcafc2302cf55391219..03eb4f5b62e65a3652653ca99151a1f8e3ec3b86 100644 --- a/src/Avatar/Avatar.tsx +++ b/src/Avatar/Avatar.tsx @@ -8,6 +8,17 @@ import InfiniteLoader from "../loader/InfiniteLoader/InfiniteLoader"; import Layer from "../FileMosaic/components/file-mosaic-layer/Layer"; import ImagePreview from "../ImagePreview/ImagePreview"; import { FileIdGenerator } from "@files-ui/core"; + +/** + * + * Demos: + * + * - [Avatar](https://www.files-ui.com/components/avatar) + * + * API: + * + * - [Avatar API](https://www.files-ui.com/api/avatar/) + */ const Avatar: React.FC<AvatarProps> = (props: AvatarProps) => { const { readOnly, diff --git a/src/Dropzone/components/dropzone/Dropzone.tsx b/src/Dropzone/components/dropzone/Dropzone.tsx index b8a59b65f014bf6c7e310f3cc3b31339552d8ede..ebee55ea0bbe0d3e8a29c2374892d892873083ea 100644 --- a/src/Dropzone/components/dropzone/Dropzone.tsx +++ b/src/Dropzone/components/dropzone/Dropzone.tsx @@ -63,6 +63,16 @@ import { useDropzoneFileListUpdater, useDropLayerClassName, useDropzoneClassName //import { print_manager } from "../../../../../utils"; +/** + * + * Demos: + * + * - [Dropzone](https://www.files-ui.com/components/dropzone) + * + * API: + * + * - [Dropzone API](https://www.files-ui.com/api/dropzone/) + */ const Dropzone: React.FC<DropzoneProps> = (props: DropzoneProps) => { const { //basic