@thecb/components 11.9.2-beta.1 → 11.9.2-beta.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.cjs.js CHANGED
@@ -25921,7 +25921,8 @@ var FormInput = function FormInput(_ref15) {
25921
25921
  padding: "0"
25922
25922
  }, helperModal ? /*#__PURE__*/React__default.createElement(Cluster, {
25923
25923
  justify: "space-between",
25924
- align: "center"
25924
+ align: "center",
25925
+ overflow: true
25925
25926
  }, labelDisplayOverride ? labelDisplayOverride : /*#__PURE__*/React__default.createElement(Text$1, {
25926
25927
  as: "label",
25927
25928
  color: themeValues.labelColor,
@@ -26297,7 +26298,7 @@ var FormattedAddress = function FormattedAddress(_ref) {
26297
26298
  var FormattedAddress$1 = themeComponent(FormattedAddress, "FormattedAddress", fallbackValues$n, "default");
26298
26299
 
26299
26300
  var textColor$1 = "".concat(CHARADE_GREY);
26300
- var autopayTextColor = "".concat(SEA_GREEN);
26301
+ var autopayTextColor = "".concat(REGENT_GREY);
26301
26302
  var fallbackValues$o = {
26302
26303
  textColor: textColor$1,
26303
26304
  autopayTextColor: autopayTextColor
@@ -26333,8 +26334,8 @@ var FormattedBankAccount = function FormattedBankAccount(_ref2) {
26333
26334
  }, "Savings Account ending in ", lastFour), autoPay && /*#__PURE__*/React__default.createElement(Text$1, {
26334
26335
  variant: "p",
26335
26336
  color: themeValues.autopayTextColor,
26336
- extraStyles: "font-style: italic; font-size: .75rem;"
26337
- }, "Autopay On")));
26337
+ extraStyles: "font-style: italic;"
26338
+ }, "Autopay Enabled")));
26338
26339
  };
26339
26340
  var FormattedBankAccount$1 = themeComponent(FormattedBankAccount, "FormattedBankAccount", fallbackValues$o);
26340
26341
 
@@ -26379,7 +26380,7 @@ var CardType = function CardType(_ref) {
26379
26380
  };
26380
26381
 
26381
26382
  var textColor$2 = "".concat(CHARADE_GREY);
26382
- var autopayTextColor$1 = "".concat(SEA_GREEN);
26383
+ var autopayTextColor$1 = "".concat(REGENT_GREY);
26383
26384
  var fallbackValues$p = {
26384
26385
  textColor: textColor$2,
26385
26386
  autopayTextColor: autopayTextColor$1
@@ -26408,15 +26409,13 @@ var renderCardStatus = function renderCardStatus(expirationStatus, expireDate) {
26408
26409
  return /*#__PURE__*/React__default.createElement(Text$1, {
26409
26410
  as: as,
26410
26411
  variant: "pXS",
26411
- fontSize: ".75rem",
26412
- color: STORM_GREY,
26412
+ color: ASH_GREY,
26413
26413
  extraStyles: "text-align: ".concat(textAlign, "; margin: ").concat(textMargin, ";")
26414
26414
  }, "Exp Date ", expireDate);
26415
26415
  case EXPIRING_SOON:
26416
26416
  return /*#__PURE__*/React__default.createElement(Text$1, {
26417
26417
  as: as,
26418
26418
  variant: "pXS",
26419
- fontSize: ".75rem",
26420
26419
  color: FIRE_YELLOW,
26421
26420
  extraStyles: "text-align: ".concat(textAlign, "; margin: ").concat(textMargin, ";")
26422
26421
  }, "Expiring Soon ", expireDate);
@@ -26424,8 +26423,7 @@ var renderCardStatus = function renderCardStatus(expirationStatus, expireDate) {
26424
26423
  return /*#__PURE__*/React__default.createElement(Text$1, {
26425
26424
  as: as,
26426
26425
  variant: "pXS",
26427
- fontSize: ".75rem",
26428
- color: STORM_GREY,
26426
+ color: ASH_GREY,
26429
26427
  extraStyles: "text-align: ".concat(textAlign, "; margin: ").concat(textMargin, ";")
26430
26428
  }, "Expired");
26431
26429
  }
@@ -26475,8 +26473,8 @@ var FormattedCreditCard = function FormattedCreditCard(_ref) {
26475
26473
  }, "Card ending in ".concat(lastFour)), expireDate && /*#__PURE__*/React__default.createElement(React.Fragment, null, renderCardStatus(expirationStatus, expireDate, "left", "p"))), autoPay && /*#__PURE__*/React__default.createElement(Text$1, {
26476
26474
  variant: "p",
26477
26475
  color: themeValues.autopayTextColor,
26478
- extraStyles: "font-style: italic; font-size: .75rem;"
26479
- }, "Autopay On")));
26476
+ extraStyles: "font-style: italic;"
26477
+ }, "Autopay Enabled")));
26480
26478
  };
