@panneau/modal-upload 3.0.56 → 3.0.67
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/assets/css/styles.css +0 -1
- package/es/index.js +7 -4
- package/lib/index.js +7 -4
- package/package.json +3 -3
package/assets/css/styles.css
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@import "~@uppy/core/dist/style.css";@import "~@uppy/dashboard/dist/style.css";
|
package/es/index.js
CHANGED
|
@@ -2,10 +2,12 @@ import { DashboardModal } from '@uppy/react';
|
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import React, { useCallback, useEffect } from 'react';
|
|
4
4
|
import { useUppy } from '@panneau/uppy';
|
|
5
|
-
import '@uppy/core/dist/style.
|
|
6
|
-
import '@uppy/dashboard/dist/style.
|
|
5
|
+
import '@uppy/core/dist/style.css';
|
|
6
|
+
import '@uppy/dashboard/dist/style.css';
|
|
7
|
+
import '@uppy/drag-drop/dist/style.css';
|
|
8
|
+
import '@uppy/status-bar/dist/style.css';
|
|
7
9
|
|
|
8
|
-
|
|
10
|
+
var styles = {};
|
|
9
11
|
|
|
10
12
|
var propTypes = {
|
|
11
13
|
opened: PropTypes.bool,
|
|
@@ -43,7 +45,8 @@ var UploadModal = function UploadModal(_ref) {
|
|
|
43
45
|
open: opened,
|
|
44
46
|
closeAfterFinish: true,
|
|
45
47
|
onRequestClose: onRequestClose,
|
|
46
|
-
plugins: sources
|
|
48
|
+
plugins: sources,
|
|
49
|
+
className: styles.container
|
|
47
50
|
}) : null;
|
|
48
51
|
};
|
|
49
52
|
UploadModal.propTypes = propTypes;
|
package/lib/index.js
CHANGED
|
@@ -6,15 +6,17 @@ var react = require('@uppy/react');
|
|
|
6
6
|
var PropTypes = require('prop-types');
|
|
7
7
|
var React = require('react');
|
|
8
8
|
var uppy = require('@panneau/uppy');
|
|
9
|
-
require('@uppy/core/dist/style.
|
|
10
|
-
require('@uppy/dashboard/dist/style.
|
|
9
|
+
require('@uppy/core/dist/style.css');
|
|
10
|
+
require('@uppy/dashboard/dist/style.css');
|
|
11
|
+
require('@uppy/drag-drop/dist/style.css');
|
|
12
|
+
require('@uppy/status-bar/dist/style.css');
|
|
11
13
|
|
|
12
14
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
13
15
|
|
|
14
16
|
var PropTypes__default = /*#__PURE__*/_interopDefaultLegacy(PropTypes);
|
|
15
17
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
16
18
|
|
|
17
|
-
|
|
19
|
+
var styles = {};
|
|
18
20
|
|
|
19
21
|
var propTypes = {
|
|
20
22
|
opened: PropTypes__default["default"].bool,
|
|
@@ -52,7 +54,8 @@ var UploadModal = function UploadModal(_ref) {
|
|
|
52
54
|
open: opened,
|
|
53
55
|
closeAfterFinish: true,
|
|
54
56
|
onRequestClose: onRequestClose,
|
|
55
|
-
plugins: sources
|
|
57
|
+
plugins: sources,
|
|
58
|
+
className: styles.container
|
|
56
59
|
}) : null;
|
|
57
60
|
};
|
|
58
61
|
UploadModal.propTypes = propTypes;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@panneau/modal-upload",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.67",
|
|
4
4
|
"description": "File upload modal",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"@babel/runtime": "^7.12.5",
|
|
56
56
|
"@panneau/core": "^3.0.45",
|
|
57
|
-
"@panneau/uppy": "^3.0.
|
|
57
|
+
"@panneau/uppy": "^3.0.59",
|
|
58
58
|
"@uppy/core": "^3.5.0",
|
|
59
59
|
"@uppy/dashboard": "^3.5.2",
|
|
60
60
|
"@uppy/drag-drop": "^3.0.3",
|
|
@@ -69,5 +69,5 @@
|
|
|
69
69
|
"publishConfig": {
|
|
70
70
|
"access": "public"
|
|
71
71
|
},
|
|
72
|
-
"gitHead": "
|
|
72
|
+
"gitHead": "d409fcabb6ac97a2ec6c5aef8dfa65f99829c410"
|
|
73
73
|
}
|