Merge branch 'master' of github.com:transloadit/uppy

This commit is contained in:
Ifedapo Olarewaju 2019-01-19 16:04:13 +01:00
commit 25da12754e
45 changed files with 451 additions and 425 deletions

View file

@ -27,12 +27,12 @@ module.exports = {
"middleware": false,
"serveStatic": ["examples/bundle"],
"ghostMode": {
"clicks": true,
"scroll": true,
"clicks": false,
"scroll": false,
"forms": {
"submit": true,
"inputs": true,
"toggles": true
"submit": false,
"inputs": false,
"toggles": false
}
},
"logLevel": "info",

View file

@ -65,7 +65,7 @@ $ npm install @uppy/core @uppy/dashboard @uppy/tus
We recommend installing from npm and then using a module bundler such as [Webpack](http://webpack.github.io/), [Browserify](http://browserify.org/) or [Rollup.js](http://rollupjs.org/).
Add CSS [uppy.min.css](https://transloadit.edgly.net/releases/uppy/v0.29.0/dist/uppy.min.css), either to `<head>` of your HTML page or include in JS, if your bundler of choice supports it — transforms and plugins are available for Browserify and Webpack.
Add CSS [uppy.min.css](https://transloadit.edgly.net/releases/uppy/v0.29.1/dist/uppy.min.css), either to `<head>` of your HTML page or include in JS, if your bundler of choice supports it — transforms and plugins are available for Browserify and Webpack.
Alternatively, you can also use a pre-built bundle from Transloadit's CDN: Edgly. In that case `Uppy` will attach itself to the global `window.Uppy` object.
@ -73,10 +73,10 @@ Alternatively, you can also use a pre-built bundle from Transloadit's CDN: Edgly
```html
<!-- 1. Add CSS to `<head>` -->
<link href="https://transloadit.edgly.net/releases/uppy/v0.29.0/dist/uppy.min.css" rel="stylesheet">
<link href="https://transloadit.edgly.net/releases/uppy/v0.29.1/dist/uppy.min.css" rel="stylesheet">
<!-- 2. Add JS before the closing `</body>` -->
<script src="https://transloadit.edgly.net/releases/uppy/v0.29.0/dist/uppy.min.js"></script>
<script src="https://transloadit.edgly.net/releases/uppy/v0.29.1/dist/uppy.min.js"></script>
<!-- 3. Initialize -->
<div class="UppyDragDrop"></div>
@ -163,7 +163,7 @@ If you're using Uppy via a script tag, you can load the polyfills from [JSDelivr
```html
<script src="https://cdn.jsdelivr.net/npm/es6-promise@4.2.5/dist/es6-promise.auto.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/whatwg-fetch@3.0.0/dist/fetch.umd.min.js"></script>
<script src="https://transloadit.edgly.net/releases/uppy/v0.29.0/dist/uppy.min.js"></script>
<script src="https://transloadit.edgly.net/releases/uppy/v0.29.1/dist/uppy.min.js"></script>
```
## FAQ
@ -228,57 +228,57 @@ Use Uppy in your project? [Let us know](https://github.com/transloadit/uppy/issu
:---: |:---: |:---: |:---: |:---: |:---: |
[kiloreux](https://github.com/kiloreux) |[sadovnychyi](https://github.com/sadovnychyi) |[richardwillars](https://github.com/richardwillars) |[zcallan](https://github.com/zcallan) |[wilkoklak](https://github.com/wilkoklak) |[oliverpool](https://github.com/oliverpool) |
[<img alt="nqst" src="https://avatars0.githubusercontent.com/u/375537?v=4&s=117" width="117">](https://github.com/nqst) |[<img alt="janko-m" src="https://avatars2.githubusercontent.com/u/795488?v=4&s=117" width="117">](https://github.com/janko-m) |[<img alt="DJWassink" src="https://avatars3.githubusercontent.com/u/1822404?v=4&s=117" width="117">](https://github.com/DJWassink) |[<img alt="taoqf" src="https://avatars3.githubusercontent.com/u/15901911?v=4&s=117" width="117">](https://github.com/taoqf) |[<img alt="gavboulton" src="https://avatars0.githubusercontent.com/u/3900826?v=4&s=117" width="117">](https://github.com/gavboulton) |[<img alt="bertho-zero" src="https://avatars0.githubusercontent.com/u/8525267?v=4&s=117" width="117">](https://github.com/bertho-zero) |
[<img alt="nqst" src="https://avatars0.githubusercontent.com/u/375537?v=4&s=117" width="117">](https://github.com/nqst) |[<img alt="janko-m" src="https://avatars2.githubusercontent.com/u/795488?v=4&s=117" width="117">](https://github.com/janko-m) |[<img alt="mattes3" src="https://avatars2.githubusercontent.com/u/2496674?v=4&s=117" width="117">](https://github.com/mattes3) |[<img alt="DJWassink" src="https://avatars3.githubusercontent.com/u/1822404?v=4&s=117" width="117">](https://github.com/DJWassink) |[<img alt="taoqf" src="https://avatars3.githubusercontent.com/u/15901911?v=4&s=117" width="117">](https://github.com/taoqf) |[<img alt="gavboulton" src="https://avatars0.githubusercontent.com/u/3900826?v=4&s=117" width="117">](https://github.com/gavboulton) |
:---: |:---: |:---: |:---: |:---: |:---: |
[nqst](https://github.com/nqst) |[janko-m](https://github.com/janko-m) |[DJWassink](https://github.com/DJWassink) |[taoqf](https://github.com/taoqf) |[gavboulton](https://github.com/gavboulton) |[bertho-zero](https://github.com/bertho-zero) |
[nqst](https://github.com/nqst) |[janko-m](https://github.com/janko-m) |[mattes3](https://github.com/mattes3) |[DJWassink](https://github.com/DJWassink) |[taoqf](https://github.com/taoqf) |[gavboulton](https://github.com/gavboulton) |
[<img alt="frederikhors" src="https://avatars3.githubusercontent.com/u/41120635?v=4&s=117" width="117">](https://github.com/frederikhors) |[<img alt="pauln" src="https://avatars3.githubusercontent.com/u/574359?v=4&s=117" width="117">](https://github.com/pauln) |[<img alt="toadkicker" src="https://avatars1.githubusercontent.com/u/523330?v=4&s=117" width="117">](https://github.com/toadkicker) |[<img alt="mrbatista" src="https://avatars0.githubusercontent.com/u/6544817?v=4&s=117" width="117">](https://github.com/mrbatista) |[<img alt="phitranphitranphitran" src="https://avatars2.githubusercontent.com/u/14257077?v=4&s=117" width="117">](https://github.com/phitranphitranphitran) |[<img alt="sunil-shrestha" src="https://avatars3.githubusercontent.com/u/2129058?v=4&s=117" width="117">](https://github.com/sunil-shrestha) |
[<img alt="bertho-zero" src="https://avatars0.githubusercontent.com/u/8525267?v=4&s=117" width="117">](https://github.com/bertho-zero) |[<img alt="frederikhors" src="https://avatars3.githubusercontent.com/u/41120635?v=4&s=117" width="117">](https://github.com/frederikhors) |[<img alt="pauln" src="https://avatars3.githubusercontent.com/u/574359?v=4&s=117" width="117">](https://github.com/pauln) |[<img alt="toadkicker" src="https://avatars1.githubusercontent.com/u/523330?v=4&s=117" width="117">](https://github.com/toadkicker) |[<img alt="mrbatista" src="https://avatars0.githubusercontent.com/u/6544817?v=4&s=117" width="117">](https://github.com/mrbatista) |[<img alt="phitranphitranphitran" src="https://avatars2.githubusercontent.com/u/14257077?v=4&s=117" width="117">](https://github.com/phitranphitranphitran) |
:---: |:---: |:---: |:---: |:---: |:---: |
[frederikhors](https://github.com/frederikhors) |[pauln](https://github.com/pauln) |[toadkicker](https://github.com/toadkicker) |[mrbatista](https://github.com/mrbatista) |[phitranphitranphitran](https://github.com/phitranphitranphitran) |[sunil-shrestha](https://github.com/sunil-shrestha) |
[bertho-zero](https://github.com/bertho-zero) |[frederikhors](https://github.com/frederikhors) |[pauln](https://github.com/pauln) |[toadkicker](https://github.com/toadkicker) |[mrbatista](https://github.com/mrbatista) |[phitranphitranphitran](https://github.com/phitranphitranphitran) |
[<img alt="tranvansang" src="https://avatars1.githubusercontent.com/u/13043196?v=4&s=117" width="117">](https://github.com/tranvansang) |[<img alt="ap--" src="https://avatars1.githubusercontent.com/u/1463443?v=4&s=117" width="117">](https://github.com/ap--) |[<img alt="tim-kos" src="https://avatars1.githubusercontent.com/u/15005?v=4&s=117" width="117">](https://github.com/tim-kos) |[<img alt="ogtfaber" src="https://avatars2.githubusercontent.com/u/320955?v=4&s=117" width="117">](https://github.com/ogtfaber) |[<img alt="btrice" src="https://avatars2.githubusercontent.com/u/4358225?v=4&s=117" width="117">](https://github.com/btrice) |[<img alt="pekala" src="https://avatars1.githubusercontent.com/u/4643658?v=4&s=117" width="117">](https://github.com/pekala) |
[<img alt="sunil-shrestha" src="https://avatars3.githubusercontent.com/u/2129058?v=4&s=117" width="117">](https://github.com/sunil-shrestha) |[<img alt="tranvansang" src="https://avatars1.githubusercontent.com/u/13043196?v=4&s=117" width="117">](https://github.com/tranvansang) |[<img alt="ap--" src="https://avatars1.githubusercontent.com/u/1463443?v=4&s=117" width="117">](https://github.com/ap--) |[<img alt="tim-kos" src="https://avatars1.githubusercontent.com/u/15005?v=4&s=117" width="117">](https://github.com/tim-kos) |[<img alt="ogtfaber" src="https://avatars2.githubusercontent.com/u/320955?v=4&s=117" width="117">](https://github.com/ogtfaber) |[<img alt="btrice" src="https://avatars2.githubusercontent.com/u/4358225?v=4&s=117" width="117">](https://github.com/btrice) |
:---: |:---: |:---: |:---: |:---: |:---: |
[tranvansang](https://github.com/tranvansang) |[ap--](https://github.com/ap--) |[tim-kos](https://github.com/tim-kos) |[ogtfaber](https://github.com/ogtfaber) |[btrice](https://github.com/btrice) |[pekala](https://github.com/pekala) |
[sunil-shrestha](https://github.com/sunil-shrestha) |[tranvansang](https://github.com/tranvansang) |[ap--](https://github.com/ap--) |[tim-kos](https://github.com/tim-kos) |[ogtfaber](https://github.com/ogtfaber) |[btrice](https://github.com/btrice) |
[<img alt="Martin005" src="https://avatars0.githubusercontent.com/u/10096404?v=4&s=117" width="117">](https://github.com/Martin005) |[<img alt="martiuslim" src="https://avatars2.githubusercontent.com/u/17944339?v=4&s=117" width="117">](https://github.com/martiuslim) |[<img alt="msand" src="https://avatars2.githubusercontent.com/u/1131362?v=4&s=117" width="117">](https://github.com/msand) |[<img alt="richartkeil" src="https://avatars0.githubusercontent.com/u/8680858?v=4&s=117" width="117">](https://github.com/richartkeil) |[<img alt="Burkes" src="https://avatars2.githubusercontent.com/u/9220052?v=4&s=117" width="117">](https://github.com/Burkes) |[<img alt="rosenfeld" src="https://avatars1.githubusercontent.com/u/32246?v=4&s=117" width="117">](https://github.com/rosenfeld) |
[<img alt="pekala" src="https://avatars1.githubusercontent.com/u/4643658?v=4&s=117" width="117">](https://github.com/pekala) |[<img alt="manuelkiessling" src="https://avatars2.githubusercontent.com/u/206592?v=4&s=117" width="117">](https://github.com/manuelkiessling) |[<img alt="Martin005" src="https://avatars0.githubusercontent.com/u/10096404?v=4&s=117" width="117">](https://github.com/Martin005) |[<img alt="martiuslim" src="https://avatars2.githubusercontent.com/u/17944339?v=4&s=117" width="117">](https://github.com/martiuslim) |[<img alt="msand" src="https://avatars2.githubusercontent.com/u/1131362?v=4&s=117" width="117">](https://github.com/msand) |[<img alt="Burkes" src="https://avatars2.githubusercontent.com/u/9220052?v=4&s=117" width="117">](https://github.com/Burkes) |
:---: |:---: |:---: |:---: |:---: |:---: |
[Martin005](https://github.com/Martin005) |[martiuslim](https://github.com/martiuslim) |[msand](https://github.com/msand) |[richartkeil](https://github.com/richartkeil) |[Burkes](https://github.com/Burkes) |[rosenfeld](https://github.com/rosenfeld) |
[pekala](https://github.com/pekala) |[manuelkiessling](https://github.com/manuelkiessling) |[Martin005](https://github.com/Martin005) |[martiuslim](https://github.com/martiuslim) |[msand](https://github.com/msand) |[Burkes](https://github.com/Burkes) |
[<img alt="ThomasG77" src="https://avatars2.githubusercontent.com/u/642120?v=4&s=117" width="117">](https://github.com/ThomasG77) |[<img alt="zhuangya" src="https://avatars2.githubusercontent.com/u/499038?v=4&s=117" width="117">](https://github.com/zhuangya) |[<img alt="fortrieb" src="https://avatars0.githubusercontent.com/u/4126707?v=4&s=117" width="117">](https://github.com/fortrieb) |[<img alt="muhammadInam" src="https://avatars1.githubusercontent.com/u/7801708?v=4&s=117" width="117">](https://github.com/muhammadInam) |[<img alt="richmeij" src="https://avatars0.githubusercontent.com/u/9741858?v=4&s=117" width="117">](https://github.com/richmeij) |[<img alt="ajschmidt8" src="https://avatars0.githubusercontent.com/u/7400326?v=4&s=117" width="117">](https://github.com/ajschmidt8) |
[<img alt="richmeij" src="https://avatars0.githubusercontent.com/u/9741858?v=4&s=117" width="117">](https://github.com/richmeij) |[<img alt="rosenfeld" src="https://avatars1.githubusercontent.com/u/32246?v=4&s=117" width="117">](https://github.com/rosenfeld) |[<img alt="ThomasG77" src="https://avatars2.githubusercontent.com/u/642120?v=4&s=117" width="117">](https://github.com/ThomasG77) |[<img alt="zhuangya" src="https://avatars2.githubusercontent.com/u/499038?v=4&s=117" width="117">](https://github.com/zhuangya) |[<img alt="fortrieb" src="https://avatars0.githubusercontent.com/u/4126707?v=4&s=117" width="117">](https://github.com/fortrieb) |[<img alt="muhammadInam" src="https://avatars1.githubusercontent.com/u/7801708?v=4&s=117" width="117">](https://github.com/muhammadInam) |
:---: |:---: |:---: |:---: |:---: |:---: |
[ThomasG77](https://github.com/ThomasG77) |[zhuangya](https://github.com/zhuangya) |[fortrieb](https://github.com/fortrieb) |[muhammadInam](https://github.com/muhammadInam) |[richmeij](https://github.com/richmeij) |[ajschmidt8](https://github.com/ajschmidt8) |
[richmeij](https://github.com/richmeij) |[rosenfeld](https://github.com/rosenfeld) |[ThomasG77](https://github.com/ThomasG77) |[zhuangya](https://github.com/zhuangya) |[fortrieb](https://github.com/fortrieb) |[muhammadInam](https://github.com/muhammadInam) |
[<img alt="asmt3" src="https://avatars1.githubusercontent.com/u/1777709?v=4&s=117" width="117">](https://github.com/asmt3) |[<img alt="tuoxiansp" src="https://avatars1.githubusercontent.com/u/3960056?v=4&s=117" width="117">](https://github.com/tuoxiansp) |[<img alt="functino" src="https://avatars0.githubusercontent.com/u/415498?v=4&s=117" width="117">](https://github.com/functino) |[<img alt="radarhere" src="https://avatars2.githubusercontent.com/u/3112309?v=4&s=117" width="117">](https://github.com/radarhere) |[<img alt="azeemba" src="https://avatars0.githubusercontent.com/u/2160795?v=4&s=117" width="117">](https://github.com/azeemba) |[<img alt="bducharme" src="https://avatars2.githubusercontent.com/u/4173569?v=4&s=117" width="117">](https://github.com/bducharme) |
[<img alt="richartkeil" src="https://avatars0.githubusercontent.com/u/8680858?v=4&s=117" width="117">](https://github.com/richartkeil) |[<img alt="ajschmidt8" src="https://avatars0.githubusercontent.com/u/7400326?v=4&s=117" width="117">](https://github.com/ajschmidt8) |[<img alt="tuoxiansp" src="https://avatars1.githubusercontent.com/u/3960056?v=4&s=117" width="117">](https://github.com/tuoxiansp) |[<img alt="amitport" src="https://avatars1.githubusercontent.com/u/1131991?v=4&s=117" width="117">](https://github.com/amitport) |[<img alt="functino" src="https://avatars0.githubusercontent.com/u/415498?v=4&s=117" width="117">](https://github.com/functino) |[<img alt="radarhere" src="https://avatars2.githubusercontent.com/u/3112309?v=4&s=117" width="117">](https://github.com/radarhere) |
:---: |:---: |:---: |:---: |:---: |:---: |
[asmt3](https://github.com/asmt3) |[tuoxiansp](https://github.com/tuoxiansp) |[functino](https://github.com/functino) |[radarhere](https://github.com/radarhere) |[azeemba](https://github.com/azeemba) |[bducharme](https://github.com/bducharme) |
[richartkeil](https://github.com/richartkeil) |[ajschmidt8](https://github.com/ajschmidt8) |[tuoxiansp](https://github.com/tuoxiansp) |[amitport](https://github.com/amitport) |[functino](https://github.com/functino) |[radarhere](https://github.com/radarhere) |
[<img alt="chao" src="https://avatars2.githubusercontent.com/u/55872?v=4&s=117" width="117">](https://github.com/chao) |[<img alt="csprance" src="https://avatars0.githubusercontent.com/u/7902617?v=4&s=117" width="117">](https://github.com/csprance) |[<img alt="cbush06" src="https://avatars0.githubusercontent.com/u/15720146?v=4&s=117" width="117">](https://github.com/cbush06) |[<img alt="danmichaelo" src="https://avatars1.githubusercontent.com/u/434495?v=4&s=117" width="117">](https://github.com/danmichaelo) |[<img alt="mrboomer" src="https://avatars0.githubusercontent.com/u/5942912?v=4&s=117" width="117">](https://github.com/mrboomer) |[<img alt="yoldar" src="https://avatars3.githubusercontent.com/u/1597578?v=4&s=117" width="117">](https://github.com/yoldar) |
[<img alt="azeemba" src="https://avatars0.githubusercontent.com/u/2160795?v=4&s=117" width="117">](https://github.com/azeemba) |[<img alt="bducharme" src="https://avatars2.githubusercontent.com/u/4173569?v=4&s=117" width="117">](https://github.com/bducharme) |[<img alt="chao" src="https://avatars2.githubusercontent.com/u/55872?v=4&s=117" width="117">](https://github.com/chao) |[<img alt="csprance" src="https://avatars0.githubusercontent.com/u/7902617?v=4&s=117" width="117">](https://github.com/csprance) |[<img alt="cbush06" src="https://avatars0.githubusercontent.com/u/15720146?v=4&s=117" width="117">](https://github.com/cbush06) |[<img alt="danmichaelo" src="https://avatars1.githubusercontent.com/u/434495?v=4&s=117" width="117">](https://github.com/danmichaelo) |
:---: |:---: |:---: |:---: |:---: |:---: |
[chao](https://github.com/chao) |[csprance](https://github.com/csprance) |[cbush06](https://github.com/cbush06) |[danmichaelo](https://github.com/danmichaelo) |[mrboomer](https://github.com/mrboomer) |[yoldar](https://github.com/yoldar) |
[azeemba](https://github.com/azeemba) |[bducharme](https://github.com/bducharme) |[chao](https://github.com/chao) |[csprance](https://github.com/csprance) |[cbush06](https://github.com/cbush06) |[danmichaelo](https://github.com/danmichaelo) |
[<img alt="lowsprofile" src="https://avatars1.githubusercontent.com/u/11029687?v=4&s=117" width="117">](https://github.com/lowsprofile) |[<img alt="FWirtz" src="https://avatars1.githubusercontent.com/u/6052785?v=4&s=117" width="117">](https://github.com/FWirtz) |[<img alt="geoffappleford" src="https://avatars2.githubusercontent.com/u/731678?v=4&s=117" width="117">](https://github.com/geoffappleford) |[<img alt="gjungb" src="https://avatars0.githubusercontent.com/u/3391068?v=4&s=117" width="117">](https://github.com/gjungb) |[<img alt="JacobMGEvans" src="https://avatars1.githubusercontent.com/u/27247160?v=4&s=117" width="117">](https://github.com/JacobMGEvans) |[<img alt="jcjmcclean" src="https://avatars3.githubusercontent.com/u/1822574?v=4&s=117" width="117">](https://github.com/jcjmcclean) |
[<img alt="mrboomer" src="https://avatars0.githubusercontent.com/u/5942912?v=4&s=117" width="117">](https://github.com/mrboomer) |[<img alt="davilima6" src="https://avatars0.githubusercontent.com/u/422130?v=4&s=117" width="117">](https://github.com/davilima6) |[<img alt="yoldar" src="https://avatars3.githubusercontent.com/u/1597578?v=4&s=117" width="117">](https://github.com/yoldar) |[<img alt="lowsprofile" src="https://avatars1.githubusercontent.com/u/11029687?v=4&s=117" width="117">](https://github.com/lowsprofile) |[<img alt="FWirtz" src="https://avatars1.githubusercontent.com/u/6052785?v=4&s=117" width="117">](https://github.com/FWirtz) |[<img alt="geoffappleford" src="https://avatars2.githubusercontent.com/u/731678?v=4&s=117" width="117">](https://github.com/geoffappleford) |
:---: |:---: |:---: |:---: |:---: |:---: |
[lowsprofile](https://github.com/lowsprofile) |[FWirtz](https://github.com/FWirtz) |[geoffappleford](https://github.com/geoffappleford) |[gjungb](https://github.com/gjungb) |[JacobMGEvans](https://github.com/JacobMGEvans) |[jcjmcclean](https://github.com/jcjmcclean) |
[mrboomer](https://github.com/mrboomer) |[davilima6](https://github.com/davilima6) |[yoldar](https://github.com/yoldar) |[lowsprofile](https://github.com/lowsprofile) |[FWirtz](https://github.com/FWirtz) |[geoffappleford](https://github.com/geoffappleford) |
[<img alt="vith" src="https://avatars1.githubusercontent.com/u/3265539?v=4&s=117" width="117">](https://github.com/vith) |[<img alt="jessica-coursera" src="https://avatars1.githubusercontent.com/u/35155465?v=4&s=117" width="117">](https://github.com/jessica-coursera) |[<img alt="jderrough" src="https://avatars3.githubusercontent.com/u/1108358?v=4&s=117" width="117">](https://github.com/jderrough) |[<img alt="firesharkstudios" src="https://avatars1.githubusercontent.com/u/17069637?v=4&s=117" width="117">](https://github.com/firesharkstudios) |[<img alt="dviry" src="https://avatars3.githubusercontent.com/u/1230260?v=4&s=117" width="117">](https://github.com/dviry) |[<img alt="leods92" src="https://avatars0.githubusercontent.com/u/879395?v=4&s=117" width="117">](https://github.com/leods92) |
[<img alt="gjungb" src="https://avatars0.githubusercontent.com/u/3391068?v=4&s=117" width="117">](https://github.com/gjungb) |[<img alt="JacobMGEvans" src="https://avatars1.githubusercontent.com/u/27247160?v=4&s=117" width="117">](https://github.com/JacobMGEvans) |[<img alt="jcjmcclean" src="https://avatars3.githubusercontent.com/u/1822574?v=4&s=117" width="117">](https://github.com/jcjmcclean) |[<img alt="vith" src="https://avatars1.githubusercontent.com/u/3265539?v=4&s=117" width="117">](https://github.com/vith) |[<img alt="jessica-coursera" src="https://avatars1.githubusercontent.com/u/35155465?v=4&s=117" width="117">](https://github.com/jessica-coursera) |[<img alt="jderrough" src="https://avatars3.githubusercontent.com/u/1108358?v=4&s=117" width="117">](https://github.com/jderrough) |
:---: |:---: |:---: |:---: |:---: |:---: |
[vith](https://github.com/vith) |[jessica-coursera](https://github.com/jessica-coursera) |[jderrough](https://github.com/jderrough) |[firesharkstudios](https://github.com/firesharkstudios) |[dviry](https://github.com/dviry) |[leods92](https://github.com/leods92) |
[gjungb](https://github.com/gjungb) |[JacobMGEvans](https://github.com/JacobMGEvans) |[jcjmcclean](https://github.com/jcjmcclean) |[vith](https://github.com/vith) |[jessica-coursera](https://github.com/jessica-coursera) |[jderrough](https://github.com/jderrough) |
[<img alt="lucaperret" src="https://avatars1.githubusercontent.com/u/1887122?v=4&s=117" width="117">](https://github.com/lucaperret) |[<img alt="mperrando" src="https://avatars2.githubusercontent.com/u/525572?v=4&s=117" width="117">](https://github.com/mperrando) |[<img alt="mnafees" src="https://avatars1.githubusercontent.com/u/1763885?v=4&s=117" width="117">](https://github.com/mnafees) |[<img alt="phillipalexander" src="https://avatars0.githubusercontent.com/u/1577682?v=4&s=117" width="117">](https://github.com/phillipalexander) |[<img alt="luarmr" src="https://avatars3.githubusercontent.com/u/817416?v=4&s=117" width="117">](https://github.com/luarmr) |[<img alt="phobos101" src="https://avatars2.githubusercontent.com/u/7114944?v=4&s=117" width="117">](https://github.com/phobos101) |
[<img alt="firesharkstudios" src="https://avatars1.githubusercontent.com/u/17069637?v=4&s=117" width="117">](https://github.com/firesharkstudios) |[<img alt="kyleparisi" src="https://avatars0.githubusercontent.com/u/1286753?v=4&s=117" width="117">](https://github.com/kyleparisi) |[<img alt="dviry" src="https://avatars3.githubusercontent.com/u/1230260?v=4&s=117" width="117">](https://github.com/dviry) |[<img alt="leods92" src="https://avatars0.githubusercontent.com/u/879395?v=4&s=117" width="117">](https://github.com/leods92) |[<img alt="lucaperret" src="https://avatars1.githubusercontent.com/u/1887122?v=4&s=117" width="117">](https://github.com/lucaperret) |[<img alt="mperrando" src="https://avatars2.githubusercontent.com/u/525572?v=4&s=117" width="117">](https://github.com/mperrando) |
:---: |:---: |:---: |:---: |:---: |:---: |
[lucaperret](https://github.com/lucaperret) |[mperrando](https://github.com/mperrando) |[mnafees](https://github.com/mnafees) |[phillipalexander](https://github.com/phillipalexander) |[luarmr](https://github.com/luarmr) |[phobos101](https://github.com/phobos101) |
[firesharkstudios](https://github.com/firesharkstudios) |[kyleparisi](https://github.com/kyleparisi) |[dviry](https://github.com/dviry) |[leods92](https://github.com/leods92) |[lucaperret](https://github.com/lucaperret) |[mperrando](https://github.com/mperrando) |
[<img alt="fortunto2" src="https://avatars1.githubusercontent.com/u/1236751?v=4&s=117" width="117">](https://github.com/fortunto2) |[<img alt="sergei-zelinsky" src="https://avatars2.githubusercontent.com/u/19428086?v=4&s=117" width="117">](https://github.com/sergei-zelinsky) |[<img alt="tomsaleeba" src="https://avatars0.githubusercontent.com/u/1773838?v=4&s=117" width="117">](https://github.com/tomsaleeba) |[<img alt="vially" src="https://avatars1.githubusercontent.com/u/433598?v=4&s=117" width="117">](https://github.com/vially) |[<img alt="eltercero" src="https://avatars0.githubusercontent.com/u/545235?v=4&s=117" width="117">](https://github.com/eltercero) |[<img alt="xhocquet" src="https://avatars2.githubusercontent.com/u/8116516?v=4&s=117" width="117">](https://github.com/xhocquet) |
[<img alt="mnafees" src="https://avatars1.githubusercontent.com/u/1763885?v=4&s=117" width="117">](https://github.com/mnafees) |[<img alt="phillipalexander" src="https://avatars0.githubusercontent.com/u/1577682?v=4&s=117" width="117">](https://github.com/phillipalexander) |[<img alt="luarmr" src="https://avatars3.githubusercontent.com/u/817416?v=4&s=117" width="117">](https://github.com/luarmr) |[<img alt="phobos101" src="https://avatars2.githubusercontent.com/u/7114944?v=4&s=117" width="117">](https://github.com/phobos101) |[<img alt="fortunto2" src="https://avatars1.githubusercontent.com/u/1236751?v=4&s=117" width="117">](https://github.com/fortunto2) |[<img alt="sergei-zelinsky" src="https://avatars2.githubusercontent.com/u/19428086?v=4&s=117" width="117">](https://github.com/sergei-zelinsky) |
:---: |:---: |:---: |:---: |:---: |:---: |
[fortunto2](https://github.com/fortunto2) |[sergei-zelinsky](https://github.com/sergei-zelinsky) |[tomsaleeba](https://github.com/tomsaleeba) |[vially](https://github.com/vially) |[eltercero](https://github.com/eltercero) |[xhocquet](https://github.com/xhocquet) |
[mnafees](https://github.com/mnafees) |[phillipalexander](https://github.com/phillipalexander) |[luarmr](https://github.com/luarmr) |[phobos101](https://github.com/phobos101) |[fortunto2](https://github.com/fortunto2) |[sergei-zelinsky](https://github.com/sergei-zelinsky) |
[<img alt="avalla" src="https://avatars1.githubusercontent.com/u/986614?v=4&s=117" width="117">](https://github.com/avalla) |[<img alt="bartvde" src="https://avatars3.githubusercontent.com/u/319678?v=4&s=117" width="117">](https://github.com/bartvde) |[<img alt="c0b41" src="https://avatars1.githubusercontent.com/u/2834954?v=4&s=117" width="117">](https://github.com/c0b41) |[<img alt="craigcbrunner" src="https://avatars3.githubusercontent.com/u/2780521?v=4&s=117" width="117">](https://github.com/craigcbrunner) |[<img alt="franckl" src="https://avatars0.githubusercontent.com/u/3875803?v=4&s=117" width="117">](https://github.com/franckl) |[<img alt="luntta" src="https://avatars0.githubusercontent.com/u/14221637?v=4&s=117" width="117">](https://github.com/luntta) |
[<img alt="tomsaleeba" src="https://avatars0.githubusercontent.com/u/1773838?v=4&s=117" width="117">](https://github.com/tomsaleeba) |[<img alt="vially" src="https://avatars1.githubusercontent.com/u/433598?v=4&s=117" width="117">](https://github.com/vially) |[<img alt="eltercero" src="https://avatars0.githubusercontent.com/u/545235?v=4&s=117" width="117">](https://github.com/eltercero) |[<img alt="xhocquet" src="https://avatars2.githubusercontent.com/u/8116516?v=4&s=117" width="117">](https://github.com/xhocquet) |[<img alt="avalla" src="https://avatars1.githubusercontent.com/u/986614?v=4&s=117" width="117">](https://github.com/avalla) |[<img alt="c0b41" src="https://avatars1.githubusercontent.com/u/2834954?v=4&s=117" width="117">](https://github.com/c0b41) |
:---: |:---: |:---: |:---: |:---: |:---: |
[avalla](https://github.com/avalla) |[bartvde](https://github.com/bartvde) |[c0b41](https://github.com/c0b41) |[craigcbrunner](https://github.com/craigcbrunner) |[franckl](https://github.com/franckl) |[luntta](https://github.com/luntta) |
[tomsaleeba](https://github.com/tomsaleeba) |[vially](https://github.com/vially) |[eltercero](https://github.com/eltercero) |[xhocquet](https://github.com/xhocquet) |[avalla](https://github.com/avalla) |[c0b41](https://github.com/c0b41) |
[<img alt="rhymes" src="https://avatars3.githubusercontent.com/u/146201?v=4&s=117" width="117">](https://github.com/rhymes) |[<img alt="amitport" src="https://avatars1.githubusercontent.com/u/1131991?v=4&s=117" width="117">](https://github.com/amitport) |
:---: |:---: |
[rhymes](https://github.com/rhymes) |[amitport](https://github.com/amitport) |
[<img alt="craigcbrunner" src="https://avatars3.githubusercontent.com/u/2780521?v=4&s=117" width="117">](https://github.com/craigcbrunner) |[<img alt="franckl" src="https://avatars0.githubusercontent.com/u/3875803?v=4&s=117" width="117">](https://github.com/franckl) |[<img alt="luntta" src="https://avatars0.githubusercontent.com/u/14221637?v=4&s=117" width="117">](https://github.com/luntta) |[<img alt="rhymes" src="https://avatars3.githubusercontent.com/u/146201?v=4&s=117" width="117">](https://github.com/rhymes) |[<img alt="asmt3" src="https://avatars1.githubusercontent.com/u/1777709?v=4&s=117" width="117">](https://github.com/asmt3) |
:---: |:---: |:---: |:---: |:---: |
[craigcbrunner](https://github.com/craigcbrunner) |[franckl](https://github.com/franckl) |[luntta](https://github.com/luntta) |[rhymes](https://github.com/rhymes) |[asmt3](https://github.com/asmt3) |
<!--/contributors-->
## License

View file

@ -8,17 +8,45 @@ const path = require('path')
const transformFile = promisify(babel.transformFile)
const writeFile = promisify(fs.writeFile)
const stat = promisify(fs.stat)
const SOURCE = 'packages/{*,@uppy/*}/src/**/*.js'
// Files not to build (such as tests)
const IGNORE = /\.test\.js$|__mocks__|companion\//
// Files that should trigger a rebuild of everything on change
const META_FILES = [
'.babelrc',
'package.json',
'package-lock.json',
'bin/build-lib.js'
]
function lastModified (file) {
return stat(file).then((s) => s.mtime)
}
async function buildLib () {
const metaMtimes = await Promise.all(META_FILES.map((filename) =>
lastModified(path.join(__dirname, '..', filename))
))
const metaMtime = Math.max(...metaMtimes)
const files = await glob(SOURCE)
for (const file of files) {
if (IGNORE.test(file)) continue
const libFile = file.replace('/src/', '/lib/')
// on a fresh build, rebuild everything.
if (!process.env.FRESH) {
const srcMtime = await lastModified(file)
const libMtime = await lastModified(libFile)
.catch(() => 0) // probably doesn't exist
// Skip files that haven't changed
if (srcMtime < libMtime && metaMtime < libMtime) {
continue
}
}
const { code, map } = await transformFile(file, {})
await mkdirp(path.dirname(libFile))
await Promise.all([
@ -29,6 +57,7 @@ async function buildLib () {
}
}
console.log('Using Babel version:', require('babel-core/package.json').version)
buildLib().catch((err) => {
console.error(err.stack)
process.exit(1)

View file

@ -59,7 +59,7 @@ git add README.md
cp README.md packages/uppy/README.md
npm run clean
npm run build
FRESH=1 npm run build
git commit -m "Release"
lerna version --amend --no-push --exact

10
bin/to-gif-hd.sh Normal file
View file

@ -0,0 +1,10 @@
#!/bin/sh
# Convert a video file to a gif.
# `to-gif /path/to/input.mp4 /path/to/output.gif`
palette="/tmp/to-gif-palette.png"
filters="fps=15"
ffmpeg -v warning -i $1 -vf "$filters,palettegen" -y $palette
ffmpeg -v warning -i $1 -i $palette -lavfi "$filters [x]; [x][1:v] paletteuse" -y $2
# resize after
# gifsicle --resize-fit-width 1000 -i animation.gif > animation-1000px.gif

View file

@ -8,7 +8,7 @@
# - Checks if a tag is being built (on Travis - otherwise opts to continue execution regardless)
# - Installs AWS CLI if needed
# - Assumed a fully built uppy is in root dir (unless a specific tag was specified, then it's fetched from npm)
# - Runs npm pack, and stores files to e.g. https://transloadit.edgly.net/releases/uppy/v0.29.0/dist/uppy.css
# - Runs npm pack, and stores files to e.g. https://transloadit.edgly.net/releases/uppy/v0.29.1/dist/uppy.css
# - Uses local package by default, if [version] argument was specified, takes package from npm
#
# Run as:

View file

@ -4,11 +4,11 @@
<title></title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://transloadit.edgly.net/releases/uppy/v0.29.0/dist/uppy.min.css" rel="stylesheet">
<link href="https://transloadit.edgly.net/releases/uppy/v0.29.1/dist/uppy.min.css" rel="stylesheet">
</head>
<body>
<button id="uppyModalOpener">Open Modal</button>
<script src="https://transloadit.edgly.net/releases/uppy/v0.29.0/dist/uppy.min.js"></script>
<script src="https://transloadit.edgly.net/releases/uppy/v0.29.1/dist/uppy.min.js"></script>
<script>
const uppy = Uppy.Core({debug: true, autoProceed: false})
.use(Uppy.Dashboard, { trigger: '#uppyModalOpener' })

View file

@ -4,11 +4,11 @@
<title></title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://transloadit.edgly.net/releases/uppy/v0.29.0/dist/uppy.min.css" rel="stylesheet">
<link href="https://transloadit.edgly.net/releases/uppy/v0.29.1/dist/uppy.min.css" rel="stylesheet">
</head>
<body>
<button id="uppyModalOpener">Open Modal</button>
<script src="https://transloadit.edgly.net/releases/uppy/v0.29.0/dist/uppy.min.js"></script>
<script src="https://transloadit.edgly.net/releases/uppy/v0.29.1/dist/uppy.min.js"></script>
<script>
const uppy = Uppy.Core({debug: true, autoProceed: false})
.use(Uppy.Dashboard, { trigger: '#uppyModalOpener' })

392
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -85,7 +85,7 @@
"build:gzip": "node ./bin/gzip.js",
"size": "echo 'JS Bundle mingz:' && cat ./packages/uppy/dist/uppy.min.js | gzip | wc -c && echo 'CSS Bundle mingz:' && cat ./packages/uppy/dist/uppy.min.css | gzip | wc -c",
"build:js": "npm-run-all build:lib build:bundle",
"build:lib": "babel --version && node ./bin/build-lib.js",
"build:lib": "node ./bin/build-lib.js",
"build": "npm-run-all --parallel build:js build:css build:companion --serial build:gzip size",
"clean": "rm -rf packages/*/lib packages/@uppy/*/lib && rm -rf packages/uppy/dist",
"lint:fix": "npm run lint -- --fix",
@ -101,7 +101,7 @@
"test:prepare-ci": "npm-run-all --parallel --race test:registry test:build-ci",
"test:acceptance": "npm run test:prepare-ci && wdio test/endtoend/wdio.remote.conf.js",
"test:acceptance:local": "npm run test:build && wdio test/endtoend/wdio.local.conf.js",
"test:unit": "jest",
"test:unit": "npm run build:lib && jest",
"test:companion": "cd ./packages/@uppy/companion && npm run test",
"test:type": "tsc -p .",
"test": "npm run lint && npm run test:unit && npm run test:type && npm run test:companion",

View file

@ -1,10 +1,9 @@
{
"name": "@uppy/aws-s3-multipart",
"description": "Upload to Amazon S3 with Uppy and S3's Multipart upload strategy",
"version": "0.29.0",
"version": "0.29.1",
"license": "MIT",
"main": "lib/index.js",
"jsnext:main": "src/index.js",
"types": "types/index.d.ts",
"keywords": [
"file uploader",
@ -24,12 +23,12 @@
"url": "git+https://github.com/transloadit/uppy.git"
},
"dependencies": {
"@uppy/companion-client": "0.27.2",
"@uppy/utils": "0.29.0",
"@uppy/companion-client": "0.27.3",
"@uppy/utils": "0.29.1",
"resolve-url": "^0.2.1"
},
"devDependencies": {
"@uppy/core": "0.29.0"
"@uppy/core": "0.29.1"
},
"peerDependencies": {
"@uppy/core": "^0.29.0"

View file

@ -1,10 +1,9 @@
{
"name": "@uppy/aws-s3",
"description": "Upload to Amazon S3 with Uppy",
"version": "0.29.0",
"version": "0.29.1",
"license": "MIT",
"main": "lib/index.js",
"jsnext:main": "src/index.js",
"types": "types/index.d.ts",
"keywords": [
"file uploader",
@ -23,13 +22,13 @@
"url": "git+https://github.com/transloadit/uppy.git"
},
"dependencies": {
"@uppy/companion-client": "0.27.2",
"@uppy/utils": "0.29.0",
"@uppy/xhr-upload": "0.29.0",
"@uppy/companion-client": "0.27.3",
"@uppy/utils": "0.29.1",
"@uppy/xhr-upload": "0.29.1",
"resolve-url": "^0.2.1"
},
"devDependencies": {
"@uppy/core": "0.29.0"
"@uppy/core": "0.29.1"
},
"peerDependencies": {
"@uppy/core": "^0.29.0"

View file

@ -1,10 +1,9 @@
{
"name": "@uppy/companion-client",
"description": "Client library for communication with Companion. Intended for use in Uppy plugins.",
"version": "0.27.2",
"version": "0.27.3",
"license": "MIT",
"main": "lib/index.js",
"jsnext:main": "src/index.js",
"types": "types/index.d.ts",
"keywords": [
"file uploader",

View file

@ -1,6 +1,6 @@
{
"name": "@uppy/companion",
"version": "0.16.0",
"version": "0.16.1",
"description": "OAuth helper and remote fetcher for Uppy's (https://uppy.io) extensible file upload widget with support for drag&drop, resumable uploads, previews, restrictions, file processing/encoding, remote providers like Dropbox and Google Drive, S3 and more :dog:",
"main": "lib/uppy.js",
"types": "types/index.d.ts",

View file

@ -1,10 +1,9 @@
{
"name": "@uppy/core",
"description": "Core module for the extensible JavaScript file upload widget with support for drag&drop, resumable uploads, previews, restrictions, file processing/encoding, remote providers like Instagram, Dropbox, Google Drive, S3 and more :dog:",
"version": "0.29.0",
"version": "0.29.1",
"license": "MIT",
"main": "lib/index.js",
"jsnext:main": "src/index.js",
"style": "dist/style.min.css",
"types": "types/index.d.ts",
"keywords": [
@ -21,8 +20,8 @@
"url": "git+https://github.com/transloadit/uppy.git"
},
"dependencies": {
"@uppy/store-default": "0.27.0",
"@uppy/utils": "0.29.0",
"@uppy/store-default": "0.27.1",
"@uppy/utils": "0.29.1",
"cuid": "^2.1.1",
"lodash.throttle": "^4.1.1",
"mime-match": "^1.0.2",

View file

@ -1,10 +1,9 @@
{
"name": "@uppy/dashboard",
"description": "Universal UI plugin for Uppy.",
"version": "0.29.0",
"version": "0.29.1",
"license": "MIT",
"main": "lib/index.js",
"jsnext:main": "src/index.js",
"style": "dist/style.min.css",
"types": "types/index.d.ts",
"keywords": [
@ -23,11 +22,11 @@
"url": "git+https://github.com/transloadit/uppy.git"
},
"dependencies": {
"@uppy/informer": "0.29.0",
"@uppy/provider-views": "0.29.0",
"@uppy/status-bar": "0.29.0",
"@uppy/thumbnail-generator": "0.29.0",
"@uppy/utils": "0.29.0",
"@uppy/informer": "0.29.1",
"@uppy/provider-views": "0.29.1",
"@uppy/status-bar": "0.29.1",
"@uppy/thumbnail-generator": "0.29.1",
"@uppy/utils": "0.29.1",
"classnames": "^2.2.6",
"drag-drop": "2.13.3",
"lodash.throttle": "^4.1.1",
@ -37,8 +36,8 @@
"resize-observer-polyfill": "^1.5.0"
},
"devDependencies": {
"@uppy/core": "0.29.0",
"@uppy/google-drive": "0.29.0"
"@uppy/core": "0.29.1",
"@uppy/google-drive": "0.29.1"
},
"peerDependencies": {
"@uppy/core": "^0.29.0"

View file

@ -1,10 +1,9 @@
{
"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",
"types": "types/index.d.ts",
"keywords": [
@ -26,12 +25,12 @@
"url": "git+https://github.com/transloadit/uppy.git"
},
"dependencies": {
"@uppy/utils": "0.29.0",
"@uppy/utils": "0.29.1",
"drag-drop": "2.13.3",
"preact": "^8.2.9"
},
"devDependencies": {
"@uppy/core": "0.29.0"
"@uppy/core": "0.29.1"
},
"peerDependencies": {
"@uppy/core": "^0.29.0"

View file

@ -1,10 +1,9 @@
{
"name": "@uppy/dropbox",
"description": "Import files from Dropbox, into Uppy.",
"version": "0.29.0",
"version": "0.29.1",
"license": "MIT",
"main": "lib/index.js",
"jsnext:main": "src/index.js",
"types": "types/index.d.ts",
"keywords": [
"file uploader",
@ -21,13 +20,13 @@
"url": "git+https://github.com/transloadit/uppy.git"
},
"dependencies": {
"@uppy/companion-client": "0.27.2",
"@uppy/provider-views": "0.29.0",
"@uppy/utils": "0.29.0",
"@uppy/companion-client": "0.27.3",
"@uppy/provider-views": "0.29.1",
"@uppy/utils": "0.29.1",
"preact": "^8.2.9"
},
"devDependencies": {
"@uppy/core": "0.29.0"
"@uppy/core": "0.29.1"
},
"peerDependencies": {
"@uppy/core": "^0.29.0"

View file

@ -1,10 +1,9 @@
{
"name": "@uppy/file-input",
"description": "Simple UI of a file input button that works with Uppy right out of the box",
"version": "0.29.0",
"version": "0.29.1",
"license": "MIT",
"main": "lib/index.js",
"jsnext:main": "src/index.js",
"style": "dist/style.min.css",
"types": "types/index.d.ts",
"keywords": [
@ -23,11 +22,11 @@
"url": "git+https://github.com/transloadit/uppy.git"
},
"dependencies": {
"@uppy/utils": "0.29.0",
"@uppy/utils": "0.29.1",
"preact": "^8.2.9"
},
"devDependencies": {
"@uppy/core": "0.29.0"
"@uppy/core": "0.29.1"
},
"peerDependencies": {
"@uppy/core": "^0.29.0"

View file

@ -1,10 +1,9 @@
{
"name": "@uppy/form",
"description": "Connect Uppy to an existing HTML <form>.",
"version": "0.29.0",
"version": "0.29.1",
"license": "MIT",
"main": "lib/index.js",
"jsnext:main": "src/index.js",
"types": "types/index.d.ts",
"keywords": [
"file uploader",
@ -21,11 +20,11 @@
"url": "git+https://github.com/transloadit/uppy.git"
},
"dependencies": {
"@uppy/utils": "0.29.0",
"@uppy/utils": "0.29.1",
"get-form-data": "^2.0.0"
},
"devDependencies": {
"@uppy/core": "0.29.0"
"@uppy/core": "0.29.1"
},
"peerDependencies": {
"@uppy/core": "^0.29.0"

View file

@ -1,10 +1,9 @@
{
"name": "@uppy/golden-retriever",
"description": "The GoldenRetriever Uppy plugin saves selected files in browser cache to seamlessly resume uploding after browser crash or accidentally closed tab",
"version": "0.29.0",
"version": "0.29.1",
"license": "MIT",
"main": "lib/index.js",
"jsnext:main": "src/index.js",
"types": "types/index.d.ts",
"keywords": [
"file uploader",
@ -24,11 +23,11 @@
"url": "git+https://github.com/transloadit/uppy.git"
},
"dependencies": {
"@uppy/utils": "0.29.0",
"@uppy/utils": "0.29.1",
"prettier-bytes": "^1.0.4"
},
"devDependencies": {
"@uppy/core": "0.29.0"
"@uppy/core": "0.29.1"
},
"peerDependencies": {
"@uppy/core": "^0.29.0"

View file

@ -1,10 +1,9 @@
{
"name": "@uppy/google-drive",
"description": "The Google Drive plugin for Uppy lets users import files from their Google Drive account",
"version": "0.29.0",
"version": "0.29.1",
"license": "MIT",
"main": "lib/index.js",
"jsnext:main": "src/index.js",
"types": "types/index.d.ts",
"keywords": [
"file uploader",
@ -22,13 +21,13 @@
"url": "git+https://github.com/transloadit/uppy.git"
},
"dependencies": {
"@uppy/companion-client": "0.27.2",
"@uppy/provider-views": "0.29.0",
"@uppy/utils": "0.29.0",
"@uppy/companion-client": "0.27.3",
"@uppy/provider-views": "0.29.1",
"@uppy/utils": "0.29.1",
"preact": "^8.2.9"
},
"devDependencies": {
"@uppy/core": "0.29.0"
"@uppy/core": "0.29.1"
},
"peerDependencies": {
"@uppy/core": "^0.29.0"

View file

@ -1,10 +1,9 @@
{
"name": "@uppy/informer",
"description": "A notification and error pop-up bar for Uppy.",
"version": "0.29.0",
"version": "0.29.1",
"license": "MIT",
"main": "lib/index.js",
"jsnext:main": "src/index.js",
"style": "dist/style.min.css",
"types": "types/index.d.ts",
"keywords": [
@ -24,11 +23,11 @@
"url": "git+https://github.com/transloadit/uppy.git"
},
"dependencies": {
"@uppy/utils": "0.29.0",
"@uppy/utils": "0.29.1",
"preact": "^8.2.9"
},
"devDependencies": {
"@uppy/core": "0.29.0"
"@uppy/core": "0.29.1"
},
"peerDependencies": {
"@uppy/core": "^0.29.0"

View file

@ -1,10 +1,9 @@
{
"name": "@uppy/instagram",
"description": "Import photos and videos from Instagram, into Uppy.",
"version": "0.29.0",
"version": "0.29.1",
"license": "MIT",
"main": "lib/index.js",
"jsnext:main": "src/index.js",
"types": "types/index.d.ts",
"keywords": [
"file uploader",
@ -24,13 +23,13 @@
"url": "git+https://github.com/transloadit/uppy.git"
},
"dependencies": {
"@uppy/companion-client": "0.27.2",
"@uppy/provider-views": "0.29.0",
"@uppy/utils": "0.29.0",
"@uppy/companion-client": "0.27.3",
"@uppy/provider-views": "0.29.1",
"@uppy/utils": "0.29.1",
"preact": "^8.2.9"
},
"devDependencies": {
"@uppy/core": "0.29.0"
"@uppy/core": "0.29.1"
},
"peerDependencies": {
"@uppy/core": "^0.29.0"

View file

@ -1,10 +1,9 @@
{
"name": "@uppy/progress-bar",
"description": "A progress bar UI for Uppy",
"version": "0.29.0",
"version": "0.29.1",
"license": "MIT",
"main": "lib/index.js",
"jsnext:main": "src/index.js",
"style": "dist/style.min.css",
"types": "types/index.d.ts",
"keywords": [
@ -24,11 +23,11 @@
"url": "git+https://github.com/transloadit/uppy.git"
},
"dependencies": {
"@uppy/utils": "0.29.0",
"@uppy/utils": "0.29.1",
"preact": "^8.2.9"
},
"devDependencies": {
"@uppy/core": "0.29.0"
"@uppy/core": "0.29.1"
},
"peerDependencies": {
"@uppy/core": "^0.29.0"

View file

@ -1,10 +1,9 @@
{
"name": "@uppy/provider-views",
"description": "View library for Uppy remote provider plugins.",
"version": "0.29.0",
"version": "0.29.1",
"license": "MIT",
"main": "lib/index.js",
"jsnext:main": "src/index.js",
"style": "dist/style.min.css",
"types": "types/index.d.ts",
"keywords": [
@ -20,12 +19,12 @@
"url": "git+https://github.com/transloadit/uppy.git"
},
"dependencies": {
"@uppy/utils": "0.29.0",
"@uppy/utils": "0.29.1",
"classnames": "^2.2.6",
"preact": "^8.2.9"
},
"devDependencies": {
"@uppy/core": "0.29.0"
"@uppy/core": "0.29.1"
},
"peerDependencies": {
"@uppy/core": "^0.29.0"

View file

@ -1,7 +1,7 @@
{
"name": "@uppy/react",
"description": "React component wrappers around Uppy's official UI plugins.",
"version": "0.29.0",
"version": "0.29.1",
"license": "MIT",
"main": "index.js",
"module": "index.mjs",
@ -22,15 +22,15 @@
"url": "git+https://github.com/transloadit/uppy.git"
},
"dependencies": {
"@uppy/dashboard": "0.29.0",
"@uppy/drag-drop": "0.29.0",
"@uppy/progress-bar": "0.29.0",
"@uppy/status-bar": "0.29.0",
"@uppy/utils": "0.29.0",
"@uppy/dashboard": "0.29.1",
"@uppy/drag-drop": "0.29.1",
"@uppy/progress-bar": "0.29.1",
"@uppy/status-bar": "0.29.1",
"@uppy/utils": "0.29.1",
"prop-types": "^15.6.1"
},
"devDependencies": {
"@uppy/core": "0.29.0"
"@uppy/core": "0.29.1"
},
"peerDependencies": {
"@uppy/core": "^0.29.0"

View file

@ -1,10 +1,9 @@
{
"name": "@uppy/redux-dev-tools",
"description": "Redux developer tools plugin for Uppy that simply syncs Uppys state with redux-devtools browser or JS extensions, and allows for basic time travel",
"version": "0.29.0",
"version": "0.29.1",
"license": "MIT",
"main": "lib/index.js",
"jsnext:main": "src/index.js",
"types": "types/index.d.ts",
"keywords": [
"file uploader",
@ -22,7 +21,7 @@
"url": "git+https://github.com/transloadit/uppy.git"
},
"devDependencies": {
"@uppy/core": "0.29.0"
"@uppy/core": "0.29.1"
},
"peerDependencies": {
"@uppy/core": "^0.29.0"

View file

@ -1,10 +1,9 @@
{
"name": "@uppy/status-bar",
"description": "A progress bar for Uppy, with many bells and whistles.",
"version": "0.29.0",
"version": "0.29.1",
"license": "MIT",
"main": "lib/index.js",
"jsnext:main": "src/index.js",
"style": "dist/style.min.css",
"types": "types/index.d.ts",
"keywords": [
@ -27,14 +26,14 @@
"url": "git+https://github.com/transloadit/uppy.git"
},
"dependencies": {
"@uppy/utils": "0.29.0",
"@uppy/utils": "0.29.1",
"classnames": "^2.2.6",
"lodash.throttle": "^4.1.1",
"preact": "^8.2.9",
"prettier-bytes": "^1.0.4"
},
"devDependencies": {
"@uppy/core": "0.29.0"
"@uppy/core": "0.29.1"
},
"peerDependencies": {
"@uppy/core": "^0.29.0"

View file

@ -165,13 +165,14 @@ const RetryBtn = (props) => {
}
const CancelBtn = (props) => {
return <button type="button"
return <button
type="button"
class="uppy-u-reset uppy-StatusBar-actionCircleBtn"
title={props.i18n('cancel')}
aria-label={props.i18n('cancel')}
onclick={props.cancelAll}>
<svg aria-hidden="true" class="UppyIcon" width="8" height="8" viewBox="0 0 8 8" xmlns="http://www.w3.org/2000/svg">
<path d="M5.21 4.104l1.658 1.658-1.106 1.106-1.658-1.659-1.659 1.659L1.34 5.762l1.658-1.658L1.34 2.445 2.445 1.34l1.659 1.658L5.762 1.34l1.106 1.105-1.659 1.659z" fill-rule="evenodd" />
<svg aria-hidden="true" class="UppyIcon" width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
<path d="M8 16A8 8 0 1 1 8 0a8 8 0 0 1 0 16zm1.414-8l2.122-2.121-1.415-1.415L8 6.586 5.879 4.464 4.464 5.88 6.586 8l-2.122 2.121 1.415 1.415L8 9.414l2.121 2.122 1.415-1.415L9.414 8z" fill="#949494" fill-rule="evenodd" />
</svg>
</button>
}
@ -180,13 +181,18 @@ const PauseResumeButton = (props) => {
const { isAllPaused, i18n } = props
const title = isAllPaused ? i18n('resume') : i18n('pause')
return <button title={title} class="uppy-u-reset uppy-StatusBar-actionCircleBtn" type="button" onclick={() => togglePauseResume(props)}>
return <button
title={title}
aria-label={title}
class="uppy-u-reset uppy-StatusBar-actionCircleBtn"
type="button"
onclick={() => togglePauseResume(props)}>
{isAllPaused
? <svg aria-hidden="true" class="UppyIcon" width="8" height="8" viewBox="0 0 8 8" xmlns="http://www.w3.org/2000/svg">
<path d="M6.736 3.852l-4.472 2.84V1.075z" fill-rule="evenodd" />
? <svg aria-hidden="true" class="UppyIcon" width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
<path d="M8 16A8 8 0 1 1 8 0a8 8 0 0 1 0 16zM6 5v6l5-3-5-3z" fill="#949494" fill-rule="evenodd" />
</svg>
: <svg aria-hidden="true" class="UppyIcon" width="8" height="8" viewBox="0 0 8 8" xmlns="http://www.w3.org/2000/svg">
<path d="M1 1h2v6H1zM5 1h2v6H5z" fill-rule="evenodd" />
: <svg aria-hidden="true" class="UppyIcon" width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
<path d="M8 16A8 8 0 1 1 8 0a8 8 0 0 1 0 16zM5 5v6h2V5H5zm4 0v6h2V5H9z" fill="#949494" fill-rule="evenodd" />
</svg>
}
</button>

View file

@ -16,7 +16,7 @@
}
.uppy-size--md .uppy-StatusBar {
height: 45px;
height: 46px;
font-size: 14px;
}
@ -197,31 +197,38 @@
}
.uppy-StatusBar-actionCircleBtn {
display: flex;
align-items: center;
justify-content: center;
width: 20px;
height: 20px;
border-radius: 50%;
line-height: 1;
cursor: pointer;
color: rgba($color-black, 0.6);
background-color: rgba($color-gray, 0.3);
text-align: center;
padding: 4px;
// display: flex;
// align-items: center;
// justify-content: center;
// width: 20px;
// height: 20px;
// border-radius: 50%;
// color: rgba($color-black, 0.6);
// background-color: rgba($color-gray, 0.3);
// text-align: center;
}
.uppy-StatusBar-actionCircleBtn:not(:last-child) {
margin-right: 8px;
.uppy-StatusBar-actionCircleBtn:focus {
outline: 2px solid $color-cornflower-blue;
outline-offset: 0;
}
// .uppy-StatusBar-actionCircleBtn:not(:last-child) {
// margin-right: 2px;
// }
// .uppy-size--md .uppy-StatusBar-actionCircleBtn {
// padding: 1px 4px;
// }
.uppy-StatusBar-actionCircleBtn svg {
width: 12px;
height: 12px;
fill: currentColor;
// vertical-align: middle;
// width: 12px;
// height: 12px;
// fill: currentColor;
vertical-align: bottom;
}
.uppy-StatusBar-actionBtn {

View file

@ -1,10 +1,9 @@
{
"name": "@uppy/store-default",
"description": "The default simple object-based store for Uppy.",
"version": "0.27.0",
"version": "0.27.1",
"license": "MIT",
"main": "lib/index.js",
"jsnext:main": "src/index.js",
"types": "types/index.d.ts",
"keywords": [
"file uploader",

View file

@ -1,10 +1,9 @@
{
"name": "@uppy/store-redux",
"description": "Make Uppy use your existing Redux store.",
"version": "0.27.0",
"version": "0.27.1",
"license": "MIT",
"main": "lib/index.js",
"jsnext:main": "src/index.js",
"types": "types/index.d.ts",
"keywords": [
"file uploader",

View file

@ -1,10 +1,9 @@
{
"name": "@uppy/thumbnail-generator",
"description": "Uppy plugin that generates small previews of images to show on your upload UI.",
"version": "0.29.0",
"version": "0.29.1",
"license": "MIT",
"main": "lib/index.js",
"jsnext:main": "src/index.js",
"types": "types/index.d.ts",
"keywords": [
"file uploader",
@ -23,10 +22,10 @@
"url": "git+https://github.com/transloadit/uppy.git"
},
"dependencies": {
"@uppy/utils": "0.29.0"
"@uppy/utils": "0.29.1"
},
"devDependencies": {
"@uppy/core": "0.29.0",
"@uppy/core": "0.29.1",
"namespace-emitter": "^2.0.1"
},
"peerDependencies": {

View file

@ -1,10 +1,9 @@
{
"name": "@uppy/transloadit",
"description": "The Transloadit plugin can be used to upload files to Transloadit for all kinds of processing, such as transcoding video, resizing images, zipping/unzipping, and more",
"version": "0.29.0",
"version": "0.29.1",
"license": "MIT",
"main": "lib/index.js",
"jsnext:main": "src/index.js",
"types": "types/index.d.ts",
"keywords": [
"file uploader",
@ -28,15 +27,15 @@
"url": "git+https://github.com/transloadit/uppy.git"
},
"dependencies": {
"@uppy/companion-client": "0.27.2",
"@uppy/provider-views": "0.29.0",
"@uppy/tus": "0.29.0",
"@uppy/utils": "0.29.0",
"@uppy/companion-client": "0.27.3",
"@uppy/provider-views": "0.29.1",
"@uppy/tus": "0.29.1",
"@uppy/utils": "0.29.1",
"component-emitter": "^1.2.1",
"socket.io-client": "^2.1.1"
},
"devDependencies": {
"@uppy/core": "0.29.0"
"@uppy/core": "0.29.1"
},
"peerDependencies": {
"@uppy/core": "^0.29.0"

View file

@ -1,10 +1,9 @@
{
"name": "@uppy/tus",
"description": "Resumable uploads for Uppy using Tus.io",
"version": "0.29.0",
"version": "0.29.1",
"license": "MIT",
"main": "lib/index.js",
"jsnext:main": "src/index.js",
"types": "types/index.d.ts",
"keywords": [
"file uploader",
@ -23,12 +22,12 @@
"url": "git+https://github.com/transloadit/uppy.git"
},
"dependencies": {
"@uppy/companion-client": "0.27.2",
"@uppy/utils": "0.29.0",
"@uppy/companion-client": "0.27.3",
"@uppy/utils": "0.29.1",
"tus-js-client": "^1.5.1"
},
"devDependencies": {
"@uppy/core": "0.29.0"
"@uppy/core": "0.29.1"
},
"peerDependencies": {
"@uppy/core": "^0.29.0"

View file

@ -1,10 +1,9 @@
{
"name": "@uppy/url",
"description": "The Url plugin lets users import files from the Internet. Paste any URL and itll be added!",
"version": "0.29.0",
"version": "0.29.1",
"license": "MIT",
"main": "lib/index.js",
"jsnext:main": "src/index.js",
"style": "dist/style.min.css",
"types": "types/index.d.ts",
"keywords": [
@ -23,12 +22,12 @@
"url": "git+https://github.com/transloadit/uppy.git"
},
"dependencies": {
"@uppy/companion-client": "0.27.2",
"@uppy/utils": "0.29.0",
"@uppy/companion-client": "0.27.3",
"@uppy/utils": "0.29.1",
"preact": "^8.2.9"
},
"devDependencies": {
"@uppy/core": "0.29.0"
"@uppy/core": "0.29.1"
},
"peerDependencies": {
"@uppy/core": "^0.29.0"

View file

@ -1,10 +1,9 @@
{
"name": "@uppy/utils",
"description": "Shared utility functions for Uppy Core and plugins maintained by the Uppy team.",
"version": "0.29.0",
"version": "0.29.1",
"license": "MIT",
"main": "lib/index.js",
"jsnext:main": "src/index.js",
"types": "types/index.d.ts",
"keywords": [
"file uploader",

View file

@ -1,10 +1,9 @@
{
"name": "@uppy/webcam",
"description": "Uppy plugin that takes photos or records videos using the device's camera.",
"version": "0.29.0",
"version": "0.29.1",
"license": "MIT",
"main": "lib/index.js",
"jsnext:main": "src/index.js",
"style": "dist/style.min.css",
"types": "types/index.d.ts",
"keywords": [
@ -27,11 +26,11 @@
"url": "git+https://github.com/transloadit/uppy.git"
},
"dependencies": {
"@uppy/utils": "0.29.0",
"@uppy/utils": "0.29.1",
"preact": "^8.2.9"
},
"devDependencies": {
"@uppy/core": "0.29.0"
"@uppy/core": "0.29.1"
},
"peerDependencies": {
"@uppy/core": "^0.29.0"

View file

@ -1,10 +1,9 @@
{
"name": "@uppy/xhr-upload",
"description": "Plain and simple classic HTML multipart form uploads with Uppy, as well as uploads using the HTTP PUT method.",
"version": "0.29.0",
"version": "0.29.1",
"license": "MIT",
"main": "lib/index.js",
"jsnext:main": "src/index.js",
"types": "types/index.d.ts",
"keywords": [
"file uploader",
@ -25,12 +24,12 @@
"url": "git+https://github.com/transloadit/uppy.git"
},
"dependencies": {
"@uppy/companion-client": "0.27.2",
"@uppy/utils": "0.29.0",
"@uppy/companion-client": "0.27.3",
"@uppy/utils": "0.29.1",
"cuid": "^2.1.1"
},
"devDependencies": {
"@uppy/core": "0.29.0"
"@uppy/core": "0.29.1"
},
"peerDependencies": {
"@uppy/core": "^0.29.0"

View file

@ -207,12 +207,12 @@ module.exports = class XHRUpload extends Plugin {
xhr.upload.addEventListener('loadstart', (ev) => {
this.uppy.log(`[XHRUpload] ${id} started`)
// Begin checking for timeouts when loading starts.
timer.progress()
})
xhr.upload.addEventListener('progress', (ev) => {
this.uppy.log(`[XHRUpload] ${id} progress: ${ev.loaded} / ${ev.total}`)
// Begin checking for timeouts when progress starts, instead of loading,
// to avoid timing out requests on browser concurrency queue
timer.progress()
if (ev.lengthComputable) {

View file

@ -1,7 +1,7 @@
{
"name": "uppy",
"description": "Extensible JavaScript file upload widget with support for drag&drop, resumable uploads, previews, restrictions, file processing/encoding, remote providers like Instagram, Dropbox, Google Drive, S3 and more :dog:",
"version": "0.29.0",
"version": "0.29.1",
"license": "MIT",
"main": "index.js",
"module": "index.mjs",
@ -30,31 +30,31 @@
"url": "git+https://github.com/transloadit/uppy.git"
},
"dependencies": {
"@uppy/aws-s3": "0.29.0",
"@uppy/aws-s3-multipart": "0.29.0",
"@uppy/companion-client": "0.27.2",
"@uppy/core": "0.29.0",
"@uppy/dashboard": "0.29.0",
"@uppy/drag-drop": "0.29.0",
"@uppy/dropbox": "0.29.0",
"@uppy/file-input": "0.29.0",
"@uppy/form": "0.29.0",
"@uppy/golden-retriever": "0.29.0",
"@uppy/google-drive": "0.29.0",
"@uppy/informer": "0.29.0",
"@uppy/instagram": "0.29.0",
"@uppy/progress-bar": "0.29.0",
"@uppy/provider-views": "0.29.0",
"@uppy/redux-dev-tools": "0.29.0",
"@uppy/status-bar": "0.29.0",
"@uppy/store-default": "0.27.0",
"@uppy/store-redux": "0.27.0",
"@uppy/thumbnail-generator": "0.29.0",
"@uppy/transloadit": "0.29.0",
"@uppy/tus": "0.29.0",
"@uppy/url": "0.29.0",
"@uppy/webcam": "0.29.0",
"@uppy/xhr-upload": "0.29.0"
"@uppy/aws-s3": "0.29.1",
"@uppy/aws-s3-multipart": "0.29.1",
"@uppy/companion-client": "0.27.3",
"@uppy/core": "0.29.1",
"@uppy/dashboard": "0.29.1",
"@uppy/drag-drop": "0.29.1",
"@uppy/dropbox": "0.29.1",
"@uppy/file-input": "0.29.1",
"@uppy/form": "0.29.1",
"@uppy/golden-retriever": "0.29.1",
"@uppy/google-drive": "0.29.1",
"@uppy/informer": "0.29.1",
"@uppy/instagram": "0.29.1",
"@uppy/progress-bar": "0.29.1",
"@uppy/provider-views": "0.29.1",
"@uppy/redux-dev-tools": "0.29.1",
"@uppy/status-bar": "0.29.1",
"@uppy/store-default": "0.27.1",
"@uppy/store-redux": "0.27.1",
"@uppy/thumbnail-generator": "0.29.1",
"@uppy/transloadit": "0.29.1",
"@uppy/tus": "0.29.1",
"@uppy/url": "0.29.1",
"@uppy/webcam": "0.29.1",
"@uppy/xhr-upload": "0.29.1"
},
"devDependencies": {
"es6-promise": "4.2.5",

View file

@ -18,12 +18,12 @@ Heres the simplest example html page with Uppy (it uses a CDN bundle, while w
<head>
<meta charset="utf-8">
<title>Uppy</title>
<link href="https://transloadit.edgly.net/releases/uppy/v0.29.0/dist/uppy.min.css" rel="stylesheet">
<link href="https://transloadit.edgly.net/releases/uppy/v0.29.1/dist/uppy.min.css" rel="stylesheet">
</head>
<body>
<div id="drag-drop-area"></div>
<script src="https://transloadit.edgly.net/releases/uppy/v0.29.0/dist/uppy.min.js"></script>
<script src="https://transloadit.edgly.net/releases/uppy/v0.29.1/dist/uppy.min.js"></script>
<script>
var uppy = Uppy.Core()
.use(Uppy.Dashboard, {
@ -112,12 +112,12 @@ You can also use a pre-built bundle from Transloadit's CDN: Edgly. `Uppy` will a
1\. Add a script at the bottom of the closing `</body>` tag:
``` html
<script src="https://transloadit.edgly.net/releases/uppy/v0.29.0/dist/uppy.min.js"></script>
<script src="https://transloadit.edgly.net/releases/uppy/v0.29.1/dist/uppy.min.js"></script>
```
2\. Add CSS to `<head>`:
``` html
<link href="https://transloadit.edgly.net/releases/uppy/v0.29.0/dist/uppy.min.css" rel="stylesheet">
<link href="https://transloadit.edgly.net/releases/uppy/v0.29.1/dist/uppy.min.css" rel="stylesheet">
```
3\. Initialize at the bottom of the closing `</body>` tag:
@ -168,5 +168,5 @@ If you're using Uppy via a script tag, you can load the polyfills from [JSDelivr
```html
<script src="https://cdn.jsdelivr.net/npm/es6-promise@4.2.5/dist/es6-promise.auto.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/whatwg-fetch@3.0.0/dist/fetch.umd.min.js"></script>
<script src="https://transloadit.edgly.net/releases/uppy/v0.29.0/dist/uppy.min.js"></script>
<script src="https://transloadit.edgly.net/releases/uppy/v0.29.1/dist/uppy.min.js"></script>
```

View file

@ -1,11 +1,11 @@
<!-- Basic Uppy styles. You can use Transloadit's CDN, Edgly:
https://transloadit.edgly.net/releases/uppy/v0.29.0/dist/uppy.min.css -->
https://transloadit.edgly.net/releases/uppy/v0.29.1/dist/uppy.min.css -->
<link rel="stylesheet" href="/uppy/uppy.min.css">
<div class="UppyDragDrop"></div>
<!-- Load Uppy pre-built bundled version. You can use Transloadit's CDN, Edgly:
https://transloadit.edgly.net/releases/uppy/v0.29.0/dist/uppy.min.js -->
https://transloadit.edgly.net/releases/uppy/v0.29.1/dist/uppy.min.js -->
<script src="/uppy/uppy.min.js"></script>
<script>
var uppy = Uppy.Core({ debug: true, autoProceed: true });

View file

@ -82,8 +82,8 @@
<p><a href="/privacy-policy/">Privacy Policy</a></p>
</footer>
<link href="https://transloadit.edgly.net/releases/uppy/v0.29.0/dist/uppy.min.css" rel="stylesheet">
<script src="https://transloadit.edgly.net/releases/uppy/v0.29.0/dist/uppy.min.js"></script>
<link href="https://transloadit.edgly.net/releases/uppy/v0.29.1/dist/uppy.min.css" rel="stylesheet">
<script src="https://transloadit.edgly.net/releases/uppy/v0.29.1/dist/uppy.min.js"></script>
<script>
var TUS_ENDPOINT = 'https://master.tus.io/files/'