@instructure/ui-text-input 7.12.0 → 7.15.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,24 @@
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
+ # [7.15.0](https://github.com/instructure/instructure-ui/compare/v7.14.1...v7.15.0) (2022-02-03)
7
+
8
+ **Note:** Version bump only for package @instructure/ui-text-input
9
+
10
+ ## [7.14.1](https://github.com/instructure/instructure-ui/compare/v7.14.0...v7.14.1) (2021-12-06)
11
+
12
+ **Note:** Version bump only for package @instructure/ui-text-input
13
+
14
+ # [7.14.0](https://github.com/instructure/instructure-ui/compare/v7.13.0...v7.14.0) (2021-12-01)
15
+
16
+ ### Features
17
+
18
+ - **ui-form-field:** make FormField messages accept `node` text, not just `string` ([d9e1a7a](https://github.com/instructure/instructure-ui/commit/d9e1a7a)), closes [PR#819](https://github.com/PR/issues/819)
19
+
20
+ # [7.13.0](https://github.com/instructure/instructure-ui/compare/v7.12.0...v7.13.0) (2021-11-18)
21
+
22
+ **Note:** Version bump only for package @instructure/ui-text-input
23
+
6
24
  # [7.12.0](https://github.com/instructure/instructure-ui/compare/v7.11.0...v7.12.0) (2021-10-15)
7
25
 
8
26
  **Note:** Version bump only for package @instructure/ui-text-input
@@ -291,7 +291,7 @@ var TextInput = (_dec = deprecated('8.0.0', {
291
291
 
292
292
  /**
293
293
  * object with shape: `{
294
- * text: PropTypes.string,
294
+ * text: PropTypes.node,
295
295
  * type: PropTypes.oneOf(['error', 'hint', 'success', 'screenreader-only'])
296
296
  * }`
297
297
  */
@@ -300,7 +300,7 @@ var TextInput = (_dec = (0, _deprecated.deprecated)('8.0.0', {
300
300
 
301
301
  /**
302
302
  * object with shape: `{
303
- * text: PropTypes.string,
303
+ * text: PropTypes.node,
304
304
  * type: PropTypes.oneOf(['error', 'hint', 'success', 'screenreader-only'])
305
305
  * }`
306
306
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-text-input",
3
- "version": "7.12.0",
3
+ "version": "7.15.0",
4
4
  "description": "A styled HTML text input component.",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "type": "commonjs",
@@ -23,24 +23,24 @@
23
23
  },
24
24
  "license": "MIT",
25
25
  "devDependencies": {
26
- "@instructure/ui-babel-preset": "^7.12.0",
27
- "@instructure/ui-badge": "^7.12.0",
28
- "@instructure/ui-color-utils": "^7.12.0",
29
- "@instructure/ui-test-utils": "^7.12.0"
26
+ "@instructure/ui-babel-preset": "^7.15.0",
27
+ "@instructure/ui-badge": "^7.15.0",
28
+ "@instructure/ui-color-utils": "^7.15.0",
29
+ "@instructure/ui-test-utils": "^7.15.0"
30
30
  },
31
31
  "dependencies": {
32
32
  "@babel/runtime": "^7.9.2",
33
- "@instructure/ui-dom-utils": "^7.12.0",
34
- "@instructure/ui-flex": "^7.12.0",
35
- "@instructure/ui-form-field": "^7.12.0",
36
- "@instructure/ui-icons": "^7.12.0",
37
- "@instructure/ui-prop-types": "^7.12.0",
38
- "@instructure/ui-react-utils": "^7.12.0",
39
- "@instructure/ui-tag": "^7.12.0",
40
- "@instructure/ui-testable": "^7.12.0",
41
- "@instructure/ui-themeable": "^7.12.0",
42
- "@instructure/ui-utils": "^7.12.0",
43
- "@instructure/uid": "^7.12.0",
33
+ "@instructure/ui-dom-utils": "^7.15.0",
34
+ "@instructure/ui-flex": "^7.15.0",
35
+ "@instructure/ui-form-field": "^7.15.0",
36
+ "@instructure/ui-icons": "^7.15.0",
37
+ "@instructure/ui-prop-types": "^7.15.0",
38
+ "@instructure/ui-react-utils": "^7.15.0",
39
+ "@instructure/ui-tag": "^7.15.0",
40
+ "@instructure/ui-testable": "^7.15.0",
41
+ "@instructure/ui-themeable": "^7.15.0",
42
+ "@instructure/ui-utils": "^7.15.0",
43
+ "@instructure/uid": "^7.15.0",
44
44
  "classnames": "^2",
45
45
  "prop-types": "^15"
46
46
  },
@@ -92,7 +92,7 @@ class TextInput extends Component {
92
92
  interaction: PropTypes.oneOf(['enabled', 'disabled', 'readonly']),
93
93
  /**
94
94
  * object with shape: `{
95
- * text: PropTypes.string,
95
+ * text: PropTypes.node,
96
96
  * type: PropTypes.oneOf(['error', 'hint', 'success', 'screenreader-only'])
97
97
  * }`
98
98
  */
package/types/index.d.ts CHANGED
@@ -50,7 +50,7 @@ export interface TextInputProps {
50
50
  interaction?: TextInputInteraction;
51
51
  /**
52
52
  * object with shape: `{
53
- * text: PropTypes.string,
53
+ * text: PropTypes.node,
54
54
  * type: PropTypes.oneOf(['error', 'hint', 'success', 'screenreader-only'])
55
55
  * }`
56
56
  */