Skip to content

Commit 38e7293

Browse files
committed
[FIX]: Convert hyphen cased props on icons to camelCased props
1 parent 47b00e3 commit 38e7293

20 files changed

Lines changed: 46 additions & 43 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
[![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/dropzone-ui/react.svg)](http://isitmaintained.com/project/dropzone-ui/react)
2121
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)
2222

23-
[React](https://reactjs.org/) set of components for a complete file upload management awith image previews on user inteface. There already exists some very good libraries; However, **inspired** in those ones, there was created something **new** and **more powerful**. Google's Material design principles were also considered in development. Indeed, icons come from [Material design icons](https://fonts.google.com/icons).
23+
[React](https://reactjs.org/) set of components for a complete file upload management with image previews on user inteface. There already exists some very good libraries; However, **inspired** in those ones, there was created something **new** and **more powerful**. Google's Material design principles were also considered in development. Indeed, icons come from [Material design icons](https://fonts.google.com/icons).
2424

2525
## Sample result:
2626

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
import { createRipple } from "./dropzone-ui.utils";
2-
import { uploadMultipleSecuential } from "./dropzone-ui.upload.utils";
3-
export { createRipple, uploadMultipleSecuential };
2+
export { createRipple, };

build/components/file-item/components/FileItemFullInfoLayer/FileItemFullInfoLayer.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ export interface FileItemFullInfoLayerProps {
1616
* for now
1717
* only English and Spanish is supported
1818
*/
19-
localization: Localization;
19+
localization?: Localization;
2020
}

build/index.es.js

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.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: 2 additions & 2 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/localization/dropzone.localization.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ export declare const DropzoneLocalizer: ComponentLocalizer;
1212
* @param local the Localization
1313
* @returns a ComponentLocalizer object that contains the translation
1414
*/
15-
export declare const DropzoneLocalizerSelector: (local: Localization) => LocalLabels;
15+
export declare const DropzoneLocalizerSelector: (local: Localization | undefined) => LocalLabels;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@dropzone-ui/react",
3-
"version": "3.2.0",
3+
"version": "3.3.0",
44
"description": "Elegant React Library Component for drag’n’drop files. Simple to use with little code. Material design guidelines considered. Multilanguage support.",
55
"main": "./build/index.js",
66
"module": "./build/index.es.js",

src/components/dropzone/components/Dropzone/DropzoneProps.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ export const DropzonePropsDefault: DropzoneProps = {
160160
disableRipple: false,
161161
clickable: true,
162162
view: "grid",
163-
maxHeight: "500px",
163+
maxHeight: "450px",
164164
footer: true,
165165
header: true,
166166
config:

0 commit comments

Comments
 (0)