@siamf/upload 1.2.0 → 1.2.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.
|
@@ -9,11 +9,11 @@ export type FileType = {
|
|
|
9
9
|
} | null;
|
|
10
10
|
type TExportTypes = {
|
|
11
11
|
dragProps: {
|
|
12
|
-
onDrop: (e: DragEvent<
|
|
13
|
-
onDragEnter: (e: DragEvent<
|
|
14
|
-
onDragLeave: (e: DragEvent<
|
|
15
|
-
onDragOver: (e: DragEvent<
|
|
16
|
-
onDragStart: (e: DragEvent<
|
|
12
|
+
onDrop: (e: DragEvent<any>) => void;
|
|
13
|
+
onDragEnter: (e: DragEvent<any>) => void;
|
|
14
|
+
onDragLeave: (e: DragEvent<any>) => void;
|
|
15
|
+
onDragOver: (e: DragEvent<any>) => void;
|
|
16
|
+
onDragStart: (e: DragEvent<any>) => void;
|
|
17
17
|
};
|
|
18
18
|
isDragging: boolean;
|
|
19
19
|
onFileUpload: () => void;
|
|
@@ -5,11 +5,11 @@ export type ImageType = {
|
|
|
5
5
|
} | null;
|
|
6
6
|
type TExportTypes = {
|
|
7
7
|
dragProps: {
|
|
8
|
-
onDrop: (e: DragEvent<
|
|
9
|
-
onDragEnter: (e: DragEvent<
|
|
10
|
-
onDragLeave: (e: DragEvent<
|
|
11
|
-
onDragOver: (e: DragEvent<
|
|
12
|
-
onDragStart: (e: DragEvent<
|
|
8
|
+
onDrop: (e: DragEvent<any>) => void;
|
|
9
|
+
onDragEnter: (e: DragEvent<any>) => void;
|
|
10
|
+
onDragLeave: (e: DragEvent<any>) => void;
|
|
11
|
+
onDragOver: (e: DragEvent<any>) => void;
|
|
12
|
+
onDragStart: (e: DragEvent<any>) => void;
|
|
13
13
|
};
|
|
14
14
|
isDragging: boolean;
|
|
15
15
|
onImageUpload: () => void;
|
|
@@ -9,11 +9,11 @@ export type FileType = {
|
|
|
9
9
|
} | null;
|
|
10
10
|
type TExportTypes = {
|
|
11
11
|
dragProps: {
|
|
12
|
-
onDrop: (e: DragEvent<
|
|
13
|
-
onDragEnter: (e: DragEvent<
|
|
14
|
-
onDragLeave: (e: DragEvent<
|
|
15
|
-
onDragOver: (e: DragEvent<
|
|
16
|
-
onDragStart: (e: DragEvent<
|
|
12
|
+
onDrop: (e: DragEvent<any>) => void;
|
|
13
|
+
onDragEnter: (e: DragEvent<any>) => void;
|
|
14
|
+
onDragLeave: (e: DragEvent<any>) => void;
|
|
15
|
+
onDragOver: (e: DragEvent<any>) => void;
|
|
16
|
+
onDragStart: (e: DragEvent<any>) => void;
|
|
17
17
|
};
|
|
18
18
|
isDragging: boolean;
|
|
19
19
|
onFileUpload: () => void;
|
|
@@ -5,11 +5,11 @@ export type ImageType = {
|
|
|
5
5
|
} | null;
|
|
6
6
|
type TExportTypes = {
|
|
7
7
|
dragProps: {
|
|
8
|
-
onDrop: (e: DragEvent<
|
|
9
|
-
onDragEnter: (e: DragEvent<
|
|
10
|
-
onDragLeave: (e: DragEvent<
|
|
11
|
-
onDragOver: (e: DragEvent<
|
|
12
|
-
onDragStart: (e: DragEvent<
|
|
8
|
+
onDrop: (e: DragEvent<any>) => void;
|
|
9
|
+
onDragEnter: (e: DragEvent<any>) => void;
|
|
10
|
+
onDragLeave: (e: DragEvent<any>) => void;
|
|
11
|
+
onDragOver: (e: DragEvent<any>) => void;
|
|
12
|
+
onDragStart: (e: DragEvent<any>) => void;
|
|
13
13
|
};
|
|
14
14
|
isDragging: boolean;
|
|
15
15
|
onImageUpload: () => void;
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@siamf/upload",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.4",
|
|
4
4
|
"description": "A fully headless React package for handling image and file uploads with complete UI control. It provides four flexible components—ImageUpload, MultiImageUpload, FileUpload, and MultiFileUpload.",
|
|
5
|
-
"homepage": "https://github.com/siamahnaf/
|
|
5
|
+
"homepage": "https://github.com/siamahnaf/upload",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
7
7
|
"module": "dist/esm/index.js",
|
|
8
8
|
"files": [
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
],
|
|
39
39
|
"repository": {
|
|
40
40
|
"type": "git",
|
|
41
|
-
"directory": "https://github.com/siamahnaf/
|
|
42
|
-
"url": "https://github.com/siamahnaf/
|
|
41
|
+
"directory": "https://github.com/siamahnaf/upload",
|
|
42
|
+
"url": "https://github.com/siamahnaf/upload"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@types/node": "^22.12.0",
|