@instructure/ui-number-input 10.12.0 → 10.12.1-snapshot-1
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,6 +3,17 @@
|
|
|
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
|
+
## [10.12.1-snapshot-1](https://github.com/instructure/instructure-ui/compare/v10.12.0...v10.12.1-snapshot-1) (2025-03-03)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **many:** fix form label not read by NVDA in hover mode and other layout issues ([ef77281](https://github.com/instructure/instructure-ui/commit/ef77281890511e8eea794196445d3ef2454537ba))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [10.12.0](https://github.com/instructure/instructure-ui/compare/v10.11.0...v10.12.0) (2025-02-24)
|
|
7
18
|
|
|
8
19
|
|
|
@@ -71,7 +71,7 @@ describe('<NumberInput />', () => {
|
|
|
71
71
|
renderLabel: "Label"
|
|
72
72
|
}))),
|
|
73
73
|
container = _render.container;
|
|
74
|
-
const label = container.querySelector('span[class$="-
|
|
74
|
+
const label = container.querySelector('span[class$="-formFieldLayout__label"]');
|
|
75
75
|
expect(label).toHaveTextContent('Label');
|
|
76
76
|
});
|
|
77
77
|
it('passes the input element to inputRef', async () => {
|
|
@@ -74,7 +74,7 @@ describe('<NumberInput />', () => {
|
|
|
74
74
|
renderLabel: "Label"
|
|
75
75
|
}))),
|
|
76
76
|
container = _render.container;
|
|
77
|
-
const label = container.querySelector('span[class$="-
|
|
77
|
+
const label = container.querySelector('span[class$="-formFieldLayout__label"]');
|
|
78
78
|
expect(label).toHaveTextContent('Label');
|
|
79
79
|
});
|
|
80
80
|
it('passes the input element to inputRef', async () => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-number-input",
|
|
3
|
-
"version": "10.12.
|
|
3
|
+
"version": "10.12.1-snapshot-1",
|
|
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,11 +23,11 @@
|
|
|
23
23
|
"ts:check": "tsc -p tsconfig.build.json --noEmit --emitDeclarationOnly false"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@instructure/ui-axe-check": "10.12.
|
|
27
|
-
"@instructure/ui-babel-preset": "10.12.
|
|
28
|
-
"@instructure/ui-scripts": "10.12.
|
|
29
|
-
"@instructure/ui-test-utils": "10.12.
|
|
30
|
-
"@instructure/ui-themes": "10.12.
|
|
26
|
+
"@instructure/ui-axe-check": "10.12.1-snapshot-1",
|
|
27
|
+
"@instructure/ui-babel-preset": "10.12.1-snapshot-1",
|
|
28
|
+
"@instructure/ui-scripts": "10.12.1-snapshot-1",
|
|
29
|
+
"@instructure/ui-test-utils": "10.12.1-snapshot-1",
|
|
30
|
+
"@instructure/ui-themes": "10.12.1-snapshot-1",
|
|
31
31
|
"@testing-library/jest-dom": "^6.6.3",
|
|
32
32
|
"@testing-library/react": "^16.0.1",
|
|
33
33
|
"@testing-library/user-event": "^14.5.2",
|
|
@@ -35,14 +35,14 @@
|
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@babel/runtime": "^7.26.0",
|
|
38
|
-
"@instructure/emotion": "10.12.
|
|
39
|
-
"@instructure/shared-types": "10.12.
|
|
40
|
-
"@instructure/ui-form-field": "10.12.
|
|
41
|
-
"@instructure/ui-icons": "10.12.
|
|
42
|
-
"@instructure/ui-react-utils": "10.12.
|
|
43
|
-
"@instructure/ui-testable": "10.12.
|
|
44
|
-
"@instructure/ui-utils": "10.12.
|
|
45
|
-
"@instructure/uid": "10.12.
|
|
38
|
+
"@instructure/emotion": "10.12.1-snapshot-1",
|
|
39
|
+
"@instructure/shared-types": "10.12.1-snapshot-1",
|
|
40
|
+
"@instructure/ui-form-field": "10.12.1-snapshot-1",
|
|
41
|
+
"@instructure/ui-icons": "10.12.1-snapshot-1",
|
|
42
|
+
"@instructure/ui-react-utils": "10.12.1-snapshot-1",
|
|
43
|
+
"@instructure/ui-testable": "10.12.1-snapshot-1",
|
|
44
|
+
"@instructure/ui-utils": "10.12.1-snapshot-1",
|
|
45
|
+
"@instructure/uid": "10.12.1-snapshot-1",
|
|
46
46
|
"keycode": "^2",
|
|
47
47
|
"prop-types": "^15.8.1"
|
|
48
48
|
},
|
|
@@ -72,7 +72,9 @@ describe('<NumberInput />', () => {
|
|
|
72
72
|
|
|
73
73
|
it('displays the label', async () => {
|
|
74
74
|
const { container } = render(<NumberInput renderLabel="Label" />)
|
|
75
|
-
const label = container.querySelector(
|
|
75
|
+
const label = container.querySelector(
|
|
76
|
+
'span[class$="-formFieldLayout__label"]'
|
|
77
|
+
)
|
|
76
78
|
|
|
77
79
|
expect(label).toHaveTextContent('Label')
|
|
78
80
|
})
|