@mxenabled/connect-widget 0.19.1 → 0.19.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
@@ -5087,39 +5087,23 @@ function baseFindIndex$2(array, predicate, fromIndex, fromRight) {
5087
5087
  }
5088
5088
  var _baseFindIndex = baseFindIndex$2;
5089
5089
 
5090
- var _trimmedEndIndex;
5091
- var hasRequired_trimmedEndIndex;
5092
-
5093
- function require_trimmedEndIndex () {
5094
- if (hasRequired_trimmedEndIndex) return _trimmedEndIndex;
5095
- hasRequired_trimmedEndIndex = 1;
5096
- var reWhitespace = /\s/;
5097
- function trimmedEndIndex(string) {
5098
- var index = string.length;
5099
- while (index-- && reWhitespace.test(string.charAt(index))) {
5100
- }
5101
- return index;
5102
- }
5103
- _trimmedEndIndex = trimmedEndIndex;
5104
- return _trimmedEndIndex;
5090
+ var reWhitespace = /\s/;
5091
+ function trimmedEndIndex$1(string) {
5092
+ var index = string.length;
5093
+ while (index-- && reWhitespace.test(string.charAt(index))) {
5094
+ }
5095
+ return index;
5105
5096
  }
5097
+ var _trimmedEndIndex = trimmedEndIndex$1;
5106
5098
 
5107
- var _baseTrim;
5108
- var hasRequired_baseTrim;
5109
-
5110
- function require_baseTrim () {
5111
- if (hasRequired_baseTrim) return _baseTrim;
5112
- hasRequired_baseTrim = 1;
5113
- var trimmedEndIndex = require_trimmedEndIndex();
5114
- var reTrimStart = /^\s+/;
5115
- function baseTrim(string) {
5116
- return string ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, "") : string;
5117
- }
5118
- _baseTrim = baseTrim;
5119
- return _baseTrim;
5099
+ var trimmedEndIndex = _trimmedEndIndex;
5100
+ var reTrimStart = /^\s+/;
5101
+ function baseTrim$1(string) {
5102
+ return string ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, "") : string;
5120
5103
  }
5104
+ var _baseTrim = baseTrim$1;
5121
5105
 
5122
- var baseTrim = require_baseTrim(), isObject$7 = isObject_1, isSymbol$1 = isSymbol_1;
5106
+ var baseTrim = _baseTrim, isObject$7 = isObject_1, isSymbol$1 = isSymbol_1;
5123
5107
  var NAN = 0 / 0;
5124
5108
  var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
5125
5109
  var reIsBinary = /^0b[01]+$/i;
@@ -8573,7 +8557,7 @@ var hasRequiredTrim;
8573
8557
  function requireTrim () {
8574
8558
  if (hasRequiredTrim) return trim_1;
8575
8559
  hasRequiredTrim = 1;
8576
- var baseToString = _baseToString, baseTrim = require_baseTrim(), castSlice = require_castSlice(), charsEndIndex = require_charsEndIndex(), charsStartIndex = require_charsStartIndex(), stringToArray = require_stringToArray(), toString = toString_1;
8560
+ var baseToString = _baseToString, baseTrim = _baseTrim, castSlice = require_castSlice(), charsEndIndex = require_charsEndIndex(), charsStartIndex = require_charsStartIndex(), stringToArray = require_stringToArray(), toString = toString_1;
8577
8561
  function trim(string, chars, guard) {
8578
8562
  string = toString(string);
8579
8563
  if (string && (guard || chars === void 0)) {
@@ -73870,6 +73854,7 @@ const PersonalInfoForm = ({ accountDetails, onContinue }) => {
73870
73854
  label: schema.firstName.label,
73871
73855
  name: "firstName",
73872
73856
  onChange: handleTextInputChange,
73857
+ required: true,
73873
73858
  value: values.firstName
73874
73859
  }
73875
73860
  ) }),
@@ -73883,10 +73868,11 @@ const PersonalInfoForm = ({ accountDetails, onContinue }) => {
73883
73868
  label: schema.lastName.label,
73884
73869
  name: "lastName",
73885
73870
  onChange: handleTextInputChange,
73871
+ required: true,
73886
73872
  value: values.lastName
73887
73873
  }
73888
73874
  ) }),
73889
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: styles.inputStyle, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
73875
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: /* @__PURE__ */ jsxRuntimeExports.jsx(
73890
73876
  ProtectedTextField,
73891
73877
  {
73892
73878
  error: !!errors.email,
@@ -73896,10 +73882,16 @@ const PersonalInfoForm = ({ accountDetails, onContinue }) => {
73896
73882
  label: schema.email.label,
73897
73883
  name: "email",
73898
73884
  onChange: handleTextInputChange,
73885
+ required: true,
73899
73886
  value: values.email
73900
73887
  }
73901
73888
  ) })
73902
73889
  ] }),
73890
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: { marginTop: 16, marginBottom: 32 }, children: /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { style: { color: "#666", fontSize: 13 }, children: [
73891
+ /* @__PURE__ */ jsxRuntimeExports.jsx("span", { style: { color: "#E32727", fontSize: 13 }, children: "*" }),
73892
+ " ",
73893
+ __("Required")
73894
+ ] }) }),
73903
73895
  /* @__PURE__ */ jsxRuntimeExports.jsx(SlideDown, { delay: getNextDelay(), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
73904
73896
  Button$2,
73905
73897
  {
@@ -80752,6 +80744,16 @@ const connectThemeOverrides = (palette) => ({
80752
80744
  }
80753
80745
  }
80754
80746
  },
80747
+ MuiFormLabel: {
80748
+ styleOverrides: {
80749
+ asterisk: {
80750
+ color: "#E32727",
80751
+ "&$error": {
80752
+ color: "#E32727"
80753
+ }
80754
+ }
80755
+ }
80756
+ },
80755
80757
  MuiIcon: {
80756
80758
  styleOverrides: {
80757
80759
  root: {