@apexcura/ui-components 0.0.13-Beta55 → 0.0.13-Beta57

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
@@ -825,7 +825,7 @@ var UploadElement = (props) => {
825
825
  reader.readAsDataURL(selectedFile);
826
826
  newFileList.push(newFile);
827
827
  }
828
- const updatedFileList = props.value ? [...props.value, ...newFileList] : newFileList;
828
+ const updatedFileList = newFileList;
829
829
  props.onChange && props.onChange({
830
830
  name: props.name,
831
831
  value: updatedFileList
package/dist/index.mjs CHANGED
@@ -769,7 +769,7 @@ var UploadElement = (props) => {
769
769
  reader.readAsDataURL(selectedFile);
770
770
  newFileList.push(newFile);
771
771
  }
772
- const updatedFileList = props.value ? [...props.value, ...newFileList] : newFileList;
772
+ const updatedFileList = newFileList;
773
773
  props.onChange && props.onChange({
774
774
  name: props.name,
775
775
  value: updatedFileList
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/ui-components",
3
- "version": "0.0.13-Beta55",
3
+ "version": "0.0.13-Beta57",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",