vrfi-design-system 1.0.59 → 1.0.61
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 +25 -16
- package/dist/main.es.js +21250 -19800
- package/dist/main.umd.js +139 -139
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ import { CheckboxChangeEvent } from 'antd/es/checkbox';
|
|
|
12
12
|
import { CheckboxGroupProps } from 'antd/es/checkbox';
|
|
13
13
|
import { CheckboxOptionType } from 'antd/lib/checkbox/Group';
|
|
14
14
|
import { default as Col } from 'antd/lib/col';
|
|
15
|
+
import { Colors } from '../../enums/colors.enum';
|
|
15
16
|
import { ColProps } from 'antd/lib/col';
|
|
16
17
|
import { ColumnsType } from 'antd/es/table/InternalTable';
|
|
17
18
|
import { ColumnType } from 'antd/lib/table';
|
|
@@ -45,6 +46,8 @@ import { JobTypeEnum } from '../../enums/jobType.enum';
|
|
|
45
46
|
import { JobTypeEnum as JobTypeEnum_2 } from '../../../enums/jobType.enum';
|
|
46
47
|
import { JSX as JSX_2 } from 'react';
|
|
47
48
|
import { Justify } from '../../enums/justify.enum';
|
|
49
|
+
import { LabelType } from './../../enums/labelType.enum';
|
|
50
|
+
import { LabelType as LabelType_2 } from '../../../enums/labelType.enum';
|
|
48
51
|
import { LoaderSizes } from '../../../enums/LoaderSizes';
|
|
49
52
|
import { MenuItemType } from 'antd/lib/menu/interface';
|
|
50
53
|
import { MobileInputValue } from '../types/mobileInputValue.type';
|
|
@@ -54,6 +57,8 @@ import { MouseEvent as MouseEvent_2 } from 'react';
|
|
|
54
57
|
import { NotificationTypes } from '../../enums/notificationTypes';
|
|
55
58
|
import { PasswordProps } from 'antd/es/input';
|
|
56
59
|
import { Placement } from '../../enums/placement';
|
|
60
|
+
import { default as Popover } from 'antd/lib/popover';
|
|
61
|
+
import { PopoverProps } from 'antd';
|
|
57
62
|
import { ProfileDetailFooterTypes } from '../../enums/profileDetailFooter.enum';
|
|
58
63
|
import { PropsWithChildren } from 'react';
|
|
59
64
|
import { Radio as Radio_2 } from 'antd';
|
|
@@ -85,15 +90,14 @@ import { SwitchProps } from 'antd/lib/switch';
|
|
|
85
90
|
import { TableCurrentDataSource } from 'antd/lib/table/interface';
|
|
86
91
|
import { TablePaginationConfig } from 'antd/lib/table/interface';
|
|
87
92
|
import { TablePaginationConfig as TablePaginationConfig_2 } from 'antd';
|
|
88
|
-
import { TableProps } from 'antd
|
|
93
|
+
import { TableProps } from 'antd';
|
|
89
94
|
import { TableProps as TableProps_2 } from 'rc-table/lib/Table';
|
|
90
|
-
import { TableProps as TableProps_3 } from 'antd';
|
|
91
95
|
import { TableType } from '../../enums/tableType.enum';
|
|
92
96
|
import { TableType as TableType_2 } from '../../../enums/tableType.enum';
|
|
93
97
|
import { TextAreaProps as TextAreaProps_2 } from 'antd/es/input';
|
|
94
98
|
import { TitleHeaderStatus } from '../../enums/titleHeaderStatus.enum';
|
|
95
99
|
import { TitleHeaderStatus as TitleHeaderStatus_2 } from '../../../enums/titleHeaderStatus.enum';
|
|
96
|
-
import {
|
|
100
|
+
import { TooltipProps } from 'antd/es/tooltip';
|
|
97
101
|
import { Typography } from 'antd';
|
|
98
102
|
import { TypographyProps } from 'antd';
|
|
99
103
|
import { UploadFile } from 'antd/lib/upload/interface';
|
|
@@ -197,6 +201,8 @@ declare interface CheckBoxWithFormWrapperProps {
|
|
|
197
201
|
|
|
198
202
|
export { Col }
|
|
199
203
|
|
|
204
|
+
export { Colors }
|
|
205
|
+
|
|
200
206
|
export { ColProps }
|
|
201
207
|
|
|
202
208
|
export { ColumnType }
|
|
@@ -245,6 +251,11 @@ export declare interface CustomInputProps {
|
|
|
245
251
|
rules?: RegisterOptions;
|
|
246
252
|
}
|
|
247
253
|
|
|
254
|
+
export declare interface CustomTooltipProps extends Omit<TooltipProps, 'title'> {
|
|
255
|
+
icon?: ReactNode;
|
|
256
|
+
title: ReactNode;
|
|
257
|
+
}
|
|
258
|
+
|
|
248
259
|
declare interface CustomUploadProps extends Omit<UploadProps, 'onChange'> {
|
|
249
260
|
value?: UploadFile_2[];
|
|
250
261
|
onChange: (fileList: UploadFile_2[]) => void | boolean;
|
|
@@ -371,6 +382,7 @@ export declare interface FloatingLabelProps {
|
|
|
371
382
|
prefix?: ReactNode;
|
|
372
383
|
required?: boolean;
|
|
373
384
|
placeholder?: string;
|
|
385
|
+
type?: LabelType_2;
|
|
374
386
|
}
|
|
375
387
|
|
|
376
388
|
export { FooterDetailsProps }
|
|
@@ -417,6 +429,8 @@ export { JobTypeEnum }
|
|
|
417
429
|
|
|
418
430
|
export { Justify }
|
|
419
431
|
|
|
432
|
+
export { LabelType }
|
|
433
|
+
|
|
420
434
|
export declare const ListingTableHeader: (props: ListingTableHeaderProps) => default_2.JSX.Element;
|
|
421
435
|
|
|
422
436
|
export declare interface ListingTableHeaderProps {
|
|
@@ -516,6 +530,10 @@ declare interface PathIconProps {
|
|
|
516
530
|
|
|
517
531
|
export { Placement }
|
|
518
532
|
|
|
533
|
+
export { Popover }
|
|
534
|
+
|
|
535
|
+
export { PopoverProps }
|
|
536
|
+
|
|
519
537
|
export declare const PreviewCard: default_2.FC<PreviewCardProps>;
|
|
520
538
|
|
|
521
539
|
declare interface PreviewCardProps {
|
|
@@ -669,9 +687,9 @@ export declare type tabItems = {
|
|
|
669
687
|
children: ReactNode;
|
|
670
688
|
};
|
|
671
689
|
|
|
672
|
-
export declare const Table: <T extends object>(props:
|
|
690
|
+
export declare const Table: <T extends object>(props: TableProps<T>) => default_2.JSX.Element;
|
|
673
691
|
|
|
674
|
-
export declare const TableComponent: <T extends object>({ dataSource, columns, pagination, loading, onRow, onChange, loadingCount, size, type, scroll, rowHoverable, rowClassName, noDataComponent, rowHoverAction, ...restProps }: TableComponentProps<T>) => default_2.JSX.Element;
|
|
692
|
+
export declare const TableComponent: <T extends object>({ dataSource, columns, pagination, loading, onTableRowEvents, onRow, onChange, loadingCount, size, type, scroll, rowHoverable, rowClassName, noDataComponent, rowHoverAction, ...restProps }: TableComponentProps<T>) => default_2.JSX.Element;
|
|
675
693
|
|
|
676
694
|
export declare interface TableComponentProps<T> extends Omit<TableProps<T>, "onRow"> {
|
|
677
695
|
dataSource?: T[];
|
|
@@ -679,6 +697,7 @@ export declare interface TableComponentProps<T> extends Omit<TableProps<T>, "onR
|
|
|
679
697
|
type?: TableType_2;
|
|
680
698
|
pagination?: false | TablePaginationConfig_2;
|
|
681
699
|
loading?: boolean;
|
|
700
|
+
onTableRowEvents?: TableProps<T>["onRow"];
|
|
682
701
|
onRow?: (record: T) => void;
|
|
683
702
|
rowClassName?: (record: T) => string;
|
|
684
703
|
scroll?: TableProps_2<T>["scroll"] & {
|
|
@@ -740,17 +759,7 @@ export declare interface TitleHeaderProps {
|
|
|
740
759
|
|
|
741
760
|
export { TitleHeaderStatus }
|
|
742
761
|
|
|
743
|
-
export declare const Tooltip: FC<
|
|
744
|
-
|
|
745
|
-
declare interface TooltipProps {
|
|
746
|
-
title: string;
|
|
747
|
-
arrowPointAtCenter?: boolean;
|
|
748
|
-
autoAdjustOverflow?: boolean;
|
|
749
|
-
placement?: tooltipPosition;
|
|
750
|
-
trigger?: 'hover' | 'focus' | 'click';
|
|
751
|
-
zIndex?: number;
|
|
752
|
-
children: JSX_2.Element;
|
|
753
|
-
}
|
|
762
|
+
export declare const Tooltip: default_2.FC<CustomTooltipProps>;
|
|
754
763
|
|
|
755
764
|
export { Typography }
|
|
756
765
|
|