vrfi-design-system 1.0.68 → 1.0.69
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 +14 -5
- package/dist/main.es.js +8482 -8304
- package/dist/main.umd.js +106 -106
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -29,6 +29,7 @@ import { default as default_3 } from 'dayjs';
|
|
|
29
29
|
import { DefaultOptionType } from 'rc-select/lib/Select';
|
|
30
30
|
import { DocumentStatusEnum } from '../../enums/documentStatus.enum';
|
|
31
31
|
import { DocumentStatusEnum as DocumentStatusEnum_2 } from '../../../enums/documentStatus.enum';
|
|
32
|
+
import { DOM_ELEMENT_ROLE } from './../../enums/domElementRole.enum';
|
|
32
33
|
import { DrawerProps as DrawerProps_2 } from 'antd';
|
|
33
34
|
import { FC } from 'react';
|
|
34
35
|
import { FieldValues } from 'react-hook-form';
|
|
@@ -53,7 +54,7 @@ import { Justify } from '../../enums/justify.enum';
|
|
|
53
54
|
import { LabelType } from './../../enums/labelType.enum';
|
|
54
55
|
import { LabelType as LabelType_2 } from '../../../enums/labelType.enum';
|
|
55
56
|
import { LoaderSizes } from '../../../enums/LoaderSizes';
|
|
56
|
-
import {
|
|
57
|
+
import { MenuProps } from 'antd/lib';
|
|
57
58
|
import { MobileInputValue } from '../types/mobileInputValue.type';
|
|
58
59
|
import { MobileInputValue as MobileInputValue_2 } from '../../../types/mobileInputValue.type';
|
|
59
60
|
import { ModalProps as ModalProps_2 } from 'antd/lib/modal';
|
|
@@ -141,6 +142,7 @@ export declare interface AvatarCardProps {
|
|
|
141
142
|
name: string;
|
|
142
143
|
backgroundUrl?: string;
|
|
143
144
|
email: string;
|
|
145
|
+
textMaxWidth?: number;
|
|
144
146
|
}
|
|
145
147
|
|
|
146
148
|
export declare interface AvatarProps {
|
|
@@ -193,7 +195,7 @@ export declare interface CardWithIconAndTextProps {
|
|
|
193
195
|
subHeading: string;
|
|
194
196
|
}
|
|
195
197
|
|
|
196
|
-
export declare const Checkbox: ({ children, group, options, disabled, indeterminate, defaultChecked, onChange, checked, }: CheckboxProps) => default_2.JSX.Element;
|
|
198
|
+
export declare const Checkbox: ({ children, group, options, disabled, indeterminate, defaultChecked, onChange, label, isBlock, checked, maxRows }: CheckboxProps) => default_2.JSX.Element;
|
|
197
199
|
|
|
198
200
|
export declare interface CheckboxProps {
|
|
199
201
|
children?: string | number;
|
|
@@ -204,6 +206,9 @@ export declare interface CheckboxProps {
|
|
|
204
206
|
onChange: (checkedValue: (string | number)[]) => void;
|
|
205
207
|
options?: (CheckboxOptionType | string | number)[];
|
|
206
208
|
checked?: boolean;
|
|
209
|
+
label?: string;
|
|
210
|
+
isBlock?: boolean;
|
|
211
|
+
maxRows?: number;
|
|
207
212
|
}
|
|
208
213
|
|
|
209
214
|
export declare const CheckBoxWithFormWrapper: ({ name, onCheckboxChange, group, children, ...props }: CheckBoxWithFormWrapperProps) => default_2.JSX.Element;
|
|
@@ -276,7 +281,7 @@ export declare interface CustomTooltipProps extends Omit<TooltipProps, 'title'>
|
|
|
276
281
|
title: ReactNode;
|
|
277
282
|
}
|
|
278
283
|
|
|
279
|
-
declare interface CustomUploadProps extends Omit<UploadProps,
|
|
284
|
+
declare interface CustomUploadProps extends Omit<UploadProps, "onChange"> {
|
|
280
285
|
value?: UploadFile_2[];
|
|
281
286
|
onChange: (fileList: UploadFile_2[]) => void | boolean;
|
|
282
287
|
uploadIcon?: string;
|
|
@@ -291,6 +296,7 @@ declare interface CustomUploadProps extends Omit<UploadProps, 'onChange'> {
|
|
|
291
296
|
className?: string;
|
|
292
297
|
required?: boolean;
|
|
293
298
|
loading?: boolean;
|
|
299
|
+
fileNamePrefix?: string;
|
|
294
300
|
}
|
|
295
301
|
|
|
296
302
|
export declare const DatePicker: default_2.FC<DatePickerComponentProps>;
|
|
@@ -323,6 +329,8 @@ export declare type DocumentStatusTypes = {
|
|
|
323
329
|
documentType: DocumentStatusEnum_2;
|
|
324
330
|
};
|
|
325
331
|
|
|
332
|
+
export { DOM_ELEMENT_ROLE }
|
|
333
|
+
|
|
326
334
|
export declare const Drawer: FC<DrawerProps>;
|
|
327
335
|
|
|
328
336
|
export declare interface DrawerProps extends DrawerProps_2 {
|
|
@@ -354,6 +362,7 @@ export declare const EllipsisWithTooltip: default_2.FC<EllipsisWithTooltipProps>
|
|
|
354
362
|
export declare interface EllipsisWithTooltipProps {
|
|
355
363
|
text: string;
|
|
356
364
|
maxWidth?: number;
|
|
365
|
+
textClassName?: string;
|
|
357
366
|
}
|
|
358
367
|
|
|
359
368
|
declare type EmployerDataType = {
|
|
@@ -654,7 +663,7 @@ export declare interface SidebarProps {
|
|
|
654
663
|
menus: SidebarMenuProps_2[];
|
|
655
664
|
footerDetails: FooterDetailsProps_2;
|
|
656
665
|
popoverContent: default_2.ReactNode;
|
|
657
|
-
onClick:
|
|
666
|
+
onClick: MenuProps["onClick"];
|
|
658
667
|
}
|
|
659
668
|
|
|
660
669
|
export { Size }
|
|
@@ -768,7 +777,7 @@ export declare const TitleHeader: (props: TitleHeaderProps) => default_2.JSX.Ele
|
|
|
768
777
|
export declare interface TitleHeaderProps {
|
|
769
778
|
heading: string;
|
|
770
779
|
subHeading?: string;
|
|
771
|
-
icon?: JSX.Element;
|
|
780
|
+
icon?: default_2.JSX.Element;
|
|
772
781
|
description?: string;
|
|
773
782
|
active?: TitleHeaderStatus_2;
|
|
774
783
|
prefix?: ReactNode;
|