uppy/packages/@uppy/utils/src
Evgenia Karunus 6bcf2040e9 Feature/accessibility (#1507)
* @uppy/provider-views - added accessibility

* @uppy/provider-views - simplified checkbox css

* @uppy/dashboard - on tab set focus to the current verlay

* @uppy/dashboard - factored out code related to focus into a separate file

* @uppy/dashboard, and connected plugins - made focus travel well, and be managed in a single place in Dashboard

* @uppy/dashboard - made modal opener button focus keep focus on modal close

* @uppy/dashboard - focus management for uploaded-files

* @uppy/dashboard - made informer read messages without interruption

* @uppy/provider-views - removed the bug of focus jumping on safari

* @uppy/dashboard - made focus travel well in instagram in firefox

* @uppy - moved lodash.debounce dependency from / to @uppy/dashboard

* everywhere - made <ul>s not focusable for firefox

* @uppy/provider-views - unnested scss, copypasted alex's :focus changes

* Added JSDoc eslint package and rules, and fixed some JSDoc comments

* .eslintrc - made jsdoc errors warnings instead

* package-lock.json for new package.json

* eslint fix

* @uppy/dashboard - avoid forcing focus when we are inline

* @uppy/dashboard - in firefox, made sure superfocus is not switching back to uppy

* @uppy/dashboard - no focus jump for .info() inline,  fix for firefox

Made focus not interrupt .info() when we are in the inline mode;
Made firefox start superfocusing when we either tab into, or click on some element in Uppy

* @uppy/dashboard - only listen to click/focus on uppy

* @uppy/dashboard - started trapping focus in inline mode too

* @uppy/dashboard - restricted trapFocus() event listener to this.el

* @uppy/core - started throttling progress emits.

1. To fix heat up in firefox
2. To fix focus in firefox

* @uppy/core - fixed tests by adding .flush()-s for progress emits

* @uppy/dashboard - stopped trapping focus in inline mode, made background inert

* @uppy/dashboard - added MutationObserver polyfill

* tests - made locale-packs.js pass

* REVERTED last 3 commits that introduced inert

Inert requires too many polyfills, atm tests fail in IE 10.0, wicg-inert library reportedly has performance issues. We decided to at least wait until _some_ browser introduce inert html property natively.

* @uppy/dashboard - IE11 fix for focusing

* @uppy/dashboard - fix for a bug in Safari for long uploads with checkbox clicking

* RERUN TESTS - tiny commit to rerun tests

* @uppy/dashboard - removed useless touchstart event listener

* Cancel superFocus in recordIfFocusedOnUppyRecently, when focus moves away from Uppy

* @uppy/provider-views - made Filter not swallow letters

* @uppy/dashboard - stopped superfocus from refocusing if we're already in the overlay
2019-06-11 19:10:32 +03:00
..
getDroppedFiles Feature/accessibility (#1507) 2019-06-11 19:10:32 +03:00
canvasToBlob.js Move utils files to @uppy/utils package. 2018-06-14 16:31:19 +02:00
dataURItoBlob.js Update eslint-plugin-compat and eslint-plugin-jest 2019-05-20 11:29:10 +02:00
dataURItoBlob.test.js Move utils files to @uppy/utils package. 2018-06-14 16:31:19 +02:00
dataURItoFile.js Move utils files to @uppy/utils package. 2018-06-14 16:31:19 +02:00
dataURItoFile.test.js Move utils files to @uppy/utils package. 2018-06-14 16:31:19 +02:00
emitSocketProgress.js Upgrade eslint. 2019-05-20 11:28:44 +02:00
findAllDOMElements.js Move utils files to @uppy/utils package. 2018-06-14 16:31:19 +02:00
findDOMElement.js tl-wrapper: Embeddable dashboard part 1 2018-12-20 14:50:31 +01:00
FOCUSABLE_ELEMENTS.js Feature/accessibility (#1507) 2019-06-11 19:10:32 +03:00
generateFileID.js Move utils files to @uppy/utils package. 2018-06-14 16:31:19 +02:00
generateFileID.test.js Move utils files to @uppy/utils package. 2018-06-14 16:31:19 +02:00
getBytesRemaining.js Move utils files to @uppy/utils package. 2018-06-14 16:31:19 +02:00
getBytesRemaining.test.js Move utils files to @uppy/utils package. 2018-06-14 16:31:19 +02:00
getETA.js Move utils files to @uppy/utils package. 2018-06-14 16:31:19 +02:00
getETA.test.js Move utils files to @uppy/utils package. 2018-06-14 16:31:19 +02:00
getFileNameAndExtension.js Move utils files to @uppy/utils package. 2018-06-14 16:31:19 +02:00
getFileNameAndExtension.test.js Move utils files to @uppy/utils package. 2018-06-14 16:31:19 +02:00
getFileType.js Fixed getFileType() when passed a file with an upper case extension 2018-11-23 15:13:08 +01:00
getFileType.test.js Fixed getFileType() when passed a file with an upper case extension 2018-11-23 15:13:08 +01:00
getFileTypeExtension.js Support mime types with additional data, fixes #1074 2018-10-08 15:26:32 +02:00
getFileTypeExtension.test.js Support mime types with additional data, fixes #1074 2018-10-08 15:26:32 +02:00
getSocketHost.js companion-client: remove the use of window.location 2019-04-01 14:44:03 +01:00
getSocketHost.test.js Upgrade eslint. 2019-05-20 11:28:44 +02:00
getSpeed.js Move utils files to @uppy/utils package. 2018-06-14 16:31:19 +02:00
getSpeed.test.js Move utils files to @uppy/utils package. 2018-06-14 16:31:19 +02:00
getTimeStamp.js Move utils files to @uppy/utils package. 2018-06-14 16:31:19 +02:00
index.js Add @uppy/utils skeleton. 2018-06-14 16:31:19 +02:00
isDOMElement.js Move utils files to @uppy/utils package. 2018-06-14 16:31:19 +02:00
isDragDropSupported.js Feature/replace dnd in drag drop package (#1565) 2019-06-05 17:04:34 +03:00
isObjectURL.js Move utils files to @uppy/utils package. 2018-06-14 16:31:19 +02:00
isObjectURL.test.js Move utils files to @uppy/utils package. 2018-06-14 16:31:19 +02:00
isPreviewSupported.js utils: Previews can be generated for image/jpg mime type 2018-10-08 14:23:31 +02:00
isPreviewSupported.test.js utils: Previews can be generated for image/jpg mime type 2018-10-08 14:23:31 +02:00
isTouchDevice.js Update eslint-plugin-compat and eslint-plugin-jest 2019-05-20 11:29:10 +02:00
isTouchDevice.test.js Move utils files to @uppy/utils package. 2018-06-14 16:31:19 +02:00
limitPromises.js Move utils files to @uppy/utils package. 2018-06-14 16:31:19 +02:00
limitPromises.test.js Upgrade eslint. 2019-05-20 11:28:44 +02:00
microtip.scss Move stylesheets into packages. 2018-06-18 12:35:47 +02:00
mimeTypes.js mimeTypes.js - added pdf&txt mime types 2019-05-16 06:11:02 +05:00
prettyETA.js Commit improved code formatting suggestion 2019-04-28 13:16:01 +01:00
prettyETA.test.js Status Bar: Hide seconds if more than 1 hour 2019-04-27 21:56:42 +01:00
sampleImageDataURI.js Move utils files to @uppy/utils package. 2018-06-14 16:31:19 +02:00
secondsToTime.js Move utils files to @uppy/utils package. 2018-06-14 16:31:19 +02:00
secondsToTime.test.js Move utils files to @uppy/utils package. 2018-06-14 16:31:19 +02:00
settle.js Move utils files to @uppy/utils package. 2018-06-14 16:31:19 +02:00
settle.test.js Upgrade eslint. 2019-05-20 11:28:44 +02:00
toArray.js Move utils files to @uppy/utils package. 2018-06-14 16:31:19 +02:00
toArray.test.js Move utils files to @uppy/utils package. 2018-06-14 16:31:19 +02:00
Translator.js Allow locale inheritance: defaultLocale, this.uppy.locale, this.opts.locale 2018-10-20 12:49:06 -04:00
Translator.test.js use stubs instead of removed locales 2019-03-19 14:45:56 +03:00