@instructure/ui-number-input 8.38.2-snapshot-5 → 8.38.2-snapshot-7

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/CHANGELOG.md CHANGED
@@ -3,7 +3,7 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- ## [8.38.2-snapshot-5](https://github.com/instructure/instructure-ui/compare/v8.38.1...v8.38.2-snapshot-5) (2023-07-14)
6
+ ## [8.38.2-snapshot-7](https://github.com/instructure/instructure-ui/compare/v8.38.1...v8.38.2-snapshot-7) (2023-07-21)
7
7
 
8
8
  **Note:** Version bump only for package @instructure/ui-number-input
9
9
 
@@ -27,10 +27,6 @@ import { NumberInput } from './index';
27
27
 
28
28
  // @ts-expect-error ts-migrate(2339) FIXME: Property 'selector' does not exist on type 'typeof... Remove this comment to see the full error message
29
29
  export const NumberInputLocator = locator(NumberInput.selector, {
30
- findInput: function () {
31
- return locator('input').find(...arguments);
32
- },
33
- findArrowButtons: function () {
34
- return locator('button').findAll(...arguments);
35
- }
30
+ findInput: (...args) => locator('input').find(...args),
31
+ findArrowButtons: (...args) => locator('button').findAll(...args)
36
32
  });
@@ -42,8 +42,8 @@ id: NumberInput
42
42
  @tsProps
43
43
  **/
44
44
  let NumberInput = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle, generateComponentTheme), _dec3 = testable(), _dec(_class = _dec2(_class = _dec3(_class = (_class2 = class NumberInput extends Component {
45
- constructor() {
46
- super(...arguments);
45
+ constructor(...args) {
46
+ super(...args);
47
47
  this.state = {
48
48
  hasFocus: false
49
49
  };
@@ -32,11 +32,7 @@ var _index = require("./index");
32
32
 
33
33
  // @ts-expect-error ts-migrate(2339) FIXME: Property 'selector' does not exist on type 'typeof... Remove this comment to see the full error message
34
34
  const NumberInputLocator = (0, _locator.locator)(_index.NumberInput.selector, {
35
- findInput: function () {
36
- return (0, _locator.locator)('input').find(...arguments);
37
- },
38
- findArrowButtons: function () {
39
- return (0, _locator.locator)('button').findAll(...arguments);
40
- }
35
+ findInput: (...args) => (0, _locator.locator)('input').find(...args),
36
+ findArrowButtons: (...args) => (0, _locator.locator)('button').findAll(...args)
41
37
  });
42
38
  exports.NumberInputLocator = NumberInputLocator;
@@ -54,8 +54,8 @@ id: NumberInput
54
54
  @tsProps
55
55
  **/
56
56
  let NumberInput = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec2 = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec3 = (0, _testable.testable)(), _dec(_class = _dec2(_class = _dec3(_class = (_class2 = class NumberInput extends _react.Component {
57
- constructor() {
58
- super(...arguments);
57
+ constructor(...args) {
58
+ super(...args);
59
59
  this.state = {
60
60
  hasFocus: false
61
61
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-number-input",
3
- "version": "8.38.2-snapshot-5",
3
+ "version": "8.38.2-snapshot-7",
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/",
@@ -23,21 +23,21 @@
23
23
  "ts:check": "run -T tsc -p tsconfig.build.json --noEmit --emitDeclarationOnly false"
24
24
  },
25
25
  "devDependencies": {
26
- "@instructure/ui-babel-preset": "8.38.2-snapshot-5",
27
- "@instructure/ui-test-locator": "8.38.2-snapshot-5",
28
- "@instructure/ui-test-utils": "8.38.2-snapshot-5",
29
- "@instructure/ui-themes": "8.38.2-snapshot-5"
26
+ "@instructure/ui-babel-preset": "8.38.2-snapshot-7",
27
+ "@instructure/ui-test-locator": "8.38.2-snapshot-7",
28
+ "@instructure/ui-test-utils": "8.38.2-snapshot-7",
29
+ "@instructure/ui-themes": "8.38.2-snapshot-7"
30
30
  },
31
31
  "dependencies": {
32
- "@babel/runtime": "^7.22.5",
33
- "@instructure/emotion": "8.38.2-snapshot-5",
34
- "@instructure/shared-types": "8.38.2-snapshot-5",
35
- "@instructure/ui-form-field": "8.38.2-snapshot-5",
36
- "@instructure/ui-icons": "8.38.2-snapshot-5",
37
- "@instructure/ui-react-utils": "8.38.2-snapshot-5",
38
- "@instructure/ui-testable": "8.38.2-snapshot-5",
39
- "@instructure/ui-utils": "8.38.2-snapshot-5",
40
- "@instructure/uid": "8.38.2-snapshot-5",
32
+ "@babel/runtime": "^7.22.6",
33
+ "@instructure/emotion": "8.38.2-snapshot-7",
34
+ "@instructure/shared-types": "8.38.2-snapshot-7",
35
+ "@instructure/ui-form-field": "8.38.2-snapshot-7",
36
+ "@instructure/ui-icons": "8.38.2-snapshot-7",
37
+ "@instructure/ui-react-utils": "8.38.2-snapshot-7",
38
+ "@instructure/ui-testable": "8.38.2-snapshot-7",
39
+ "@instructure/ui-utils": "8.38.2-snapshot-7",
40
+ "@instructure/uid": "8.38.2-snapshot-7",
41
41
  "keycode": "^2.2.1",
42
42
  "prop-types": "^15.8.1"
43
43
  },