@awell-health/ui-library 0.1.85 → 0.1.86

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -37316,11 +37316,11 @@ Check the top-level render call using <` + t + ">.");
37316
37316
  value: value,
37317
37317
  hideSpaceAfterDialCode: true,
37318
37318
  countries: countries,
37319
- forceDialCode: forceDialCode }),
37319
+ forceDialCode: forceDialCode,
37320
+ onPhoneUpdate: function (phone) {
37321
+ onChange({ target: { value: phone } });
37322
+ } }),
37320
37323
  phone = _d.phone,handlePhoneValueChange = _d.handlePhoneValueChange,inputRef = _d.inputRef,country = _d.country,setCountry = _d.setCountry;
37321
- React.useEffect(function () {
37322
- onChange({ target: { value: phone } });
37323
- }, [phone, onChange]);
37324
37324
  var handleInputChange = function (e) {
37325
37325
  handlePhoneValueChange(e);
37326
37326
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awell-health/ui-library",
3
- "version": "0.1.85",
3
+ "version": "0.1.86",
4
4
  "description": "UI components to integrate with Awell Health",
5
5
  "repository": {
6
6
  "type": "git",