@instructure/ui-file-drop 7.10.0 → 7.14.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.14.0](https://github.com/instructure/instructure-ui/compare/v7.13.0...v7.14.0) (2021-12-01)
7
+
8
+ ### Features
9
+
10
+ - **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)
11
+
12
+ # [7.13.0](https://github.com/instructure/instructure-ui/compare/v7.12.0...v7.13.0) (2021-11-18)
13
+
14
+ **Note:** Version bump only for package @instructure/ui-file-drop
15
+
16
+ # [7.12.0](https://github.com/instructure/instructure-ui/compare/v7.11.0...v7.12.0) (2021-10-15)
17
+
18
+ **Note:** Version bump only for package @instructure/ui-file-drop
19
+
20
+ # [7.11.0](https://github.com/instructure/instructure-ui/compare/v7.10.0...v7.11.0) (2021-09-17)
21
+
22
+ **Note:** Version bump only for package @instructure/ui-file-drop
23
+
6
24
  # [7.10.0](https://github.com/instructure/instructure-ui/compare/v7.9.0...v7.10.0) (2021-08-27)
7
25
 
8
26
  **Note:** Version bump only for package @instructure/ui-file-drop
@@ -463,7 +463,7 @@ var FileDrop = (_dec = deprecated('8.0.0', {
463
463
 
464
464
  /**
465
465
  * object with shape: `{
466
- * text: PropTypes.string,
466
+ * text: PropTypes.node,
467
467
  * type: PropTypes.oneOf(['error', 'hint', 'success', 'screenreader-only'])
468
468
  * }`
469
469
  */
@@ -478,7 +478,7 @@ var FileDrop = (_dec = (0, _deprecated.deprecated)('8.0.0', {
478
478
 
479
479
  /**
480
480
  * object with shape: `{
481
- * text: PropTypes.string,
481
+ * text: PropTypes.node,
482
482
  * type: PropTypes.oneOf(['error', 'hint', 'success', 'screenreader-only'])
483
483
  * }`
484
484
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-file-drop",
3
- "version": "7.10.0",
3
+ "version": "7.14.0",
4
4
  "description": "A flexible facade for an HTML file input",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "type": "commonjs",
@@ -24,23 +24,23 @@
24
24
  "license": "MIT",
25
25
  "dependencies": {
26
26
  "@babel/runtime": "^7.9.2",
27
- "@instructure/console": "^7.10.0",
28
- "@instructure/ui-color-utils": "^7.10.0",
29
- "@instructure/ui-form-field": "^7.10.0",
30
- "@instructure/ui-react-utils": "^7.10.0",
31
- "@instructure/ui-testable": "^7.10.0",
32
- "@instructure/ui-themeable": "^7.10.0",
33
- "@instructure/ui-utils": "^7.10.0",
34
- "@instructure/ui-view": "^7.10.0",
35
- "@instructure/uid": "^7.10.0",
27
+ "@instructure/console": "^7.14.0",
28
+ "@instructure/ui-color-utils": "^7.14.0",
29
+ "@instructure/ui-form-field": "^7.14.0",
30
+ "@instructure/ui-react-utils": "^7.14.0",
31
+ "@instructure/ui-testable": "^7.14.0",
32
+ "@instructure/ui-themeable": "^7.14.0",
33
+ "@instructure/ui-utils": "^7.14.0",
34
+ "@instructure/ui-view": "^7.14.0",
35
+ "@instructure/uid": "^7.14.0",
36
36
  "classnames": "^2",
37
37
  "keycode": "^2",
38
38
  "prop-types": "^15"
39
39
  },
40
40
  "devDependencies": {
41
- "@instructure/ui-babel-preset": "^7.10.0",
42
- "@instructure/ui-test-locator": "^7.10.0",
43
- "@instructure/ui-test-utils": "^7.10.0"
41
+ "@instructure/ui-babel-preset": "^7.14.0",
42
+ "@instructure/ui-test-locator": "^7.14.0",
43
+ "@instructure/ui-test-utils": "^7.14.0"
44
44
  },
45
45
  "peerDependencies": {
46
46
  "react": "^16.8"
@@ -96,7 +96,7 @@ class FileDrop extends Component {
96
96
  ]),
97
97
  /**
98
98
  * object with shape: `{
99
- * text: PropTypes.string,
99
+ * text: PropTypes.node,
100
100
  * type: PropTypes.oneOf(['error', 'hint', 'success', 'screenreader-only'])
101
101
  * }`
102
102
  */
package/types/index.d.ts CHANGED
@@ -34,7 +34,7 @@ export interface FileDropProps {
34
34
  accept?: FileDropAccept;
35
35
  /**
36
36
  * object with shape: `{
37
- * text: PropTypes.string,
37
+ * text: PropTypes.node,
38
38
  * type: PropTypes.oneOf(['error', 'hint', 'success', 'screenreader-only'])
39
39
  * }`
40
40
  */