This commit is contained in:
Artur Paikin 2021-08-24 20:50:09 +01:00
parent b398248198
commit d69043aacc
45 changed files with 58 additions and 58 deletions

View file

@ -1,7 +1,7 @@
# Uppy
Hi, thanks for trying out the bundled version of the Uppy File Uploader. You can use
this from a CDN (e.g. `<script src="https://releases.transloadit.com/uppy/v2.0.0/uppy.min.js"></script>`) or bundle it with your webapp.
this from a CDN (e.g. `<script src="https://releases.transloadit.com/uppy/v2.0.1/uppy.min.js"></script>`) or bundle it with your webapp.
Note that the recommended way to use Uppy is to install it with yarn/npm and use a
bundler like Webpack so that you can create a smaller custom build with just the

View file

@ -69,7 +69,7 @@ $ npm install @uppy/core @uppy/dashboard @uppy/tus
We recommend installing from npm and then using a module bundler such as [Webpack](https://webpack.js.org/), [Browserify](http://browserify.org/) or [Rollup.js](http://rollupjs.org/).
Add CSS [uppy.min.css](https://releases.transloadit.com/uppy/v2.0.0/uppy.min.css), either to your HTML page's `<head>` 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://releases.transloadit.com/uppy/v2.0.1/uppy.min.css), either to your HTML page's `<head>` 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.
@ -77,10 +77,10 @@ Alternatively, you can also use a pre-built bundle from Transloadit's CDN: Edgly
```html
<!-- 1. Add CSS to `<head>` -->
<link href="https://releases.transloadit.com/uppy/v2.0.0/uppy.min.css" rel="stylesheet">
<link href="https://releases.transloadit.com/uppy/v2.0.1/uppy.min.css" rel="stylesheet">
<!-- 2. Add JS before the closing `</body>` -->
<script src="https://releases.transloadit.com/uppy/v2.0.0/uppy.min.js"></script>
<script src="https://releases.transloadit.com/uppy/v2.0.1/uppy.min.js"></script>
<!-- 3. Initialize -->
<div class="UppyDragDrop"></div>
@ -190,7 +190,7 @@ If you're using Uppy from CDN, those polyfills are already included in the legac
bundle, so no need to include anything additionally:
```html
<script src="https://releases.transloadit.com/uppy/v2.0.0/uppy.min.js"></script>
<script src="https://releases.transloadit.com/uppy/v2.0.1/uppy.min.js"></script>
```
## FAQ

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://releases.transloadit.com/uppy/v2.0.0/uppy.min.css" rel="stylesheet">
<link href="https://releases.transloadit.com/uppy/v2.0.1/uppy.min.css" rel="stylesheet">
</head>
<body>
<button id="uppyModalOpener">Open Modal</button>
<script src="https://releases.transloadit.com/uppy/v2.0.0/uppy.min.js"></script>
<script src="https://releases.transloadit.com/uppy/v2.0.1/uppy.min.js"></script>
<script>
const uppy = new 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://releases.transloadit.com/uppy/v2.0.0/uppy.min.css" rel="stylesheet">
<link href="https://releases.transloadit.com/uppy/v2.0.1/uppy.min.css" rel="stylesheet">
</head>
<body>
<button id="uppyModalOpener">Open Modal</button>
<script src="https://releases.transloadit.com/uppy/v2.0.0/uppy.min.js"></script>
<script src="https://releases.transloadit.com/uppy/v2.0.1/uppy.min.js"></script>
<script>
const uppy = new Uppy.Core({debug: true, autoProceed: false})
.use(Uppy.Dashboard, { trigger: '#uppyModalOpener' })

View file

@ -1,6 +1,6 @@
{
"name": "@uppy/angular",
"version": "0.2.0",
"version": "0.2.1",
"module": "dist/angular/esm2015/public-api.js",
"types": "dist/angular/uppy-angular.d.ts",
"scripts": {

View file

@ -1,7 +1,7 @@
{
"name": "@uppy/aws-s3-multipart",
"description": "Upload to Amazon S3 with Uppy and S3's Multipart upload strategy",
"version": "2.0.0",
"version": "2.0.1",
"license": "MIT",
"main": "lib/index.js",
"types": "types/index.d.ts",

View file

@ -1,7 +1,7 @@
{
"name": "@uppy/aws-s3",
"description": "Upload to Amazon S3 with Uppy",
"version": "2.0.0",
"version": "2.0.1",
"license": "MIT",
"main": "lib/index.js",
"types": "types/index.d.ts",

View file

@ -1,7 +1,7 @@
{
"name": "@uppy/box",
"description": "Import files from Box, into Uppy.",
"version": "1.0.0",
"version": "1.0.1",
"license": "MIT",
"main": "lib/index.js",
"types": "types/index.d.ts",

View file

@ -1,7 +1,7 @@
{
"name": "@uppy/dashboard",
"description": "Universal UI plugin for Uppy.",
"version": "2.0.0",
"version": "2.0.1",
"license": "MIT",
"main": "lib/index.js",
"style": "dist/style.min.css",
@ -36,7 +36,7 @@
"preact": "^10.5.13"
},
"devDependencies": {
"@uppy/google-drive": "2.0.0",
"@uppy/google-drive": "2.0.1",
"@uppy/status-bar": "*",
"resize-observer-polyfill": "^1.5.0"
},

View file

@ -1,7 +1,7 @@
{
"name": "@uppy/drag-drop",
"description": "Droppable zone UI for Uppy. Drag and drop files into it to upload.",
"version": "2.0.0",
"version": "2.0.1",
"license": "MIT",
"main": "lib/index.js",
"style": "dist/style.min.css",

View file

@ -1,7 +1,7 @@
{
"name": "@uppy/drop-target",
"description": "Lets your users drag and drop files on a DOM element",
"version": "1.0.0",
"version": "1.0.1",
"license": "MIT",
"main": "lib/index.js",
"types": "types/index.d.ts",

View file

@ -1,7 +1,7 @@
{
"name": "@uppy/dropbox",
"description": "Import files from Dropbox, into Uppy.",
"version": "2.0.0",
"version": "2.0.1",
"license": "MIT",
"main": "lib/index.js",
"types": "types/index.d.ts",

View file

@ -1,7 +1,7 @@
{
"name": "@uppy/facebook",
"description": "Import files from Facebook, into Uppy.",
"version": "2.0.0",
"version": "2.0.1",
"license": "MIT",
"main": "lib/index.js",
"types": "types/index.d.ts",

View file

@ -1,7 +1,7 @@
{
"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",
"version": "2.0.1",
"license": "MIT",
"main": "lib/index.js",
"style": "dist/style.min.css",

View file

@ -1,7 +1,7 @@
{
"name": "@uppy/form",
"description": "Connect Uppy to an existing HTML <form>.",
"version": "2.0.0",
"version": "2.0.1",
"license": "MIT",
"main": "lib/index.js",
"types": "types/index.d.ts",

View file

@ -1,7 +1,7 @@
{
"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": "2.0.0",
"version": "2.0.1",
"license": "MIT",
"main": "lib/index.js",
"types": "types/index.d.ts",

View file

@ -1,7 +1,7 @@
{
"name": "@uppy/google-drive",
"description": "The Google Drive plugin for Uppy lets users import files from their Google Drive account",
"version": "2.0.0",
"version": "2.0.1",
"license": "MIT",
"main": "lib/index.js",
"types": "types/index.d.ts",

View file

@ -1,7 +1,7 @@
{
"name": "@uppy/image-editor",
"description": "Image editor and cropping UI",
"version": "1.0.0",
"version": "1.0.1",
"license": "MIT",
"main": "lib/index.js",
"style": "dist/style.min.css",

View file

@ -1,7 +1,7 @@
{
"name": "@uppy/informer",
"description": "A notification and error pop-up bar for Uppy.",
"version": "2.0.0",
"version": "2.0.1",
"license": "MIT",
"main": "lib/index.js",
"style": "dist/style.min.css",

View file

@ -1,7 +1,7 @@
{
"name": "@uppy/instagram",
"description": "Import photos and videos from Instagram, into Uppy.",
"version": "2.0.0",
"version": "2.0.1",
"license": "MIT",
"main": "lib/index.js",
"types": "types/index.d.ts",

View file

@ -1,7 +1,7 @@
{
"name": "@uppy/onedrive",
"description": "Import files from OneDrive, into Uppy.",
"version": "2.0.0",
"version": "2.0.1",
"license": "MIT",
"main": "lib/index.js",
"types": "types/index.d.ts",

View file

@ -1,7 +1,7 @@
{
"name": "@uppy/progress-bar",
"description": "A progress bar UI for Uppy",
"version": "2.0.0",
"version": "2.0.1",
"license": "MIT",
"main": "lib/index.js",
"style": "dist/style.min.css",

View file

@ -1,7 +1,7 @@
{
"name": "@uppy/provider-views",
"description": "View library for Uppy remote provider plugins.",
"version": "2.0.0",
"version": "2.0.1",
"license": "MIT",
"main": "lib/index.js",
"style": "dist/style.min.css",

View file

@ -1,7 +1,7 @@
{
"name": "@uppy/react-native",
"description": "React Native Uppy UI components",
"version": "0.2.0",
"version": "0.2.1",
"main": "file-picker/index.js",
"license": "MIT",
"keywords": [

View file

@ -1,7 +1,7 @@
{
"name": "@uppy/react",
"description": "React component wrappers around Uppy's official UI plugins.",
"version": "2.0.0",
"version": "2.0.1",
"license": "MIT",
"main": "index.js",
"module": "index.mjs",

View file

@ -1,7 +1,7 @@
{
"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": "2.0.0",
"version": "2.0.1",
"license": "MIT",
"main": "lib/index.js",
"types": "types/index.d.ts",

View file

@ -18,8 +18,8 @@ We recommend installing from npm and then using a module bundler such as [Webpac
Alternatively, you can also use this package in a pre-built bundle from Transloadit's CDN: Edgly.
```html
<link rel="stylesheet" href="https://releases.transloadit.com/uppy/v2.0.0/robodog.min.css">
<script src="https://releases.transloadit.com/uppy/v2.0.0/robodog.min.js"></script>
<link rel="stylesheet" href="https://releases.transloadit.com/uppy/v2.0.1/robodog.min.css">
<script src="https://releases.transloadit.com/uppy/v2.0.1/robodog.min.js"></script>
```
Then, a global `Robodog` variable will be available. For usage instructions, please see the [main Robodog documentation](https://uppy.io/docs/robodog).

View file

@ -1,7 +1,7 @@
{
"name": "@uppy/robodog",
"description": "Transloadit SDK for browsers based on Uppy",
"version": "2.0.0",
"version": "2.0.1",
"license": "MIT",
"main": "lib/index.js",
"jsnext:main": "src/index.js",

View file

@ -1,7 +1,7 @@
{
"name": "@uppy/screen-capture",
"description": "Uppy plugin that captures video from display or application.",
"version": "2.0.0",
"version": "2.0.1",
"license": "MIT",
"main": "lib/index.js",
"style": "dist/style.min.css",

View file

@ -1,7 +1,7 @@
{
"name": "@uppy/status-bar",
"description": "A progress bar for Uppy, with many bells and whistles.",
"version": "2.0.0",
"version": "2.0.1",
"license": "MIT",
"main": "lib/index.js",
"style": "dist/style.min.css",

View file

@ -3,7 +3,7 @@
"svelte": "src/index.js",
"module": "dist/index.mjs",
"main": "dist/index.js",
"version": "1.0.0",
"version": "1.0.1",
"scripts": {
"build": "rollup -c",
"prepublishOnly": "npm run build",

View file

@ -1,7 +1,7 @@
{
"name": "@uppy/thumbnail-generator",
"description": "Uppy plugin that generates small previews of images to show on your upload UI.",
"version": "2.0.0",
"version": "2.0.1",
"license": "MIT",
"main": "lib/index.js",
"types": "types/index.d.ts",

View file

@ -1,7 +1,7 @@
{
"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": "2.0.0",
"version": "2.0.1",
"license": "MIT",
"main": "lib/index.js",
"types": "types/index.d.ts",

View file

@ -1,7 +1,7 @@
{
"name": "@uppy/tus",
"description": "Resumable uploads for Uppy using Tus.io",
"version": "2.0.0",
"version": "2.0.1",
"license": "MIT",
"main": "lib/index.js",
"types": "types/index.d.ts",

View file

@ -1,7 +1,7 @@
{
"name": "@uppy/unsplash",
"description": "Import files from Unsplash, the free stock photography resource, into Uppy",
"version": "1.0.0",
"version": "1.0.1",
"license": "MIT",
"main": "lib/index.js",
"types": "types/index.d.ts",

View file

@ -1,7 +1,7 @@
{
"name": "@uppy/url",
"description": "The Url plugin lets users import files from the Internet. Paste any URL and itll be added!",
"version": "2.0.0",
"version": "2.0.1",
"license": "MIT",
"main": "lib/index.js",
"style": "dist/style.min.css",

View file

@ -1,6 +1,6 @@
{
"name": "@uppy/vue",
"version": "0.3.0",
"version": "0.3.1",
"private": false,
"main": "lib/index.js",
"types": "types/index.d.ts",

View file

@ -1,7 +1,7 @@
{
"name": "@uppy/webcam",
"description": "Uppy plugin that takes photos or records videos using the device's camera.",
"version": "2.0.0",
"version": "2.0.1",
"license": "MIT",
"main": "lib/index.js",
"style": "dist/style.min.css",

View file

@ -1,7 +1,7 @@
{
"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": "2.0.0",
"version": "2.0.1",
"license": "MIT",
"main": "lib/index.js",
"types": "types/index.d.ts",

View file

@ -1,7 +1,7 @@
{
"name": "@uppy/zoom",
"description": "Import files from zoom, into Uppy.",
"version": "1.0.0",
"version": "1.0.1",
"license": "MIT",
"main": "lib/index.js",
"types": "types/index.d.ts",

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": "2.0.0",
"version": "2.0.1",
"license": "MIT",
"main": "index.js",
"module": "index.mjs",

View file

@ -19,12 +19,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://releases.transloadit.com/uppy/v2.0.0/uppy.min.css" rel="stylesheet">
<link href="https://releases.transloadit.com/uppy/v2.0.1/uppy.min.css" rel="stylesheet">
</head>
<body>
<div id="drag-drop-area"></div>
<script src="https://releases.transloadit.com/uppy/v2.0.0/uppy.min.js"></script>
<script src="https://releases.transloadit.com/uppy/v2.0.1/uppy.min.js"></script>
<script>
var uppy = new Uppy.Core()
.use(Uppy.Dashboard, {
@ -118,12 +118,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://releases.transloadit.com/uppy/v2.0.0/uppy.min.js"></script>
<script src="https://releases.transloadit.com/uppy/v2.0.1/uppy.min.js"></script>
```
2\. Add CSS to `<head>`:
``` html
<link href="https://releases.transloadit.com/uppy/v2.0.0/uppy.min.css" rel="stylesheet">
<link href="https://releases.transloadit.com/uppy/v2.0.1/uppy.min.css" rel="stylesheet">
```
3\. Initialize at the bottom of the closing `</body>` tag:
@ -184,5 +184,5 @@ export * from '@uppy/core'
If you're using Uppy from CDN, those polyfills are already included in the bundle, no need to include anything additionally:
```html
<script src="https://releases.transloadit.com/uppy/v2.0.0/uppy.min.js"></script>
<script src="https://releases.transloadit.com/uppy/v2.0.1/uppy.min.js"></script>
```

View file

@ -34,7 +34,7 @@ const uppy = new Uppy({
Add a `<script>` tag with Uppy bundle and the locale pack youd like to use. You can copy/paste the link from the CDN column in the [locales table](#List-of-locale-packs). The locale will attach itself to the `Uppy.locales` object.
```html
<script src="https://releases.transloadit.com/uppy/v2.0.0/uppy.min.js"></script>
<script src="https://releases.transloadit.com/uppy/v2.0.1/uppy.min.js"></script>
<script src="https://releases.transloadit.com/uppy/locales/v2.0.0/de_DE.min.js"></script>
<script>

View file

@ -1,7 +1,7 @@
<!-- Load Uppy CSS bundle. It is advisable to install Uppy
from npm/yarn instead, and pick and choose the plugins/styles you need.
But for experimenting, you can use Transloadits CDN, Edgly: -->
<link rel="stylesheet" href="https://releases.transloadit.com/uppy/v2.0.0/uppy.min.css">
<link rel="stylesheet" href="https://releases.transloadit.com/uppy/v2.0.1/uppy.min.css">
<div class="UppyDragDrop"></div>
<div class="for-ProgressBar"></div>
@ -12,7 +12,7 @@
</div>
<!-- Load Uppy JS bundle. -->
<script src="https://releases.transloadit.com/uppy/v2.0.0/uppy.min.js"></script>
<script src="https://releases.transloadit.com/uppy/v2.0.1/uppy.min.js"></script>
<script src="https://releases.transloadit.com/uppy/locales/v2.0.0/ru_RU.min.js"></script>
<script>
var uppy = new Uppy.Core({

View file

@ -187,8 +187,8 @@
<p>© <%- date(Date.now(), 'YYYY') %> <a href="https://transloadit.com" target="_blank">Transloadit</a></p>
</footer>
<link href="https://releases.transloadit.com/uppy/v2.0.0/uppy.min.css" rel="stylesheet">
<script src="https://releases.transloadit.com/uppy/v2.0.0/uppy.min.js"></script>
<link href="https://releases.transloadit.com/uppy/v2.0.1/uppy.min.css" rel="stylesheet">
<script src="https://releases.transloadit.com/uppy/v2.0.1/uppy.min.js"></script>
<script>
var TUS_ENDPOINT = 'https://tusd.tusdemo.net/files/'