vrfi-design-system 1.0.61 → 1.0.62
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 +12 -3
- package/dist/main.es.js +6875 -6875
- package/dist/main.umd.js +119 -119
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -35,6 +35,7 @@ import { FooterDetailsProps } from '../types/footerDetails';
|
|
|
35
35
|
import { FooterDetailsProps as FooterDetailsProps_2 } from '../../types/footerDetails';
|
|
36
36
|
import { GenderProfileEnum } from '../../enums/genderProfile.enum';
|
|
37
37
|
import { GenderProfileEnum as GenderProfileEnum_2 } from '../../../enums/genderProfile.enum';
|
|
38
|
+
import { HTMLAttributes } from 'react';
|
|
38
39
|
import { HtmlButtonType } from '../../enums/buttonType';
|
|
39
40
|
import { Icons } from '../../enums/icons.enum';
|
|
40
41
|
import { Icons as Icons_2 } from '../../../enums/icons.enum';
|
|
@@ -442,6 +443,13 @@ export declare interface ListingTableHeaderProps {
|
|
|
442
443
|
actionButtons?: ReactNode;
|
|
443
444
|
}
|
|
444
445
|
|
|
446
|
+
export declare const ListItem: ({ text, iconName, ...props }: ListItemProps) => default_2.JSX.Element;
|
|
447
|
+
|
|
448
|
+
declare interface ListItemProps extends HTMLAttributes<HTMLSpanElement> {
|
|
449
|
+
text: string;
|
|
450
|
+
iconName: Icons_2;
|
|
451
|
+
}
|
|
452
|
+
|
|
445
453
|
export declare const Loader: default_2.FC<LoaderProps>;
|
|
446
454
|
|
|
447
455
|
export declare interface LoaderProps {
|
|
@@ -689,7 +697,7 @@ export declare type tabItems = {
|
|
|
689
697
|
|
|
690
698
|
export declare const Table: <T extends object>(props: TableProps<T>) => default_2.JSX.Element;
|
|
691
699
|
|
|
692
|
-
export declare const TableComponent: <T extends object>({ dataSource, columns, pagination, loading, onTableRowEvents, onRow, onChange, loadingCount, size, type, scroll, rowHoverable, rowClassName, noDataComponent,
|
|
700
|
+
export declare const TableComponent: <T extends object>({ dataSource, columns, pagination, loading, onTableRowEvents, onRow, onChange, loadingCount, size, type, scroll, rowHoverable, rowClassName, noDataComponent, hoverColumn: HoverColumn, ...restProps }: TableComponentProps<T>) => default_2.JSX.Element;
|
|
693
701
|
|
|
694
702
|
export declare interface TableComponentProps<T> extends Omit<TableProps<T>, "onRow"> {
|
|
695
703
|
dataSource?: T[];
|
|
@@ -703,12 +711,13 @@ export declare interface TableComponentProps<T> extends Omit<TableProps<T>, "onR
|
|
|
703
711
|
scroll?: TableProps_2<T>["scroll"] & {
|
|
704
712
|
scrollToFirstRowOnChange?: boolean;
|
|
705
713
|
};
|
|
706
|
-
rowHoverable?: boolean;
|
|
707
714
|
onChange?: (pagination?: TablePaginationConfig_2, filters?: Record<string, FilterValue | null>, sorter?: SorterResult<T> | SorterResult<T>[], extra?: TableCurrentDataSource<T>) => void;
|
|
708
715
|
loadingCount?: number;
|
|
709
716
|
size?: SizeType;
|
|
710
717
|
noDataComponent?: default_2.ReactNode;
|
|
711
|
-
|
|
718
|
+
hoverColumn?: default_2.JSXElementConstructor<{
|
|
719
|
+
record: T;
|
|
720
|
+
}>;
|
|
712
721
|
}
|
|
713
722
|
|
|
714
723
|
export { TablePaginationConfig }
|