intelicoreact 1.4.80 → 1.4.81

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.
@@ -144,7 +144,6 @@ const FileLoaderDescription = _ref => {
144
144
  }, filesDescription), fields.map(field => {
145
145
  return /*#__PURE__*/_react.default.createElement(_FileLoaderLocal.default, {
146
146
  className: "".concat(RC, "__list-item"),
147
- fieldKey: fieldKey,
148
147
  key: "".concat(fieldKey !== null && fieldKey !== void 0 ? fieldKey : Date.now(), "/").concat(field.id),
149
148
  id: field.id,
150
149
  error: field.error,
@@ -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 || "file-input-".concat(id).concat(groupId ? "-".concat(groupId) : ""),
115
+ id: fieldKey !== null && fieldKey !== void 0 ? fieldKey : "file-input-".concat(id).concat(groupId ? "-".concat(groupId) : ""),
116
116
  type: "file",
117
- name: fieldKey || id,
117
+ name: fieldKey !== null && fieldKey !== void 0 ? 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 || "file-input-".concat(id).concat(groupId ? "-".concat(groupId) : "")
122
+ htmlFor: fieldKey !== null && fieldKey !== void 0 ? 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.80",
3
+ "version": "1.4.81",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "files": [