vrfi-design-system 1.0.30 → 1.0.31
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 +10 -2
- package/dist/main.es.js +5677 -5651
- package/dist/main.umd.js +127 -127
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ActionType } from '../../enums/trigger';
|
|
1
2
|
import { Align } from '../../enums/align.enum';
|
|
2
3
|
import { default as AuthBanner } from '../../views/Auth/AuthBanner';
|
|
3
4
|
import { default as AuthForm } from '../../views/Auth/AuthForm';
|
|
@@ -48,6 +49,7 @@ import { ModalProps as ModalProps_2 } from 'antd/lib/modal';
|
|
|
48
49
|
import { MouseEvent as MouseEvent_2 } from 'react';
|
|
49
50
|
import { NotificationTypes } from '../../enums/notificationTypes';
|
|
50
51
|
import { PasswordProps } from 'antd/es/input';
|
|
52
|
+
import { Placement } from '../../enums/placement';
|
|
51
53
|
import { ProfileDetailFooterTypes } from '../../enums/profileDetailFooter.enum';
|
|
52
54
|
import { PropsWithChildren } from 'react';
|
|
53
55
|
import { Radio as Radio_2 } from 'antd';
|
|
@@ -94,6 +96,8 @@ import { VerificationTypes } from '../../enums/verificationTypes.enum';
|
|
|
94
96
|
import { VerificationTypes as VerificationTypes_2 } from '../../../enums/verificationTypes.enum';
|
|
95
97
|
import * as Yup from 'yup';
|
|
96
98
|
|
|
99
|
+
export { ActionType }
|
|
100
|
+
|
|
97
101
|
export { Align }
|
|
98
102
|
|
|
99
103
|
export declare interface AssignedEmployerProps {
|
|
@@ -395,7 +399,7 @@ export declare interface ModalProps extends ModalProps_2 {
|
|
|
395
399
|
modalType: ModalTypeEnum;
|
|
396
400
|
}
|
|
397
401
|
|
|
398
|
-
declare enum ModalTypeEnum {
|
|
402
|
+
export declare enum ModalTypeEnum {
|
|
399
403
|
SUCCESS = "success",
|
|
400
404
|
DANGER = "danger",
|
|
401
405
|
BASIC = "basic"
|
|
@@ -433,6 +437,8 @@ export declare interface PasswordValidationProps {
|
|
|
433
437
|
validationRules: ValidationRuleProps[];
|
|
434
438
|
}
|
|
435
439
|
|
|
440
|
+
export { Placement }
|
|
441
|
+
|
|
436
442
|
export declare const PreviewDocumentsCard: default_2.FC<PreviewDocumentsCardProps>;
|
|
437
443
|
|
|
438
444
|
export declare interface PreviewDocumentsCardProps {
|
|
@@ -568,7 +574,7 @@ export { SwitchProps }
|
|
|
568
574
|
|
|
569
575
|
export declare const Table: <T extends object>(props: TableProps_3<T>) => default_2.JSX.Element;
|
|
570
576
|
|
|
571
|
-
export declare const TableComponent: <T extends object>({ dataSource, columns, pagination, loading, onRow, onChange, loadingCount, size, type, scroll, rowClassName, noDataComponent, ...restProps }: TableComponentProps<T>) => default_2.JSX.Element;
|
|
577
|
+
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;
|
|
572
578
|
|
|
573
579
|
export declare interface TableComponentProps<T> extends Omit<TableProps<T>, "onRow"> {
|
|
574
580
|
dataSource?: T[];
|
|
@@ -581,10 +587,12 @@ export declare interface TableComponentProps<T> extends Omit<TableProps<T>, "onR
|
|
|
581
587
|
scroll?: TableProps_2<T>["scroll"] & {
|
|
582
588
|
scrollToFirstRowOnChange?: boolean;
|
|
583
589
|
};
|
|
590
|
+
rowHoverable?: boolean;
|
|
584
591
|
onChange?: (pagination?: TablePaginationConfig_2, filters?: Record<string, FilterValue | null>, sorter?: SorterResult<T> | SorterResult<T>[], extra?: TableCurrentDataSource<T>) => void;
|
|
585
592
|
loadingCount?: number;
|
|
586
593
|
size?: SizeType;
|
|
587
594
|
noDataComponent?: default_2.ReactNode;
|
|
595
|
+
rowHoverAction?: default_2.ReactNode;
|
|
588
596
|
}
|
|
589
597
|
|
|
590
598
|
export { TablePaginationConfig }
|