@panneau/modal-upload 4.0.11 → 4.0.15
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/index.d.ts +12 -0
- package/package.json +14 -12
- /package/{es → dist}/index.js +0 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
|
|
3
|
+
interface UploadModalProps {
|
|
4
|
+
id: string | number;
|
|
5
|
+
title?: string | null;
|
|
6
|
+
uppy?: uppy | null;
|
|
7
|
+
plugins?: string[];
|
|
8
|
+
onClose?: (() => void) | null;
|
|
9
|
+
}
|
|
10
|
+
declare function UploadModal({ id, title, uppy, plugins, onClose, ...props }: UploadModalProps): react_jsx_runtime.JSX.Element;
|
|
11
|
+
|
|
12
|
+
export { UploadModal as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@panneau/modal-upload",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.15",
|
|
4
4
|
"description": "File upload modal",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -34,18 +34,21 @@
|
|
|
34
34
|
],
|
|
35
35
|
"license": "ISC",
|
|
36
36
|
"type": "module",
|
|
37
|
-
"module": "
|
|
37
|
+
"module": "dist/index.js",
|
|
38
|
+
"types": "dist/index.d.ts",
|
|
38
39
|
"exports": {
|
|
39
|
-
".":
|
|
40
|
+
".": {
|
|
41
|
+
"default": "./dist/index.js",
|
|
42
|
+
"types": "./dist/index.d.ts"
|
|
43
|
+
}
|
|
40
44
|
},
|
|
41
45
|
"files": [
|
|
42
|
-
"
|
|
43
|
-
"es",
|
|
46
|
+
"dist",
|
|
44
47
|
"assets"
|
|
45
48
|
],
|
|
46
49
|
"scripts": {
|
|
47
50
|
"prepublishOnly": "npm run build",
|
|
48
|
-
"build": "../../scripts/prepare-package.sh"
|
|
51
|
+
"build": "../../scripts/prepare-package.sh --types"
|
|
49
52
|
},
|
|
50
53
|
"devDependencies": {
|
|
51
54
|
"react": "^19.0.0",
|
|
@@ -57,19 +60,18 @@
|
|
|
57
60
|
},
|
|
58
61
|
"dependencies": {
|
|
59
62
|
"@babel/runtime": "^7.12.5",
|
|
60
|
-
"@panneau/core": "^4.0.
|
|
61
|
-
"@panneau/modal-dialog": "^4.0.
|
|
62
|
-
"@panneau/uppy": "^4.0.
|
|
63
|
+
"@panneau/core": "^4.0.15",
|
|
64
|
+
"@panneau/modal-dialog": "^4.0.15",
|
|
65
|
+
"@panneau/uppy": "^4.0.15",
|
|
63
66
|
"@uppy/core": "^5.1.1",
|
|
64
67
|
"@uppy/dashboard": "^5.0.4",
|
|
65
68
|
"@uppy/react": "^5.1.1",
|
|
66
69
|
"@uppy/utils": "^7.1.3",
|
|
67
|
-
"lodash
|
|
68
|
-
"prop-types": "^15.7.2",
|
|
70
|
+
"lodash": "^4.17.21",
|
|
69
71
|
"tailwindcss": "^4.1.17"
|
|
70
72
|
},
|
|
71
73
|
"publishConfig": {
|
|
72
74
|
"access": "public"
|
|
73
75
|
},
|
|
74
|
-
"gitHead": "
|
|
76
|
+
"gitHead": "83c02ca2f26e02383ef452ffcafda984d0b211cd"
|
|
75
77
|
}
|
/package/{es → dist}/index.js
RENAMED
|
File without changes
|