vrfi-design-system 1.0.70 → 1.0.71
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 +13 -5
- package/dist/main.es.js +8983 -8702
- package/dist/main.umd.js +108 -108
- 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';
|
|
@@ -193,7 +194,7 @@ export declare interface CardWithIconAndTextProps {
|
|
|
193
194
|
subHeading: string;
|
|
194
195
|
}
|
|
195
196
|
|
|
196
|
-
export declare const Checkbox: ({ children, group, options, disabled, indeterminate, defaultChecked, onChange, checked, }: CheckboxProps) => default_2.JSX.Element;
|
|
197
|
+
export declare const Checkbox: ({ children, group, options, disabled, indeterminate, defaultChecked, onChange, label, isBlock, checked, maxRows }: CheckboxProps) => default_2.JSX.Element;
|
|
197
198
|
|
|
198
199
|
export declare interface CheckboxProps {
|
|
199
200
|
children?: string | number;
|
|
@@ -204,6 +205,9 @@ export declare interface CheckboxProps {
|
|
|
204
205
|
onChange: (checkedValue: (string | number)[]) => void;
|
|
205
206
|
options?: (CheckboxOptionType | string | number)[];
|
|
206
207
|
checked?: boolean;
|
|
208
|
+
label?: string;
|
|
209
|
+
isBlock?: boolean;
|
|
210
|
+
maxRows?: number;
|
|
207
211
|
}
|
|
208
212
|
|
|
209
213
|
export declare const CheckBoxWithFormWrapper: ({ name, onCheckboxChange, group, children, ...props }: CheckBoxWithFormWrapperProps) => default_2.JSX.Element;
|
|
@@ -276,7 +280,7 @@ export declare interface CustomTooltipProps extends Omit<TooltipProps, 'title'>
|
|
|
276
280
|
title: ReactNode;
|
|
277
281
|
}
|
|
278
282
|
|
|
279
|
-
declare interface CustomUploadProps extends Omit<UploadProps,
|
|
283
|
+
declare interface CustomUploadProps extends Omit<UploadProps, "onChange"> {
|
|
280
284
|
value?: UploadFile_2[];
|
|
281
285
|
onChange: (fileList: UploadFile_2[]) => void | boolean;
|
|
282
286
|
uploadIcon?: string;
|
|
@@ -291,6 +295,7 @@ declare interface CustomUploadProps extends Omit<UploadProps, 'onChange'> {
|
|
|
291
295
|
className?: string;
|
|
292
296
|
required?: boolean;
|
|
293
297
|
loading?: boolean;
|
|
298
|
+
fileNamePrefix?: string;
|
|
294
299
|
}
|
|
295
300
|
|
|
296
301
|
export declare const DatePicker: default_2.FC<DatePickerComponentProps>;
|
|
@@ -323,6 +328,8 @@ export declare type DocumentStatusTypes = {
|
|
|
323
328
|
documentType: DocumentStatusEnum_2;
|
|
324
329
|
};
|
|
325
330
|
|
|
331
|
+
export { DOM_ELEMENT_ROLE }
|
|
332
|
+
|
|
326
333
|
export declare const Drawer: FC<DrawerProps>;
|
|
327
334
|
|
|
328
335
|
export declare interface DrawerProps extends DrawerProps_2 {
|
|
@@ -354,6 +361,7 @@ export declare const EllipsisWithTooltip: default_2.FC<EllipsisWithTooltipProps>
|
|
|
354
361
|
export declare interface EllipsisWithTooltipProps {
|
|
355
362
|
text: string;
|
|
356
363
|
maxWidth?: number;
|
|
364
|
+
textClassName?: string;
|
|
357
365
|
}
|
|
358
366
|
|
|
359
367
|
declare type EmployerDataType = {
|
|
@@ -654,7 +662,7 @@ export declare interface SidebarProps {
|
|
|
654
662
|
menus: SidebarMenuProps_2[];
|
|
655
663
|
footerDetails: FooterDetailsProps_2;
|
|
656
664
|
popoverContent: default_2.ReactNode;
|
|
657
|
-
onClick:
|
|
665
|
+
onClick: MenuProps["onClick"];
|
|
658
666
|
}
|
|
659
667
|
|
|
660
668
|
export { Size }
|
|
@@ -768,7 +776,7 @@ export declare const TitleHeader: (props: TitleHeaderProps) => default_2.JSX.Ele
|
|
|
768
776
|
export declare interface TitleHeaderProps {
|
|
769
777
|
heading: string;
|
|
770
778
|
subHeading?: string;
|
|
771
|
-
icon?: JSX.Element;
|
|
779
|
+
icon?: default_2.JSX.Element;
|
|
772
780
|
description?: string;
|
|
773
781
|
active?: TitleHeaderStatus_2;
|
|
774
782
|
prefix?: ReactNode;
|