@instructure/ui-number-input 8.50.1-snapshot-1 → 8.50.1-snapshot-14
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/package.json +15 -15
- package/src/NumberInput/README.md +4 -5
- 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.50.1-snapshot-
|
|
6
|
+
## [8.50.1-snapshot-14](https://github.com/instructure/instructure-ui/compare/v8.50.0...v8.50.1-snapshot-14) (2023-12-08)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @instructure/ui-number-input
|
|
9
9
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-number-input",
|
|
3
|
-
"version": "8.50.1-snapshot-
|
|
3
|
+
"version": "8.50.1-snapshot-14",
|
|
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.50.1-snapshot-
|
|
27
|
-
"@instructure/ui-babel-preset": "8.50.1-snapshot-
|
|
28
|
-
"@instructure/ui-scripts": "8.50.1-snapshot-
|
|
29
|
-
"@instructure/ui-test-locator": "8.50.1-snapshot-
|
|
30
|
-
"@instructure/ui-test-utils": "8.50.1-snapshot-
|
|
31
|
-
"@instructure/ui-themes": "8.50.1-snapshot-
|
|
26
|
+
"@instructure/ui-axe-check": "8.50.1-snapshot-14",
|
|
27
|
+
"@instructure/ui-babel-preset": "8.50.1-snapshot-14",
|
|
28
|
+
"@instructure/ui-scripts": "8.50.1-snapshot-14",
|
|
29
|
+
"@instructure/ui-test-locator": "8.50.1-snapshot-14",
|
|
30
|
+
"@instructure/ui-test-utils": "8.50.1-snapshot-14",
|
|
31
|
+
"@instructure/ui-themes": "8.50.1-snapshot-14",
|
|
32
32
|
"@testing-library/react": "^14.0.0"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@babel/runtime": "^7.23.2",
|
|
36
|
-
"@instructure/emotion": "8.50.1-snapshot-
|
|
37
|
-
"@instructure/shared-types": "8.50.1-snapshot-
|
|
38
|
-
"@instructure/ui-form-field": "8.50.1-snapshot-
|
|
39
|
-
"@instructure/ui-icons": "8.50.1-snapshot-
|
|
40
|
-
"@instructure/ui-react-utils": "8.50.1-snapshot-
|
|
41
|
-
"@instructure/ui-testable": "8.50.1-snapshot-
|
|
42
|
-
"@instructure/ui-utils": "8.50.1-snapshot-
|
|
43
|
-
"@instructure/uid": "8.50.1-snapshot-
|
|
36
|
+
"@instructure/emotion": "8.50.1-snapshot-14",
|
|
37
|
+
"@instructure/shared-types": "8.50.1-snapshot-14",
|
|
38
|
+
"@instructure/ui-form-field": "8.50.1-snapshot-14",
|
|
39
|
+
"@instructure/ui-icons": "8.50.1-snapshot-14",
|
|
40
|
+
"@instructure/ui-react-utils": "8.50.1-snapshot-14",
|
|
41
|
+
"@instructure/ui-testable": "8.50.1-snapshot-14",
|
|
42
|
+
"@instructure/ui-utils": "8.50.1-snapshot-14",
|
|
43
|
+
"@instructure/uid": "8.50.1-snapshot-14",
|
|
44
44
|
"keycode": "^2.2.1",
|
|
45
45
|
"prop-types": "^15.8.1"
|
|
46
46
|
},
|
|
@@ -7,13 +7,12 @@ uncontrolled** - you must pass event handlers if you want it to respond to
|
|
|
7
7
|
user input.
|
|
8
8
|
|
|
9
9
|
This example handles arrow buttons, up/down arrow keys, and typing into
|
|
10
|
-
the input.
|
|
10
|
+
the input. It also includes an `onBlur` handler that displays an error message
|
|
11
11
|
if the input is invalid or missing.
|
|
12
12
|
|
|
13
13
|
```js
|
|
14
14
|
---
|
|
15
|
-
|
|
16
|
-
render: false
|
|
15
|
+
type: example
|
|
17
16
|
---
|
|
18
17
|
class Example extends React.Component {
|
|
19
18
|
MIN = 0
|
|
@@ -149,7 +148,7 @@ NumberInput comes in 2 sizes. The default size is "medium".
|
|
|
149
148
|
|
|
150
149
|
```js
|
|
151
150
|
---
|
|
152
|
-
|
|
151
|
+
type: example
|
|
153
152
|
---
|
|
154
153
|
<div>
|
|
155
154
|
<NumberInput renderLabel="Default-size input" /><br/>
|
|
@@ -161,7 +160,7 @@ example: true
|
|
|
161
160
|
|
|
162
161
|
```js
|
|
163
162
|
---
|
|
164
|
-
|
|
163
|
+
type: embed
|
|
165
164
|
---
|
|
166
165
|
<Guidelines>
|
|
167
166
|
<Figure recommendation="yes" title="Do">
|