@s-ui/react-molecule-phone-input
Advanced tools
Comparing version 1.5.0 to 1.6.0
# CHANGELOG | ||
# 1.6.0 (2023-07-28) | ||
### Features | ||
* **components/molecule/phoneInput:** Expose formatted value ([fbd922d](https://github.com/SUI-Components/sui-components/commit/fbd922d64631c682e81464fb99e155c22f29de88)) | ||
# 1.5.0 (2023-07-28) | ||
@@ -4,0 +13,0 @@ |
@@ -20,2 +20,3 @@ import { useEffect, useRef, useState } from 'react'; | ||
value = _ref$value === void 0 ? '' : _ref$value, | ||
setFormattedValue = _ref.setFormattedValue, | ||
_ref$prefixes = _ref.prefixes, | ||
@@ -65,2 +66,3 @@ prefixes = _ref$prefixes === void 0 ? [] : _ref$prefixes, | ||
} | ||
typeof setFormattedValue === 'function' && setFormattedValue(value); | ||
typeof onChange === 'function' && onChange(e, { | ||
@@ -67,0 +69,0 @@ prefix: selectedPrefix.countryCode, |
{ | ||
"name": "@s-ui/react-molecule-phone-input", | ||
"version": "1.5.0", | ||
"version": "1.6.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13482
180