@rpldy/upload-drop-zone
Advanced tools
Comparing version 0.17.1 to 0.17.2
{ | ||
"version": "0.17.1", | ||
"version": "0.17.2", | ||
"name": "@rpldy/upload-drop-zone", | ||
@@ -34,9 +34,9 @@ "description": "drop zone (container) component to initiate file and folder content uploads", | ||
"dependencies": { | ||
"@rpldy/shared-ui": "^0.17.1", | ||
"@rpldy/shared-ui": "^0.17.2", | ||
"html-dir-content": "^0.3.2" | ||
}, | ||
"devDependencies": { | ||
"@rpldy/shared": "^0.17.1", | ||
"@rpldy/upload-button": "^0.17.1", | ||
"@rpldy/uploady": "^0.17.1", | ||
"@rpldy/shared": "^0.17.2", | ||
"@rpldy/upload-button": "^0.17.2", | ||
"@rpldy/uploady": "^0.17.2", | ||
"flow-bin": "^0.169.0", | ||
@@ -54,3 +54,3 @@ "react-dnd": "^14.0.4", | ||
}, | ||
"gitHead": "a2c8859a977192f98cfd70783896d771979b2a91" | ||
"gitHead": "9f8502ed93c5060a6d77e929e49d6657c8be4b32" | ||
} |
@@ -25,2 +25,4 @@ <a href="https://badge.fury.io/js/%40rpldy%2Fupload-drop-zone"> | ||
**The best place to get started is at our: [React-Uploady Documentation Website](https://react-uploady.netlify.app)** | ||
## Installation | ||
@@ -38,11 +40,11 @@ | ||
| Name (* = mandatory) | Type | Default | Description | ||
| -------------- | ------------- | ------------- | ------------- | ||
| id | string | undefined | id attribute to pass to the container element | ||
| className | string | undefined | the class attribute to pass to the container element | ||
| onDragOverClassName | string | undefined | class name to add to the container when dragged over | ||
| dropHandler | [DropHandlerMethod](src/types.js#L4) | undefined | override default handler that returns the drop result (ex: files). May return a promise | ||
| htmlDirContentParams | Object | undefined | will be passed as is to html-dir-content. See [docs](https://www.npmjs.com/package/html-dir-content#api) | ||
| children | React.Node | undefined | child element(s) to render inside the container | ||
| extraProps | Object | undefined | any other props to pass to the div component (with spread) | ||
| Name (* = mandatory) | Type | Default | Description | | ||
| -------------- | ------------- | ------------- | -------------| | ||
| id | string | undefined | id attribute to pass to the container element| | ||
| className | string | undefined | the class attribute to pass to the container element| | ||
| onDragOverClassName | string | undefined | class name to add to the container when dragged over| | ||
| dropHandler | [DropHandlerMethod](src/types.js#L4) | undefined | override default handler that returns the drop result (ex: files). May return a promise| | ||
| htmlDirContentParams | Object | undefined | will be passed as is to html-dir-content. See [docs](https://www.npmjs.com/package/html-dir-content#api)| | ||
| children | React.Node | undefined | child element(s) to render inside the container | | ||
| extraProps | Object | undefined | any other props to pass to the div component (with spread)| | ||
@@ -65,4 +67,5 @@ In addition, most [UploadOptions](../../core/shared/src/types.js#L104) props can be passed to UploadDropZone. | ||
<UploadDropZone onDragOverClassName="drag-over" | ||
grouped={grouped} | ||
maxGroupSize={groupSize}> | ||
grouped | ||
maxGroupSize={3} | ||
> | ||
<span>Drag&Drop File(s) Here</span> | ||
@@ -69,0 +72,0 @@ </UploadDropZone> |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15616
74
Updated@rpldy/shared-ui@^0.17.2