@trackunit/react-form-components 0.1.34 → 0.1.36

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/react-form-components",
3
- "version": "0.1.34",
3
+ "version": "0.1.36",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
@@ -2,4 +2,4 @@ export type UrlValidationErrorCode = "REQUIRED" | "INVALID_HEX_CODE" | undefined
2
2
  /**
3
3
  * Validates a url
4
4
  */
5
- export declare const validateColorCode: (colorCode: string | number | readonly string[], required?: boolean | undefined) => UrlValidationErrorCode;
5
+ export declare const validateColorCode: (colorCode?: string | number | readonly string[], required?: boolean | undefined) => UrlValidationErrorCode;
@@ -2,4 +2,4 @@ export type EmailValidationErrorCode = "REQUIRED" | "INVALID_EMAIL" | undefined;
2
2
  /**
3
3
  * Validates a email id
4
4
  */
5
- export declare const validateEmailId: (emailId: string | number | readonly string[], required?: boolean | undefined) => EmailValidationErrorCode;
5
+ export declare const validateEmailId: (emailId?: string | number | readonly string[], required?: boolean | undefined) => EmailValidationErrorCode;
@@ -2,4 +2,4 @@ export type UrlValidationErrorCode = "REQUIRED" | "INVALID_URL" | undefined;
2
2
  /**
3
3
  * Validates a url
4
4
  */
5
- export declare const validateUrl: (url: string | number | readonly string[], required?: boolean | undefined) => UrlValidationErrorCode;
5
+ export declare const validateUrl: (url?: string | number | readonly string[], required?: boolean | undefined) => UrlValidationErrorCode;