@panneau/field-upload 3.0.104 → 3.0.105

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.
@@ -1 +1 @@
1
- .panneau-field-upload-container{width:100%}.panneau-field-upload-container .panneau-field-upload-dashboard{position:relative}.panneau-field-upload-container .panneau-field-upload-dashboardModal{position:relative;z-index:10001}
1
+ .panneau-field-upload-container{width:100%}.panneau-field-upload-container .panneau-field-upload-dashboard{position:relative}
package/es/index.js CHANGED
@@ -22,7 +22,7 @@ import '@uppy/dashboard/dist/style.css';
22
22
  import '@uppy/drag-drop/dist/style.css';
23
23
  import '@uppy/status-bar/dist/style.css';
24
24
 
25
- var styles = {"container":"panneau-field-upload-container","dashboard":"panneau-field-upload-dashboard","dashboardModal":"panneau-field-upload-dashboardModal"};
25
+ var styles = {"container":"panneau-field-upload-container","dashboard":"panneau-field-upload-dashboard"};
26
26
 
27
27
  var propTypes = {
28
28
  value: PropTypes.oneOfType([PropTypes.array, PropTypes.shape({
@@ -365,17 +365,15 @@ 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, Object.assign({
368
+ }))) : null, !showResourceModal && !disabled && withButton && uppy !== null ? /*#__PURE__*/React.createElement(DashboardModal, {
369
369
  uppy: uppy,
370
370
  className: styles.dashboardModal,
371
- plugins: sources,
371
+ plugins: sources
372
+ // {...(width !== null ? { width } : null)}
373
+ // {...(height !== null ? { height } : null)}
374
+ ,
372
375
  open: modalOpened,
373
- isHidden: !modalOpened
374
- }, width !== null ? {
375
- width: width
376
- } : null, height !== null ? {
377
- height: height
378
- } : null, {
376
+ isHidden: !modalOpened,
379
377
  onRequestClose: closeModal,
380
378
  proudlyDisplayPoweredByUppy: false,
381
379
  closeModalOnClickOutside: true,
@@ -383,7 +381,7 @@ var UploadField = function UploadField(_ref) {
383
381
  isDashboardVisible: true,
384
382
  showProgressDetails: true,
385
383
  showAddFilesPanel: true
386
- })) :
384
+ }) :
387
385
  // ) : //
388
386
  // <Dialog size="lg" onClose={closeModal} title={addButtonLabel}>
389
387
  // <Dashboard
package/lib/index.js CHANGED
@@ -42,7 +42,7 @@ var Label__default = /*#__PURE__*/_interopDefaultLegacy(Label);
42
42
  var ResourceItemsList__default = /*#__PURE__*/_interopDefaultLegacy(ResourceItemsList);
43
43
  var Dialog__default = /*#__PURE__*/_interopDefaultLegacy(Dialog);
44
44
 
45
- var styles = {"container":"panneau-field-upload-container","dashboard":"panneau-field-upload-dashboard","dashboardModal":"panneau-field-upload-dashboardModal"};
45
+ var styles = {"container":"panneau-field-upload-container","dashboard":"panneau-field-upload-dashboard"};
46
46
 
47
47
  var propTypes = {
48
48
  value: PropTypes__default["default"].oneOfType([PropTypes__default["default"].array, PropTypes__default["default"].shape({
@@ -385,17 +385,15 @@ 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, Object.assign({
388
+ }))) : null, !showResourceModal && !disabled && withButton && uppy$1 !== null ? /*#__PURE__*/React__default["default"].createElement(react.DashboardModal, {
389
389
  uppy: uppy$1,
390
390
  className: styles.dashboardModal,
391
- plugins: sources,
391
+ plugins: sources
392
+ // {...(width !== null ? { width } : null)}
393
+ // {...(height !== null ? { height } : null)}
394
+ ,
392
395
  open: modalOpened,
393
- isHidden: !modalOpened
394
- }, width !== null ? {
395
- width: width
396
- } : null, height !== null ? {
397
- height: height
398
- } : null, {
396
+ isHidden: !modalOpened,
399
397
  onRequestClose: closeModal,
400
398
  proudlyDisplayPoweredByUppy: false,
401
399
  closeModalOnClickOutside: true,
@@ -403,7 +401,7 @@ var UploadField = function UploadField(_ref) {
403
401
  isDashboardVisible: true,
404
402
  showProgressDetails: true,
405
403
  showAddFilesPanel: true
406
- })) :
404
+ }) :
407
405
  // ) : //
408
406
  // <Dialog size="lg" onClose={closeModal} title={addButtonLabel}>
409
407
  // <Dashboard
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@panneau/field-upload",
3
- "version": "3.0.104",
3
+ "version": "3.0.105",
4
4
  "description": "An Upload field",
5
5
  "keywords": [
6
6
  "javascript"
@@ -64,15 +64,15 @@
64
64
  "@panneau/list-resource-items": "^3.0.103",
65
65
  "@panneau/modal-dialog": "^3.0.101",
66
66
  "@panneau/themes": "^3.0.101",
67
- "@panneau/uppy": "^3.0.101",
68
- "@uppy/core": "^3.5.0",
69
- "@uppy/dashboard": "^3.5.2",
67
+ "@panneau/uppy": "^3.0.105",
68
+ "@uppy/core": "^3.9.1",
69
+ "@uppy/dashboard": "^3.7.3",
70
70
  "@uppy/drag-drop": "^3.0.3",
71
- "@uppy/file-input": "^3.0.3",
72
- "@uppy/progress-bar": "^3.0.3",
73
- "@uppy/react": "^3.1.3",
74
- "@uppy/status-bar": "^3.2.4",
75
- "@uppy/utils": "^5.5.0",
71
+ "@uppy/file-input": "^3.0.4",
72
+ "@uppy/progress-bar": "^3.0.4",
73
+ "@uppy/react": "^3.2.1",
74
+ "@uppy/status-bar": "^3.2.7",
75
+ "@uppy/utils": "^5.7.2",
76
76
  "classnames": "^2.2.6",
77
77
  "lodash": "^4.17.21",
78
78
  "prop-types": "^15.7.2",
@@ -81,5 +81,5 @@
81
81
  "publishConfig": {
82
82
  "access": "public"
83
83
  },
84
- "gitHead": "21dddb8907259c0c996abda0bc586df799ea6bc7"
84
+ "gitHead": "eaeef66941756b180cdde3f288a328bafad34a32"
85
85
  }