@instructure/ui-number-input 8.46.2-snapshot-5 → 8.46.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 +1 -1
- package/lib/NumberInput/NumberInputLocator.js +2 -3
- package/lib/NumberInput/index.js +2 -4
- package/lib/NumberInput/locator.js +1 -2
- package/lib/NumberInput/props.js +2 -4
- package/lib/NumberInput/styles.js +1 -2
- package/lib/NumberInput/theme.js +1 -2
- package/package.json +16 -16
- 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
|
-
## [8.46.2-snapshot-
|
|
6
|
+
## [8.46.2-snapshot-7](https://github.com/instructure/instructure-ui/compare/v8.46.1...v8.46.2-snapshot-7) (2023-10-20)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @instructure/ui-number-input
|
|
9
9
|
|
|
@@ -31,8 +31,7 @@ var _index = require("./index");
|
|
|
31
31
|
*/
|
|
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
|
-
const NumberInputLocator = (0, _locator.locator)(_index.NumberInput.selector, {
|
|
34
|
+
const NumberInputLocator = exports.NumberInputLocator = (0, _locator.locator)(_index.NumberInput.selector, {
|
|
35
35
|
findInput: (...args) => (0, _locator.locator)('input').find(...args),
|
|
36
36
|
findArrowButtons: (...args) => (0, _locator.locator)('button').findAll(...args)
|
|
37
|
-
});
|
|
38
|
-
exports.NumberInputLocator = NumberInputLocator;
|
|
37
|
+
});
|
package/lib/NumberInput/index.js
CHANGED
|
@@ -53,7 +53,7 @@ id: NumberInput
|
|
|
53
53
|
---
|
|
54
54
|
@tsProps
|
|
55
55
|
**/
|
|
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 {
|
|
56
|
+
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 = (_class2 = class NumberInput extends _react.Component {
|
|
57
57
|
constructor(...args) {
|
|
58
58
|
super(...args);
|
|
59
59
|
this.state = {
|
|
@@ -232,6 +232,4 @@ let NumberInput = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec2
|
|
|
232
232
|
textAlign: 'start',
|
|
233
233
|
inputMode: 'numeric'
|
|
234
234
|
}, _class2)) || _class) || _class) || _class);
|
|
235
|
-
exports.
|
|
236
|
-
var _default = NumberInput;
|
|
237
|
-
exports.default = _default;
|
|
235
|
+
var _default = exports.default = NumberInput;
|
|
@@ -34,5 +34,4 @@ var _NumberInputLocator = require("./NumberInputLocator");
|
|
|
34
34
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
35
35
|
* SOFTWARE.
|
|
36
36
|
*/
|
|
37
|
-
var _default = _NumberInputLocator.NumberInputLocator;
|
|
38
|
-
exports.default = _default;
|
|
37
|
+
var _default = exports.default = _NumberInputLocator.NumberInputLocator;
|
package/lib/NumberInput/props.js
CHANGED
|
@@ -31,7 +31,7 @@ var _FormPropTypes = require("@instructure/ui-form-field/lib/FormPropTypes.js");
|
|
|
31
31
|
* SOFTWARE.
|
|
32
32
|
*/
|
|
33
33
|
|
|
34
|
-
const propTypes = {
|
|
34
|
+
const propTypes = exports.propTypes = {
|
|
35
35
|
renderLabel: _propTypes.default.oneOfType([_propTypes.default.node, _propTypes.default.func]).isRequired,
|
|
36
36
|
id: _propTypes.default.string,
|
|
37
37
|
interaction: _propTypes.default.oneOf(['enabled', 'disabled', 'readonly']),
|
|
@@ -53,6 +53,4 @@ const propTypes = {
|
|
|
53
53
|
inputMode: _propTypes.default.oneOf(['numeric', 'decimal', 'tel']),
|
|
54
54
|
textAlign: _propTypes.default.oneOf(['start', 'center'])
|
|
55
55
|
};
|
|
56
|
-
exports.
|
|
57
|
-
const allowedProps = ['renderLabel', 'id', 'interaction', 'messages', 'placeholder', 'isRequired', 'showArrows', 'size', 'value', 'width', 'display', 'inputRef', 'onFocus', 'onBlur', 'onChange', 'onDecrement', 'onIncrement', 'onKeyDown', 'inputMode', 'textAlign'];
|
|
58
|
-
exports.allowedProps = allowedProps;
|
|
56
|
+
const allowedProps = exports.allowedProps = ['renderLabel', 'id', 'interaction', 'messages', 'placeholder', 'isRequired', 'showArrows', 'size', 'value', 'width', 'display', 'inputRef', 'onFocus', 'onBlur', 'onChange', 'onDecrement', 'onIncrement', 'onKeyDown', 'inputMode', 'textAlign'];
|
package/lib/NumberInput/theme.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-number-input",
|
|
3
|
-
"version": "8.46.2-snapshot-
|
|
3
|
+
"version": "8.46.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,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": "8.46.2-snapshot-
|
|
27
|
-
"@instructure/ui-babel-preset": "8.46.2-snapshot-
|
|
28
|
-
"@instructure/ui-scripts": "8.46.2-snapshot-
|
|
29
|
-
"@instructure/ui-test-locator": "8.46.2-snapshot-
|
|
30
|
-
"@instructure/ui-test-utils": "8.46.2-snapshot-
|
|
31
|
-
"@instructure/ui-themes": "8.46.2-snapshot-
|
|
26
|
+
"@instructure/ui-axe-check": "8.46.2-snapshot-7",
|
|
27
|
+
"@instructure/ui-babel-preset": "8.46.2-snapshot-7",
|
|
28
|
+
"@instructure/ui-scripts": "8.46.2-snapshot-7",
|
|
29
|
+
"@instructure/ui-test-locator": "8.46.2-snapshot-7",
|
|
30
|
+
"@instructure/ui-test-utils": "8.46.2-snapshot-7",
|
|
31
|
+
"@instructure/ui-themes": "8.46.2-snapshot-7",
|
|
32
32
|
"@testing-library/react": "^14.0.0"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@babel/runtime": "^7.
|
|
36
|
-
"@instructure/emotion": "8.46.2-snapshot-
|
|
37
|
-
"@instructure/shared-types": "8.46.2-snapshot-
|
|
38
|
-
"@instructure/ui-form-field": "8.46.2-snapshot-
|
|
39
|
-
"@instructure/ui-icons": "8.46.2-snapshot-
|
|
40
|
-
"@instructure/ui-react-utils": "8.46.2-snapshot-
|
|
41
|
-
"@instructure/ui-testable": "8.46.2-snapshot-
|
|
42
|
-
"@instructure/ui-utils": "8.46.2-snapshot-
|
|
43
|
-
"@instructure/uid": "8.46.2-snapshot-
|
|
35
|
+
"@babel/runtime": "^7.23.2",
|
|
36
|
+
"@instructure/emotion": "8.46.2-snapshot-7",
|
|
37
|
+
"@instructure/shared-types": "8.46.2-snapshot-7",
|
|
38
|
+
"@instructure/ui-form-field": "8.46.2-snapshot-7",
|
|
39
|
+
"@instructure/ui-icons": "8.46.2-snapshot-7",
|
|
40
|
+
"@instructure/ui-react-utils": "8.46.2-snapshot-7",
|
|
41
|
+
"@instructure/ui-testable": "8.46.2-snapshot-7",
|
|
42
|
+
"@instructure/ui-utils": "8.46.2-snapshot-7",
|
|
43
|
+
"@instructure/uid": "8.46.2-snapshot-7",
|
|
44
44
|
"keycode": "^2.2.1",
|
|
45
45
|
"prop-types": "^15.8.1"
|
|
46
46
|
},
|