pdap-design-system 3.1.0-beta.19 → 3.1.0-beta.20

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,6 +4,7 @@ export declare function isPdapVuelidateValidator(s: string): s is keyof PdapForm
4
4
  export declare function isLengthRule(s: string): s is PdapLengthRules;
5
5
  export declare function isRequiredRule(s: string): s is 'required';
6
6
  export declare function isEmailRule(s: string): s is 'email';
7
+ export declare function isUrlRule(s: string): s is 'url';
7
8
  export declare function isPasswordRule(s: string): s is 'password';
8
9
  export declare function makeLengthRule(rule: PdapLengthRules, value: number): {
9
10
  [x: string]: import("@vuelidate/core").ValidationRuleWithParams<{
@@ -27,6 +28,12 @@ export declare function makeEmailRule(): {
27
28
  export declare function makeEmailRuleWithCustomMessage(message: string): {
28
29
  email: import("@vuelidate/core").ValidationRuleWithParams<object, any>;
29
30
  };
31
+ export declare function makeURLRule(): {
32
+ email: import("@vuelidate/core").ValidationRuleWithoutParams<any>;
33
+ };
34
+ export declare function makeURLRuleWithCustomMessage(message: string): {
35
+ email: import("@vuelidate/core").ValidationRuleWithParams<object, any>;
36
+ };
30
37
  export declare function makePasswordRule(): {
31
38
  password: any;
32
39
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pdap-design-system",
3
- "version": "3.1.0-beta.19",
3
+ "version": "3.1.0-beta.20",
4
4
  "description": "Global styles for PDAP apps",
5
5
  "author": "Police Data Accessibility Project, Inc.",
6
6
  "license": "ISC",