@yamada-ui/dropzone 0.5.2 → 0.5.4
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/{chunk-7WIMFW2Z.mjs → chunk-N5Y5Y25M.mjs} +1 -1
- package/dist/dropzone.js +1 -1
- package/dist/dropzone.mjs +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
|
@@ -25,7 +25,7 @@ import { Fragment } from "react";
|
|
|
25
25
|
import { useDropzone } from "react-dropzone-esm";
|
|
26
26
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
27
27
|
var [DropzoneProvider, useDropzoneContext] = createContext({
|
|
28
|
-
name: "
|
|
28
|
+
name: "DropzoneContext",
|
|
29
29
|
errorMessage: `useDropzoneContext returned is 'undefined'. Seems you forgot to wrap the components in "<Dropzone />"`
|
|
30
30
|
});
|
|
31
31
|
var Dropzone = forwardRef((props, ref) => {
|
package/dist/dropzone.js
CHANGED
|
@@ -36,7 +36,7 @@ var import_react = require("react");
|
|
|
36
36
|
var import_react_dropzone_esm = require("react-dropzone-esm");
|
|
37
37
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
38
38
|
var [DropzoneProvider, useDropzoneContext] = (0, import_utils.createContext)({
|
|
39
|
-
name: "
|
|
39
|
+
name: "DropzoneContext",
|
|
40
40
|
errorMessage: `useDropzoneContext returned is 'undefined'. Seems you forgot to wrap the components in "<Dropzone />"`
|
|
41
41
|
});
|
|
42
42
|
var Dropzone = (0, import_core.forwardRef)((props, ref) => {
|
package/dist/dropzone.mjs
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export { Dropzone, DropzoneAccept, DropzoneIdle, DropzoneProps, DropzoneReject } from './dropzone.mjs';
|
|
2
2
|
export { ACCEPT_TYPES, EXE_ACCEPT_TYPE, IMAGE_ACCEPT_TYPE, MS_EXCEL_ACCEPT_TYPE, MS_POWER_POINT_ACCEPT_TYPE, MS_WORD_ACCEPT_TYPE, PDF_ACCEPT_TYPE } from './accept-types.mjs';
|
|
3
|
+
export { DropEvent, ErrorCode, FileError, FileRejection } from 'react-dropzone-esm';
|
|
3
4
|
import '@yamada-ui/core';
|
|
4
5
|
import '@yamada-ui/form-control';
|
|
5
6
|
import '@yamada-ui/loading';
|
|
6
7
|
import '@yamada-ui/transitions';
|
|
7
8
|
import 'react';
|
|
8
|
-
import 'react-dropzone-esm';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export { Dropzone, DropzoneAccept, DropzoneIdle, DropzoneProps, DropzoneReject } from './dropzone.js';
|
|
2
2
|
export { ACCEPT_TYPES, EXE_ACCEPT_TYPE, IMAGE_ACCEPT_TYPE, MS_EXCEL_ACCEPT_TYPE, MS_POWER_POINT_ACCEPT_TYPE, MS_WORD_ACCEPT_TYPE, PDF_ACCEPT_TYPE } from './accept-types.js';
|
|
3
|
+
export { DropEvent, ErrorCode, FileError, FileRejection } from 'react-dropzone-esm';
|
|
3
4
|
import '@yamada-ui/core';
|
|
4
5
|
import '@yamada-ui/form-control';
|
|
5
6
|
import '@yamada-ui/loading';
|
|
6
7
|
import '@yamada-ui/transitions';
|
|
7
8
|
import 'react';
|
|
8
|
-
import 'react-dropzone-esm';
|
package/dist/index.js
CHANGED
|
@@ -45,7 +45,7 @@ var import_react = require("react");
|
|
|
45
45
|
var import_react_dropzone_esm = require("react-dropzone-esm");
|
|
46
46
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
47
47
|
var [DropzoneProvider, useDropzoneContext] = (0, import_utils.createContext)({
|
|
48
|
-
name: "
|
|
48
|
+
name: "DropzoneContext",
|
|
49
49
|
errorMessage: `useDropzoneContext returned is 'undefined'. Seems you forgot to wrap the components in "<Dropzone />"`
|
|
50
50
|
});
|
|
51
51
|
var Dropzone = (0, import_core.forwardRef)((props, ref) => {
|
package/dist/index.mjs
CHANGED