@panneau/field-upload 3.0.121 → 3.0.123

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
@@ -47,6 +47,7 @@ var propTypes = {
47
47
  namePath: PropTypes.string,
48
48
  thumbnailPath: PropTypes.string,
49
49
  sizePath: PropTypes.string,
50
+ linkPath: PropTypes.string,
50
51
  uppyProps: PropTypes.shape({
51
52
  withUUID: PropTypes.bool
52
53
  }),
@@ -114,6 +115,7 @@ var defaultProps = {
114
115
  namePath: null,
115
116
  thumbnailPath: null,
116
117
  sizePath: null,
118
+ linkPath: null,
117
119
  uppyProps: null,
118
120
  width: null,
119
121
  height: 300,
@@ -143,6 +145,7 @@ var UploadField = function UploadField(_ref) {
143
145
  namePath = _ref.namePath,
144
146
  thumbnailPath = _ref.thumbnailPath,
145
147
  sizePath = _ref.sizePath,
148
+ linkPath = _ref.linkPath,
146
149
  uppyProps = _ref.uppyProps,
147
150
  width = _ref.width,
148
151
  height = _ref.height,
@@ -344,6 +347,7 @@ var UploadField = function UploadField(_ref) {
344
347
  namePath: namePath,
345
348
  thumbnailPath: thumbnailPath,
346
349
  sizePath: sizePath,
350
+ linkPath: linkPath,
347
351
  disabled: disabled,
348
352
  onClickRemove: onClickRemove
349
353
  }) : null, hasMedia && withClearButton ? /*#__PURE__*/React.createElement("div", {
package/lib/index.js CHANGED
@@ -67,6 +67,7 @@ var propTypes = {
67
67
  namePath: PropTypes__default["default"].string,
68
68
  thumbnailPath: PropTypes__default["default"].string,
69
69
  sizePath: PropTypes__default["default"].string,
70
+ linkPath: PropTypes__default["default"].string,
70
71
  uppyProps: PropTypes__default["default"].shape({
71
72
  withUUID: PropTypes__default["default"].bool
72
73
  }),
@@ -134,6 +135,7 @@ var defaultProps = {
134
135
  namePath: null,
135
136
  thumbnailPath: null,
136
137
  sizePath: null,
138
+ linkPath: null,
137
139
  uppyProps: null,
138
140
  width: null,
139
141
  height: 300,
@@ -163,6 +165,7 @@ var UploadField = function UploadField(_ref) {
163
165
  namePath = _ref.namePath,
164
166
  thumbnailPath = _ref.thumbnailPath,
165
167
  sizePath = _ref.sizePath,
168
+ linkPath = _ref.linkPath,
166
169
  uppyProps = _ref.uppyProps,
167
170
  width = _ref.width,
168
171
  height = _ref.height,
@@ -364,6 +367,7 @@ var UploadField = function UploadField(_ref) {
364
367
  namePath: namePath,
365
368
  thumbnailPath: thumbnailPath,
366
369
  sizePath: sizePath,
370
+ linkPath: linkPath,
367
371
  disabled: disabled,
368
372
  onClickRemove: onClickRemove
369
373
  }) : null, hasMedia && withClearButton ? /*#__PURE__*/React__default["default"].createElement("div", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@panneau/field-upload",
3
- "version": "3.0.121",
3
+ "version": "3.0.123",
4
4
  "description": "An Upload field",
5
5
  "keywords": [
6
6
  "javascript"
@@ -59,7 +59,7 @@
59
59
  "@panneau/core": "^3.0.119",
60
60
  "@panneau/element-button": "^3.0.119",
61
61
  "@panneau/element-label": "^3.0.119",
62
- "@panneau/element-media-card": "^3.0.119",
62
+ "@panneau/element-media-card": "^3.0.122",
63
63
  "@panneau/list-resource-items": "^3.0.119",
64
64
  "@panneau/modal-dialog": "^3.0.119",
65
65
  "@panneau/modal-upload": "^3.0.119",
@@ -81,5 +81,5 @@
81
81
  "publishConfig": {
82
82
  "access": "public"
83
83
  },
84
- "gitHead": "ce13769f10b3bafb3efaa8b2e3cb4b7e2cb749b0"
84
+ "gitHead": "d5400b75125038b98bfee550322a2b2c18fd239a"
85
85
  }