@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.cjs.js CHANGED
@@ -33466,7 +33466,7 @@ validatorFns[DATE_AFTER_TODAY] = (value, args, form) => {
33466
33466
 
33467
33467
  const IS_VALID_MONTH = "validator/IS_VALID_MONTH";
33468
33468
  const IS_VALID_MONTH_ERROR = "error/IS_VALID_MONTH";
33469
- const isValidMonth$1 = createValidator(
33469
+ const isValidMonth = createValidator(
33470
33470
  IS_VALID_MONTH,
33471
33471
  IS_VALID_MONTH_ERROR
33472
33472
  );
@@ -40356,7 +40356,7 @@ var formConfig$8 = {
40356
40356
  constraints: [onlyIntegers(), hasLength(0, 16)]
40357
40357
  },
40358
40358
  expirationDate: {
40359
- validators: [required(), hasLength(4, 4), isValidMonth$1(0), dateAfterToday("MMYY", "month", true)],
40359
+ validators: [required(), hasLength(4, 4), isValidMonth(0), dateAfterToday("MMYY", "month", true)],
40360
40360
  constraints: [onlyIntegers(), hasLength(0, 4)]
40361
40361
  },
40362
40362
  cvv: {