From c8e8516796445c6b41958d2adf8aebb4a88c1630 Mon Sep 17 00:00:00 2001 From: Jose Manuel Serrano Amaut <a20122128@pucp.pe> Date: Wed, 29 Mar 2023 00:04:30 -0500 Subject: [PATCH] [REF]: Add extfile type in changelog --- CHANGELOG.md | 2 ++ src/Avatar/Avatar.tsx | 11 +++++++++++ src/Dropzone/components/dropzone/Dropzone.tsx | 10 ++++++++++ 3 files changed, 23 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ef69622..f9e31fa 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 f6cfe0f..03eb4f5 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 b8a59b6..ebee55e 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 -- GitLab