@fctc/sme-widget-ui 1.4.7 → 1.4.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
@@ -33021,6 +33021,7 @@ var FloatField = (props) => {
33021
33021
  }
33022
33022
  };
33023
33023
  const handleInputMouseLeave = () => {
33024
+ if (isDirtyRef?.current === false) return;
33024
33025
  const rawValue = inputValue.replace(/,/g, "");
33025
33026
  const parsedValue = parseFloat(rawValue);
33026
33027
  if (rawValue === "" || rawValue === ".") {
package/dist/index.mjs CHANGED
@@ -32902,6 +32902,7 @@ var FloatField = (props) => {
32902
32902
  }
32903
32903
  };
32904
32904
  const handleInputMouseLeave = () => {
32905
+ if (isDirtyRef?.current === false) return;
32905
32906
  const rawValue = inputValue.replace(/,/g, "");
32906
32907
  const parsedValue = parseFloat(rawValue);
32907
32908
  if (rawValue === "" || rawValue === ".") {
package/dist/widgets.js CHANGED
@@ -32647,6 +32647,7 @@ var FloatField = (props) => {
32647
32647
  }
32648
32648
  };
32649
32649
  const handleInputMouseLeave = () => {
32650
+ if (isDirtyRef?.current === false) return;
32650
32651
  const rawValue = inputValue.replace(/,/g, "");
32651
32652
  const parsedValue = parseFloat(rawValue);
32652
32653
  if (rawValue === "" || rawValue === ".") {
package/dist/widgets.mjs CHANGED
@@ -32584,6 +32584,7 @@ var FloatField = (props) => {
32584
32584
  }
32585
32585
  };
32586
32586
  const handleInputMouseLeave = () => {
32587
+ if (isDirtyRef?.current === false) return;
32587
32588
  const rawValue = inputValue.replace(/,/g, "");
32588
32589
  const parsedValue = parseFloat(rawValue);
32589
32590
  if (rawValue === "" || rawValue === ".") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fctc/sme-widget-ui",
3
- "version": "1.4.7",
3
+ "version": "1.4.8",
4
4
  "main": "dist/index.cjs",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",