@thecb/components 11.1.14-beta.1 → 11.1.14-beta.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.esm.js CHANGED
@@ -49165,7 +49165,7 @@ var PaymentFormCard = function PaymentFormCard(_ref) {
49165
49165
  };
49166
49166
  }
49167
49167
  }, []);
49168
- var nameOnCardErrors = _defineProperty({}, required.error, "Name is required");
49168
+ var nameOnCardErrors = _defineProperty(_defineProperty({}, required.error, "Name is required"), includesPotentialCardNumber.error, "Invalid name");
49169
49169
  var creditCardNumberErrors = _defineProperty(_defineProperty(_defineProperty({}, required.error, "Credit card number is required"), hasLength.error, "Credit card number is invalid"), matchesRegex.error, "".concat(displayCardBrand(fields.creditCardNumber.rawValue), " cards are not available for payment"));
49170
49170
  var expirationDateErrors = _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, required.error, "Expiration date is required"), hasLength.error, "Expiration date is invalid"), isValidMonth.error, "Expiration month is invalid"), dateAfterToday.error, "Expiration date is invalid");
49171
49171
  var cvvErrors = _defineProperty(_defineProperty({}, required.error, "CVV is required"), hasLength.error, "CVV is invalid");