fone-design-system_v2 1.0.213 → 1.0.214

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.
@@ -0,0 +1,7 @@
1
+ import { Table as ReactTable } from '@tanstack/react-table';
2
+ interface Props<T extends object = any> {
3
+ table: ReactTable<T>;
4
+ footerRowHeight?: number;
5
+ }
6
+ declare const Footer: <T extends object>({ table, footerRowHeight, }: Props<T>) => import("react/jsx-runtime").JSX.Element | null;
7
+ export default Footer;
@@ -4,6 +4,7 @@ import { Row as tableRow } from '@tanstack/react-table';
4
4
  interface Props<T extends object = any> {
5
5
  row: tableRow<T>;
6
6
  onCellClick?: (row: T, rowIndex: number, col: any, colIndex: number) => void;
7
+ onHoverChange?: (rowIndex: number | null) => void;
7
8
  selectedCellInfo: {
8
9
  rowIndex: number;
9
10
  colIndex: number;
@@ -16,6 +17,7 @@ interface Props<T extends object = any> {
16
17
  onRowDoubleClick?: (row: T, rowIndex: number) => void;
17
18
  isScrollHighlighted?: boolean;
18
19
  isRowClicked?: boolean;
20
+ isRowHovered?: boolean;
19
21
  rowSelection: Record<string, boolean>;
20
22
  isRowActive: boolean;
21
23
  radio?: boolean;