intelicoreact 1.4.81 → 1.4.82

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.
@@ -145,6 +145,7 @@ const FileLoaderDescription = _ref => {
145
145
  return /*#__PURE__*/_react.default.createElement(_FileLoaderLocal.default, {
146
146
  className: "".concat(RC, "__list-item"),
147
147
  key: "".concat(fieldKey !== null && fieldKey !== void 0 ? fieldKey : Date.now(), "/").concat(field.id),
148
+ fieldKey: "".concat(fieldKey !== null && fieldKey !== void 0 ? fieldKey : Date.now(), "/").concat(field.id),
148
149
  id: field.id,
149
150
  error: field.error,
150
151
  label: "Upload document",
@@ -112,14 +112,14 @@ const FileLoaderLocal = _ref => {
112
112
  }, /*#__PURE__*/_react.default.createElement("input", (0, _extends2.default)({
113
113
  onChange: handle.change,
114
114
  className: "file-loader-local__file-input",
115
- id: fieldKey !== null && fieldKey !== void 0 ? fieldKey : "file-input-".concat(id).concat(groupId ? "-".concat(groupId) : ""),
115
+ id: fieldKey || "file-input-".concat(id).concat(groupId ? "-".concat(groupId) : ""),
116
116
  type: "file",
117
- name: fieldKey !== null && fieldKey !== void 0 ? fieldKey : id,
117
+ name: fieldKey || id,
118
118
  required: isRequired,
119
119
  accept: accept
120
120
  }, attributesOfNativeInput)), /*#__PURE__*/_react.default.createElement("label", {
121
121
  className: "file-loader-local__label-box",
122
- htmlFor: fieldKey !== null && fieldKey !== void 0 ? fieldKey : "file-input-".concat(id).concat(groupId ? "-".concat(groupId) : "")
122
+ htmlFor: fieldKey || "file-input-".concat(id).concat(groupId ? "-".concat(groupId) : "")
123
123
  }, !value && /*#__PURE__*/_react.default.createElement(_reactFeather.Download, {
124
124
  className: "file-loader-local__upload-icon"
125
125
  }), value && /*#__PURE__*/_react.default.createElement(_reactFeather.Paperclip, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intelicoreact",
3
- "version": "1.4.81",
3
+ "version": "1.4.82",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "files": [