@influenzanet/case-web-app-core 2.8.6-staging → 2.8.7-staging

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/build/index.es.js CHANGED
@@ -21025,6 +21025,8 @@ var SignupForm = function (props) {
21025
21025
  var confirmPasswordInputLabel = t('signup.confirmPasswordInputLabel');
21026
21026
  var confirmPasswordPlaceholder = t('signup.confirmPasswordInputLabel');
21027
21027
  var phoneInputLabel = t('signup.phoneInputLabel');
21028
+ var phoneOptional = t('signup.phoneOptional');
21029
+ var phoneOptionalWithExplanation = t('signup.phoneOptionalWithExplanation');
21028
21030
  var phoneInputPlaceholder = t('signup.phoneInputPlaceholder');
21029
21031
  var dialogSize = consentDialogSize();
21030
21032
  return (jsxs(React__default$1.Fragment, { children: [infoText && infoText.length > 0 ?
@@ -21045,7 +21047,7 @@ var SignupForm = function (props) {
21045
21047
  }, onChange: function (event) {
21046
21048
  var value = event.target.value;
21047
21049
  setSignupData(function (prev) { return __assign(__assign({}, prev), { confirmPassword: value }); });
21048
- } }, void 0), jsx(PhoneNumberInput, { className: marginBottomClass, value: signupData.phone, label: phoneInputLabel + " (opzionale)", placeholder: phoneInputPlaceholder + " (opzionale per notifiche WhatsApp)", autoFocus: false, onChange: function (fullPhoneNumber) {
21050
+ } }, void 0), jsx(PhoneNumberInput, { className: marginBottomClass, value: signupData.phone, label: phoneInputLabel + (phoneOptional), placeholder: phoneInputPlaceholder + (phoneOptionalWithExplanation), autoFocus: false, onChange: function (fullPhoneNumber) {
21049
21051
  setSignupData(function (prev) { return __assign(__assign({}, prev), { phone: fullPhoneNumber }); });
21050
21052
  }, onBlur: function () {
21051
21053
  setShowPhoneError(true);