@instructure/ui-a11y-utils 8.10.2 → 8.10.3-snapshot.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE.md ADDED
@@ -0,0 +1,27 @@
1
+ ---
2
+ title: The MIT License (MIT)
3
+ category: Getting Started
4
+ order: 9
5
+ ---
6
+
7
+ # The MIT License (MIT)
8
+
9
+ Copyright (c) 2015 Instructure, Inc.
10
+
11
+ **Permission is hereby granted, free of charge, to any person obtaining a copy
12
+ of this software and associated documentation files (the "Software"), to deal
13
+ in the Software without restriction, including without limitation the rights
14
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
15
+ copies of the Software, and to permit persons to whom the Software is
16
+ furnished to do so, subject to the following conditions.**
17
+
18
+ The above copyright notice and this permission notice shall be included in all
19
+ copies or substantial portions of the Software.
20
+
21
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
24
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
25
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
26
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
27
+ SOFTWARE.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-a11y-utils",
3
- "version": "8.10.2",
3
+ "version": "8.10.3-snapshot.19+ff8a37832",
4
4
  "description": "A collection of utilities for managing focus and screen reader behavior",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "type": "commonjs",
@@ -24,19 +24,19 @@
24
24
  "license": "MIT",
25
25
  "dependencies": {
26
26
  "@babel/runtime": "^7.13.10",
27
- "@instructure/console": "8.10.2",
28
- "@instructure/ui-a11y-content": "8.10.2",
29
- "@instructure/ui-dom-utils": "8.10.2",
30
- "@instructure/ui-react-utils": "8.10.2",
31
- "@instructure/ui-testable": "8.10.2",
32
- "@instructure/uid": "8.10.2",
27
+ "@instructure/console": "8.10.3-snapshot.19+ff8a37832",
28
+ "@instructure/ui-a11y-content": "8.10.3-snapshot.19+ff8a37832",
29
+ "@instructure/ui-dom-utils": "8.10.3-snapshot.19+ff8a37832",
30
+ "@instructure/ui-react-utils": "8.10.3-snapshot.19+ff8a37832",
31
+ "@instructure/ui-testable": "8.10.3-snapshot.19+ff8a37832",
32
+ "@instructure/uid": "8.10.3-snapshot.19+ff8a37832",
33
33
  "keycode": "^2",
34
34
  "prop-types": "^15"
35
35
  },
36
36
  "devDependencies": {
37
- "@instructure/ui-babel-preset": "8.10.2",
38
- "@instructure/ui-color-utils": "8.10.2",
39
- "@instructure/ui-test-utils": "8.10.2"
37
+ "@instructure/ui-babel-preset": "8.10.3-snapshot.19+ff8a37832",
38
+ "@instructure/ui-color-utils": "8.10.3-snapshot.19+ff8a37832",
39
+ "@instructure/ui-test-utils": "8.10.3-snapshot.19+ff8a37832"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "react": ">=16.8 <=17"
@@ -44,5 +44,6 @@
44
44
  "publishConfig": {
45
45
  "access": "public"
46
46
  },
47
- "sideEffects": false
47
+ "sideEffects": false,
48
+ "gitHead": "ff8a37832bae778ea0507342d81a32c63cd5f023"
48
49
  }
@@ -199,7 +199,7 @@ class KeyboardFocusRegion {
199
199
  try {
200
200
  // @ts-expect-error ts-migrate(2531) FIXME: Object is possibly 'null'.
201
201
  this._focusLaterElement.focus()
202
- } catch (e) {
202
+ } catch (e: any) {
203
203
  error(
204
204
  false,
205
205
  `
@@ -184,7 +184,7 @@ class ScreenReaderFocusRegion {
184
184
  let body = null
185
185
  try {
186
186
  body = iframe.contentDocument.body
187
- } catch (e) {
187
+ } catch (e: any) {
188
188
  warn(
189
189
  false,
190
190
  `[ui-a11y] could not find a document for iframe: ${e} ${iframe}`