react-dropzone 14.3.5 → 14.3.7
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/dist/es/index.js +2 -2
- package/dist/es/package.json +1 -0
- package/dist/index.js +1 -1
- package/package.json +3 -2
- package/src/index.js +2 -2
- package/typings/react-dropzone.d.ts +2 -2
package/dist/es/index.js
CHANGED
|
@@ -37,7 +37,7 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
|
|
|
37
37
|
import React, { forwardRef, Fragment, useCallback, useEffect, useImperativeHandle, useMemo, useReducer, useRef } from "react";
|
|
38
38
|
import PropTypes from "prop-types";
|
|
39
39
|
import { fromEvent } from "file-selector";
|
|
40
|
-
import { acceptPropAsAcceptAttr, allFilesAccepted, composeEventHandlers, fileAccepted, fileMatchSize, canUseFileSystemAccessAPI, isAbort, isEvtWithFiles, isIeOrEdge, isPropagationStopped, isSecurityError, onDocumentDragOver, pickerOptionsFromAccept, TOO_MANY_FILES_REJECTION } from "./utils/index";
|
|
40
|
+
import { acceptPropAsAcceptAttr, allFilesAccepted, composeEventHandlers, fileAccepted, fileMatchSize, canUseFileSystemAccessAPI, isAbort, isEvtWithFiles, isIeOrEdge, isPropagationStopped, isSecurityError, onDocumentDragOver, pickerOptionsFromAccept, TOO_MANY_FILES_REJECTION } from "./utils/index.js";
|
|
41
41
|
/**
|
|
42
42
|
* Convenience wrapper component for the `useDropzone` hook
|
|
43
43
|
*
|
|
@@ -980,4 +980,4 @@ function reducer(state, action) {
|
|
|
980
980
|
|
|
981
981
|
function noop() {}
|
|
982
982
|
|
|
983
|
-
export { ErrorCode } from "./utils";
|
|
983
|
+
export { ErrorCode } from "./utils/index.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"type":"module"}
|