This commit is contained in:
Renée Kooi 2019-10-14 16:48:41 +02:00
parent d474ffeb42
commit aea91d00db
No known key found for this signature in database
GPG key ID: 497533BAECCD642A
16 changed files with 32 additions and 32 deletions

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](https://webpack.js.org/), [Browserify](http://browserify.org/) or [Rollup.js](http://rollupjs.org/).
Add CSS [uppy.min.css](https://transloadit.edgly.net/releases/uppy/v1.5.1/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/v1.5.2/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/v1.5.1/uppy.min.css" rel="stylesheet">
<link href="https://transloadit.edgly.net/releases/uppy/v1.5.2/uppy.min.css" rel="stylesheet">
<!-- 2. Add JS before the closing `</body>` -->
<script src="https://transloadit.edgly.net/releases/uppy/v1.5.1/uppy.min.js"></script>
<script src="https://transloadit.edgly.net/releases/uppy/v1.5.2/uppy.min.js"></script>
<!-- 3. Initialize -->
<div class="UppyDragDrop"></div>
@ -172,7 +172,7 @@ const Uppy = require('@uppy/core')
If you're using Uppy from CDN, `es6-promise` and `whatwg-fetch` are already included in the bundle, no need to include anything additionally:
```html
<script src="https://transloadit.edgly.net/releases/uppy/v1.5.1/uppy.min.js"></script>
<script src="https://transloadit.edgly.net/releases/uppy/v1.5.2/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://transloadit.edgly.net/releases/uppy/v1.5.1/uppy.min.css" rel="stylesheet">
<link href="https://transloadit.edgly.net/releases/uppy/v1.5.2/uppy.min.css" rel="stylesheet">
</head>
<body>
<button id="uppyModalOpener">Open Modal</button>
<script src="https://transloadit.edgly.net/releases/uppy/v1.5.1/uppy.min.js"></script>
<script src="https://transloadit.edgly.net/releases/uppy/v1.5.2/uppy.min.js"></script>
<script>
const uppy = Uppy.Core({debug: true, autoProceed: false})
.use(Uppy.Dashboard, { trigger: '#uppyModalOpener' })

View file

@ -2,7 +2,7 @@
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="https://transloadit.edgly.net/releases/uppy/robodog/v1.3.2/robodog.css">
<link rel="stylesheet" href="https://transloadit.edgly.net/releases/uppy/robodog/v1.3.3/robodog.css">
<style>
body {
font-family: Roboto, Open Sans;

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

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": "1.3.2",
"version": "1.3.3",
"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": "1.4.0",
"version": "1.4.1",
"license": "MIT",
"main": "lib/index.js",
"style": "dist/style.min.css",

View file

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

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://transloadit.edgly.net/releases/uppy/v1.5.1/robodog.min.css">
<script src="https://transloadit.edgly.net/releases/uppy/v1.5.1/robodog.min.js"></script>
<link rel="stylesheet" href="https://transloadit.edgly.net/releases/uppy/v1.5.2/robodog.min.css">
<script src="https://transloadit.edgly.net/releases/uppy/v1.5.2/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": "1.3.2",
"version": "1.3.3",
"license": "MIT",
"main": "lib/index.js",
"jsnext:main": "src/index.js",

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": "1.5.1",
"version": "1.5.2",
"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://transloadit.edgly.net/releases/uppy/v1.5.1/uppy.min.css" rel="stylesheet">
<link href="https://transloadit.edgly.net/releases/uppy/v1.5.2/uppy.min.css" rel="stylesheet">
</head>
<body>
<div id="drag-drop-area"></div>
<script src="https://transloadit.edgly.net/releases/uppy/v1.5.1/uppy.min.js"></script>
<script src="https://transloadit.edgly.net/releases/uppy/v1.5.2/uppy.min.js"></script>
<script>
var uppy = Uppy.Core()
.use(Uppy.Dashboard, {
@ -113,12 +113,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/v1.5.1/uppy.min.js"></script>
<script src="https://transloadit.edgly.net/releases/uppy/v1.5.2/uppy.min.js"></script>
```
2\. Add CSS to `<head>`:
``` html
<link href="https://transloadit.edgly.net/releases/uppy/v1.5.1/uppy.min.css" rel="stylesheet">
<link href="https://transloadit.edgly.net/releases/uppy/v1.5.2/uppy.min.css" rel="stylesheet">
```
3\. Initialize at the bottom of the closing `</body>` tag:
@ -169,5 +169,5 @@ const Uppy = require('@uppy/core')
If you're using Uppy from CDN, `es6-promise` and `whatwg-fetch` are already included in the bundle, no need to include anything additionally:
```html
<script src="https://transloadit.edgly.net/releases/uppy/v1.5.1/uppy.min.js"></script>
<script src="https://transloadit.edgly.net/releases/uppy/v1.5.2/uppy.min.js"></script>
```

View file

@ -33,7 +33,7 @@ const uppy = 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://transloadit.edgly.net/releases/uppy/v1.5.1/uppy.min.js"></script>
<script src="https://transloadit.edgly.net/releases/uppy/v1.5.2/uppy.min.js"></script>
<script src="https://transloadit.edgly.net/releases/uppy/locales/v1.8.0/de_DE.min.js"></script>
<script>

View file

@ -128,7 +128,7 @@ $(selector).transloadit({
```
```html
<!-- The new Robodog way! -->
<script src="//transloadit.edgly.net/releases/uppy/robodog/v1.3.2/robodog.min.js"></script>
<script src="//transloadit.edgly.net/releases/uppy/robodog/v1.3.3/robodog.min.js"></script>
<script>
window.Robodog.form(selector, {
@ -140,7 +140,7 @@ window.Robodog.form(selector, {
Make sure to also include the Uppy css file in your `<head>` tag in case you want to use the `modal: true` option:
```html
<head>
<link rel="stylesheet" href="https://transloadit.edgly.net/releases/uppy/robodog/v1.3.2/robodog.min.css">
<link rel="stylesheet" href="https://transloadit.edgly.net/releases/uppy/robodog/v1.3.3/robodog.min.css">
</head>
```
@ -152,7 +152,7 @@ Notice how the form is submitted to the inexistant `/uploads` route once all tra
<html>
<head>
<title>Testing Robodog</title>
<link rel="stylesheet" href="https://transloadit.edgly.net/releases/uppy/robodog/v1.3.2/robodog.min.css">
<link rel="stylesheet" href="https://transloadit.edgly.net/releases/uppy/robodog/v1.3.3/robodog.min.css">
</head>
<body>
<form id="upload-form" action="/uploads" enctype="multipart/form-data" method="POST">
@ -162,7 +162,7 @@ Notice how the form is submitted to the inexistant `/uploads` route once all tra
<button type="submit">Upload</button>
</form>
<script src="https://transloadit.edgly.net/releases/uppy/robodog/v1.3.2/robodog.min.js"></script>
<script src="https://transloadit.edgly.net/releases/uppy/robodog/v1.3.3/robodog.min.js"></script>
<script type="text/javascript">
window.Robodog.form('#upload-form', {
waitForEncoding: true,

View file

@ -31,8 +31,8 @@ require('@uppy/robodog/dist/robodog.css')
If you are not using a bundler, you can also import Robodog using an HTML script tag.
```html
<link rel="stylesheet" href="https://transloadit.edgly.net/releases/uppy/robodog/v1.3.2/robodog.min.css">
<script src="https://transloadit.edgly.net/releases/uppy/robodog/v1.3.2/robodog.min.js"></script>
<link rel="stylesheet" href="https://transloadit.edgly.net/releases/uppy/robodog/v1.3.3/robodog.min.css">
<script src="https://transloadit.edgly.net/releases/uppy/robodog/v1.3.3/robodog.min.js"></script>
<!-- you can now use: window.Robodog.pick() -->
```

View file

@ -1,11 +1,11 @@
<!-- Basic Uppy styles. You can use Transloadit's CDN, Edgly:
https://transloadit.edgly.net/releases/uppy/v1.5.1/uppy.min.css -->
https://transloadit.edgly.net/releases/uppy/v1.5.2/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/v1.5.1/uppy.min.js -->
https://transloadit.edgly.net/releases/uppy/v1.5.2/uppy.min.js -->
<script src="/uppy/uppy.min.js"></script>
<script src="/uppy/locales/ru_RU.min.js"></script>
<script>

View file

@ -144,8 +144,8 @@
<p>© <%- date(Date.now(), 'YYYY') %> <a href="https://transloadit.com" target="_blank">Transloadit</a></p>
</footer>
<link href="https://transloadit.edgly.net/releases/uppy/v1.5.1/uppy.min.css" rel="stylesheet">
<script src="https://transloadit.edgly.net/releases/uppy/v1.5.1/uppy.min.js"></script>
<link href="https://transloadit.edgly.net/releases/uppy/v1.5.2/uppy.min.css" rel="stylesheet">
<script src="https://transloadit.edgly.net/releases/uppy/v1.5.2/uppy.min.js"></script>
<script>
var TUS_ENDPOINT = 'https://master.tus.io/files/'