@careevolution/mydatahelps-ui 3.0.1 → 3.0.2-FixMealImageInput.1

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/cjs/index.js CHANGED
@@ -140497,7 +140497,7 @@ function MealEditor(props) {
140497
140497
  };
140498
140498
  const renderImageSelector = (children) => {
140499
140499
  return React$1.createElement("label", null,
140500
- React$1.createElement("input", { type: "file", accept: "image/*;capture=camera", style: { display: 'none' }, onChange: event => onFileChanged(event.target.files?.[0]) }),
140500
+ React$1.createElement("input", { type: "file", accept: "image/*,capture=camera", style: { display: 'none' }, onChange: event => onFileChanged(event.target.files?.[0]) }),
140501
140501
  children);
140502
140502
  };
140503
140503
  return React$1.createElement("div", { className: "mdhui-meal-editor", style: colorStyles, ref: props.innerRef },
package/dist/esm/index.js CHANGED
@@ -140477,7 +140477,7 @@ function MealEditor(props) {
140477
140477
  };
140478
140478
  const renderImageSelector = (children) => {
140479
140479
  return React__default.createElement("label", null,
140480
- React__default.createElement("input", { type: "file", accept: "image/*;capture=camera", style: { display: 'none' }, onChange: event => onFileChanged(event.target.files?.[0]) }),
140480
+ React__default.createElement("input", { type: "file", accept: "image/*,capture=camera", style: { display: 'none' }, onChange: event => onFileChanged(event.target.files?.[0]) }),
140481
140481
  children);
140482
140482
  };
140483
140483
  return React__default.createElement("div", { className: "mdhui-meal-editor", style: colorStyles, ref: props.innerRef },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@careevolution/mydatahelps-ui",
3
- "version": "3.0.1",
3
+ "version": "3.0.2-FixMealImageInput.1",
4
4
  "description": "MyDataHelps UI Library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",