diff --git a/packages/@uppy/utils/package.json b/packages/@uppy/utils/package.json index df0153372d..f35b8921d7 100644 --- a/packages/@uppy/utils/package.json +++ b/packages/@uppy/utils/package.json @@ -60,6 +60,7 @@ "./lib/hasProperty": "./lib/hasProperty.js", "./lib/mimeTypes": "./lib/mimeTypes.js", "./lib/getDroppedFiles": "./lib/getDroppedFiles/index.js", + "./lib/FOCUSABLE_ELEMENTS.js": "./lib/FOCUSABLE_ELEMENTS.js", "./src/microtip.scss": "./src/microtip.scss" }, "dependencies": { diff --git a/website/src/docs/file-input.md b/website/src/docs/file-input.md index d9c3b0b4b5..f2e86fcab0 100644 --- a/website/src/docs/file-input.md +++ b/website/src/docs/file-input.md @@ -87,9 +87,6 @@ The `name` attribute for the `` element. ```js export default { strings: { - // The same key is used for the same purpose by @uppy/robodog's `form()` API, but our - // locale pack scripts can't access it in Robodog. If it is updated here, it should - // also be updated there! chooseFiles: 'Choose files', }, } diff --git a/website/src/docs/image-editor.md b/website/src/docs/image-editor.md index 4b7511cbb1..83a9b2660a 100644 --- a/website/src/docs/image-editor.md +++ b/website/src/docs/image-editor.md @@ -4,7 +4,7 @@ order: 2 title: "Image Editor" module: "@uppy/image-editor" permalink: docs/image-editor/ -category: "File Processing" +category: "Miscellaneous" tagline: "allows users to crop, rotate, zoom and flip images that are added to Uppy" --- diff --git a/website/src/docs/migration-guides.md b/website/src/docs/migration-guides.md index ccffdd9754..4edd881319 100644 --- a/website/src/docs/migration-guides.md +++ b/website/src/docs/migration-guides.md @@ -34,7 +34,7 @@ import ScreenCapture from '@uppy/screen-capture' import GoldenRetriever from '@uppy/golden-retriever' import ImageEditor from '@uppy/image-editor' import Audio from '@uppy/audio' -import Transloadit from '@uppy/transloadit' +import Transloadit, { COMPANION_URL, COMPANION_ALLOWED_HOSTS } from '@uppy/transloadit' import '@uppy/core/dist/style.css' import '@uppy/dashboard/dist/style.css' @@ -42,12 +42,6 @@ import '@uppy/audio/dist/style.css' import '@uppy/screen-capture/dist/style.css' import '@uppy/image-editor/dist/style.css' -const { - COMPANION_URL, - COMPANION_ALLOWED_HOSTS, - TRANSLOADIT_SERVICE_URL, -} = import.meta.env - new Uppy() .use(Dashboard, { inline: true, @@ -71,7 +65,7 @@ new Uppy() .use(ScreenCapture, { target: Dashboard }) .use(ImageEditor, { target: Dashboard }) .use(Transloadit, { - service: TRANSLOADIT_SERVICE_URL, + service: 'https://api2.transloadit.com', async getAssemblyOptions (file) { // This is where you configure your auth key, auth secret, and template ID // https://uppy.io/docs/transloadit/#getAssemblyOptions-file @@ -88,16 +82,11 @@ new Uppy() ### Uppy is pure ESM -Following the footsteps of many packages, we now only ship Uppy core and its plugins as -[ECMAScript Modules](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules) (ESM). -On Uppy 2.x, we were shipping CommonJS. +Following the footsteps of many packages, we now only ship Uppy core and its plugins as [ECMAScript Modules](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules) (ESM). On Uppy 2.x, we were shipping CommonJS. If are already using ESM yourself, or are using the CDN builds, nothing changes for you! -If you are using CommonJS, you might need to add some tooling for everything to work, or you might -want to refactor your codebase to ESM – refer to -the [Pure ESM package](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c) -gist for added information and help on how to do that. +If you are using CommonJS, you might need to add some tooling for everything to work, or you might want to refactor your codebase to ESM – refer to the [Pure ESM package](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c) gist for added information and help on how to do that. ### Robodog is deprecated diff --git a/website/src/docs/transloadit.md b/website/src/docs/transloadit.md index 3797ad5166..440182a2a6 100644 --- a/website/src/docs/transloadit.md +++ b/website/src/docs/transloadit.md @@ -4,7 +4,7 @@ order: 10 title: "Transloadit" module: "@uppy/transloadit" permalink: docs/transloadit/ -category: "File Processing" +category: "Destinations" tagline: "manipulate and transcode uploaded files using the transloadit.com service" ---