@panneau/field-upload 3.0.105 → 3.0.106
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/es/index.js +7 -10
- package/lib/index.js +7 -10
- package/package.json +2 -2
package/es/index.js
CHANGED
|
@@ -365,20 +365,17 @@ var UploadField = function UploadField(_ref) {
|
|
|
365
365
|
showProgressDetails: true,
|
|
366
366
|
areInsidesReadyToBeVisible: true,
|
|
367
367
|
proudlyDisplayPoweredByUppy: false
|
|
368
|
-
}))) : null, !showResourceModal && !disabled && withButton && uppy !== null ? /*#__PURE__*/React.createElement(DashboardModal, {
|
|
368
|
+
}))) : null, !showResourceModal && !disabled && withButton && uppy !== null && modalOpened ? /*#__PURE__*/React.createElement(DashboardModal, {
|
|
369
369
|
uppy: uppy,
|
|
370
370
|
className: styles.dashboardModal,
|
|
371
|
-
plugins: sources
|
|
372
|
-
|
|
373
|
-
// {...(height !== null ? { height } : null)}
|
|
374
|
-
,
|
|
375
|
-
open: modalOpened,
|
|
376
|
-
isHidden: !modalOpened,
|
|
371
|
+
plugins: sources,
|
|
372
|
+
open: true,
|
|
377
373
|
onRequestClose: closeModal,
|
|
378
374
|
proudlyDisplayPoweredByUppy: false,
|
|
379
|
-
closeModalOnClickOutside: true
|
|
380
|
-
areInsidesReadyToBeVisible
|
|
381
|
-
isDashboardVisible
|
|
375
|
+
closeModalOnClickOutside: true
|
|
376
|
+
// areInsidesReadyToBeVisible
|
|
377
|
+
// isDashboardVisible
|
|
378
|
+
,
|
|
382
379
|
showProgressDetails: true,
|
|
383
380
|
showAddFilesPanel: true
|
|
384
381
|
}) :
|
package/lib/index.js
CHANGED
|
@@ -385,20 +385,17 @@ var UploadField = function UploadField(_ref) {
|
|
|
385
385
|
showProgressDetails: true,
|
|
386
386
|
areInsidesReadyToBeVisible: true,
|
|
387
387
|
proudlyDisplayPoweredByUppy: false
|
|
388
|
-
}))) : null, !showResourceModal && !disabled && withButton && uppy$1 !== null ? /*#__PURE__*/React__default["default"].createElement(react.DashboardModal, {
|
|
388
|
+
}))) : null, !showResourceModal && !disabled && withButton && uppy$1 !== null && modalOpened ? /*#__PURE__*/React__default["default"].createElement(react.DashboardModal, {
|
|
389
389
|
uppy: uppy$1,
|
|
390
390
|
className: styles.dashboardModal,
|
|
391
|
-
plugins: sources
|
|
392
|
-
|
|
393
|
-
// {...(height !== null ? { height } : null)}
|
|
394
|
-
,
|
|
395
|
-
open: modalOpened,
|
|
396
|
-
isHidden: !modalOpened,
|
|
391
|
+
plugins: sources,
|
|
392
|
+
open: true,
|
|
397
393
|
onRequestClose: closeModal,
|
|
398
394
|
proudlyDisplayPoweredByUppy: false,
|
|
399
|
-
closeModalOnClickOutside: true
|
|
400
|
-
areInsidesReadyToBeVisible
|
|
401
|
-
isDashboardVisible
|
|
395
|
+
closeModalOnClickOutside: true
|
|
396
|
+
// areInsidesReadyToBeVisible
|
|
397
|
+
// isDashboardVisible
|
|
398
|
+
,
|
|
402
399
|
showProgressDetails: true,
|
|
403
400
|
showAddFilesPanel: true
|
|
404
401
|
}) :
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@panneau/field-upload",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.106",
|
|
4
4
|
"description": "An Upload field",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -81,5 +81,5 @@
|
|
|
81
81
|
"publishConfig": {
|
|
82
82
|
"access": "public"
|
|
83
83
|
},
|
|
84
|
-
"gitHead": "
|
|
84
|
+
"gitHead": "ffd1542a94896319b8315c7e83b04fc6b422fc5e"
|
|
85
85
|
}
|