@instructure/ui-file-drop 8.12.1-snapshot.45 → 8.12.1-snapshot.51

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.
@@ -43,7 +43,7 @@ const propTypes = {
43
43
 
44
44
  /**
45
45
  * object with shape: `{
46
- * text: PropTypes.string,
46
+ * text: PropTypes.node,
47
47
  * type: PropTypes.oneOf(['error', 'hint', 'success', 'screenreader-only'])
48
48
  * }`
49
49
  */
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
- exports.FileDrop = exports.default = void 0;
8
+ exports.default = exports.FileDrop = void 0;
9
9
 
10
10
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
11
11
 
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
- exports.allowedProps = exports.propTypes = void 0;
8
+ exports.propTypes = exports.allowedProps = void 0;
9
9
 
10
10
  var _propTypes = _interopRequireDefault(require("prop-types"));
11
11
 
@@ -55,7 +55,7 @@ const propTypes = {
55
55
 
56
56
  /**
57
57
  * object with shape: `{
58
- * text: PropTypes.string,
58
+ * text: PropTypes.node,
59
59
  * type: PropTypes.oneOf(['error', 'hint', 'success', 'screenreader-only'])
60
60
  * }`
61
61
  */
@@ -4,8 +4,8 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.accepts = accepts;
7
- exports.getAcceptList = getAcceptList;
8
7
  exports.default = void 0;
8
+ exports.getAcceptList = getAcceptList;
9
9
 
10
10
  /*
11
11
  * The MIT License (MIT)
@@ -3,8 +3,8 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.getEventFiles = getEventFiles;
7
6
  exports.default = void 0;
7
+ exports.getEventFiles = getEventFiles;
8
8
 
9
9
  /*
10
10
  * The MIT License (MIT)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-file-drop",
3
- "version": "8.12.1-snapshot.45+9f4d9f91f",
3
+ "version": "8.12.1-snapshot.51+4d3697334",
4
4
  "description": "A flexible facade for an HTML file input",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "type": "commonjs",
@@ -25,24 +25,24 @@
25
25
  "license": "MIT",
26
26
  "dependencies": {
27
27
  "@babel/runtime": "^7.13.10",
28
- "@instructure/console": "8.12.1-snapshot.45+9f4d9f91f",
29
- "@instructure/emotion": "8.12.1-snapshot.45+9f4d9f91f",
30
- "@instructure/shared-types": "8.12.1-snapshot.45+9f4d9f91f",
31
- "@instructure/ui-color-utils": "8.12.1-snapshot.45+9f4d9f91f",
32
- "@instructure/ui-form-field": "8.12.1-snapshot.45+9f4d9f91f",
33
- "@instructure/ui-react-utils": "8.12.1-snapshot.45+9f4d9f91f",
34
- "@instructure/ui-testable": "8.12.1-snapshot.45+9f4d9f91f",
35
- "@instructure/ui-utils": "8.12.1-snapshot.45+9f4d9f91f",
36
- "@instructure/ui-view": "8.12.1-snapshot.45+9f4d9f91f",
37
- "@instructure/uid": "8.12.1-snapshot.45+9f4d9f91f",
28
+ "@instructure/console": "8.12.1-snapshot.51+4d3697334",
29
+ "@instructure/emotion": "8.12.1-snapshot.51+4d3697334",
30
+ "@instructure/shared-types": "8.12.1-snapshot.51+4d3697334",
31
+ "@instructure/ui-color-utils": "8.12.1-snapshot.51+4d3697334",
32
+ "@instructure/ui-form-field": "8.12.1-snapshot.51+4d3697334",
33
+ "@instructure/ui-react-utils": "8.12.1-snapshot.51+4d3697334",
34
+ "@instructure/ui-testable": "8.12.1-snapshot.51+4d3697334",
35
+ "@instructure/ui-utils": "8.12.1-snapshot.51+4d3697334",
36
+ "@instructure/ui-view": "8.12.1-snapshot.51+4d3697334",
37
+ "@instructure/uid": "8.12.1-snapshot.51+4d3697334",
38
38
  "keycode": "^2",
39
39
  "prop-types": "^15"
40
40
  },
41
41
  "devDependencies": {
42
- "@instructure/ui-babel-preset": "8.12.1-snapshot.45+9f4d9f91f",
43
- "@instructure/ui-test-locator": "8.12.1-snapshot.45+9f4d9f91f",
44
- "@instructure/ui-test-utils": "8.12.1-snapshot.45+9f4d9f91f",
45
- "@instructure/ui-themes": "8.12.1-snapshot.45+9f4d9f91f"
42
+ "@instructure/ui-babel-preset": "8.12.1-snapshot.51+4d3697334",
43
+ "@instructure/ui-test-locator": "8.12.1-snapshot.51+4d3697334",
44
+ "@instructure/ui-test-utils": "8.12.1-snapshot.51+4d3697334",
45
+ "@instructure/ui-themes": "8.12.1-snapshot.51+4d3697334"
46
46
  },
47
47
  "peerDependencies": {
48
48
  "react": ">=16.8 <=17"
@@ -51,5 +51,5 @@
51
51
  "access": "public"
52
52
  },
53
53
  "sideEffects": false,
54
- "gitHead": "9f4d9f91f603496ac87a04d953afe7fe9004874d"
54
+ "gitHead": "4d369733414715a70bae0628378e8d82214eab3e"
55
55
  }
@@ -110,7 +110,7 @@ const propTypes: PropValidators<PropKeys> = {
110
110
  ]),
111
111
  /**
112
112
  * object with shape: `{
113
- * text: PropTypes.string,
113
+ * text: PropTypes.node,
114
114
  * type: PropTypes.oneOf(['error', 'hint', 'success', 'screenreader-only'])
115
115
  * }`
116
116
  */
@@ -13,7 +13,7 @@ declare class FileDrop extends Component<FileDropProps, FileDropState> {
13
13
  id?: string | undefined;
14
14
  renderLabel: import("react").ReactNode | ((...args: any[]) => any);
15
15
  accept?: string | string[] | undefined;
16
- messages?: import("@instructure/ui-form-field").FormMessage[] | undefined;
16
+ messages?: import("@instructure/ui-form-field/types/FormPropTypes").FormMessage[] | undefined;
17
17
  onClick?: ((...args: any[]) => any) | undefined;
18
18
  onDrop?: ((...args: any[]) => any) | undefined;
19
19
  onDropAccepted?: ((...args: any[]) => any) | undefined;
@@ -38,7 +38,7 @@ declare class FileDrop extends Component<FileDropProps, FileDropState> {
38
38
  id?: string | undefined;
39
39
  renderLabel: import("react").ReactNode | ((...args: any[]) => any);
40
40
  accept?: string | string[] | undefined;
41
- messages?: import("@instructure/ui-form-field").FormMessage[] | undefined;
41
+ messages?: import("@instructure/ui-form-field/types/FormPropTypes").FormMessage[] | undefined;
42
42
  onClick?: ((...args: any[]) => any) | undefined;
43
43
  onDrop?: ((...args: any[]) => any) | undefined;
44
44
  onDropAccepted?: ((...args: any[]) => any) | undefined;