@instructure/ui-form-field 10.3.1-snapshot-5 → 10.3.1-snapshot-8
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
|
-
## [10.3.1-snapshot-
|
|
6
|
+
## [10.3.1-snapshot-8](https://github.com/instructure/instructure-ui/compare/v10.3.0...v10.3.1-snapshot-8) (2024-10-10)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @instructure/ui-form-field
|
|
9
9
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-form-field",
|
|
3
|
-
"version": "10.3.1-snapshot-
|
|
3
|
+
"version": "10.3.1-snapshot-8",
|
|
4
4
|
"description": "Form layout components.",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"module": "./es/index.js",
|
|
@@ -23,26 +23,26 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@instructure/ui-axe-check": "10.3.1-snapshot-
|
|
27
|
-
"@instructure/ui-babel-preset": "10.3.1-snapshot-
|
|
28
|
-
"@instructure/ui-test-utils": "10.3.1-snapshot-
|
|
29
|
-
"@instructure/ui-themes": "10.3.1-snapshot-
|
|
26
|
+
"@instructure/ui-axe-check": "10.3.1-snapshot-8",
|
|
27
|
+
"@instructure/ui-babel-preset": "10.3.1-snapshot-8",
|
|
28
|
+
"@instructure/ui-test-utils": "10.3.1-snapshot-8",
|
|
29
|
+
"@instructure/ui-themes": "10.3.1-snapshot-8",
|
|
30
30
|
"@testing-library/jest-dom": "^6.4.6",
|
|
31
31
|
"@testing-library/react": "^16.0.1",
|
|
32
32
|
"vitest": "^2.1.1"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@babel/runtime": "^7.25.6",
|
|
36
|
-
"@instructure/console": "10.3.1-snapshot-
|
|
37
|
-
"@instructure/emotion": "10.3.1-snapshot-
|
|
38
|
-
"@instructure/shared-types": "10.3.1-snapshot-
|
|
39
|
-
"@instructure/ui-a11y-content": "10.3.1-snapshot-
|
|
40
|
-
"@instructure/ui-a11y-utils": "10.3.1-snapshot-
|
|
41
|
-
"@instructure/ui-grid": "10.3.1-snapshot-
|
|
42
|
-
"@instructure/ui-icons": "10.3.1-snapshot-
|
|
43
|
-
"@instructure/ui-react-utils": "10.3.1-snapshot-
|
|
44
|
-
"@instructure/ui-utils": "10.3.1-snapshot-
|
|
45
|
-
"@instructure/uid": "10.3.1-snapshot-
|
|
36
|
+
"@instructure/console": "10.3.1-snapshot-8",
|
|
37
|
+
"@instructure/emotion": "10.3.1-snapshot-8",
|
|
38
|
+
"@instructure/shared-types": "10.3.1-snapshot-8",
|
|
39
|
+
"@instructure/ui-a11y-content": "10.3.1-snapshot-8",
|
|
40
|
+
"@instructure/ui-a11y-utils": "10.3.1-snapshot-8",
|
|
41
|
+
"@instructure/ui-grid": "10.3.1-snapshot-8",
|
|
42
|
+
"@instructure/ui-icons": "10.3.1-snapshot-8",
|
|
43
|
+
"@instructure/ui-react-utils": "10.3.1-snapshot-8",
|
|
44
|
+
"@instructure/ui-utils": "10.3.1-snapshot-8",
|
|
45
|
+
"@instructure/uid": "10.3.1-snapshot-8",
|
|
46
46
|
"prop-types": "^15.8.1"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
package/src/FormField/README.md
CHANGED
|
@@ -9,7 +9,7 @@ components. In most cases it shouldn't be used directly.
|
|
|
9
9
|
---
|
|
10
10
|
type: example
|
|
11
11
|
---
|
|
12
|
-
<FormField id="
|
|
13
|
-
<input style={{display: 'block', width: '100%'}}/>
|
|
12
|
+
<FormField id="_foo123" label="Opacity" width="200px">
|
|
13
|
+
<input style={{display: 'block', width: '100%'}} id="_foo123"/>
|
|
14
14
|
</FormField>
|
|
15
15
|
```
|
package/src/FormField/props.ts
CHANGED
|
@@ -36,7 +36,8 @@ import type { FormMessage } from '../FormPropTypes'
|
|
|
36
36
|
type FormFieldOwnProps = {
|
|
37
37
|
label: React.ReactNode
|
|
38
38
|
/**
|
|
39
|
-
* the id of the input (to link it to its label for a11y)
|
|
39
|
+
* the id of the input (to link it to its label for a11y).
|
|
40
|
+
* Applied as the `for` HTML prop on the label.
|
|
40
41
|
*/
|
|
41
42
|
id: string
|
|
42
43
|
/**
|