vrfi-design-system 1.0.70 → 1.0.72
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 +16 -6
- package/dist/main.es.js +9205 -8893
- 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';
|
|
@@ -141,6 +142,8 @@ export declare interface AvatarCardProps {
|
|
|
141
142
|
name: string;
|
|
142
143
|
backgroundUrl?: string;
|
|
143
144
|
email: string;
|
|
145
|
+
textMaxWidth?: number;
|
|
146
|
+
className?: string;
|
|
144
147
|
}
|
|
145
148
|
|
|
146
149
|
export declare interface AvatarProps {
|
|
@@ -193,7 +196,7 @@ export declare interface CardWithIconAndTextProps {
|
|
|
193
196
|
subHeading: string;
|
|
194
197
|
}
|
|
195
198
|
|
|
196
|
-
export declare const Checkbox: ({ children, group, options, disabled, indeterminate, defaultChecked, onChange, checked, }: CheckboxProps) => default_2.JSX.Element;
|
|
199
|
+
export declare const Checkbox: ({ children, group, options, disabled, indeterminate, defaultChecked, onChange, label, isBlock, checked, maxRows }: CheckboxProps) => default_2.JSX.Element;
|
|
197
200
|
|
|
198
201
|
export declare interface CheckboxProps {
|
|
199
202
|
children?: string | number;
|
|
@@ -204,6 +207,9 @@ export declare interface CheckboxProps {
|
|
|
204
207
|
onChange: (checkedValue: (string | number)[]) => void;
|
|
205
208
|
options?: (CheckboxOptionType | string | number)[];
|
|
206
209
|
checked?: boolean;
|
|
210
|
+
label?: string;
|
|
211
|
+
isBlock?: boolean;
|
|
212
|
+
maxRows?: number;
|
|
207
213
|
}
|
|
208
214
|
|
|
209
215
|
export declare const CheckBoxWithFormWrapper: ({ name, onCheckboxChange, group, children, ...props }: CheckBoxWithFormWrapperProps) => default_2.JSX.Element;
|
|
@@ -276,7 +282,7 @@ export declare interface CustomTooltipProps extends Omit<TooltipProps, 'title'>
|
|
|
276
282
|
title: ReactNode;
|
|
277
283
|
}
|
|
278
284
|
|
|
279
|
-
declare interface CustomUploadProps extends Omit<UploadProps,
|
|
285
|
+
declare interface CustomUploadProps extends Omit<UploadProps, "onChange"> {
|
|
280
286
|
value?: UploadFile_2[];
|
|
281
287
|
onChange: (fileList: UploadFile_2[]) => void | boolean;
|
|
282
288
|
uploadIcon?: string;
|
|
@@ -291,6 +297,7 @@ declare interface CustomUploadProps extends Omit<UploadProps, 'onChange'> {
|
|
|
291
297
|
className?: string;
|
|
292
298
|
required?: boolean;
|
|
293
299
|
loading?: boolean;
|
|
300
|
+
fileNamePrefix?: string;
|
|
294
301
|
}
|
|
295
302
|
|
|
296
303
|
export declare const DatePicker: default_2.FC<DatePickerComponentProps>;
|
|
@@ -323,6 +330,8 @@ export declare type DocumentStatusTypes = {
|
|
|
323
330
|
documentType: DocumentStatusEnum_2;
|
|
324
331
|
};
|
|
325
332
|
|
|
333
|
+
export { DOM_ELEMENT_ROLE }
|
|
334
|
+
|
|
326
335
|
export declare const Drawer: FC<DrawerProps>;
|
|
327
336
|
|
|
328
337
|
export declare interface DrawerProps extends DrawerProps_2 {
|
|
@@ -354,6 +363,7 @@ export declare const EllipsisWithTooltip: default_2.FC<EllipsisWithTooltipProps>
|
|
|
354
363
|
export declare interface EllipsisWithTooltipProps {
|
|
355
364
|
text: string;
|
|
356
365
|
maxWidth?: number;
|
|
366
|
+
textClassName?: string;
|
|
357
367
|
}
|
|
358
368
|
|
|
359
369
|
declare type EmployerDataType = {
|
|
@@ -496,7 +506,7 @@ export declare enum ModalTypeEnum {
|
|
|
496
506
|
WARNING = "warning"
|
|
497
507
|
}
|
|
498
508
|
|
|
499
|
-
export declare const NoData: ({ headingText, subHeading, noDataIcon, buttonOnClick, buttonText }: NoDataProps) => default_2.JSX.Element;
|
|
509
|
+
export declare const NoData: ({ headingText, subHeading, noDataIcon, buttonOnClick, buttonText, }: NoDataProps) => default_2.JSX.Element;
|
|
500
510
|
|
|
501
511
|
export declare interface NoDataProps {
|
|
502
512
|
subHeading?: string;
|
|
@@ -654,7 +664,7 @@ export declare interface SidebarProps {
|
|
|
654
664
|
menus: SidebarMenuProps_2[];
|
|
655
665
|
footerDetails: FooterDetailsProps_2;
|
|
656
666
|
popoverContent: default_2.ReactNode;
|
|
657
|
-
onClick:
|
|
667
|
+
onClick: MenuProps["onClick"];
|
|
658
668
|
}
|
|
659
669
|
|
|
660
670
|
export { Size }
|
|
@@ -768,7 +778,7 @@ export declare const TitleHeader: (props: TitleHeaderProps) => default_2.JSX.Ele
|
|
|
768
778
|
export declare interface TitleHeaderProps {
|
|
769
779
|
heading: string;
|
|
770
780
|
subHeading?: string;
|
|
771
|
-
icon?: JSX.Element;
|
|
781
|
+
icon?: default_2.JSX.Element;
|
|
772
782
|
description?: string;
|
|
773
783
|
active?: TitleHeaderStatus_2;
|
|
774
784
|
prefix?: ReactNode;
|