@instructure/ui-form-field 10.3.1-snapshot-5 → 10.3.1-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 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-5](https://github.com/instructure/instructure-ui/compare/v10.3.0...v10.3.1-snapshot-5) (2024-10-10)
6
+ ## [10.3.1-snapshot-7](https://github.com/instructure/instructure-ui/compare/v10.3.0...v10.3.1-snapshot-7) (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-5",
3
+ "version": "10.3.1-snapshot-7",
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-5",
27
- "@instructure/ui-babel-preset": "10.3.1-snapshot-5",
28
- "@instructure/ui-test-utils": "10.3.1-snapshot-5",
29
- "@instructure/ui-themes": "10.3.1-snapshot-5",
26
+ "@instructure/ui-axe-check": "10.3.1-snapshot-7",
27
+ "@instructure/ui-babel-preset": "10.3.1-snapshot-7",
28
+ "@instructure/ui-test-utils": "10.3.1-snapshot-7",
29
+ "@instructure/ui-themes": "10.3.1-snapshot-7",
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-5",
37
- "@instructure/emotion": "10.3.1-snapshot-5",
38
- "@instructure/shared-types": "10.3.1-snapshot-5",
39
- "@instructure/ui-a11y-content": "10.3.1-snapshot-5",
40
- "@instructure/ui-a11y-utils": "10.3.1-snapshot-5",
41
- "@instructure/ui-grid": "10.3.1-snapshot-5",
42
- "@instructure/ui-icons": "10.3.1-snapshot-5",
43
- "@instructure/ui-react-utils": "10.3.1-snapshot-5",
44
- "@instructure/ui-utils": "10.3.1-snapshot-5",
45
- "@instructure/uid": "10.3.1-snapshot-5",
36
+ "@instructure/console": "10.3.1-snapshot-7",
37
+ "@instructure/emotion": "10.3.1-snapshot-7",
38
+ "@instructure/shared-types": "10.3.1-snapshot-7",
39
+ "@instructure/ui-a11y-content": "10.3.1-snapshot-7",
40
+ "@instructure/ui-a11y-utils": "10.3.1-snapshot-7",
41
+ "@instructure/ui-grid": "10.3.1-snapshot-7",
42
+ "@instructure/ui-icons": "10.3.1-snapshot-7",
43
+ "@instructure/ui-react-utils": "10.3.1-snapshot-7",
44
+ "@instructure/ui-utils": "10.3.1-snapshot-7",
45
+ "@instructure/uid": "10.3.1-snapshot-7",
46
46
  "prop-types": "^15.8.1"
47
47
  },
48
48
  "peerDependencies": {
@@ -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="foo" label="Opacity" width="200px">
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
  ```
@@ -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
  /**