@apexcura/ui-components 0.0.13-Beta56 → 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,6 +825,11 @@ var UploadElement = (props) => {
825
825
  reader.readAsDataURL(selectedFile);
826
826
  newFileList.push(newFile);
827
827
  }
828
+ const updatedFileList = newFileList;
829
+ props.onChange && props.onChange({
830
+ name: props.name,
831
+ value: updatedFileList
832
+ });
828
833
  };
829
834
  const uploadChange2 = ({ file, fileList }) => {
830
835
  const newFileList = fileList.filter((f) => f.name !== file.name);
package/dist/index.mjs CHANGED
@@ -769,6 +769,11 @@ var UploadElement = (props) => {
769
769
  reader.readAsDataURL(selectedFile);
770
770
  newFileList.push(newFile);
771
771
  }
772
+ const updatedFileList = newFileList;
773
+ props.onChange && props.onChange({
774
+ name: props.name,
775
+ value: updatedFileList
776
+ });
772
777
  };
773
778
  const uploadChange2 = ({ file, fileList }) => {
774
779
  const newFileList = fileList.filter((f) => f.name !== file.name);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/ui-components",
3
- "version": "0.0.13-Beta56",
3
+ "version": "0.0.13-Beta57",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",