ui-kit-ck-consultant 0.5.213 → 0.5.214

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/dist/index.js CHANGED
@@ -3092,7 +3092,7 @@ var DropzoneMultiple = /*#__PURE__*/function (_React$Component) {
3092
3092
 
3093
3093
  reader.readAsDataURL(file);
3094
3094
  } else {
3095
- alert('Fichier trop volumineux');
3095
+ alert("Fichier trop volumineux - Taille maxium " + _this.props.maxFileSize + "Mo");
3096
3096
  _this.currentFile += 1;
3097
3097
 
3098
3098
  _this.nextFile(files);
@@ -3190,7 +3190,7 @@ var DropzoneMultiple = /*#__PURE__*/function (_React$Component) {
3190
3190
  className: classNames$1(style$o.dropzone_multiple_items)
3191
3191
  }), !_this2.state.files.length ? /*#__PURE__*/React__default.createElement("span", {
3192
3192
  className: classNames$1(style$o.background_text)
3193
- }, "Glisser et d\xE9poser vos fichiers ou cliquer pour en s\xE9lectionner...", ' ', _this2.props.extensions ? "Formats accept\xE9s : " + _this2.props.extensions.join(', ') : '') : null, /*#__PURE__*/React__default.createElement("input", getInputProps()), _this2.state.files.map(function (file, idx) {
3193
+ }, "Glisser et d\xE9poser vos fichiers ou cliquer pour en s\xE9lectionner...", ' ', _this2.props.extensions ? "Formats accept\xE9s : " + _this2.props.extensions.join(', ') : '', "$", _this2.props.maxFileSize ? " - Taille maximale " + _this2.props.maxFileSize + "Mo" : '') : null, /*#__PURE__*/React__default.createElement("input", getInputProps()), _this2.state.files.map(function (file, idx) {
3194
3194
  return _this2.getFileComponent(idx);
3195
3195
  })));
3196
3196
  });