@uppy/file-input
Advanced tools
Comparing version 2.0.0-alpha.0 to 2.0.0
@@ -11,4 +11,2 @@ "use strict"; | ||
const Translator = require('@uppy/utils/lib/Translator'); | ||
const { | ||
@@ -76,7 +74,7 @@ h | ||
handleClick(ev) { | ||
handleClick() { | ||
this.input.click(); | ||
} | ||
render(state) { | ||
render() { | ||
/* http://tympanus.net/codrops/2015/09/15/styling-customizing-file-inputs-smart-way/ */ | ||
@@ -129,2 +127,2 @@ const hiddenInputStyle = { | ||
}, _class.VERSION = "2.0.0-alpha.0", _temp); | ||
}, _class.VERSION = "2.0.0", _temp); |
{ | ||
"name": "@uppy/file-input", | ||
"description": "Simple UI of a file input button that works with Uppy right out of the box", | ||
"version": "2.0.0-alpha.0", | ||
"version": "2.0.0", | ||
"license": "MIT", | ||
@@ -25,3 +25,3 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@uppy/utils": "^4.0.0-alpha.0", | ||
"@uppy/utils": "^4.0.0", | ||
"preact": "^10.5.13" | ||
@@ -32,3 +32,3 @@ }, | ||
}, | ||
"gitHead": "113b627dd0ef5aa5d198dc309dda05da2117dfe5" | ||
"gitHead": "ab771cbe1cd87affd87c97bc983b19058e2e72bd" | ||
} |
const { UIPlugin } = require('@uppy/core') | ||
const toArray = require('@uppy/utils/lib/toArray') | ||
const Translator = require('@uppy/utils/lib/Translator') | ||
const { h } = require('preact') | ||
@@ -70,7 +69,7 @@ | ||
handleClick (ev) { | ||
handleClick () { | ||
this.input.click() | ||
} | ||
render (state) { | ||
render () { | ||
/* http://tympanus.net/codrops/2015/09/15/styling-customizing-file-inputs-smart-way/ */ | ||
@@ -77,0 +76,0 @@ const hiddenInputStyle = { |
@@ -5,3 +5,2 @@ import type { PluginOptions, UIPlugin, PluginTarget } from '@uppy/core' | ||
export interface FileInputOptions extends PluginOptions { | ||
replaceTargetContent?: boolean | ||
target?: PluginTarget | ||
@@ -8,0 +7,0 @@ pretty?: boolean |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
18938
254
1
Updated@uppy/utils@^4.0.0