@s-ui/react-molecule-phone-input
Advanced tools
Comparing version 1.1.0 to 1.2.0
# CHANGELOG | ||
# 1.2.0 (2023-05-30) | ||
### Bug Fixes | ||
* **components/molecule/phoneInput:** Fix phone input demo not working ([05e4a0d](https://github.com/SUI-Components/sui-components/commit/05e4a0dc674f70d80ba523b595b28e0c4782c271)) | ||
### Features | ||
* **components/molecule/phoneInput/demo:** Make demos random ([3f0cfdf](https://github.com/SUI-Components/sui-components/commit/3f0cfdf66c56bfa3a9fdcca3ac7a09069ed8dc1b)) | ||
# 1.1.0 (2023-05-19) | ||
@@ -4,0 +18,0 @@ |
@@ -76,3 +76,3 @@ import { useEffect, useRef, useState } from 'react'; | ||
}), /*#__PURE__*/_jsx(AtomInput, { | ||
value: value, | ||
value: value.toString(), | ||
mask: selectedPrefix.mask || '000 000 000', | ||
@@ -86,3 +86,3 @@ placeholder: placeholder, | ||
// remove spaces from value | ||
value: value.replace(/\s/g, '') | ||
value: value.toString().replace(/\s/g, '') | ||
}); | ||
@@ -89,0 +89,0 @@ }, |
{ | ||
"name": "@s-ui/react-molecule-phone-input", | ||
"version": "1.1.0", | ||
"version": "1.2.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
11516