@thetechfossil/upfiles 1.0.11 → 1.0.12
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/README.md +2 -2
- package/dist/index.d.mts +9 -2
- package/dist/index.d.ts +9 -2
- package/dist/index.js +581 -373
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +463 -240
- package/dist/index.mjs.map +1 -0
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# @thetechfossil/upfiles
|
|
2
2
|
|
|
3
|
-
Lightweight JavaScript client and React component to upload files via a presigned S3 flow
|
|
3
|
+
Lightweight JavaScript client and React component to upload files via a presigned S3 flow with excellent developer experience.
|
|
4
4
|
|
|
5
5
|
## Documentation
|
|
6
6
|
|
|
7
|
-
📚 **Full documentation available at:** [https://
|
|
7
|
+
📚 **Full documentation available at:** [https://ktw-upfiles-docs.netlify.app/](https://ktw-upfiles-docs.netlify.app/)
|
|
8
8
|
|
|
9
9
|
For detailed API reference, guides, examples, and more information, visit the documentation site.
|
|
10
10
|
|
package/dist/index.d.mts
CHANGED
|
@@ -45,7 +45,7 @@ type FileListItem = {
|
|
|
45
45
|
/**
|
|
46
46
|
* Upfiles Client - JavaScript client for Upfiles Plugin API
|
|
47
47
|
*
|
|
48
|
-
* 📚 Full documentation: https://
|
|
48
|
+
* 📚 Full documentation: https://ktw-upfiles-docs.netlify.app/
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* ```ts
|
|
@@ -71,7 +71,7 @@ type UpfilesClientOptions = {
|
|
|
71
71
|
/**
|
|
72
72
|
* UpfilesClient - Main client class for interacting with Upfiles Plugin API
|
|
73
73
|
*
|
|
74
|
-
* 📚 Documentation: https://
|
|
74
|
+
* 📚 Documentation: https://ktw-upfiles-docs.netlify.app/
|
|
75
75
|
*
|
|
76
76
|
* @example
|
|
77
77
|
* ```ts
|
|
@@ -309,6 +309,13 @@ type ImageManagerProps = {
|
|
|
309
309
|
size: number;
|
|
310
310
|
sizeType?: string;
|
|
311
311
|
}[];
|
|
312
|
+
selectedThumbnail?: {
|
|
313
|
+
id: string;
|
|
314
|
+
key: string;
|
|
315
|
+
url: string;
|
|
316
|
+
size: number;
|
|
317
|
+
sizeType?: string;
|
|
318
|
+
};
|
|
312
319
|
}) => void;
|
|
313
320
|
onDelete?: (key: string) => Promise<void>;
|
|
314
321
|
deleteUrl?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -45,7 +45,7 @@ type FileListItem = {
|
|
|
45
45
|
/**
|
|
46
46
|
* Upfiles Client - JavaScript client for Upfiles Plugin API
|
|
47
47
|
*
|
|
48
|
-
* 📚 Full documentation: https://
|
|
48
|
+
* 📚 Full documentation: https://ktw-upfiles-docs.netlify.app/
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* ```ts
|
|
@@ -71,7 +71,7 @@ type UpfilesClientOptions = {
|
|
|
71
71
|
/**
|
|
72
72
|
* UpfilesClient - Main client class for interacting with Upfiles Plugin API
|
|
73
73
|
*
|
|
74
|
-
* 📚 Documentation: https://
|
|
74
|
+
* 📚 Documentation: https://ktw-upfiles-docs.netlify.app/
|
|
75
75
|
*
|
|
76
76
|
* @example
|
|
77
77
|
* ```ts
|
|
@@ -309,6 +309,13 @@ type ImageManagerProps = {
|
|
|
309
309
|
size: number;
|
|
310
310
|
sizeType?: string;
|
|
311
311
|
}[];
|
|
312
|
+
selectedThumbnail?: {
|
|
313
|
+
id: string;
|
|
314
|
+
key: string;
|
|
315
|
+
url: string;
|
|
316
|
+
size: number;
|
|
317
|
+
sizeType?: string;
|
|
318
|
+
};
|
|
312
319
|
}) => void;
|
|
313
320
|
onDelete?: (key: string) => Promise<void>;
|
|
314
321
|
deleteUrl?: string;
|