@widergy/energy-ui 3.85.0 → 3.85.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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [3.85.1](https://github.com/widergy/energy-ui/compare/v3.85.0...v3.85.1) (2025-07-08)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * empty phone field handling ([#632](https://github.com/widergy/energy-ui/issues/632)) ([4ab9f2a](https://github.com/widergy/energy-ui/commit/4ab9f2a75aa1242f6072dcebaa6337d23417b5d7))
7
+
1
8
  # [3.85.0](https://github.com/widergy/energy-ui/compare/v3.84.1...v3.85.0) (2025-07-07)
2
9
 
3
10
 
@@ -107,6 +107,8 @@ const UTPhoneInput = _ref => {
107
107
  if (newValue !== value) {
108
108
  onChange(newValue);
109
109
  }
110
+ } else {
111
+ onChange('');
110
112
  }
111
113
  }, [areaCodeState.code, phoneNumber, withAreaCode, onChange, value]);
112
114
  const validationData = validations || areaCodeState.error && (0, _utils.formatErrorToValidation)(areaCodeState.error) || error && (0, _utils.formatErrorToValidation)(error);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@widergy/energy-ui",
3
- "version": "3.85.0",
3
+ "version": "3.85.1",
4
4
  "description": "Widergy Web Components",
5
5
  "author": "widergy",
6
6
  "license": "MIT",