@instructure/ui-form-field 10.5.0 → 10.5.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 +11 -0
- package/es/FormFieldLayout/styles.js +1 -1
- package/lib/FormFieldLayout/styles.js +1 -1
- package/package.json +15 -15
- package/src/FormField/props.ts +1 -1
- package/src/FormFieldGroup/props.ts +1 -1
- package/src/FormFieldLayout/props.ts +4 -2
- package/src/FormFieldLayout/styles.ts +1 -1
- package/src/FormFieldMessages/props.ts +1 -1
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/FormField/props.d.ts +1 -1
- package/types/FormFieldGroup/index.d.ts.map +1 -1
- package/types/FormFieldGroup/props.d.ts +1 -1
- package/types/FormFieldLayout/props.d.ts +1 -1
- package/types/FormFieldLayout/props.d.ts.map +1 -1
- package/types/FormFieldMessages/props.d.ts +1 -1
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.5.1-snapshot-1](https://github.com/instructure/instructure-ui/compare/v10.5.0...v10.5.1-snapshot-1) (2024-11-11)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **many:** fix regression where form elements without label got misaligned ([139f7f1](https://github.com/instructure/instructure-ui/commit/139f7f130cd7e8372af869a13cfd50cd6a97fd85))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [10.5.0](https://github.com/instructure/instructure-ui/compare/v10.4.1...v10.5.0) (2024-11-07)
|
|
7
18
|
|
|
8
19
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-form-field",
|
|
3
|
-
"version": "10.5.
|
|
3
|
+
"version": "10.5.1-snapshot-1",
|
|
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.5.
|
|
27
|
-
"@instructure/ui-babel-preset": "10.5.
|
|
28
|
-
"@instructure/ui-test-utils": "10.5.
|
|
29
|
-
"@instructure/ui-themes": "10.5.
|
|
26
|
+
"@instructure/ui-axe-check": "10.5.1-snapshot-1",
|
|
27
|
+
"@instructure/ui-babel-preset": "10.5.1-snapshot-1",
|
|
28
|
+
"@instructure/ui-test-utils": "10.5.1-snapshot-1",
|
|
29
|
+
"@instructure/ui-themes": "10.5.1-snapshot-1",
|
|
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.5.
|
|
37
|
-
"@instructure/emotion": "10.5.
|
|
38
|
-
"@instructure/shared-types": "10.5.
|
|
39
|
-
"@instructure/ui-a11y-content": "10.5.
|
|
40
|
-
"@instructure/ui-a11y-utils": "10.5.
|
|
41
|
-
"@instructure/ui-grid": "10.5.
|
|
42
|
-
"@instructure/ui-icons": "10.5.
|
|
43
|
-
"@instructure/ui-react-utils": "10.5.
|
|
44
|
-
"@instructure/ui-utils": "10.5.
|
|
45
|
-
"@instructure/uid": "10.5.
|
|
36
|
+
"@instructure/console": "10.5.1-snapshot-1",
|
|
37
|
+
"@instructure/emotion": "10.5.1-snapshot-1",
|
|
38
|
+
"@instructure/shared-types": "10.5.1-snapshot-1",
|
|
39
|
+
"@instructure/ui-a11y-content": "10.5.1-snapshot-1",
|
|
40
|
+
"@instructure/ui-a11y-utils": "10.5.1-snapshot-1",
|
|
41
|
+
"@instructure/ui-grid": "10.5.1-snapshot-1",
|
|
42
|
+
"@instructure/ui-icons": "10.5.1-snapshot-1",
|
|
43
|
+
"@instructure/ui-react-utils": "10.5.1-snapshot-1",
|
|
44
|
+
"@instructure/ui-utils": "10.5.1-snapshot-1",
|
|
45
|
+
"@instructure/uid": "10.5.1-snapshot-1",
|
|
46
46
|
"prop-types": "^15.8.1"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
package/src/FormField/props.ts
CHANGED
|
@@ -43,7 +43,7 @@ type FormFieldOwnProps = {
|
|
|
43
43
|
/**
|
|
44
44
|
* Array of objects with shape: `{
|
|
45
45
|
* text: React.ReactNode,
|
|
46
|
-
* type: One of: ['error', 'hint', 'success', 'screenreader-only']
|
|
46
|
+
* type: One of: ['newError', 'error', 'hint', 'success', 'screenreader-only']
|
|
47
47
|
* }`
|
|
48
48
|
*/
|
|
49
49
|
messages?: FormMessage[]
|
|
@@ -45,7 +45,7 @@ type FormFieldGroupOwnProps = {
|
|
|
45
45
|
/**
|
|
46
46
|
* Array of objects with shape: `{
|
|
47
47
|
* text: React.ReactNode,
|
|
48
|
-
* type: One of: ['error', 'hint', 'success', 'screenreader-only']
|
|
48
|
+
* type: One of: ['newError', 'error', 'hint', 'success', 'screenreader-only']
|
|
49
49
|
* }`
|
|
50
50
|
*/
|
|
51
51
|
messages?: FormMessage[]
|
|
@@ -48,7 +48,7 @@ type FormFieldLayoutOwnProps = {
|
|
|
48
48
|
/**
|
|
49
49
|
* Array of objects with shape: `{
|
|
50
50
|
* text: React.ReactNode,
|
|
51
|
-
* type: One of: ['error', 'hint', 'success', 'screenreader-only']
|
|
51
|
+
* type: One of: ['newError', 'error', 'hint', 'success', 'screenreader-only']
|
|
52
52
|
* }`
|
|
53
53
|
*/
|
|
54
54
|
messages?: FormMessage[]
|
|
@@ -79,7 +79,9 @@ type FormFieldLayoutProps = FormFieldLayoutOwnProps &
|
|
|
79
79
|
OtherHTMLAttributes<FormFieldLayoutOwnProps> &
|
|
80
80
|
WithDeterministicIdProps
|
|
81
81
|
|
|
82
|
-
type FormFieldLayoutStyle = ComponentStyle<
|
|
82
|
+
type FormFieldLayoutStyle = ComponentStyle<
|
|
83
|
+
'formFieldLayout' | 'groupErrorMessage'
|
|
84
|
+
>
|
|
83
85
|
|
|
84
86
|
const propTypes: PropValidators<PropKeys> = {
|
|
85
87
|
label: PropTypes.node.isRequired,
|
|
@@ -38,7 +38,7 @@ type FormFieldMessagesOwnProps = {
|
|
|
38
38
|
/**
|
|
39
39
|
* Array of objects with shape: `{
|
|
40
40
|
* text: React.ReactNode,
|
|
41
|
-
* type: One of: ['error', 'hint', 'success', 'screenreader-only']
|
|
41
|
+
* type: One of: ['newError', 'error', 'hint', 'success', 'screenreader-only']
|
|
42
42
|
* }`
|
|
43
43
|
*/
|
|
44
44
|
messages?: FormMessage[]
|