@akad/design-system
Advanced tools
Comparing version 0.1.0-beta.4 to 0.1.0-beta.5
{ | ||
"name": "@akad/design-system", | ||
"version": "0.1.0-beta.4", | ||
"version": "0.1.0-beta.5", | ||
"main": "react/react.js", | ||
@@ -5,0 +5,0 @@ "types": "react/main.d.ts", |
@@ -0,1 +1,7 @@ | ||
import { MaskedOptions } from 'imask'; | ||
interface MaskedDynamic { | ||
value: string; | ||
compiledMasks: MaskedOptions[]; | ||
} | ||
declare const maskConfig: { | ||
@@ -29,3 +35,9 @@ currency: { | ||
}; | ||
'phone-br': { | ||
mask: { | ||
mask: string; | ||
}[]; | ||
dispatch: (appended: string, dynamicMasked: MaskedDynamic) => Partial<Pick<import('imask').Masked<any>, "mask" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "format" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">>; | ||
}; | ||
}; | ||
export default maskConfig; |
import { default as Ajv } from 'ajv'; | ||
export declare const createAjvInstance: () => Ajv; | ||
export declare function emailValidator(email: string): boolean; | ||
export declare function phoneBrValidator(phone: string): boolean; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
1654899
205
20495