26481
26479
  var FormattedCreditCard$1 = themeComponent(FormattedCreditCard, "FormattedCreditCard", fallbackValues$p);
26482
26480
 
@@ -41159,7 +41157,7 @@ var EmailForm = function EmailForm(_ref) {
41159
41157
  }, []);
41160
41158
  }
41161
41159
  useConditionallyAddValidator(isRequired, required, actions.fields.email.addValidator, actions.fields.email.removeValidator);
41162
- var emailFieldErrorMessages = _defineProperty(_defineProperty({}, required.error, "Email address is required"), isProbablyEmail.error, "Invalid email address");
41160
+ var emailFieldErrorMessages = _defineProperty(_defineProperty({}, required.error, "Email address is required"), isProbablyEmail.error, "Please enter a valid email address in the format user@example.com");
41163
41161
  return /*#__PURE__*/React__default.createElement(FormContainer$1, {
41164
41162
  variant: variant,
41165
41163
  role: "form",
@@ -41251,7 +41249,7 @@ var ForgotPasswordForm = function ForgotPasswordForm(_ref) {
41251
41249
  };
41252
41250
  }, []);
41253
41251
  }
41254
- var EmailErrorMessages = _defineProperty(_defineProperty({}, required.error, "Email address is required"), isProbablyEmail.error, "Email address is not valid");
41252
+ var EmailErrorMessages = _defineProperty(_defineProperty({}, required.error, "Email address is required"), isProbablyEmail.error, "Please enter a valid email address in the format user@example.com");
41255
41253
  return /*#__PURE__*/React__default.createElement(FormInput$1, {
41256
41254
  labelTextWhenNoError: "Email address",
41257
41255
  errorMessages: EmailErrorMessages,
@@ -45950,7 +45948,7 @@ var LoginForm = function LoginForm(_ref) {
45950
45948
  };
45951
45949
  }, []);
45952
45950
  }
45953
- var emailErrorMessages = _defineProperty(_defineProperty({}, required.error, "Email address is required"), isProbablyEmail.error, "Invalid email address");
45951
+ var emailErrorMessages = _defineProperty(_defineProperty({}, required.error, "Email address is required"), isProbablyEmail.error, "Please enter a valid email address in the format user@example.com");
45954
45952
  var passwordErrorMessages = _defineProperty({}, required.error, "Password is required");
45955
45953
  return /*#__PURE__*/React__default.createElement(FormInputColumn, {
45956
45954
  role: "form",
@@ -49323,7 +49321,7 @@ var RegistrationForm = function RegistrationForm(_ref) {
49323
49321
  }
49324
49322
  var firstNameErrorMessages = _defineProperty(_defineProperty({}, required.error, "First name is required"), validName.error, "First name contains invalid characters");
49325
49323
  var lastNameErrorMessages = _defineProperty(_defineProperty({}, required.error, "Last name is required"), validName.error, "Last name contains invalid characters");
49326
- var emailErrorMessages = _defineProperty(_defineProperty({}, required.error, "Email is required"), isProbablyEmail.error, "Invalid email address");
49324
+ var emailErrorMessages = _defineProperty(_defineProperty({}, required.error, "Email is required"), isProbablyEmail.error, "Please enter a valid email address in the format user@example.com");
49327
49325
  var passwordErrorMessages = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, required.error, "Password is required"), hasLength.error, "Password must have at least 8 characters"), hasNumber.error, "Password must contain at least one number"), hasLowercaseLetter.error, "Password must contain at least one lowercase letter"), hasUppercaseLetter.error, "Password must contain at least one uppercase letter"), hasSpecialCharacter.error, "Password must contain at least one special character (!@#$%^&*.?)");
49328
49326
  var confirmPasswordErrorMessages = _defineProperty({}, matchesField.error, "Confirm password must match password");
49329
49327
  return /*#__PURE__*/React__default.createElement(FormInputColumn, {