@uppy/drag-drop
Advanced tools
Comparing version 0.29.0 to 0.29.1
{ | ||
"name": "@uppy/drag-drop", | ||
"description": "Droppable zone UI for Uppy. Drag and drop files into it to upload.", | ||
"version": "0.29.0", | ||
"version": "0.29.1", | ||
"license": "MIT", | ||
"main": "lib/index.js", | ||
"jsnext:main": "src/index.js", | ||
"style": "dist/style.min.css", | ||
@@ -29,3 +28,3 @@ "types": "types/index.d.ts", | ||
"dependencies": { | ||
"@uppy/utils": "0.29.0", | ||
"@uppy/utils": "0.29.1", | ||
"drag-drop": "2.13.3", | ||
@@ -35,3 +34,3 @@ "preact": "^8.2.9" | ||
"devDependencies": { | ||
"@uppy/core": "0.29.0" | ||
"@uppy/core": "0.29.1" | ||
}, | ||
@@ -41,3 +40,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "c68f2c7e68d2c12f8a8fb7119f1dae4ca08e4174" | ||
"gitHead": "3ddf4c7548766a0c522b9a45c03b1fd7d4e03d43" | ||
} |
@@ -1,19 +0,23 @@ | ||
import { Plugin, PluginOptions, Uppy } from '@uppy/core'; | ||
import Uppy = require('@uppy/core'); | ||
export interface DragDropOptions extends PluginOptions { | ||
inputName: string; | ||
allowMultipleFiles: boolean; | ||
width: string; | ||
height: string; | ||
note: string; | ||
declare module DragDrop { | ||
interface DragDropOptions extends Uppy.PluginOptions { | ||
inputName: string; | ||
allowMultipleFiles: boolean; | ||
width: string; | ||
height: string; | ||
note: string; | ||
} | ||
} | ||
export default class DragDrop extends Plugin { | ||
constructor(uppy: Uppy, opts: Partial<DragDropOptions>); | ||
declare class DragDrop extends Uppy.Plugin { | ||
constructor(uppy: Uppy.Uppy, opts: Partial<DragDrop.DragDropOptions>); | ||
} | ||
export = DragDrop; | ||
declare module '@uppy/core' { | ||
export interface Uppy { | ||
use(pluginClass: typeof DragDrop, opts: Partial<DragDropOptions>): Uppy; | ||
use(pluginClass: typeof DragDrop, opts: Partial<DragDrop.DragDropOptions>): Uppy.Uppy; | ||
} | ||
} |
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
19308
388
- Removed@uppy/utils@0.29.0(transitive)
Updated@uppy/utils@0.29.1