Commit graph

108 commits

Author SHA1 Message Date
Artur Paikin
209a0079d3 Release 2021-05-05 21:50:17 +01:00
JT
f149eb1a38
Add function as allowed prop type (#2873) 2021-05-04 17:52:05 +01:00
Artur Paikin
1751241362 Release 2021-03-31 23:59:08 +01:00
Renée Kooi
cb1a41234a
Workspaces (#2835) 2021-03-31 14:04:18 +02:00
Renée Kooi
c1d15abf10
error on import lint failure + some misc lint fixes (#2813)
Co-authored-by: Artur Paikin <artur@arturpaikin.com>
2021-03-20 11:02:49 +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
Renée Kooi
4bf1072363
Release 2021-03-10 13:11:28 +01:00
Artur Paikin
7d162b0dcc Release 2021-02-26 03:37:58 +00:00
Artur Paikin
2eabc33099 Release 2021-02-10 18:55:14 +00:00
Artur Paikin
7c55bd855e Release 2021-01-28 16:08:14 +00:00
Artur Paikin
e1efe07927 Release 2021-01-27 16:22:43 +00:00
Renée Kooi
c81780230d
Add all the CI badges (#2725)
* 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>
2021-01-13 00:30:59 +00:00
Artur Paikin
1493a807fe Release 2020-12-23 18:04:51 +00:00
Andrew
80b5ace47d
Added FileInput component to React (#2706)
Co-authored-by: Artur Paikin <artur@arturpaikin.com>
2020-12-18 21:21:12 +00:00
Renée Kooi
b03c5af053
react: add useUppy() hook (#2666)
* react: add useUppy() hook

* add test

* docs: replace useRef/useEffect recommendation with useUppy()

* fix typo
2020-12-18 21:11:11 +00:00
Renée Kooi
38599e3aa2
Release 2020-12-11 21:17:27 +01:00
Artur Paikin
68a23d9ff1 Release 2020-11-25 23:33:54 +00:00
ifedapoolarewaju
3ff9ab042f
Release 2020-11-13 11:52:51 +01:00
Artur Paikin
84f7b4d37d Release 2020-10-30 03:27:41 +00:00
Olivier Le Moign
3c27c655e9
Fix react imports. (#2589) 2020-10-29 13:30:00 +00:00
Artur Paikin
d07d27422c Release 2020-10-02 05:41:02 +01:00
Artur Paikin
986e3986fe Release 2020-09-17 00:11:50 +03:00
ifedapoolarewaju
7bf5ca55a7
Release 2020-09-07 12:40:44 +01:00
Andrew
0533357d61
Remove the --save flag (#2503) 2020-09-04 14:32:21 +02:00
ifedapoolarewaju
32e5445fac
Release 2020-08-17 15:08:07 +01:00
Renée Kooi
35ca9a84f8
Release 2020-08-13 10:51:47 +02:00
Renée Kooi
8a1ead8b53
Release 2020-08-10 17:49:30 +02:00
ifedapoolarewaju
36ab6f1d49
Release 2020-07-30 15:52:20 +01:00
Renée Kooi
2d91641ddd
Release 2020-07-29 16:50:45 +02:00
Renée Kooi
8c826313b6
A few docs things (#2371) 2020-07-29 12:17:27 +02:00
Renée Kooi
6151b33700
Release 2020-07-21 16:49:28 +02:00
Artur Paikin
1faeb43228 Release 2020-07-19 14:37:55 +01:00
Renée Kooi
16686fc0ca
Release 2020-07-15 13:59:56 +02:00
ifedapoolarewaju
aacaff256c
Release 2020-06-18 16:31:40 +01:00
Artur Paikin
b00ba13912 Release 2020-06-13 03:12:22 +01:00
Renée Kooi
6a01523273
Release 2020-05-25 15:51:21 +02:00
ifedapoolarewaju
5528c6f6ea
Release 2020-04-30 12:52:46 +01:00
Renée Kooi
6e2dfd7c0f
Release 2020-04-29 17:45:02 +02:00
ifedapoolarewaju
323233488f
Release 2020-04-15 20:07:42 +01:00
Artur Paikin
5752662a93 Release 2020-04-14 22:25:47 +02:00
ifedapoolarewaju
0481589f3b
Release 2020-04-08 17:37:56 +01:00
Renée Kooi
700863e46e
Release 2020-04-01 17:32:30 +02:00
ifedapoolarewaju
fa32da7cf3
Release 2020-03-25 12:37:44 +01:00
Renée Kooi
ab3d7cb067
react: fix typescript proptypes for DashboardModal, fixes #2124 (#2136) 2020-03-16 15:22:03 +01:00
ifedapoolarewaju
b20bc7e1f1
Release 2020-02-26 10:41:36 +01:00
Andy Chong
59bfaf0d20
react/drag-drop: add a type test and document shared props (#2003)
* Update react-dragdrop.md

DragDrop component only accept `uppy` and `locale` props according to the type declared.
```
import { Uppy, Locale } from './CommonTypes';

export interface DragDropProps {
  uppy: Uppy;
  locale?: Locale;
}

/**
 * React component that renders an area in which files can be dropped to be
 * uploaded.
 */
declare const DragDrop: React.ComponentType<DragDropProps>;
export default DragDrop;```

* drag-drop: accept a number for width/height

* docs: add back dragdrop props

* docs: use the same option style as previously [skip ci]

Co-authored-by: Renée Kooi <renee@kooi.me>
2020-02-24 15:13:01 +01:00
Artur Paikin
2c98271103 Release 2020-02-14 23:17:48 +01:00
Renée Kooi
be66c47deb
Actually check types (#1918)
* types: stronger typings

* Remove remaining `declare module` things for uppy.use

* Format types standard-style-like

* Add `target` properties to plugin typings

* Add type for `replaceTargetContent` option

* xhr-upload: allow lowercase method

* opt in to stricter typechecks

* use the strictly typed version in all typings tests

* endtoend: use strict types in typescript test

* Add some comments to the typings file so IDEs will warn about untyped use()

* informer: remove obsolete option from typings

* react: generate prop types based on actual options types

* react: update types

* react: fix import in typings test

* companion-client: add `pluginId` property to ProviderOptions type

Co-Authored-By: Ifedapo .A. Olarewaju <ifedapoolarewaju@gmail.com>

* core: remove some `any` types

* *: add locale string types

* *: generate locale typings

* core: fix LocaleStrings<> type

* dashboard: add locale string type tests

* tus: inherit options typings from tus-js-client

* transloadit: add missing options types

* ci: do the required build steps before testing typings

* Support TokenStorage in types, add `title?: string` options

* form: update typings

* types: put TokenStorage type in dependents

* Document Uppy.StrictTypes

* if we pin at least we should use the latest

* Allow document.querySelector

I think it's a eslint-plugin-compat bug that it's marking querySelector
as not available in Android Chrome 78.

Co-authored-by: Ifedapo .A. Olarewaju <ifedapoolarewaju@gmail.com>
2020-02-12 16:22:09 +01:00
Artur Paikin
07e9909bfc Release 2020-02-12 12:24:41 +01:00
Artur Paikin
77ef346cb0 Release 2020-02-11 21:17:04 +01:00