vrfi-design-system 1.0.4 → 1.0.6

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/favicon.ico CHANGED
Binary file
package/dist/index.d.ts CHANGED
@@ -1,18 +1,17 @@
1
- import { AuthBanner } from '../../views/Auth/AuthBanner';
2
- import { default as AuthForm } from '../../views/Auth/AuthForm';
3
- import { AuthFormProps } from './../../views/Auth/AuthForm/index';
4
1
  import { BaseOptionType } from 'rc-select/lib/Select';
5
2
  import { ButtonType } from 'antd/lib/button';
6
3
  import { CheckboxChangeEvent } from 'antd/es/checkbox';
7
4
  import { CheckboxGroupProps } from 'antd/es/checkbox';
8
5
  import { CheckboxOptionType } from 'antd/lib/checkbox/Group';
9
6
  import { ComponentProps } from 'react';
7
+ import { ControllerRenderProps } from 'react-hook-form';
10
8
  import { DatePickerProps as DatePickerProps_2 } from 'antd';
11
9
  import { default as default_2 } from 'react';
12
10
  import { default as default_3 } from 'dayjs';
13
11
  import { DefaultOptionType } from 'rc-select/lib/Select';
14
12
  import { DrawerProps as DrawerProps_2 } from 'antd';
15
13
  import { FC } from 'react';
14
+ import { FieldValues } from 'react-hook-form';
16
15
  import { FilterValue } from 'antd/lib/table/interface';
17
16
  import { InputProps } from 'antd/lib';
18
17
  import { JSX as JSX_2 } from 'react';
@@ -39,12 +38,6 @@ import { TextAreaProps } from 'antd/lib/input';
39
38
  import { tooltipPosition } from '../../../enums/tooltipPosition';
40
39
  import { UploadFile } from 'antd/lib/upload/interface';
41
40
 
42
- export { AuthBanner }
43
-
44
- export { AuthForm }
45
-
46
- export { AuthFormProps }
47
-
48
41
  export declare interface AvatarCardProps {
49
42
  name: string;
50
43
  backgroundUrl?: string;
@@ -106,14 +99,13 @@ export declare type CustomAvatarProps = {
106
99
 
107
100
  export declare interface CustomInputProps {
108
101
  label: string;
109
- control?: any;
110
102
  name: string;
111
103
  rules?: Record<string, any>;
112
104
  placeholder: string;
113
105
  type: string;
114
106
  error: string;
115
107
  hasError: boolean;
116
- customOnChange: (event: default_2.ChangeEvent<HTMLInputElement | HTMLTextAreaElement> | default_3.Dayjs | null, field: any) => void;
108
+ customOnChange: (event: default_2.ChangeEvent<HTMLInputElement | HTMLTextAreaElement> | default_3.Dayjs | null, field: ControllerRenderProps<FieldValues, string>) => void;
117
109
  }
118
110
 
119
111
  export declare const DatePickerField: {
Binary file
Binary file