@dfds-ui/file-upload 2.0.29-alpha.d8ff8a45 → 2.0.29-alpha.ee748bc1

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.
@@ -1,7 +1,7 @@
1
1
  var _excluded = ["onChange", "acceptedFiles"];
2
- function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) { ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } } return n; }, _extends.apply(null, arguments); }
3
- function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) { o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } } return i; }
4
- function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) { if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } } return t; }
2
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
+ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
4
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
5
5
  /* eslint-disable @typescript-eslint/ban-types */
6
6
  import React from 'react';
7
7
  import Dropzone from 'react-dropzone';
@@ -28,5 +28,4 @@ const FileUpload = _ref => {
28
28
  getInputProps
29
29
  }) => (0, _react2.jsx)("section", null, (0, _react2.jsx)("div", getRootProps(), (0, _react2.jsx)("input", getInputProps()), (0, _react2.jsx)("p", null, "Drag 'n' drop some files here, or click to select files"))));
30
30
  };
31
- var _default = FileUpload;
32
- exports.default = _default;
31
+ var _default = exports.default = FileUpload;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "File upload component",
4
4
  "license": "MIT",
5
5
  "private": false,
6
- "version": "2.0.29-alpha.d8ff8a45",
6
+ "version": "2.0.29-alpha.ee748bc1",
7
7
  "sideEffects": false,
8
8
  "main": "./cjs/index.js",
9
9
  "module": "./index.js",
@@ -17,7 +17,7 @@
17
17
  "dependencies": {
18
18
  "react-dropzone": "^14.2.3"
19
19
  },
20
- "gitHead": "d8ff8a45b9cee86c722974b50fbc84e777a8b49e",
20
+ "gitHead": "ee748bc162102815f14e3bdbe640aae108247e5c",
21
21
  "publishConfig": {
22
22
  "access": "public"
23
23
  }