@instructure/ui-number-input 9.0.2-snapshot-1 → 9.0.2-snapshot-3
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 +1 -1
- package/es/NumberInput/index.js +4 -4
- package/lib/NumberInput/index.js +4 -4
- package/package.json +17 -17
- package/tsconfig.build.tsbuildinfo +1 -1
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
|
-
## [9.0.2-snapshot-
|
|
6
|
+
## [9.0.2-snapshot-3](https://github.com/instructure/instructure-ui/compare/v9.0.1...v9.0.2-snapshot-3) (2024-05-28)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @instructure/ui-number-input
|
|
9
9
|
|
package/es/NumberInput/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var _dec, _dec2, _dec3, _class,
|
|
1
|
+
var _dec, _dec2, _dec3, _class, _NumberInput, _IconArrowOpenUpLine, _IconArrowOpenDownLin;
|
|
2
2
|
/*
|
|
3
3
|
* The MIT License (MIT)
|
|
4
4
|
*
|
|
@@ -40,7 +40,7 @@ category: components
|
|
|
40
40
|
id: NumberInput
|
|
41
41
|
---
|
|
42
42
|
**/
|
|
43
|
-
let NumberInput = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle, generateComponentTheme), _dec3 = testable(), _dec(_class = _dec2(_class = _dec3(_class = (
|
|
43
|
+
let NumberInput = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle, generateComponentTheme), _dec3 = testable(), _dec(_class = _dec2(_class = _dec3(_class = (_NumberInput = class NumberInput extends Component {
|
|
44
44
|
constructor(...args) {
|
|
45
45
|
super(...args);
|
|
46
46
|
this.state = {
|
|
@@ -208,7 +208,7 @@ let NumberInput = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle
|
|
|
208
208
|
onKeyDown: this.handleKeyDown
|
|
209
209
|
})), showArrows ? this.renderArrows() : null)));
|
|
210
210
|
}
|
|
211
|
-
},
|
|
211
|
+
}, _NumberInput.displayName = "NumberInput", _NumberInput.componentId = 'NumberInput', _NumberInput.allowedProps = allowedProps, _NumberInput.propTypes = propTypes, _NumberInput.defaultProps = {
|
|
212
212
|
// Leave interaction default undefined so that `disabled` and `readOnly` can also be supplied
|
|
213
213
|
interaction: void 0,
|
|
214
214
|
messages: [],
|
|
@@ -218,6 +218,6 @@ let NumberInput = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle
|
|
|
218
218
|
display: 'block',
|
|
219
219
|
textAlign: 'start',
|
|
220
220
|
inputMode: 'numeric'
|
|
221
|
-
},
|
|
221
|
+
}, _NumberInput)) || _class) || _class) || _class);
|
|
222
222
|
export default NumberInput;
|
|
223
223
|
export { NumberInput };
|
package/lib/NumberInput/index.js
CHANGED
|
@@ -21,7 +21,7 @@ var _emotion = require("@instructure/emotion");
|
|
|
21
21
|
var _styles = _interopRequireDefault(require("./styles"));
|
|
22
22
|
var _theme = _interopRequireDefault(require("./theme"));
|
|
23
23
|
var _props = require("./props");
|
|
24
|
-
var _dec, _dec2, _dec3, _class,
|
|
24
|
+
var _dec, _dec2, _dec3, _class, _NumberInput, _IconArrowOpenUpLine, _IconArrowOpenDownLin;
|
|
25
25
|
/*
|
|
26
26
|
* The MIT License (MIT)
|
|
27
27
|
*
|
|
@@ -52,7 +52,7 @@ category: components
|
|
|
52
52
|
id: NumberInput
|
|
53
53
|
---
|
|
54
54
|
**/
|
|
55
|
-
let NumberInput = exports.NumberInput = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec2 = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec3 = (0, _testable.testable)(), _dec(_class = _dec2(_class = _dec3(_class = (
|
|
55
|
+
let NumberInput = exports.NumberInput = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec2 = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec3 = (0, _testable.testable)(), _dec(_class = _dec2(_class = _dec3(_class = (_NumberInput = class NumberInput extends _react.Component {
|
|
56
56
|
constructor(...args) {
|
|
57
57
|
super(...args);
|
|
58
58
|
this.state = {
|
|
@@ -220,7 +220,7 @@ let NumberInput = exports.NumberInput = (_dec = (0, _withDeterministicId.withDet
|
|
|
220
220
|
onKeyDown: this.handleKeyDown
|
|
221
221
|
})), showArrows ? this.renderArrows() : null)));
|
|
222
222
|
}
|
|
223
|
-
},
|
|
223
|
+
}, _NumberInput.displayName = "NumberInput", _NumberInput.componentId = 'NumberInput', _NumberInput.allowedProps = _props.allowedProps, _NumberInput.propTypes = _props.propTypes, _NumberInput.defaultProps = {
|
|
224
224
|
// Leave interaction default undefined so that `disabled` and `readOnly` can also be supplied
|
|
225
225
|
interaction: void 0,
|
|
226
226
|
messages: [],
|
|
@@ -230,5 +230,5 @@ let NumberInput = exports.NumberInput = (_dec = (0, _withDeterministicId.withDet
|
|
|
230
230
|
display: 'block',
|
|
231
231
|
textAlign: 'start',
|
|
232
232
|
inputMode: 'numeric'
|
|
233
|
-
},
|
|
233
|
+
}, _NumberInput)) || _class) || _class) || _class);
|
|
234
234
|
var _default = exports.default = NumberInput;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-number-input",
|
|
3
|
-
"version": "9.0.2-snapshot-
|
|
3
|
+
"version": "9.0.2-snapshot-3",
|
|
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,24 +23,24 @@
|
|
|
23
23
|
"ts:check": "tsc -p tsconfig.build.json --noEmit --emitDeclarationOnly false"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@instructure/ui-axe-check": "9.0.2-snapshot-
|
|
27
|
-
"@instructure/ui-babel-preset": "9.0.2-snapshot-
|
|
28
|
-
"@instructure/ui-scripts": "9.0.2-snapshot-
|
|
29
|
-
"@instructure/ui-test-locator": "9.0.2-snapshot-
|
|
30
|
-
"@instructure/ui-test-utils": "9.0.2-snapshot-
|
|
31
|
-
"@instructure/ui-themes": "9.0.2-snapshot-
|
|
32
|
-
"@testing-library/react": "^
|
|
26
|
+
"@instructure/ui-axe-check": "9.0.2-snapshot-3",
|
|
27
|
+
"@instructure/ui-babel-preset": "9.0.2-snapshot-3",
|
|
28
|
+
"@instructure/ui-scripts": "9.0.2-snapshot-3",
|
|
29
|
+
"@instructure/ui-test-locator": "9.0.2-snapshot-3",
|
|
30
|
+
"@instructure/ui-test-utils": "9.0.2-snapshot-3",
|
|
31
|
+
"@instructure/ui-themes": "9.0.2-snapshot-3",
|
|
32
|
+
"@testing-library/react": "^15.0.7"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@babel/runtime": "^7.
|
|
36
|
-
"@instructure/emotion": "9.0.2-snapshot-
|
|
37
|
-
"@instructure/shared-types": "9.0.2-snapshot-
|
|
38
|
-
"@instructure/ui-form-field": "9.0.2-snapshot-
|
|
39
|
-
"@instructure/ui-icons": "9.0.2-snapshot-
|
|
40
|
-
"@instructure/ui-react-utils": "9.0.2-snapshot-
|
|
41
|
-
"@instructure/ui-testable": "9.0.2-snapshot-
|
|
42
|
-
"@instructure/ui-utils": "9.0.2-snapshot-
|
|
43
|
-
"@instructure/uid": "9.0.2-snapshot-
|
|
35
|
+
"@babel/runtime": "^7.24.5",
|
|
36
|
+
"@instructure/emotion": "9.0.2-snapshot-3",
|
|
37
|
+
"@instructure/shared-types": "9.0.2-snapshot-3",
|
|
38
|
+
"@instructure/ui-form-field": "9.0.2-snapshot-3",
|
|
39
|
+
"@instructure/ui-icons": "9.0.2-snapshot-3",
|
|
40
|
+
"@instructure/ui-react-utils": "9.0.2-snapshot-3",
|
|
41
|
+
"@instructure/ui-testable": "9.0.2-snapshot-3",
|
|
42
|
+
"@instructure/ui-utils": "9.0.2-snapshot-3",
|
|
43
|
+
"@instructure/uid": "9.0.2-snapshot-3",
|
|
44
44
|
"keycode": "^2.2.1",
|
|
45
45
|
"prop-types": "^15.8.1"
|
|
46
46
|
},
|