aria-ease 1.0.0 → 1.0.2

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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Aria-Ease
2
2
 
3
- Out of the box utility accessibility package to develop production ready applications.
3
+ Out of the box accessibility utility package to develop production ready applications.
4
4
 
5
5
  ## Install
6
6
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aria-ease",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Out of the box utility accessibility package to develop production ready applications.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,11 +1,9 @@
1
- "use strict";
2
1
  /**
3
2
  * Adds keyboard navigation to menu.
4
3
  * @param {string} menu The id of the menu
5
4
  * @param {string} menuItem The class of the items that are children of the menu
6
5
  **/
7
-
8
- function makeMenuAccessible(menu, menuItem) {
6
+ export function makeMenuAccessible(menu, menuItem) {
9
7
  var menuDiv = document.querySelector("#".concat(menu));
10
8
  var menuItems = menuDiv.querySelectorAll(".".concat(menuItem));
11
9
  menuItems.item(0).focus();
@@ -38,5 +36,3 @@ function makeMenuAccessible(menu, menuItem) {
38
36
  }
39
37
  }
40
38
  }
41
-
42
- export { makeMenuAccessible }
package/tsconfig.json CHANGED
@@ -7,7 +7,9 @@
7
7
  "esModuleInterop": false,
8
8
  "allowSyntheticDefaultImports": true,
9
9
  "strict": true,
10
- "forceConsistentCasingInFileNames": true
10
+ "forceConsistentCasingInFileNames": true,
11
+ "module": "es2015",
12
+ "moduleResolution": "node"
11
13
  },
12
14
  "include": ["src"]
13
15
  }