* Pass createDocumentFragment instead of the targetElement to Preact, so it doesn’t destroy the contents of targetElement
* remove replaceTargetContent
* also remove replaceTargetContent from docs and website
* What is happening "*"
* Instead of re-creating i18nInit, we could just make it part of the BasePlugin
* set plugin title and allow changing it from locale
* remove i18nInit method, since we now include it in BasePlugin
* All provider titles should come from locale
* Update en_US.js
* make translator private
//cc @aduh95
* init locale after calling setOptions
* Update en_US.js
* Update packages/@uppy/core/src/BasePlugin.js
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
* Update packages/@uppy/core/src/index.js
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
* Bind `i18n` functions
* Remove duplicate i18nInit — it’s in BasePlugin already
* fix formatting
* fix name
* Update en_US.js
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
* Force Uppy initialization with new keyword, remove run()
* update some types
* update docs and examples
* Update packages/@uppy/core/src/index.js
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
* Update packages/@uppy/core/types/index.d.ts
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
* add new in tests
* Move all types to ESM syntax and fix all issues
* Add back e2e build script and revert uppy docs commit
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
Co-authored-by: Murderlon <merlijn@soverin.net>
* remove deprecated serverHeaders in favour of companionHeaders
* remove TL_UPPY_SERVER and exports.UPPY_SERVER
@kvz @goto-bus-stop ok to do this already, right?
* master: (23 commits)
A bit of polish (#2986)
Companion: Fix typescript error
Companion: Fix invalid referrer crashing the process
Publish 1.30 blog post
Release
Build: Companion needs to be built before locale-pack
Release
Fix build: locale-pack first, integrations second
changelog for 1.30
Release
Update package.json
Only log info if debug is true (#2855)
build(deps): bump prismjs from 1.23.0 to 1.24.0 (#2971)
Angular Integration (#2871)
ci: don't run markdown tests in type tests
Add types for `uppy.once` method (#2965)
build: lint fixes in build scripts
Fix typo in docs/progressbar.md (#2962)
Document `uppy.once` in `docs/uppy.md` (#2960)
Add `props` example to docs/vue.md (#2959)
...
* Introduce opts.disabled for the Dashboard
* Reduce opacity, disable user-select, set cursor
* Add classes to providers' background circles
So they can be grayscaled via css
* add disableAllFocusableElements and run it in afterUpdate hook, if needed
* increase opacity for readability
* Store previous tabindex value and use it when restoring (setting disable: false)
//cc @goto-bus-stop
* Add disabled docs
* add disabled option to website example
Co-authored-by: Alexander Zaytsev <nqst@users.noreply.github.com>
* Add all the CI badges
* flip the CI / npm version order
* add github actions tests badges to all package readmes
* remove |
Co-authored-by: Artur Paikin <artur@arturpaikin.com>
* companion-client: support options cookies send rule
fixes#2241
* companion-client: prefix cookiesSendRule option with "companion"
* companion-client: set "companionCookiesRule" as optional field