@instructure/ui-form-field 10.13.0 → 10.13.1-snapshot-0

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.13.1-snapshot-0](https://github.com/instructure/instructure-ui/compare/v10.13.0...v10.13.1-snapshot-0) (2025-03-10)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **ui-form-field:** do not pass vAlign prop to underlying html element ([78135b0](https://github.com/instructure/instructure-ui/commit/78135b09d7af43d536acafb4350b345896ee30d3))
12
+
13
+
14
+
15
+
16
+
6
17
  # [10.13.0](https://github.com/instructure/instructure-ui/compare/v10.12.0...v10.13.0) (2025-03-06)
7
18
 
8
19
 
@@ -41,10 +41,5 @@ const propTypes = {
41
41
  isGroup: PropTypes.bool,
42
42
  margin: PropTypes.string
43
43
  };
44
- const allowedProps = ['label', 'id', 'as', 'messages', 'messagesId', 'children', 'inline', 'layout', 'labelAlign', 'width', 'inputContainerRef', 'elementRef', 'margin'
45
-
46
- // added vAlign because FormField and FormFieldGroup passes it, but not adding
47
- // it to allowedProps to prevent it from getting passed through accidentally
48
- //'vAlign'
49
- ];
44
+ const allowedProps = ['label', 'id', 'as', 'messages', 'messagesId', 'children', 'inline', 'layout', 'labelAlign', 'width', 'inputContainerRef', 'elementRef', 'margin', 'vAlign'];
50
45
  export { propTypes, allowedProps };
@@ -48,9 +48,4 @@ const propTypes = exports.propTypes = {
48
48
  isGroup: _propTypes.default.bool,
49
49
  margin: _propTypes.default.string
50
50
  };
51
- const allowedProps = exports.allowedProps = ['label', 'id', 'as', 'messages', 'messagesId', 'children', 'inline', 'layout', 'labelAlign', 'width', 'inputContainerRef', 'elementRef', 'margin'
52
-
53
- // added vAlign because FormField and FormFieldGroup passes it, but not adding
54
- // it to allowedProps to prevent it from getting passed through accidentally
55
- //'vAlign'
56
- ];
51
+ const allowedProps = exports.allowedProps = ['label', 'id', 'as', 'messages', 'messagesId', 'children', 'inline', 'layout', 'labelAlign', 'width', 'inputContainerRef', 'elementRef', 'margin', 'vAlign'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-form-field",
3
- "version": "10.13.0",
3
+ "version": "10.13.1-snapshot-0",
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.13.0",
27
- "@instructure/ui-babel-preset": "10.13.0",
28
- "@instructure/ui-test-utils": "10.13.0",
29
- "@instructure/ui-themes": "10.13.0",
26
+ "@instructure/ui-axe-check": "10.13.1-snapshot-0",
27
+ "@instructure/ui-babel-preset": "10.13.1-snapshot-0",
28
+ "@instructure/ui-test-utils": "10.13.1-snapshot-0",
29
+ "@instructure/ui-themes": "10.13.1-snapshot-0",
30
30
  "@testing-library/jest-dom": "^6.6.3",
31
31
  "@testing-library/react": "^16.0.1",
32
32
  "vitest": "^2.1.8"
33
33
  },
34
34
  "dependencies": {
35
35
  "@babel/runtime": "^7.26.0",
36
- "@instructure/console": "10.13.0",
37
- "@instructure/emotion": "10.13.0",
38
- "@instructure/shared-types": "10.13.0",
39
- "@instructure/ui-a11y-content": "10.13.0",
40
- "@instructure/ui-a11y-utils": "10.13.0",
41
- "@instructure/ui-grid": "10.13.0",
42
- "@instructure/ui-icons": "10.13.0",
43
- "@instructure/ui-react-utils": "10.13.0",
44
- "@instructure/ui-utils": "10.13.0",
45
- "@instructure/uid": "10.13.0",
36
+ "@instructure/console": "10.13.1-snapshot-0",
37
+ "@instructure/emotion": "10.13.1-snapshot-0",
38
+ "@instructure/shared-types": "10.13.1-snapshot-0",
39
+ "@instructure/ui-a11y-content": "10.13.1-snapshot-0",
40
+ "@instructure/ui-a11y-utils": "10.13.1-snapshot-0",
41
+ "@instructure/ui-grid": "10.13.1-snapshot-0",
42
+ "@instructure/ui-icons": "10.13.1-snapshot-0",
43
+ "@instructure/ui-react-utils": "10.13.1-snapshot-0",
44
+ "@instructure/ui-utils": "10.13.1-snapshot-0",
45
+ "@instructure/uid": "10.13.1-snapshot-0",
46
46
  "prop-types": "^15.8.1"
47
47
  },
48
48
  "peerDependencies": {
@@ -142,11 +142,8 @@ const allowedProps: AllowedPropKeys = [
142
142
  'width',
143
143
  'inputContainerRef',
144
144
  'elementRef',
145
- 'margin'
146
-
147
- // added vAlign because FormField and FormFieldGroup passes it, but not adding
148
- // it to allowedProps to prevent it from getting passed through accidentally
149
- //'vAlign'
145
+ 'margin',
146
+ 'vAlign'
150
147
  ]
151
148
 
152
149
  type FormFieldStyleProps = {