@mcurros2/microm 1.1.226-0 → 1.1.227-0

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.d.ts CHANGED
@@ -260,13 +260,17 @@ export const combineValidators: (Container?: React.ComponentType<{
260
260
  }>, ...validators: ValidationRule[]) => ValidationRule;
261
261
  export const isValidCUIT: ValidatorFunction;
262
262
  export const CustomValidator: ValidatorFunction;
263
+ export const isDigits: (error?: ReactNode) => (value: unknown) => string | number | true | ReactElement<any, string | JSXElementConstructor<any>> | Iterable<ReactNode> | null;
263
264
  export const isValidEmail: ValidatorFunction;
265
+ export const isInteger: (error?: ReactNode) => (value: unknown) => string | number | true | ReactElement<any, string | JSXElementConstructor<any>> | Iterable<ReactNode> | null;
264
266
  export const isPhone: ValidatorFunction;
265
267
  export const CommonValidators: {
266
268
  url: ValidatorFunction;
267
269
  phone: ValidatorFunction;
268
270
  cuit: ValidatorFunction;
269
271
  email: ValidatorFunction;
272
+ digits: (error?: ReactNode) => (value: unknown) => string | number | true | ReactElement<any, string | JSXElementConstructor<any>> | Iterable<ReactNode> | null;
273
+ integer: (error?: ReactNode) => (value: unknown) => string | number | true | ReactElement<any, string | JSXElementConstructor<any>> | Iterable<ReactNode> | null;
270
274
  length: typeof hasLength;
271
275
  required: typeof isNotEmpty;
272
276
  regex: typeof matches;