@zealicsolutions/web-ui 0.3.94 → 0.3.95

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.
@@ -1,8 +1,8 @@
1
1
  /// <reference types="react" />
2
- import { ControllerProps } from 'react-hook-form';
3
2
  import { SelectOption } from 'atoms';
4
3
  import { InputFieldProps, SelectFieldProps } from 'molecules';
5
- export declare type InputFieldTypes = 'phone_number' | 'text' | 'email' | 'password' | 'numerical' | 'month_year_date' | 'day_month_year_date' | 'month_day_year_date' | 'us_zip_code' | 'any';
4
+ import { ControllerProps } from 'react-hook-form';
5
+ export declare type InputFieldTypes = 'phone_number' | 'text' | 'email' | 'password' | 'numerical' | 'month_year_date' | 'day_month_year_date' | 'month_day_year_date' | 'us_zip_code' | 'username' | 'any';
6
6
  export declare type FieldTypes = 'input' | 'select' | 'checkbox';
7
7
  export declare type UIField<T = string> = (UIInputField & UISelectField & UICheckboxField) & {
8
8
  name: T;
@@ -9,6 +9,7 @@ export declare const monthDayYearDateValidation: RegExp;
9
9
  export declare const dayMonthYearDateValidation: RegExp;
10
10
  export declare const monthYearDateValidation: RegExp;
11
11
  export declare const usZipCode: RegExp;
12
+ export declare const usernameValidation: RegExp;
12
13
  export declare const getInputValidation: (type?: InputFieldTypes) => ValidationRule<RegExp> | undefined;
13
14
  export declare const postCodeMask: RegExp[];
14
15
  export declare const dayMonthYearDateMask: (string | RegExp)[];