@thecb/components 5.2.0 → 5.2.1

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
@@ -33458,7 +33458,7 @@ validatorFns[DATE_AFTER_TODAY] = (value, args, form) => {
33458
33458
 
33459
33459
  const IS_VALID_MONTH = "validator/IS_VALID_MONTH";
33460
33460
  const IS_VALID_MONTH_ERROR = "error/IS_VALID_MONTH";
33461
- const isValidMonth$1 = createValidator(
33461
+ const isValidMonth = createValidator(
33462
33462
  IS_VALID_MONTH,
33463
33463
  IS_VALID_MONTH_ERROR
33464
33464
  );
@@ -40348,7 +40348,7 @@ var formConfig$8 = {
40348
40348
  constraints: [onlyIntegers(), hasLength(0, 16)]
40349
40349
  },
40350
40350
  expirationDate: {
40351
- validators: [required(), hasLength(4, 4), isValidMonth$1(0), dateAfterToday("MMYY", "month", true)],
40351
+ validators: [required(), hasLength(4, 4), isValidMonth(0), dateAfterToday("MMYY", "month", true)],
40352
40352
  constraints: [onlyIntegers(), hasLength(0, 4)]
40353
40353
  },
40354
40354
  cvv: {