Merlijn Vos
6e65cd8c51
Import types consistently from @uppy/core ( #5589 )
...
* Import types consistently from @uppy/core
* Add new eslint rule
* Clean up exports
2025-01-09 11:03:43 +01:00
Merlijn Vos
3e2aa9f3c8
Use .js(x) for all imports instead .ts(x) ( #5573 )
2025-01-06 13:29:55 +01:00
Antoine du Hamel
64bffd5363
export plugin options ( #5433 )
2024-08-28 15:49:03 +02:00
Antoine du Hamel
9e69b7fc26
meta: enforce .ts extension for relative import types ( #5393 )
2024-08-13 16:08:35 +02:00
Mikael Finstad
d536a3525f
@uppy/google-photos: fix various issues ( #5275 )
...
Fixes: https://github.com/transloadit/uppy/pull/5061#issuecomment-2188717555
Also change the type of `UppyFile.name`, because it can be `undefined`.
2024-06-27 10:31:30 +02:00
Merlijn Vos
88d508f7bf
TS strict mode ( #5258 )
...
Co-authored-by: Antoine du Hamel <antoine@transloadit.com>
2024-06-20 16:54:10 +02:00
github-actions[bot]
53cb32f5d9
Release: uppy@4.0.0-beta.7 ( #5162 )
...
| Package | Version | Package | Version |
| ---------------------- | ------------ | ---------------------- | ------------ |
| @uppy/companion | 5.0.0-beta.6 | @uppy/status-bar | 4.0.0-beta.7 |
| @uppy/companion-client | 4.0.0-beta.6 | @uppy/unsplash | 4.0.0-beta.6 |
| @uppy/compressor | 2.0.0-beta.7 | @uppy/url | 4.0.0-beta.6 |
| @uppy/core | 4.0.0-beta.7 | @uppy/utils | 6.0.0-beta.6 |
| @uppy/dashboard | 4.0.0-beta.7 | @uppy/webcam | 4.0.0-beta.6 |
| @uppy/dropbox | 4.0.0-beta.6 | @uppy/xhr-upload | 4.0.0-beta.4 |
| @uppy/image-editor | 3.0.0-beta.4 | uppy | 4.0.0-beta.7 |
| @uppy/screen-capture | 4.0.0-beta.5 | | |
- @uppy/companion: switch from `node-redis` to `ioredis` (Dominik Schmidt / #4623 )
- meta: Fix headings in xhr.mdx (Merlijn Vos)
- @uppy/xhr-upload: introduce hooks similar to tus (Merlijn Vos / #5094 )
- @uppy/core: close->destroy, clearUploadedFiles->clear (Merlijn Vos / #5154 )
- @uppy/companion-client,@uppy/dropbox,@uppy/screen-capture,@uppy/unsplash,@uppy/url,@uppy/webcam: Use `title` consistently from locales (Merlijn Vos / #5134 )
| Package | Version | Package | Version |
| ------------------ | ------- | ------------------ | ------- |
| @uppy/core | 3.11.3 | uppy | 3.25.3 |
| @uppy/image-editor | 2.4.6 | | |
- @uppy/image-editor: fix tooltips (Avneet Singh Malhotra / #5156 )
- meta: Remove redundant `plugins` prop from examples (Merlijn Vos / #5145 )
- @uppy/image-editor: Remove `target` option from examples and document consistently (Merlijn Vos / #5146 )
- @uppy/core: make getObjectOfFilesPerState more efficient (Merlijn Vos / #5155 )
2024-05-14 15:14:15 +00:00
github-actions[bot]
b8f8f8a9dd
Release: uppy@4.0.0-beta.4 ( #5130 )
...
| Package | Version | Package | Version |
| ---------------------- | ------------ | ---------------------- | ------------ |
| @uppy/angular | 0.7.0-beta.4 | @uppy/instagram | 4.0.0-beta.4 |
| @uppy/audio | 2.0.0-beta.4 | @uppy/onedrive | 4.0.0-beta.4 |
| @uppy/aws-s3-multipart | 4.0.0-beta.4 | @uppy/provider-views | 4.0.0-beta.4 |
| @uppy/box | 3.0.0-beta.4 | @uppy/react | 4.0.0-beta.4 |
| @uppy/companion | 5.0.0-beta.4 | @uppy/status-bar | 4.0.0-beta.4 |
| @uppy/companion-client | 4.0.0-beta.4 | @uppy/store-redux | 4.0.0-beta.2 |
| @uppy/compressor | 2.0.0-beta.4 | @uppy/svelte | 4.0.0-beta.2 |
| @uppy/core | 4.0.0-beta.4 | @uppy/transloadit | 4.0.0-beta.4 |
| @uppy/dashboard | 4.0.0-beta.4 | @uppy/unsplash | 4.0.0-beta.4 |
| @uppy/drop-target | 3.0.0-beta.4 | @uppy/url | 4.0.0-beta.4 |
| @uppy/dropbox | 4.0.0-beta.4 | @uppy/utils | 6.0.0-beta.4 |
| @uppy/facebook | 4.0.0-beta.4 | @uppy/webcam | 4.0.0-beta.4 |
| @uppy/file-input | 4.0.0-beta.4 | @uppy/xhr-upload | 4.0.0-beta.2 |
| @uppy/form | 4.0.0-beta.2 | @uppy/zoom | 3.0.0-beta.4 |
| @uppy/google-drive | 4.0.0-beta.4 | uppy | 4.0.0-beta.4 |
| @uppy/image-editor | 3.0.0-beta.2 | | |
- meta: Upgrade Yarn to 4.x (Merlijn Vos / #4849 )
- @uppy/utils: fix fetcher export (Murderlon)
- @uppy/xhr-upload: refactor to use `fetcher` (Merlijn Vos / #5074 )
- docs: use StackBlitz for all examples/issue template (Merlijn Vos / #5125 )
- meta: Update yarn.lock (Murderlon)
- @uppy/svelte: Add svelte 5 as peer dep (frederikhors / #5122 )
- meta: Bump docker/setup-buildx-action from 2 to 3 (dependabot[bot] / #5124 )
- meta: Bump actions/checkout from 3 to 4 (dependabot[bot] / #5123 )
- @uppy/dashboard,@uppy/provider-views: Remove JSX global type everywhere (Merlijn Vos / #5117 )
- @uppy/utils: improve return type of `dataURItoFile` (Antoine du Hamel / #5112 )
- @uppy/drop-target: change drop event type to DragEvent (Alireza Heydari / #5107 )
- @uppy/image-editor: fix label definitions (Antoine du Hamel / #5111 )
- meta: bump Prettier version (Antoine du Hamel / #5114 )
- @uppy/provider-views: bring back "loaded X files..." (Mikael Finstad / #5097 )
- @uppy/dashboard: fix type of trigger option (Merlijn Vos / #5106 )
- meta: fix linter (Antoine du Hamel)
- @uppy/companion: bump Node.js version support matrix (Antoine du Hamel / #5035 )
- @uppy/form: fix `submitOnSuccess` and `triggerUploadOnSubmit` combination (Merlijn Vos / #5058 )
- meta: Bump docker/build-push-action from 3 to 5 (dependabot[bot] / #5105 )
- meta: Bump akhileshns/heroku-deploy from 3.12.12 to 3.13.15 (dependabot[bot] / #5102 )
- meta: Bump docker/login-action from 2 to 3 (dependabot[bot] / #5101 )
- meta: Bump actions/download-artifact from 3 to 4 (dependabot[bot])
- meta: Bump actions/upload-artifact from 3 to 4 (dependabot[bot])
- @uppy/react: remove `useUppy` & reintroduce `useUppyState` (Merlijn Vos / #5059 )
- meta: docs: add back markdown files (Antoine du Hamel / #5064 )
- meta: fix custom provider example (Merlijn Vos / #5079 )
- @uppy/utils: add fetcher (Merlijn Vos / #5073 )
- meta: Fix prettier (Murderlon)
- @uppy/dashboard: add missing `x-zip-compress` archive type (Younes / #5081 )
- meta: Bump docker/metadata-action from 4 to 5 (dependabot[bot] / #5086 )
- meta: Bump actions/setup-node from 3 to 4 (dependabot[bot] / #5087 )
- meta: Bump docker/setup-qemu-action from 2 to 3 (dependabot[bot] / #5089 )
- meta: bump supercharge/redis-github-action from 1.4.0 to 1.8.0 (dependabot[bot] / #5090 )
- meta: bump actions/cache from 3 to 4 (dependabot[bot] / #5088 )
- meta: add `dependabot.yml` to keep GHA up-to-date (Antoine du Hamel / #5083 )
- @uppy/core: Release: uppy@3.24.2 (github-actions[bot] / #5084 )
- @uppy/core: fix `setOptions` not re-rendereing plugin UI (Antoine du Hamel / #5082 )
- meta: bump vite from 5.0.12 to 5.0.13 (dependabot[bot] / #5060 )
- meta: bump tar from 6.1.11 to 6.2.1 (dependabot[bot] / #5068 )
- @uppy/companion,@uppy/file-input: Release: uppy@3.24.1 (github-actions[bot] / #5069 )
- @uppy/companion: upgrade redis (Mikael Finstad / #5065 )
- meta: fix `watch:*` scripts (Antoine du Hamel / #5046 )
- meta: include more packages in `compare_diff` CI (Antoine du Hamel / #5044 )
- @uppy/file-input: add missing export (Antoine du Hamel / #5045 )
- meta: Bump express from 4.18.1 to 4.19.2 in /packages/@uppy/companion (dependabot[bot] / #5036 )
- @uppy/companion: Bump express from 4.18.1 to 4.19.2 (dependabot[bot] / #5037 )
| Package | Version | Package | Version |
| ---------------------- | ------- | ---------------------- | ------- |
| @uppy/audio | 1.1.9 | @uppy/instagram | 3.3.1 |
| @uppy/aws-s3-multipart | 3.11.1 | @uppy/onedrive | 3.3.1 |
| @uppy/box | 2.3.1 | @uppy/provider-views | 3.12.0 |
| @uppy/companion-client | 3.8.1 | @uppy/react | 3.3.1 |
| @uppy/compressor | 1.1.3 | @uppy/status-bar | 3.3.2 |
| @uppy/core | 3.11.0 | @uppy/svelte | 3.1.4 |
| @uppy/dashboard | 3.8.2 | @uppy/transloadit | 3.6.1 |
| @uppy/drop-target | 2.1.0 | @uppy/unsplash | 3.3.1 |
| @uppy/dropbox | 3.3.1 | @uppy/url | 3.6.1 |
| @uppy/facebook | 3.3.1 | @uppy/utils | 5.9.0 |
| @uppy/file-input | 3.1.2 | @uppy/webcam | 3.4.1 |
| @uppy/form | 3.2.1 | @uppy/xhr-upload | 3.6.5 |
| @uppy/google-drive | 3.5.1 | @uppy/zoom | 2.3.1 |
| @uppy/image-editor | 2.4.5 | uppy | 3.25.0 |
- meta: enforce use of `.js` extension in `import type` declarations (Antoine du Hamel / #5126 )
- @uppy/core: add instance ID to generated IDs (Merlijn Vos / #5080 )
- @uppy/core: reference updated i18n in Restricter (Merlijn Vos / #5118 )
- @uppy/xhr-upload: refactor to use `fetcher` (Merlijn Vos / #5074 )
- meta: docs: use StackBlitz for all examples/issue template (Merlijn Vos / #5125 )
- meta: Update yarn.lock (Murderlon)
- @uppy/svelte: Add svelte 5 as peer dep (frederikhors / #5122 )
- meta: Bump docker/setup-buildx-action from 2 to 3 (dependabot[bot] / #5124 )
- meta: Bump actions/checkout from 3 to 4 (dependabot[bot] / #5123 )
- @uppy/dashboard,@uppy/provider-views: Remove JSX global type everywhere (Merlijn Vos / #5117 )
- @uppy/utils: improve return type of `dataURItoFile` (Antoine du Hamel / #5112 )
- @uppy/drop-target: change drop event type to DragEvent (Alireza Heydari / #5107 )
- @uppy/image-editor: fix label definitions (Antoine du Hamel / #5111 )
- meta: bump Prettier version (Antoine du Hamel / #5114 )
- @uppy/provider-views: bring back "loaded X files..." (Mikael Finstad / #5097 )
- @uppy/dashboard: fix type of trigger option (Merlijn Vos / #5106 )
- meta: fix linter (Antoine du Hamel)
- @uppy/form: fix `submitOnSuccess` and `triggerUploadOnSubmit` combination (Merlijn Vos / #5058 )
- meta: Bump docker/build-push-action from 3 to 5 (dependabot[bot] / #5105 )
- meta: Bump akhileshns/heroku-deploy from 3.12.12 to 3.13.15 (dependabot[bot] / #5102 )
- meta: Bump docker/login-action from 2 to 3 (dependabot[bot] / #5101 )
- meta: Bump actions/download-artifact from 3 to 4 (dependabot[bot])
- meta: Bump actions/upload-artifact from 3 to 4 (dependabot[bot])
2024-04-29 20:12:59 +00:00
Merlijn Vos
57b5909611
Remove JSX global type everywhere ( #5117 )
...
* Remove JSX global type everywhere
* Add JSX to restricted globals
* Fix last instances of JSX global
2024-04-25 16:20:28 +02:00
Antoine du Hamel
2f5c32a269
@uppy/image-editor: fix label definitions ( #5111 )
2024-04-23 17:45:45 +02:00
Merlijn Vos
d602d93829
@uppy/image-editor: remove default target ( #4966 )
2024-02-27 17:56:28 +01:00
Merlijn Vos
59ce5a37bc
@uppy/core: improve UIPluginOptions types ( #4946 )
...
Co-authored-by: Antoine du Hamel <antoine@transloadit.com>
2024-02-22 16:30:46 +01:00
Antoine du Hamel
9fb5162bd2
meta: disable @typescript-eslint/no-non-null-assertion lint rule ( #4945 )
2024-02-21 13:24:55 +01:00
Merlijn Vos
ab7ed608dc
meta: resolve jsx to Preact in shared tsconfig ( #4923 )
2024-02-15 14:05:54 +01:00
Evgenia Karunus
3c0140aa13
Image editor: make compressor work after the image editor, too ( #4918 )
...
* Editor.tsx - clean up post typescriptofication
* dev - finally add favicons to avoid errors in the console
* ImageEditor.tsx - reinsert filename after image editor
2024-02-14 15:59:59 +04:00
Antoine du Hamel
66bd526ab3
meta: validate defaultOptions for stricter option types ( #4901 )
2024-02-01 14:06:42 +01:00
Merlijn Vos
d18bb0c468
@uppy/image-editor: migrate to TS ( #4880 )
2024-01-24 11:27:05 +01:00
Lucklj521
f2cce79898
@uppy/image-editor: respect cropperOptions.initialAspectRatio ( #4805 )
...
Co-authored-by: lijie <lijie@shangyuan.biz>
2023-11-27 13:25:29 +01:00
Evgenia Karunus
47e9f70761
More image editor improvements ( #4676 )
...
* Editor.jsx - make granular rotation [-45, 45] instead of [-45, 44]
* Editor.jsx - add labels to all buttons
* css - center granularRotation's label
* locale - Revert -> Cancel -> Reset
* locale - Rotate => Rotate 90°
Co-authored-by: Alexander Zaytsev <nqst@users.noreply.github.com>
* Update packages/@uppy/image-editor/src/locale.js
locale - Flip => Flip horizontally
Co-authored-by: Alexander Zaytsev <nqst@users.noreply.github.com>
* typo fix
* Editor.jsx - add cropbox limitation
* Editor.jsx - always behave as if cropbox is still wrapping the full image on rotation
* Editor.jsx - cropper settings => `.addEventListener`
* cropper.scss - move all Uppy-specific changes into `style.scss`
* css - enable theme-dependent backgrounds
* inputrange.scss - update the version, move all Uppy-specific changes into `style.scss`
* style.scss - improve toolbox styles
* style.scss - make slider :hover/:focus visible!
* prettier - run prettier on our new code
* image editor - fix Alex's "weird image" error
* image editor - add the `quality: 0.8` explanation
* image editor - set the minimum height and width of the cropbox
---------
Co-authored-by: Alexander Zaytsev <nqst@users.noreply.github.com>
2023-11-01 13:33:11 +00:00
Artur Paikin
8b252086f5
@uppy/dashboard: auto discover and install plugins without target ( #4343 )
...
* Dashboard: auto discover plugins no matter when they were installed
* Remove target from RemoteSoruces, making it compatible with @uppy/react
* Update packages/@uppy/dashboard/src/Dashboard.jsx
Co-authored-by: Mikael Finstad <finstaden@gmail.com>
* Removed comments, added comments
* better comment
* Change type — otherwise gets listed on Dashboard sources
* Add RemoteSources to React test
* Add RemoteSources to React example
* Add tests
* Refactor for less iteration for each plugin, rename functions
* Prevent error when opts are undefined
* remove console.logs
* prettier
---------
Co-authored-by: Mikael Finstad <finstaden@gmail.com>
2023-10-12 23:19:40 +01:00
Antoine du Hamel
34c78e9093
meta: run Prettier on existing files ( #4713 )
2023-09-29 11:11:28 +02:00
Evgenia Karunus
574209cced
ImageEditor.jsx - remove 1px black lines ( #4678 )
2023-09-27 23:25:57 +01:00
Evgenia Karunus
57336a1781
Improve image rotation ( #4639 )
...
* ImageEditor - fix 90deg rotations
* ImageEditor - make 90deg rotations work like on Android
Fixes https://github.com/transloadit/uppy/issues/4380
* ImageEditor - refactor
ImageEditor - naturalWidth -> width
ImageEditor - rename imageData to canvasData (bc it's canavasData!)
ImageEditor - add comments
* ImageEditor - make tall & narrow images fit properly into the container too
* ImageEditor - remove dark corners on rotation
* ImageEditor - make both `{ angleGranular, angle90Deg }` objective
* ImageEditor - working "90deg + granular rotation" combo
* ImageEditor - get rid of normalized angles
* getScaleFactorThatRemovesDarkCorners.js - refactor
* ImageEditor - preserve flip
2023-09-06 12:46:33 +01:00
Livia Medeiros
8ce10e8c53
image-editor: add checkered background ( #4194 )
2022-11-09 14:51:39 -03:00
Livia Medeiros
b23805ee29
image-editor: fix controls in small Dashboard ( #4113 )
2022-09-19 13:52:04 +02:00
Merlijn Vos
f1a7e0c909
Fix uppy.close() crashes when remote-sources or image-editor is installed ( #3914 )
2022-07-27 17:22:22 +02:00
James R T
329c1d04c0
@uppy/image-editor: Add image editor cancel event ( #3875 )
...
Co-authored-by: Merlijn Vos <merlijn@soverin.net>
2022-07-12 12:19:21 +02:00
Antoine du Hamel
2cbd762627
@uppy/image-editor: remove CJS-interop hack in the source code ( #3778 )
2022-05-23 17:14:52 +02:00
Antoine du Hamel
4c81c21a22
@uppy/image-editor: refactor to ESM ( #3685 )
2022-05-03 19:07:23 +02:00
Merlijn Vos
cf4c5088f3
@uppy/image-editor: namespace input range css ( #3406 )
2022-01-04 18:01:27 +01:00
Mohamed Boudra
335e0dffd4
Pass croppedCanvasOptions to getCroppedCanvas ( #3320 )
2021-11-16 10:42:33 +00:00
Merlijn Vos
00094af525
Refactor locale scripts & generate types and docs ( #3276 )
...
Closes #3232
### Summary
- Create `locale.js` for every plugin instead of `this.defaultLocale` in the class
- Complete refactor of locale scripts
- No dynamic plugin class imports with hacks to mimic the environment in order to get the `defaultLocale`.
- Separate tests and build in separate files
- Add two modes for test file, `unused` (fails hard) and `warnings`
- Generate docs
- Use remark to cleanly mutate the file
- Rename some doc files to match the plugin name (such as `statusbar` --> `status-bar`)
- Comments in `locale.js` are kept and are present in the docs as well.
- Generate types
2021-11-10 11:43:04 +01:00
Kevin van Zonneveld
bfe659820e
Upgrade linting to 2.0.0-0 ( #3280 )
...
* Upgrade linting to 2.0.0-0
* Adjust so we can pass without error
* Fix linting
* Update header-blacklist.js
* Update index.js
* Update Uppy.js
* Update Components.js
* Update StatusBar.js
* Update Assembly.js
* Upgrade to linting 2.0.0 (final release)
2021-11-09 11:19:05 +00:00
Antoine du Hamel
46b0540e92
@uppy/image-editor: add workaround for when Cropper is loaded as ESM ( #3218 )
...
* @uppy/image-editor: add workaround for when `Cropper` is loaded as ESM
Fixes: https://github.com/transloadit/uppy/issues/3199
* Update packages/@uppy/image-editor/src/Editor.js
Co-authored-by: Kevin van Zonneveld <kevin@vanzonneveld.net>
* Add backlog entry
Co-authored-by: Kevin van Zonneveld <kevin@vanzonneveld.net>
2021-09-28 16:59:13 +02:00
Artur Paikin
dbe3ed25b3
build: add stylelint ( #3124 )
...
* add stylelint with stylelint-config-standard
* autofix style issues
* fix more linting issues
* add stylelint-scss
* fix two more
* add stylelint-config-rational-order and autofix order
https://github.com/constverum/stylelint-config-rational-order
2021-08-24 01:37:57 +01:00
Antoine du Hamel
ec87b232e9
meta: enforce no-unused-vars linter rule ( #3118 )
...
* meta: enforce `no-unused-vars` linter rule
* meta: fix `@typescript-eslint/no-unused-vars` linter warnings
* meta: enforce `no-unused-expressions` lint rule
* @uppy/companion: fix `tsc` build
2021-08-23 13:10:17 +01:00
Artur Paikin
bb1c615dc4
Merge conflict, Editor.js
2021-07-30 14:31:21 +01:00
Artur Paikin
172cc77f63
Merge master
2021-07-30 14:27:21 +01:00
Merlijn Vos
7db4ced76e
Add croppedCanvasOptions to image editor opts ( #3037 )
...
* Add `croppedCanvasOptions` & fix types
* Update website/src/docs/image-editor.md
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
* Update website/src/docs/image-editor.md
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
* Update website/src/docs/image-editor.md
Co-authored-by: Artur Paikin <artur@arturpaikin.com>
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
2021-07-30 14:27:56 +02:00
Artur Paikin
4ca78ab543
Set plugin titles from locale ( #3023 )
...
* 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>
2021-07-30 13:02:32 +01:00
Artur Paikin
f20330aee9
Dashboard: rename Done to Cancel, add Save to Image Editor ( #3033 )
...
* Rename Done button to Cancel everywhere
* Add Save button to the top bar of the FileEditor
* Remove Save button from Image Editor toolbar
* fix locale
2021-07-21 14:07:42 +01:00
Merlijn Vos
f01538ba41
Resolve all type TODO's ( #2963 )
2021-07-20 14:40:31 +02:00
Antoine du Hamel
fe0f79e8c2
@uppy/image-editor: fix SASS deprecation warning ( #3009 )
2021-07-14 14:25:25 +02:00
Antoine du Hamel
c315329399
Remove IE polyfills and special casing ( #2947 )
...
* Remove IE polyfills and special casing
* dashboard: remove `resize-observer-polyfill`
* deps: remove url-parse to use global `URL` instead
* Update documentation for browser support
* Add a migration guide
* Update e2e test platforms
* Remove polyfills from examples and add those missing in CDN bundle
* Use Node.js v16.x on CI because of `AbortController`
* Update bundle builder to produce two builds: `uppy.js` without polyfills, `uppy.legacy.js` with polyfills.
* Upgrade create-react-app deps
* remove null coalescing operator as it's not supported by the build chain
* disable Safari testing (for now)
Co-authored-by: Renée Kooi <renee@kooi.me>
2021-06-28 11:34:51 +02:00
Merlijn Vos
ecec3d3213
Split Plugin into BasePlugin and extended UIPlugin ( #2944 )
2021-06-18 13:23:16 +02:00
Antoine du Hamel
0c510ee799
add more granular image rotation control ( #2838 )
...
* add more granular image rotation control
Fixes: https://github.com/transloadit/uppy/issues/2636
* fixup! add more granular image rotation control
* fixup! add more granular image rotation control
* fixup! add more granular image rotation control
* fixup! add more granular image rotation control
* add input-range-scss dependency
* Modify the rotation slider
- Better visual styles for the slider
- Position a toggle in the center of the slider
- Make it work better on moblile
- 90° rotation: rotate counterclockwise
- 90° rotation: update icon
* Use black background for the canvas when rotating (instead of gray)
* Use smaller range for granular rotation input
* Optimize event listeners
* Fix styles and state unsyncronisation
* Update package-lock.json
Co-authored-by: Alexander Zaytsev <nqst@users.noreply.github.com>
Co-authored-by: Artur Paikin <artur@arturpaikin.com>
2021-06-13 14:31:19 +01:00
Stanislav Červeňák
5fafa7b7a9
image-editor: fix flipHorizontal string ( #2815 )
...
Co-authored-by: Renée Kooi <renee@kooi.me>
2021-03-17 14:37:08 +01:00
Kevin van Zonneveld
764c2ccada
Update Linter ( #2796 )
...
* relocate .vscode
* Switch to transloadit linter
* Update .eslintrc.json
* autofix code
* unlink and install eslint-config-transloadit@1.1.1
* Change 0 to "off"
* Don't change 'use strict'
* Do not vertically align
* disable key-spacing
* add import/no-extraneous-dependencies per package
* add more react/a11y warnings
* Revert "autofix code"
This reverts commit 14c8a8cde8 .
* add import/no-extraneous-dependencies per example and main package
* autofix code (2)
* Allow devDependencies in ./bin
* Change import/no-extraneous-dependencies to warn again
* upgrade linter
* Set import/no-extraneous-dependencies to warn
2021-03-15 16:25:17 +00:00
Artur Paikin
a6a28eac67
dashboard: add autoopen for file editors (image-editor) ( #2681 )
...
* final-file-added event for when the last file in the batch has been added
* intoduce autoOpenFileEditor — open when the last file (image) from a batch has beed added
* make cropping box more visible
* add docs
* final-file-added --> files-added
2020-12-18 21:27:48 +00:00
Artur Paikin
ce92b6b919
Image editor zoom button and types fix ( #2632 )
...
* fix zoom button
* fix types
2020-11-14 13:59:38 +00:00