@papillonbits/library 0.28.0 → 0.30.0

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.
Files changed (2) hide show
  1. package/a11y/index.js +6 -4
  2. package/package.json +2 -2
package/a11y/index.js CHANGED
@@ -1,16 +1,18 @@
1
1
  "use strict";
2
2
 
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
-
5
3
  Object.defineProperty(exports, "__esModule", {
6
4
  value: true
7
5
  });
8
6
  exports.checkAccessibilityIssues = checkAccessibilityIssues;
9
7
 
10
- var _react = _interopRequireDefault(require("@axe-core/react"));
8
+ // https://github.com/dequelabs/axe-core-npm
9
+ // https://www.npmjs.com/package/@axe-core/react
11
10
 
11
+ /* eslint-disable global-require */
12
12
  function checkAccessibilityIssues(react, reactDOM, delay) {
13
13
  if (process.env.NODE_ENV !== 'production') {
14
- (0, _react["default"])(react, reactDOM, delay);
14
+ var axe = require('@axe-core/react');
15
+
16
+ axe(react, reactDOM, delay);
15
17
  }
16
18
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@papillonbits/library",
3
- "version": "0.28.0",
3
+ "version": "0.30.0",
4
4
  "description": "Papillon Bits Library",
5
5
  "homepage": "https://github.com/papillonbits/papillonbits/tree/master/packages/library",
6
6
  "repository": {
@@ -36,5 +36,5 @@
36
36
  "build-acceptance": "npm run build",
37
37
  "build-release": "npm run build"
38
38
  },
39
- "gitHead": "583bc70fbbc4199483176289465c1ecb862f33e3"
39
+ "gitHead": "41fde59cebd2397b181d20dc53f379a367f22f4b"
40
40
  }