vrfi-design-system 1.0.61 → 1.0.63
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 -7
- package/dist/main.es.js +7550 -7533
- package/dist/main.umd.js +126 -126
- 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';
|
|
@@ -94,6 +95,7 @@ import { TableProps } from 'antd';
|
|
|
94
95
|
import { TableProps as TableProps_2 } from 'rc-table/lib/Table';
|
|
95
96
|
import { TableType } from '../../enums/tableType.enum';
|
|
96
97
|
import { TableType as TableType_2 } from '../../../enums/tableType.enum';
|
|
98
|
+
import { TabsProps as TabsProps_2 } from 'antd';
|
|
97
99
|
import { TextAreaProps as TextAreaProps_2 } from 'antd/es/input';
|
|
98
100
|
import { TitleHeaderStatus } from '../../enums/titleHeaderStatus.enum';
|
|
99
101
|
import { TitleHeaderStatus as TitleHeaderStatus_2 } from '../../../enums/titleHeaderStatus.enum';
|
|
@@ -442,6 +444,13 @@ export declare interface ListingTableHeaderProps {
|
|
|
442
444
|
actionButtons?: ReactNode;
|
|
443
445
|
}
|
|
444
446
|
|
|
447
|
+
export declare const ListItem: ({ text, iconName, ...props }: ListItemProps) => default_2.JSX.Element;
|
|
448
|
+
|
|
449
|
+
declare interface ListItemProps extends HTMLAttributes<HTMLSpanElement> {
|
|
450
|
+
text: string;
|
|
451
|
+
iconName: Icons_2;
|
|
452
|
+
}
|
|
453
|
+
|
|
445
454
|
export declare const Loader: default_2.FC<LoaderProps>;
|
|
446
455
|
|
|
447
456
|
export declare interface LoaderProps {
|
|
@@ -689,7 +698,7 @@ export declare type tabItems = {
|
|
|
689
698
|
|
|
690
699
|
export declare const Table: <T extends object>(props: TableProps<T>) => default_2.JSX.Element;
|
|
691
700
|
|
|
692
|
-
export declare const TableComponent: <T extends object>({ dataSource, columns, pagination, loading, onTableRowEvents, onRow, onChange, loadingCount, size, type, scroll, rowHoverable, rowClassName, noDataComponent,
|
|
701
|
+
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
702
|
|
|
694
703
|
export declare interface TableComponentProps<T> extends Omit<TableProps<T>, "onRow"> {
|
|
695
704
|
dataSource?: T[];
|
|
@@ -703,12 +712,13 @@ export declare interface TableComponentProps<T> extends Omit<TableProps<T>, "onR
|
|
|
703
712
|
scroll?: TableProps_2<T>["scroll"] & {
|
|
704
713
|
scrollToFirstRowOnChange?: boolean;
|
|
705
714
|
};
|
|
706
|
-
rowHoverable?: boolean;
|
|
707
715
|
onChange?: (pagination?: TablePaginationConfig_2, filters?: Record<string, FilterValue | null>, sorter?: SorterResult<T> | SorterResult<T>[], extra?: TableCurrentDataSource<T>) => void;
|
|
708
716
|
loadingCount?: number;
|
|
709
717
|
size?: SizeType;
|
|
710
718
|
noDataComponent?: default_2.ReactNode;
|
|
711
|
-
|
|
719
|
+
hoverColumn?: default_2.JSXElementConstructor<{
|
|
720
|
+
record: T;
|
|
721
|
+
}>;
|
|
712
722
|
}
|
|
713
723
|
|
|
714
724
|
export { TablePaginationConfig }
|
|
@@ -717,7 +727,7 @@ export { TableType }
|
|
|
717
727
|
|
|
718
728
|
export declare const Tabs: FC<TabsProps>;
|
|
719
729
|
|
|
720
|
-
export declare interface TabsProps {
|
|
730
|
+
export declare interface TabsProps extends TabsProps_2 {
|
|
721
731
|
activeKey?: string;
|
|
722
732
|
addIcon?: ReactNode;
|
|
723
733
|
centered?: boolean;
|
|
@@ -727,10 +737,9 @@ export declare interface TabsProps {
|
|
|
727
737
|
moreIcon?: ReactNode;
|
|
728
738
|
tabBarGutter?: number;
|
|
729
739
|
tabBarStyle?: CSSProperties;
|
|
730
|
-
tabPosition?:
|
|
731
|
-
type?:
|
|
740
|
+
tabPosition?: 'top' | 'bottom' | 'right' | 'left';
|
|
741
|
+
type?: 'line' | 'card' | 'editable-card';
|
|
732
742
|
onEdit?: () => void;
|
|
733
|
-
onChange?: (activeKey: string) => void;
|
|
734
743
|
}
|
|
735
744
|
|
|
736
745
|
export declare const TextArea: ({ className, label, value, required, ...props }: TextAreaProps) => default_2.JSX.Element;
|