@panneau/field-upload 3.0.154 → 3.0.158

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 CHANGED
@@ -113,9 +113,9 @@ var defaultProps$1 = {
113
113
  }),
114
114
  allowMultipleUploads: false,
115
115
  maxNumberOfFiles: 1,
116
- namePath: null,
117
- thumbnailPath: null,
118
- sizePath: null,
116
+ namePath: 'name',
117
+ thumbnailPath: 'thumbnail_url',
118
+ sizePath: 'metadata.size',
119
119
  linkPath: null,
120
120
  uppyProps: null,
121
121
  width: null,
package/lib/index.js CHANGED
@@ -117,9 +117,9 @@ var defaultProps$1 = {
117
117
  }),
118
118
  allowMultipleUploads: false,
119
119
  maxNumberOfFiles: 1,
120
- namePath: null,
121
- thumbnailPath: null,
122
- sizePath: null,
120
+ namePath: 'name',
121
+ thumbnailPath: 'thumbnail_url',
122
+ sizePath: 'metadata.size',
123
123
  linkPath: null,
124
124
  uppyProps: null,
125
125
  width: null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@panneau/field-upload",
3
- "version": "3.0.154",
3
+ "version": "3.0.158",
4
4
  "description": "An Upload field",
5
5
  "keywords": [
6
6
  "javascript"
@@ -57,15 +57,15 @@
57
57
  "@fortawesome/fontawesome-svg-core": "^6.5.1",
58
58
  "@fortawesome/free-solid-svg-icons": "^6.5.1",
59
59
  "@fortawesome/react-fontawesome": "^0.2.0",
60
- "@panneau/core": "^3.0.154",
61
- "@panneau/element-button": "^3.0.154",
62
- "@panneau/element-label": "^3.0.154",
63
- "@panneau/element-media-card": "^3.0.154",
64
- "@panneau/list-resource-items": "^3.0.154",
65
- "@panneau/modal-dialog": "^3.0.154",
66
- "@panneau/modal-upload": "^3.0.154",
67
- "@panneau/themes": "^3.0.154",
68
- "@panneau/uppy": "^3.0.154",
60
+ "@panneau/core": "^3.0.158",
61
+ "@panneau/element-button": "^3.0.158",
62
+ "@panneau/element-label": "^3.0.158",
63
+ "@panneau/element-media-card": "^3.0.158",
64
+ "@panneau/list-resource-items": "^3.0.158",
65
+ "@panneau/modal-dialog": "^3.0.158",
66
+ "@panneau/modal-upload": "^3.0.158",
67
+ "@panneau/themes": "^3.0.158",
68
+ "@panneau/uppy": "^3.0.158",
69
69
  "@uppy/core": "^3.9.1",
70
70
  "@uppy/dashboard": "^3.7.3",
71
71
  "@uppy/drag-drop": "^3.0.3",
@@ -82,5 +82,5 @@
82
82
  "publishConfig": {
83
83
  "access": "public"
84
84
  },
85
- "gitHead": "d8b546d77519b1b16c73c88f1ed0edceca089630"
85
+ "gitHead": "594a96c3421a482efe45bcce6cbccba89fcf5b95"
86
86
  }