@symply.io/basic-components 1.5.7-alpha.5 → 1.5.7-beta.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.
@@ -100,7 +100,7 @@ function useInteractions(props) {
100
100
  onChange("");
101
101
  }
102
102
  else if (strVal.startsWith("0")) {
103
- var newValue = strVal.replace(/^(0+)(?=((0|[1-9])\d*\.))/g, "");
103
+ var newValue = strVal.replace(/^(0+)(?=((0|[1-9])\d*(\.\d+)?))/g, "");
104
104
  onChange(newValue);
105
105
  }
106
106
  }, [value, onChange]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@symply.io/basic-components",
3
- "version": "1.5.7-alpha.5",
3
+ "version": "1.5.7-beta.1",
4
4
  "description": "Basic and reusable components for all frontend of Symply apps",
5
5
  "keywords": [
6
6
  "react",