@instructure/ui-number-input 8.12.1-snapshot.43 → 8.12.1-snapshot.47

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.
@@ -24,6 +24,10 @@
24
24
  import { locator } from '@instructure/ui-test-locator';
25
25
  import { NumberInput } from './index';
26
26
  export const NumberInputLocator = locator(NumberInput.selector, {
27
- findInput: (...args) => locator('input').find(...args),
28
- findArrowButtons: (...args) => locator('button').findAll(...args)
27
+ findInput: function () {
28
+ return locator('input').find(...arguments);
29
+ },
30
+ findArrowButtons: function () {
31
+ return locator('button').findAll(...arguments);
32
+ }
29
33
  });
@@ -44,8 +44,8 @@ id: NumberInput
44
44
  **/
45
45
 
46
46
  let NumberInput = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (_temp = _class2 = class NumberInput extends Component {
47
- constructor(...args) {
48
- super(...args);
47
+ constructor() {
48
+ super(...arguments);
49
49
  this.state = {
50
50
  hasFocus: false
51
51
  };
@@ -33,7 +33,11 @@ var _index = require("./index");
33
33
  * SOFTWARE.
34
34
  */
35
35
  const NumberInputLocator = (0, _locator.locator)(_index.NumberInput.selector, {
36
- findInput: (...args) => (0, _locator.locator)('input').find(...args),
37
- findArrowButtons: (...args) => (0, _locator.locator)('button').findAll(...args)
36
+ findInput: function () {
37
+ return (0, _locator.locator)('input').find(...arguments);
38
+ },
39
+ findArrowButtons: function () {
40
+ return (0, _locator.locator)('button').findAll(...arguments);
41
+ }
38
42
  });
39
43
  exports.NumberInputLocator = NumberInputLocator;
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
- exports.NumberInput = exports.default = void 0;
8
+ exports.default = exports.NumberInput = void 0;
9
9
 
10
10
  var _react = require("react");
11
11
 
@@ -46,8 +46,8 @@ id: NumberInput
46
46
  ---
47
47
  **/
48
48
  let NumberInput = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_temp = _class2 = class NumberInput extends _react.Component {
49
- constructor(...args) {
50
- super(...args);
49
+ constructor() {
50
+ super(...arguments);
51
51
  this.state = {
52
52
  hasFocus: false
53
53
  };
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
- exports.allowedProps = exports.propTypes = void 0;
8
+ exports.propTypes = exports.allowedProps = void 0;
9
9
 
10
10
  var _propTypes = _interopRequireDefault(require("prop-types"));
11
11
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-number-input",
3
- "version": "8.12.1-snapshot.43+3eb834049",
3
+ "version": "8.12.1-snapshot.47+70bc15c4e",
4
4
  "description": "A UI component library made by Instructure Inc.",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "homepage": "https://instructure.github.io/instructure-ui/",
@@ -24,21 +24,21 @@
24
24
  "ts:check": "tsc -p tsconfig.build.json --noEmit --emitDeclarationOnly false"
25
25
  },
26
26
  "devDependencies": {
27
- "@instructure/ui-babel-preset": "8.12.1-snapshot.43+3eb834049",
28
- "@instructure/ui-test-locator": "8.12.1-snapshot.43+3eb834049",
29
- "@instructure/ui-test-utils": "8.12.1-snapshot.43+3eb834049",
30
- "@instructure/ui-themes": "8.12.1-snapshot.43+3eb834049"
27
+ "@instructure/ui-babel-preset": "8.12.1-snapshot.47+70bc15c4e",
28
+ "@instructure/ui-test-locator": "8.12.1-snapshot.47+70bc15c4e",
29
+ "@instructure/ui-test-utils": "8.12.1-snapshot.47+70bc15c4e",
30
+ "@instructure/ui-themes": "8.12.1-snapshot.47+70bc15c4e"
31
31
  },
32
32
  "dependencies": {
33
33
  "@babel/runtime": "^7.13.10",
34
- "@instructure/emotion": "8.12.1-snapshot.43+3eb834049",
35
- "@instructure/shared-types": "8.12.1-snapshot.43+3eb834049",
36
- "@instructure/ui-form-field": "8.12.1-snapshot.43+3eb834049",
37
- "@instructure/ui-icons": "8.12.1-snapshot.43+3eb834049",
38
- "@instructure/ui-react-utils": "8.12.1-snapshot.43+3eb834049",
39
- "@instructure/ui-testable": "8.12.1-snapshot.43+3eb834049",
40
- "@instructure/ui-utils": "8.12.1-snapshot.43+3eb834049",
41
- "@instructure/uid": "8.12.1-snapshot.43+3eb834049",
34
+ "@instructure/emotion": "8.12.1-snapshot.47+70bc15c4e",
35
+ "@instructure/shared-types": "8.12.1-snapshot.47+70bc15c4e",
36
+ "@instructure/ui-form-field": "8.12.1-snapshot.47+70bc15c4e",
37
+ "@instructure/ui-icons": "8.12.1-snapshot.47+70bc15c4e",
38
+ "@instructure/ui-react-utils": "8.12.1-snapshot.47+70bc15c4e",
39
+ "@instructure/ui-testable": "8.12.1-snapshot.47+70bc15c4e",
40
+ "@instructure/ui-utils": "8.12.1-snapshot.47+70bc15c4e",
41
+ "@instructure/uid": "8.12.1-snapshot.47+70bc15c4e",
42
42
  "keycode": "^2",
43
43
  "prop-types": "^15"
44
44
  },
@@ -49,5 +49,5 @@
49
49
  "access": "public"
50
50
  },
51
51
  "sideEffects": false,
52
- "gitHead": "3eb834049428e487ae55ea3ef61fec3eb973156d"
52
+ "gitHead": "70bc15c4e8d89589a1372954f7a230ddde5ef71b"
53
53
  }