vrfi-design-system 1.0.6 → 1.0.7
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 +0 -0
- package/dist/index.d.ts +28 -6
- package/dist/main.es.js +19794 -19755
- package/dist/main.umd.js +114 -114
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/logo192.png +0 -0
- package/dist/logo512.png +0 -0
package/dist/favicon.ico
CHANGED
|
Binary file
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import { default as AuthBanner } from '../../views/Auth/AuthBanner';
|
|
2
|
+
import { default as AuthForm } from '../../views/Auth/AuthForm';
|
|
3
|
+
import { AuthFormProps } from './../../views/Auth/AuthForm/index';
|
|
1
4
|
import { BaseOptionType } from 'rc-select/lib/Select';
|
|
2
5
|
import { ButtonType } from 'antd/lib/button';
|
|
3
6
|
import { CheckboxChangeEvent } from 'antd/es/checkbox';
|
|
@@ -38,6 +41,12 @@ import { TextAreaProps } from 'antd/lib/input';
|
|
|
38
41
|
import { tooltipPosition } from '../../../enums/tooltipPosition';
|
|
39
42
|
import { UploadFile } from 'antd/lib/upload/interface';
|
|
40
43
|
|
|
44
|
+
export { AuthBanner }
|
|
45
|
+
|
|
46
|
+
export { AuthForm }
|
|
47
|
+
|
|
48
|
+
export { AuthFormProps }
|
|
49
|
+
|
|
41
50
|
export declare interface AvatarCardProps {
|
|
42
51
|
name: string;
|
|
43
52
|
backgroundUrl?: string;
|
|
@@ -121,8 +130,8 @@ export declare interface DatePickerProps {
|
|
|
121
130
|
export declare function DocumentStatus(props: DocumentStatusTypes): default_2.JSX.Element;
|
|
122
131
|
|
|
123
132
|
declare enum DocumentStatusEnum {
|
|
124
|
-
PENDING = "
|
|
125
|
-
UPLOADED = "
|
|
133
|
+
PENDING = "pending",
|
|
134
|
+
UPLOADED = "uploaded"
|
|
126
135
|
}
|
|
127
136
|
|
|
128
137
|
export declare type DocumentStatusTypes = {
|
|
@@ -145,7 +154,7 @@ export declare interface DrawerProps {
|
|
|
145
154
|
placement?: 'top' | 'bottom' | 'left' | 'right';
|
|
146
155
|
}
|
|
147
156
|
|
|
148
|
-
declare const Dropdown: <ValueType, OptionType extends
|
|
157
|
+
declare const Dropdown: <ValueType, OptionType extends DefaultOptionType | BaseOptionType = DefaultOptionType>({ title, ...props }: DropdownProps<ValueType, OptionType>) => default_2.JSX.Element;
|
|
149
158
|
|
|
150
159
|
export declare const DropdownField: (props: FormDropdown) => default_2.JSX.Element;
|
|
151
160
|
|
|
@@ -207,6 +216,7 @@ export declare const InputField: {
|
|
|
207
216
|
TextArea: ({ label, type, placeholder, hasError, ...rest }: CustomInputProps & TextAreaProps) => default_2.JSX.Element;
|
|
208
217
|
DatePicker: (props: CustomInputProps & DatePickerProps_2 & DatePickerProps_2) => default_2.JSX.Element;
|
|
209
218
|
Radio: (props: CustomInputProps & RadioProps_2) => default_2.JSX.Element;
|
|
219
|
+
Select: (props: SelectPropsBase) => default_2.JSX.Element;
|
|
210
220
|
};
|
|
211
221
|
|
|
212
222
|
export declare const Loader: default_2.FC<LoaderProps>;
|
|
@@ -263,6 +273,18 @@ export declare interface SearchComponentProps {
|
|
|
263
273
|
|
|
264
274
|
export declare const SearchField: FC<SearchComponentProps>;
|
|
265
275
|
|
|
276
|
+
declare interface SelectPropsBase extends SelectProps {
|
|
277
|
+
control: any;
|
|
278
|
+
name: string;
|
|
279
|
+
rules: Record<string, any>;
|
|
280
|
+
error: string;
|
|
281
|
+
hasError: boolean;
|
|
282
|
+
options: {
|
|
283
|
+
key: string;
|
|
284
|
+
label: string;
|
|
285
|
+
}[];
|
|
286
|
+
}
|
|
287
|
+
|
|
266
288
|
export declare const Skeleton: FC<SkeletonProps>;
|
|
267
289
|
|
|
268
290
|
declare interface StepItem extends StepProps {
|
|
@@ -315,9 +337,9 @@ export declare type VerificationStatusProps = {
|
|
|
315
337
|
};
|
|
316
338
|
|
|
317
339
|
declare enum VerificationTypes {
|
|
318
|
-
NEW = "
|
|
319
|
-
VERIFIED = "
|
|
320
|
-
REJECTED = "
|
|
340
|
+
NEW = "new",
|
|
341
|
+
VERIFIED = "verified",
|
|
342
|
+
REJECTED = "rejected"
|
|
321
343
|
}
|
|
322
344
|
|
|
323
345
|
export { }
|