Skip to content

Commit e38ec0b

Browse files
committed
[FIX]: minor bug on FIleItem
1 parent 378da9f commit e38ec0b

18 files changed

Lines changed: 85 additions & 173 deletions

File tree

.npmignore

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,8 @@ test
1111

1212
postinstallSSJ.js
1313
process.md
14-
src_past1
15-
src_past2
16-
src_past3
1714
README.md
1815
CHANGELOG.md
1916
rollup.config.js
20-
.travis.yml
17+
./.travis.yml
2118
tempackage.json

CHANGELOG.md

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
21
# Change Log
2+
33
<p align="center">
44
<img align="center" height="120" src="https://user-images.githubusercontent.com/43678736/132112022-0ca409ae-cca2-43c8-be89-110376260a3f.png" alt="dropone-ui-logo">
55

@@ -8,30 +8,36 @@
88
</p>
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+
<a name="1.1.28"></a>
12+
13+
## [1.1.28](https://github.com/glicht/npm-get-version/compare/v1.0.1...v1.0.2) (2021-09-09)
14+
15+
### Features
16+
17+
- Minor bug fixed, upload status not hiding on info open fixed
1118

12-
<a name="1.0.0"></a>
13-
## [1.0.2](https://github.com/glicht/npm-get-version/compare/v1.0.1...v1.0.2) (2021-09-08)
1419

20+
<a name="1.0.28"></a>
21+
22+
## [1.0.28](https://github.com/glicht/npm-get-version/compare/v1.0.1...v1.0.2) (2021-09-08)
1523

1624
### Features
1725

18-
* added readme status badges ([5c25d8d](https://github.com/glicht/npm-get-version/commit/5c25d8d))
26+
- added readme status badges ([5c25d8d](https://github.com/glicht/npm-get-version/commit/5c25d8d))
1927

20-
* Add Travis ci and coveralls integration ([dd6b023](https://github.com/glicht/npm-get-version/commit/dd6b023))
28+
- Add Travis ci and coveralls integration ([dd6b023](https://github.com/glicht/npm-get-version/commit/dd6b023))
2129

22-
* update README description ([1e59cee](https://github.com/glicht/npm-get-version/commit/1e59cee))
23-
* Dropzone, FileItem components released
30+
- update README description ([1e59cee](https://github.com/glicht/npm-get-version/commit/1e59cee))
31+
- Dropzone, FileItem components released
2432

2533
<a name="1.0.1"></a>
26-
## [1.0.1](https://github.com/glicht/npm-get-version/compare/v1.0.0...v1.0.1) (2021-08-28)
2734

35+
## [1.0.1](https://github.com/glicht/npm-get-version/compare/v1.0.0...v1.0.1) (2021-08-28)
2836

2937
### Features
3038

31-
* README improvements ([37d57cc](https://github.com/glicht/npm-get-version/commit/37d57cc))
32-
33-
39+
- README improvements ([37d57cc](https://github.com/glicht/npm-get-version/commit/37d57cc))
3440

3541
<a name="1.0.0"></a>
36-
# [1.0.0](https://github.com/glicht/npm-get-version/compare/v0.1.2...v1.0.0) (2021-08-28)
3742

43+
# [1.0.0](https://github.com/glicht/npm-get-version/compare/v0.1.2...v1.0.0) (2021-08-28)

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
[![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/dropzone-ui/dropzone-ui/blob/HEAD/LICENSE)
99
[![npm latest package](https://img.shields.io/npm/v/dropzone-ui.svg?logo=npm&logoColor=fff&label=NPM+package&color=limegreen)](https://www.npmjs.com/package/dropzone-ui)
1010
[![dependencies Status](https://status.david-dm.org/gh/dropzone-ui/dropzone-ui.svg)](https://david-dm.org/dropzone-ui/dropzone-ui)
11-
[![Build Status](https://www.travis-ci.com/dropzone-ui/dropzone-ui.svg?branch=master)](https://www.travis-ci.com/dropzone-ui/dropzone-ui)
11+
[![Build Status](https://app.travis-ci.com/dropzone-ui/dropzone-ui.svg?branch=master)](https://app.travis-ci.com/dropzone-ui/dropzone-ui)
1212
[![install size](https://packagephobia.com/badge?p=dropzone-ui)](https://packagephobia.com/result?p=dropzone-ui)
1313
[![Total alerts](https://img.shields.io/lgtm/alerts/g/dropzone-ui/dropzone-ui.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/dropzone-ui/dropzone-ui/alerts/)
1414
[![Language grade: JavaScript](https://img.shields.io/lgtm/grade/javascript/g/dropzone-ui/dropzone-ui.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/dropzone-ui/dropzone-ui/context:javascript)
@@ -17,11 +17,11 @@
1717

1818
## Description
1919

20-
Dropzone UI is a mini set of [React](https://reactjs.org/) components for mamanging file uploads. Components were made following some of the good google's Material design principles.
20+
Dropzone UI is a mini set of [React](https://reactjs.org/) components for managing file uploads. Components were made following some of the good google's Material design principles.
2121

2222
## Sample result:
2323

24-
On Dragging
24+
On `Drag`, `drop` and `upload`. (also changing view mode from `grid` to `list`)
2525

2626

2727

@@ -76,6 +76,7 @@ Yes, it's really all you need to get started as you can see in these live and in
7676
|-|-|
7777
|Basic example|[![Edit Button](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/basic-3j01v?file=/src/index.js)|
7878
|Complete example|[![Edit Button](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/complete-946hz?file=/src/index.js)|
79+
|File item props|[![Edit Button](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/fileitem-props-o0w5x)|
7980

8081
# Dropzone UI Components API
8182

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,6 @@
11
import { DropzoneProps } from "../Dropzone/DropzoneProps";
22
import { FileValidated } from "./validation.utils";
3-
/**
4-
*
5-
* @param file
6-
* @param url
7-
* @param config
8-
* @returns
9-
*/
10-
export declare const uploadFile: (file: File, url: string, method?: DropzoneProps["method"], config?: any) => Promise<any | undefined>;
113
export declare const uploadPromiseAxios: (file: FileValidated, url: string, method: DropzoneProps["method"], config: any) => Promise<FileValidated>;
12-
/**
13-
*
14-
* @param files
15-
* @param url
16-
* @param config
17-
* @returns
18-
*/
19-
export declare const uploadMultipleSecuential: (uploadById: Function, files: FileValidated[], url: string, method?: DropzoneProps["method"], config?: any) => Promise<FileValidated[]>;
204
/**
215
* In construction
226
*/

build/index.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import { createPPF } from "./utils/files.utils";
2+
export { createPPF };
13
export { default as Dropzone } from "./components/dropzone/components/Dropzone/Dropzone";
24
export * from "./components/dropzone/components/Dropzone/Dropzone";
35
export { default as DropzoneLabel } from "./components/dropzone/components/DropzoneLabel/DropzoneLabel";

build/index.es.js

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

build/index.es.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/index.js

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

build/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/utils/files.utils.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
export declare const createDPF: () => File;
1+
export declare const createPPF: () => File;
22
export declare const createWord: () => File;
33
export declare const createListOfDPF: (size?: number) => File[];

0 commit comments

Comments
 (0)