@mxenabled/connect-widget 2.3.2 → 2.3.3
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 +7 -1
- package/dist/index.es.js.map +1 -1
- package/dist/lastBuild.txt +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -77380,7 +77380,7 @@ const Credentials = React__default.forwardRef(
|
|
|
77380
77380
|
onSubmit: (e) => e.preventDefault(),
|
|
77381
77381
|
style: styles.form,
|
|
77382
77382
|
children: [
|
|
77383
|
-
credentials.map((field) => /* @__PURE__ */ jsxRuntimeExports.jsx(SlideDown, { delay: getNextDelay(), children: field.field_type === CREDENTIAL_FIELD_TYPES.PASSWORD ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: errors[field.field_name] ? styles.
|
|
77383
|
+
credentials.map((field) => /* @__PURE__ */ jsxRuntimeExports.jsx(SlideDown, { delay: getNextDelay(), children: field.field_type === CREDENTIAL_FIELD_TYPES.PASSWORD ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: errors[field.field_name] ? styles.passwordInputError : {}, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
77384
77384
|
ProtectedTextField,
|
|
77385
77385
|
{
|
|
77386
77386
|
InputProps: { endAdornment: /* @__PURE__ */ jsxRuntimeExports.jsx(PasswordShowButton, {}) },
|
|
@@ -77405,6 +77405,7 @@ const Credentials = React__default.forwardRef(
|
|
|
77405
77405
|
},
|
|
77406
77406
|
onFocus: handleFocus,
|
|
77407
77407
|
onKeyDown: handlePasswordEnterChange,
|
|
77408
|
+
required: true,
|
|
77408
77409
|
spellCheck: "false",
|
|
77409
77410
|
type: validations.showPassword ? "text" : "password",
|
|
77410
77411
|
value: values[field.field_name] || ""
|
|
@@ -77427,10 +77428,12 @@ const Credentials = React__default.forwardRef(
|
|
|
77427
77428
|
label: field.label,
|
|
77428
77429
|
name: field.field_name,
|
|
77429
77430
|
onChange: handleUserNameTextChange,
|
|
77431
|
+
required: true,
|
|
77430
77432
|
spellCheck: "false",
|
|
77431
77433
|
value: values[field.field_name] || ""
|
|
77432
77434
|
}
|
|
77433
77435
|
) }) }, field.guid)),
|
|
77436
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(RequiredFieldNote, {}),
|
|
77434
77437
|
/* @__PURE__ */ jsxRuntimeExports.jsx(SlideDown, { delay: getNextDelay(), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
77435
77438
|
Button$2,
|
|
77436
77439
|
{
|
|
@@ -77503,6 +77506,9 @@ const getStyles$G = (tokens) => {
|
|
|
77503
77506
|
marginBottom: tokens.Spacing.Large,
|
|
77504
77507
|
marginTop: tokens.Spacing.XSmall
|
|
77505
77508
|
},
|
|
77509
|
+
passwordInputError: {
|
|
77510
|
+
marginTop: tokens.Spacing.XSmall
|
|
77511
|
+
},
|
|
77506
77512
|
buttonBack: {
|
|
77507
77513
|
marginTop: tokens.Spacing.Medium,
|
|
77508
77514
|
marginBottom: "12px"
|