optimized-react-component-library-xyz123 0.0.7 → 0.0.8

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
@@ -477,7 +477,7 @@ var FilesUpload = ({
477
477
  }, [question.files]);
478
478
  (0, import_react2.useEffect)(() => {
479
479
  alert("Selected files changed");
480
- const e = {};
480
+ const e = { target: { value: `question-name-${question.id}` } };
481
481
  isTouched(e, question);
482
482
  }, [selectedFiles]);
483
483
  const getTotalFileSize = () => {
package/dist/index.mjs CHANGED
@@ -415,7 +415,7 @@ var FilesUpload = ({
415
415
  }, [question.files]);
416
416
  useEffect2(() => {
417
417
  alert("Selected files changed");
418
- const e = {};
418
+ const e = { target: { value: `question-name-${question.id}` } };
419
419
  isTouched(e, question);
420
420
  }, [selectedFiles]);
421
421
  const getTotalFileSize = () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "optimized-react-component-library-xyz123",
3
- "version": "0.0.7",
3
+ "version": "0.0.8",
4
4
  "description": "A modern React component library using TypeScript.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",