@awell-health/ui-library 0.1.85 → 0.1.87

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 +5 -5
  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
  };
@@ -41578,7 +41578,7 @@ Check the top-level render call using <` + t + ">.");
41578
41578
  isValid: true };
41579
41579
 
41580
41580
  }
41581
- var parsedDate = new Date(value);
41581
+ var parsedDate = new Date("".concat(value, "T00:00:00"));
41582
41582
  var dateIsToday = isToday(parsedDate);
41583
41583
  var _a = questionConfig.date,allowed_dates = _a.allowed_dates,_b = _a.include_date_of_response,include_date_of_response = _b === void 0 ? false : _b;
41584
41584
  if (allowed_dates === exports.AllowedDatesOptions.All) {
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.87",
4
4
  "description": "UI components to integrate with Awell Health",
5
5
  "repository": {
6
6
  "type": "git",