uppy/packages/@uppy/react/src
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
..
__mocks__ Use opts.id as the plugin ID for all plugins, fixes #1674 2019-06-19 09:58:14 +02:00
CommonTypes.d.ts Actually check types (#1918) 2020-02-12 16:22:09 +01:00
Dashboard.d.ts Actually check types (#1918) 2020-02-12 16:22:09 +01:00
Dashboard.js Add back componentWillUnmount 2019-01-21 15:12:30 +01:00
Dashboard.test.js Move React components to @uppy/react package. 2018-06-18 10:14:08 +02:00
DashboardModal.d.ts Actually check types (#1918) 2020-02-12 16:22:09 +01:00
DashboardModal.js componentWillReceiveProps logic moved to componentDidUpdate (#1999) 2020-01-06 14:48:50 +01:00
DashboardModal.test.js Move React components to @uppy/react package. 2018-06-18 10:14:08 +02:00
DragDrop.d.ts Actually check types (#1918) 2020-02-12 16:22:09 +01:00
DragDrop.js Add back componentWillUnmount 2019-01-21 15:12:30 +01:00
DragDrop.test.js Move React components to @uppy/react package. 2018-06-18 10:14:08 +02:00
ProgressBar.d.ts Actually check types (#1918) 2020-02-12 16:22:09 +01:00
ProgressBar.js Add back componentWillUnmount 2019-01-21 15:12:30 +01:00
ProgressBar.test.js Move React components to @uppy/react package. 2018-06-18 10:14:08 +02:00
propTypes.js react: add thumbnailWidth prop type for Dashboard components, fixes #1524 2019-05-08 11:02:03 +02:00
StatusBar.d.ts Actually check types (#1918) 2020-02-12 16:22:09 +01:00
StatusBar.js Add back componentWillUnmount 2019-01-21 15:12:30 +01:00
StatusBar.test.js update to status-bar and xhr-upload in: tests, website, dependencies, examples 2018-06-21 16:20:55 -04:00
Wrapper.js Add back componentWillUnmount 2019-01-21 15:12:30 +01:00