vrfi-design-system 1.0.18 → 1.0.19

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
@@ -1,5 +1,4 @@
1
1
  import { Align } from '../../enums/align.enum';
2
- import { default as AntdRadio } from 'antd/lib/radio';
3
2
  import { default as AuthBanner } from '../../views/Auth/AuthBanner';
4
3
  import { default as AuthForm } from '../../views/Auth/AuthForm';
5
4
  import { AuthFormProps } from './../../views/Auth/AuthForm/index';
@@ -79,8 +78,6 @@ import * as Yup from 'yup';
79
78
 
80
79
  export { Align }
81
80
 
82
- export { AntdRadio }
83
-
84
81
  export declare interface AssignedEmployerProps {
85
82
  data?: EmployerDataType[];
86
83
  noDataHeading?: string;
@@ -383,6 +380,13 @@ export declare interface OfflineProps {
383
380
 
384
381
  export declare const Password: ({ label, type, placeholder, ...rest }: CustomInputProps & PasswordProps) => default_2.JSX.Element;
385
382
 
383
+ export declare const PasswordValidation: default_2.FC<PasswordValidationProps>;
384
+
385
+ export declare interface PasswordValidationProps {
386
+ fieldName: string;
387
+ validationRules: ValidationRuleProps[];
388
+ }
389
+
386
390
  export declare function ProfileAssignedCard({ name }: ProfileAssignedCardProps): default_2.JSX.Element;
387
391
 
388
392
  export declare interface ProfileAssignedCardProps {
@@ -553,6 +557,11 @@ declare interface TooltipProps {
553
557
  children: JSX_2.Element;
554
558
  }
555
559
 
560
+ export declare interface ValidationRuleProps {
561
+ test: (val: string) => boolean;
562
+ message: string;
563
+ }
564
+
556
565
  export declare function VerificationStatus(props: VerificationStatusProps): default_2.JSX.Element;
557
566
 
558
567
  export declare type VerificationStatusProps = {