@instructure/ui-form-field 8.27.1-snapshot-21 → 8.28.1-snapshot-4

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,15 @@
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
- ## [8.27.1-snapshot-21](https://github.com/instructure/instructure-ui/compare/v8.27.0...v8.27.1-snapshot-21) (2022-08-30)
6
+ ## [8.28.1-snapshot-4](https://github.com/instructure/instructure-ui/compare/v8.28.0...v8.28.1-snapshot-4) (2022-09-12)
7
+
8
+ **Note:** Version bump only for package @instructure/ui-form-field
9
+
10
+
11
+
12
+
13
+
14
+ # [8.28.0](https://github.com/instructure/instructure-ui/compare/v8.27.0...v8.28.0) (2022-09-02)
7
15
 
8
16
  **Note:** Version bump only for package @instructure/ui-form-field
9
17
 
@@ -76,8 +76,7 @@ let FormFieldLabel = (_dec = withStyle(generateStyle, generateComponentTheme), _
76
76
  const _this$props3 = this.props,
77
77
  styles = _this$props3.styles,
78
78
  children = _this$props3.children;
79
- return jsx(ElementType //@ts-expect-error too complex union type
80
- , Object.assign({}, omitProps(this.props, FormFieldLabel.allowedProps), {
79
+ return jsx(ElementType, Object.assign({}, omitProps(this.props, FormFieldLabel.allowedProps), {
81
80
  css: styles === null || styles === void 0 ? void 0 : styles.formFieldLabel,
82
81
  ref: this.handleRef
83
82
  }), children);
@@ -67,8 +67,7 @@ let FormFieldLabel = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.def
67
67
  const _this$props3 = this.props,
68
68
  styles = _this$props3.styles,
69
69
  children = _this$props3.children;
70
- return (0, _emotion.jsx)(ElementType //@ts-expect-error too complex union type
71
- , Object.assign({}, (0, _omitProps.omitProps)(this.props, FormFieldLabel.allowedProps), {
70
+ return (0, _emotion.jsx)(ElementType, Object.assign({}, (0, _omitProps.omitProps)(this.props, FormFieldLabel.allowedProps), {
72
71
  css: styles === null || styles === void 0 ? void 0 : styles.formFieldLabel,
73
72
  ref: this.handleRef
74
73
  }), children);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-form-field",
3
- "version": "8.27.1-snapshot-21",
3
+ "version": "8.28.1-snapshot-4",
4
4
  "description": "Form layout components.",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "module": "./es/index.js",
@@ -23,22 +23,22 @@
23
23
  },
24
24
  "license": "MIT",
25
25
  "devDependencies": {
26
- "@instructure/ui-babel-preset": "8.27.1-snapshot-21",
27
- "@instructure/ui-test-utils": "8.27.1-snapshot-21",
28
- "@instructure/ui-themes": "8.27.1-snapshot-21"
26
+ "@instructure/ui-babel-preset": "8.28.1-snapshot-4",
27
+ "@instructure/ui-test-utils": "8.28.1-snapshot-4",
28
+ "@instructure/ui-themes": "8.28.1-snapshot-4"
29
29
  },
30
30
  "dependencies": {
31
31
  "@babel/runtime": "^7.13.10",
32
- "@instructure/console": "8.27.1-snapshot-21",
33
- "@instructure/emotion": "8.27.1-snapshot-21",
34
- "@instructure/shared-types": "8.27.1-snapshot-21",
35
- "@instructure/ui-a11y-content": "8.27.1-snapshot-21",
36
- "@instructure/ui-a11y-utils": "8.27.1-snapshot-21",
37
- "@instructure/ui-grid": "8.27.1-snapshot-21",
38
- "@instructure/ui-icons": "8.27.1-snapshot-21",
39
- "@instructure/ui-react-utils": "8.27.1-snapshot-21",
40
- "@instructure/ui-utils": "8.27.1-snapshot-21",
41
- "@instructure/uid": "8.27.1-snapshot-21",
32
+ "@instructure/console": "8.28.1-snapshot-4",
33
+ "@instructure/emotion": "8.28.1-snapshot-4",
34
+ "@instructure/shared-types": "8.28.1-snapshot-4",
35
+ "@instructure/ui-a11y-content": "8.28.1-snapshot-4",
36
+ "@instructure/ui-a11y-utils": "8.28.1-snapshot-4",
37
+ "@instructure/ui-grid": "8.28.1-snapshot-4",
38
+ "@instructure/ui-icons": "8.28.1-snapshot-4",
39
+ "@instructure/ui-react-utils": "8.28.1-snapshot-4",
40
+ "@instructure/ui-utils": "8.28.1-snapshot-4",
41
+ "@instructure/uid": "8.28.1-snapshot-4",
42
42
  "prop-types": "^15"
43
43
  },
44
44
  "peerDependencies": {
@@ -82,7 +82,6 @@ class FormFieldLabel extends Component<FormFieldLabelProps> {
82
82
 
83
83
  return (
84
84
  <ElementType
85
- //@ts-expect-error too complex union type
86
85
  {...omitProps(this.props, FormFieldLabel.allowedProps)}
87
86
  css={styles?.formFieldLabel}
88
87
  ref={this.handleRef}