@mxenabled/connect-widget 2.8.1 → 2.8.2

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/dist/index.es.js CHANGED
@@ -81600,6 +81600,7 @@ const ManualAccountForm = React__default.forwardRef(
81600
81600
  setReturnField(field.name);
81601
81601
  props.setShowDayPicker(true);
81602
81602
  },
81603
+ required: field.validation?.required || false,
81603
81604
  value: values[field.name]
81604
81605
  }
81605
81606
  ) }, i);
@@ -81634,6 +81635,7 @@ const ManualAccountForm = React__default.forwardRef(
81634
81635
  label: field.label,
81635
81636
  name: field.name,
81636
81637
  onChange: handleTextInputChange,
81638
+ required: field.validation?.required || false,
81637
81639
  value: values[field.name]
81638
81640
  }
81639
81641
  ) }, i);
@@ -81650,6 +81652,7 @@ const ManualAccountForm = React__default.forwardRef(
81650
81652
  children: __("Please try saving your account again.")
81651
81653
  }
81652
81654
  ) }) }),
81655
+ /* @__PURE__ */ jsxRuntimeExports.jsx(RequiredFieldNote, { styles: styles.requiredText }),
81653
81656
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: /* @__PURE__ */ jsxRuntimeExports.jsx(
81654
81657
  Button$2,
81655
81658
  {
@@ -81702,6 +81705,9 @@ const getStyles$c = (tokens) => ({
81702
81705
  saveButton: {
81703
81706
  marginTop: tokens.Spacing.Medium,
81704
81707
  width: "100%"
81708
+ },
81709
+ requiredText: {
81710
+ marginTop: "-32px"
81705
81711
  }
81706
81712
  });
81707
81713
  ManualAccountForm.displayName = "ManualAccountForm";