Skip to content

Commit efc7b6e

Browse files
committed
[MVP]: Ready to publish
1 parent 9638db1 commit efc7b6e

File tree

58 files changed

+117
-91
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+117
-91
lines changed

.github/workflows/node.js.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ jobs:
2626
with:
2727
node-version: ${{ matrix.node-version }}
2828
cache: 'npm'
29-
- run: npm ci
29+
- run: npm i react react-dom @files-ui/react
3030
- run: npm run test

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,5 @@
2121
npm-debug.log*
2222
yarn-debug.log*
2323
yarn-error.log*
24+
25+
hidden

.npmignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ storybook-static
66
src
77
stories
88
test
9+
tests
910
.eslintrc
1011
.gitignore
1112
.coveralls.yml
@@ -20,4 +21,5 @@ rollup.config.js
2021
tempackage.json
2122
Dropzone-ui.txt
2223
CODE_OF_CONDICT.md
23-
CONTRIBUTING.md
24+
CONTRIBUTING.md
25+
hidden

CHANGELOG.md

Lines changed: 30 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,38 @@
11
# Change Log
2-
2+
<a href="https://www.files-ui.com">
33
<p align="center">
4-
<img align="center" height="120" src="https://user-images.githubusercontent.com/43678736/132112022-0ca409ae-cca2-43c8-be89-110376260a3f.png" alt="dropone-ui-logo">
5-
6-
<h1 align="center"> Dropzone-UI</h1>
7-
4+
<img src="https://user-images.githubusercontent.com/43678736/226257748-6ba2f8cf-59c5-40d1-a545-a388ddab0f68.png" width="150" height="150" alt="fui-logo"/>
85
</p>
6+
</a>
7+
8+
<h1 align="center">Files ui</h1>
99

