This commit is contained in:
Artur Paikin 2021-01-28 16:03:28 +00:00
parent cfb29dda08
commit 7c55bd855e
47 changed files with 63 additions and 63 deletions

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/v1.24.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.
Add CSS [uppy.min.css](https://releases.transloadit.com/uppy/v1.25.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.
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/v1.24.1/uppy.min.css" rel="stylesheet">
<link href="https://releases.transloadit.com/uppy/v1.25.0/uppy.min.css" rel="stylesheet">
<!-- 2. Add JS before the closing `</body>` -->
<script src="https://releases.transloadit.com/uppy/v1.24.1/uppy.min.js"></script>
<script src="https://releases.transloadit.com/uppy/v1.25.0/uppy.min.js"></script>
<!-- 3. Initialize -->
<div class="UppyDragDrop"></div>
@ -179,7 +179,7 @@ const Uppy = require('@uppy/core')
If you're using Uppy from CDN, `es6-promise` and `whatwg-fetch` are already included in the bundle, so no need to include anything additionally:
```html
<script src="https://releases.transloadit.com/uppy/v1.24.1/uppy.min.js"></script>
<script src="https://releases.transloadit.com/uppy/v1.25.0/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/v1.24.1/uppy.min.css" rel="stylesheet">
<link href="https://releases.transloadit.com/uppy/v1.25.0/uppy.min.css" rel="stylesheet">
</head>
<body>
<button id="uppyModalOpener">Open Modal</button>
<script src="https://releases.transloadit.com/uppy/v1.24.1/uppy.min.js"></script>
<script src="https://releases.transloadit.com/uppy/v1.25.0/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://releases.transloadit.com/uppy/robodog/v1.10.1/robodog.css">
<link rel="stylesheet" href="https://releases.transloadit.com/uppy/robodog/v1.10.2/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://releases.transloadit.com/uppy/v1.24.1/uppy.min.css" rel="stylesheet">
<link href="https://releases.transloadit.com/uppy/v1.25.0/uppy.min.css" rel="stylesheet">
</head>
<body>
<button id="uppyModalOpener">Open Modal</button>
<script src="https://releases.transloadit.com/uppy/v1.24.1/uppy.min.js"></script>
<script src="https://releases.transloadit.com/uppy/v1.25.0/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.8.11",
"version": "1.8.12",
"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": "1.7.5",
"version": "1.7.6",
"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": "0.3.3",
"version": "0.3.4",
"license": "MIT",
"main": "lib/index.js",
"types": "types/index.d.ts",

View file

@ -1,7 +1,7 @@
{
"name": "@uppy/companion-client",
"description": "Client library for communication with Companion. Intended for use in Uppy plugins.",
"version": "1.8.0",
"version": "1.8.1",
"license": "MIT",
"main": "lib/index.js",
"types": "types/index.d.ts",

View file

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

View file

@ -1,7 +1,7 @@
{
"name": "@uppy/dashboard",
"description": "Universal UI plugin for Uppy.",
"version": "1.15.0",
"version": "1.16.0",
"license": "MIT",
"main": "lib/index.js",
"style": "dist/style.min.css",

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

View file

@ -1,7 +1,7 @@
{
"name": "@uppy/dropbox",
"description": "Import files from Dropbox, into Uppy.",
"version": "1.4.21",
"version": "1.4.22",
"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": "1.1.21",
"version": "1.1.22",
"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": "1.4.21",
"version": "1.4.22",
"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": "1.3.24",
"version": "1.3.25",
"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": "1.3.23",
"version": "1.3.24",
"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": "1.5.21",
"version": "1.5.22",
"license": "MIT",
"main": "lib/index.js",
"types": "types/index.d.ts",

View file

@ -1,7 +1,7 @@
{
"name": "@uppy/informer",
"description": "A notification and error pop-up bar for Uppy.",
"version": "1.5.15",
"version": "1.6.0",
"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": "1.4.21",
"version": "1.4.22",
"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": "1.1.21",
"version": "1.1.22",
"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": "1.3.23",
"version": "1.3.24",
"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": "1.10.0",
"version": "1.11.0",
"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.11.1",
"version": "1.11.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://releases.transloadit.com/uppy/v1.24.1/robodog.min.css">
<script src="https://releases.transloadit.com/uppy/v1.24.1/robodog.min.js"></script>
<link rel="stylesheet" href="https://releases.transloadit.com/uppy/v1.25.0/robodog.min.css">
<script src="https://releases.transloadit.com/uppy/v1.25.0/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.10.1",
"version": "1.10.2",
"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": "1.0.12",
"version": "1.0.13",
"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": "1.8.2",
"version": "1.9.0",
"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": "0.1.2",
"version": "0.1.3",
"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": "1.7.4",
"version": "1.7.5",
"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": "1.6.17",
"version": "1.6.18",
"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": "1.8.3",
"version": "1.8.4",
"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": "0.1.5",
"version": "0.1.6",
"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": "1.5.15",
"version": "1.5.16",
"license": "MIT",
"main": "lib/index.js",
"style": "dist/style.min.css",

View file

@ -1,7 +1,7 @@
{
"name": "@uppy/utils",
"description": "Shared utility functions for Uppy Core and plugins maintained by the Uppy team.",
"version": "3.3.1",
"version": "3.4.0",
"license": "MIT",
"main": "lib/index.js",
"types": "types/index.d.ts",

View file

@ -1,6 +1,6 @@
{
"name": "@uppy/vue",
"version": "0.1.3",
"version": "0.1.4",
"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": "1.8.3",
"version": "1.8.4",
"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": "1.6.9",
"version": "1.6.10",
"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": "0.1.10",
"version": "0.1.11",
"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": "1.24.1",
"version": "1.25.0",
"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/v1.24.1/uppy.min.css" rel="stylesheet">
<link href="https://releases.transloadit.com/uppy/v1.25.0/uppy.min.css" rel="stylesheet">
</head>
<body>
<div id="drag-drop-area"></div>
<script src="https://releases.transloadit.com/uppy/v1.24.1/uppy.min.js"></script>
<script src="https://releases.transloadit.com/uppy/v1.25.0/uppy.min.js"></script>
<script>
var uppy = 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/v1.24.1/uppy.min.js"></script>
<script src="https://releases.transloadit.com/uppy/v1.25.0/uppy.min.js"></script>
```
2\. Add CSS to `<head>`:
``` html
<link href="https://releases.transloadit.com/uppy/v1.24.1/uppy.min.css" rel="stylesheet">
<link href="https://releases.transloadit.com/uppy/v1.25.0/uppy.min.css" rel="stylesheet">
```
3\. Initialize at the bottom of the closing `</body>` tag:
@ -174,5 +174,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://releases.transloadit.com/uppy/v1.24.1/uppy.min.js"></script>
<script src="https://releases.transloadit.com/uppy/v1.25.0/uppy.min.js"></script>
```

View file

@ -33,7 +33,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/v1.24.1/uppy.min.js"></script>
<script src="https://releases.transloadit.com/uppy/v1.25.0/uppy.min.js"></script>
<script src="https://releases.transloadit.com/uppy/locales/v1.17.1/de_DE.min.js"></script>
<script>

View file

@ -136,7 +136,7 @@ $(selector).transloadit({
```
```html
<!-- The new Robodog way! -->
<script src="//releases.transloadit.com/uppy/robodog/v1.10.1/robodog.min.js"></script>
<script src="//releases.transloadit.com/uppy/robodog/v1.10.2/robodog.min.js"></script>
<script>
window.Robodog.form(selector, {
@ -148,7 +148,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://releases.transloadit.com/uppy/robodog/v1.10.1/robodog.min.css">
<link rel="stylesheet" href="https://releases.transloadit.com/uppy/robodog/v1.10.2/robodog.min.css">
</head>
```
@ -160,7 +160,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://releases.transloadit.com/uppy/robodog/v1.10.1/robodog.min.css">
<link rel="stylesheet" href="https://releases.transloadit.com/uppy/robodog/v1.10.2/robodog.min.css">
</head>
<body>
<form id="upload-form" action="/uploads" enctype="multipart/form-data" method="POST">
@ -170,7 +170,7 @@ Notice how the form is submitted to the inexistant `/uploads` route once all tra
<button type="submit">Upload</button>
</form>
<script src="https://releases.transloadit.com/uppy/robodog/v1.10.1/robodog.min.js"></script>
<script src="https://releases.transloadit.com/uppy/robodog/v1.10.2/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://releases.transloadit.com/uppy/robodog/v1.10.1/robodog.min.css">
<script src="https://releases.transloadit.com/uppy/robodog/v1.10.1/robodog.min.js"></script>
<link rel="stylesheet" href="https://releases.transloadit.com/uppy/robodog/v1.10.2/robodog.min.css">
<script src="https://releases.transloadit.com/uppy/robodog/v1.10.2/robodog.min.js"></script>
<!-- you can now use: window.Robodog.pick() -->
```

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/v1.24.1/uppy.min.css">
<link rel="stylesheet" href="https://releases.transloadit.com/uppy/v1.25.0/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/v1.24.1/uppy.min.js"></script>
<script src="https://releases.transloadit.com/uppy/v1.25.0/uppy.min.js"></script>
<script src="https://releases.transloadit.com/uppy/locales/v1.17.1/ru_RU.min.js"></script>
<script>
var uppy = Uppy.Core({

View file

@ -3,7 +3,7 @@ const marked = require('marked')
const dragdrop = require('drag-drop')
// Add Robodog JS. It is advisable to install Robodog from npm/yarn.
// But for experimenting, you can use also Transloadits CDN, Edgly:
// <script src="https://releases.transloadit.com/uppy/robodog/v1.10.1/robodog.min.js"></script>
// <script src="https://releases.transloadit.com/uppy/robodog/v1.10.2/robodog.min.js"></script>
const robodog = require('@uppy/robodog')
const TRANSLOADIT_EXAMPLE_KEY = '35c1aed03f5011e982b6afe82599b6a0'

View file

@ -1,6 +1,6 @@
<!-- Add Robodog styles. It is advisable to install Robodog from npm/yarn.
But for experimenting, you can use also Transloadits CDN, Edgly:
<link rel="stylesheet" href="https://releases.transloadit.com/uppy/robodog/v1.10.1/robodog.min.css"> -->
<link rel="stylesheet" href="https://releases.transloadit.com/uppy/robodog/v1.10.2/robodog.min.css"> -->
<link rel="stylesheet" href="/uppy/robodog.min.css">
<form id="new" class="form-snippet">
<h2>Create a new snippet</h2>

View file

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