1010
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
11+
Thils file also consider all dropzone-ui [releases](https://github.com/dropzone-ui/dropzone-ui-react/releases).
12+
13+
## [1.0.0](https://github.com/files-ui/files-ui-react/releases/tag/v1.0.0) (2023-03-28)
14+
15+
## 🧪 New features
16+
17+
- \<FileMosaic/\>: Added `resultOnToolip` prop. This prop provides another hover interaction. If present or `true`, FileItem will show the file validation status and the upload status on a nice tooltip. Otherwhise, if not present, false or undefined, FileItem will display the result on the InfoLayer. Special thanks to @mateusmx, 👏 who suggested this feature🧪.
18+
19+
- \<FileCard/\>: Added `resultOnToolip` prop. This prop provides another hover interaction. If present or `true`, FileItem will show the file validation status and the upload status on a nice tooltip. Otherwhise, if not present, false or undefined, FileItem will display the result on the InfoLayer. Special thanks to @mateusmx, 👏 who suggested this feature🧪.
20+
21+
- \<Dropzone/\>: Added `disableScroll` prop. This prop disables the css property `overflow: auto` in FileItemContainer inside Dropzone, when it displays the FileItem list inside of it. It also disables the `maxHeight` property and forces the `view` prop to be `"grid"`. The purpose of this special prop is to allow FileItemContainer to grow at the same time FileItem list increases and prevent triggering scrollbars.
22+
23+
## 🐛 Fixes or improvements
24+
25+
- \<Dropzone/>: Fixed issue in FileItemContainer that made it to overflow the size of Dropzone.
26+
27+
## 📚 Improved documentation.
28+
29+
- Added documentation about this new features
30+
31+
1132

1233
<a name="6.4.0"></a>
1334

14-
## [6.4.0](https://github.com/dropzone-ui/react-dropzone/releases/tag/v6.4.0) (2021-12-12)
35+
## [6.4.0](https://github.com/dropzone-ui/dropzone-ui-react/releases/tag/v6.4.0) (2021-12-12)
1536

1637
## 🧪 New features
1738

@@ -30,7 +51,7 @@ All notable changes to this project will be documented in this file. See [standa
3051

3152
<a name="6.3.6"></a>
3253

33-
## [6.3.6](https://github.com/dropzone-ui/react-dropzone/releases/tag/v6.3.6) (2021-07-12)
54+
## [6.3.6](https://github.com/dropzone-ui/dropzone-ui-react/releases/tag/v6.3.6) (2021-07-12)
3455

3556
## 🧪 New features
3657

@@ -48,7 +69,7 @@ All notable changes to this project will be documented in this file. See [standa
4869

4970
<a name="6.2.0"></a>
5071

51-
## [6.2.0](https://github.com/dropzone-ui/react-dropzone/releases/tag/v6.2.0) (2021-26-11)
72+
## [6.2.0](https://github.com/dropzone-ui/dropzone-ui-react/releases/tag/v6.2.0) (2021-26-11)
5273

5374
### New features
5475

@@ -71,7 +92,7 @@ All notable changes to this project will be documented in this file. See [standa
7192

7293
<a name="5.5.6"></a>
7394

74-
## [5.5.6](https://github.com/dropzone-ui/react-dropzone/releases/tag/v5.3.0) (2021-26-11)
95+
## [5.5.6](https://github.com/dropzone-ui/dropzone-ui-react/releases/tag/v5.3.0) (2021-26-11)
7596

7697
- 🧪 Added Localization support for ✨ **Russian** and **Chinese** ✨.
7798
- 🐛 Fixed small bugs.

README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
<a href="https://www.files-ui.com">
32
<p align="center">
43
<img src="https://user-images.githubusercontent.com/43678736/226257748-6ba2f8cf-59c5-40d1-a545-a388ddab0f68.png" width="150" height="150" alt="fui-logo"/>
@@ -10,15 +9,18 @@
109
UI components for file uploas with [React js](https://react.dev/).
1110
**Files UI** is a complete library for handling files in the UI. You can validate and upload them.
1211

13-
1412
<div align="center">
1513

16-
[![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/dropzone-ui/react/blob/HEAD/LICENSE)
17-
[![npm latest package](https://img.shields.io/npm/v/@dropzone-ui/react.svg?logo=npm&logoColor=fff&label=NPM+package&color=limegreen)](https://www.npmjs.com/package/@dropzone-ui/react) [![Rate on Openbase](https://badges.openbase.com/js/rating/@dropzone-ui/react.svg)](https://openbase.com/js/@dropzone-ui/react?utm_source=embedded&utm_medium=badge&utm_campaign=rate-badge) [![kandi X-Ray](https://kandi.openweaver.com/badges/xray.svg)](https://kandi.openweaver.com/typescript/dropzone-ui/dropzone-ui-react) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)
18-
[![GitHub Repo stars](https://img.shields.io/github/stars/dropzone-ui/react?label=Star%20me%20please%20:D&style=social)](https://github.com/dropzone-ui/react)
14+
[![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/files-ui/react/blob/HEAD/LICENSE)
15+
[![npm latest package](https://img.shields.io/npm/v/@files-ui/react.svg?logo=npm&logoColor=fff&label=NPM+package&color=limegreen)](https://www.npmjs.com/package/@files-ui/react) [![Rate on Openbase](https://badges.openbase.com/js/rating/@files-ui/react.svg)](https://openbase.com/js/@files-ui/react?utm_source=embedded&utm_medium=badge&utm_campaign=rate-badge) [![kandi X-Ray](https://kandi.openweaver.com/badges/xray.svg)](https://kandi.openweaver.com/typescript/files-ui/files-ui-react) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)
16+
[![GitHub Repo stars](https://img.shields.io/github/stars/files-ui/react?label=Star%20me%20please%20:D&style=social)](https://github.com/files-ui/react)
1917

2018
</div>
2119

20+
<a href="https://www.files-ui.com">
21+
<img align="center" width="100%" src="https://user-images.githubusercontent.com/43678736/228052494-99d970c0-1eb7-42c6-b22c-8c2295b8dc4a.gif" alt="files-ui-preview">
22+
</a>
23+
2224
## Installation
2325

2426
@files-ui/react is available as an [npm package](https://www.npmjs.com/package/@files-ui/react).
@@ -46,7 +48,7 @@ This project is licensed under the terms of the
4648

4749
<br/>
4850
<p align="center">
49-
<a href="https://github.com/files-ui/files-ui-react#readme">
51+
<a href="#readme">
5052
<img src="http://randojs.com/images/backToTopButtonTransparentBackground.png" alt="Back to top" height="28"/>
5153
</a>
5254
</p>

package-lock.json

Lines changed: 15 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Avatar/Avatar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { useAvatarStyle } from "./useAvatarStyle";
77
import InfiniteLoader from "../loader/InfiniteLoader/InfiniteLoader";
88
import Layer from "../FileMosaic/components/file-mosaic-layer/Layer";
99
import ImagePreview from "../ImagePreview/ImagePreview";
10-
import { FileIdGenerator } from "theamazingunkowntext";
10+
import { FileIdGenerator } from "defpythoniztioningtrycrypto";
1111
const Avatar: React.FC<AvatarProps> = (props: AvatarProps) => {
1212
const {
1313
readOnly,

src/DownloadHidden/DownloadHidden.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as React from "react";
2-
//import { handleClickUtil } from "theamazingunkowntext"
2+
//import { handleClickUtil } from "defpythoniztioningtrycrypto"
33
export type DownloadHiddenProps = {
44
downloadUrl?: string;
55
anchorRef: React.RefObject<HTMLAnchorElement>;

src/DropLayer/utils/dropLayerDynamicStyle.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { completeAsureColor } from "theamazingunkowntext"
1+
import { completeAsureColor } from "defpythoniztioningtrycrypto"
22
import { DEFAULT_BORDER_RADIUS } from "../../Dropzone/components/dropzone/DropzoneProps";
33

44

src/Dropzone/components/DropzoneButtons/DropzoneButtons.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as React from "react";
2-
import { addClassName, Localization } from "theamazingunkowntext"
2+
import { addClassName, Localization } from "defpythoniztioningtrycrypto"
33
import { MaterialButton } from "../../../MaterialButton";
44
import { ActionButtonItem, DropzoneActions } from "../dropzone/DropzoneProps";
55
import "./DropzoneButtons.scss";

0 commit comments

Comments
 (0)