profinansy-ui-lib 3.6.54 → 3.6.55

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.
@@ -13,9 +13,10 @@ export declare const TH: import("styled-components").StyledComponent<"th", impor
13
13
  isScrolled: boolean;
14
14
  isScrolledEnd: boolean;
15
15
  isSort: boolean;
16
- isDragEntered: boolean;
17
- isDragging: boolean;
18
- columnStickPosition: TColumnStickPosition;
16
+ isDragEntered?: boolean;
17
+ isDragging?: boolean;
18
+ columnStickPosition?: TColumnStickPosition;
19
+ isHovered?: boolean;
19
20
  }, never>;
20
21
  export declare const THItem: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
21
22
  alignment: IColumnTable['alignment'];
@@ -0,0 +1,24 @@
1
+ import { IColumnTable, TSort } from '../../../../Table.typed';
2
+ import { useDragNDrop } from '../../../../hooks/useDragNDrop';
3
+ type TProps = {
4
+ isScrolled: boolean;
5
+ isScrolledEnd: boolean;
6
+ stickyFirstColumn: boolean;
7
+ stickyLastColumn: boolean;
8
+ activeSortField: string;
9
+ activeSortOrder: TSort;
10
+ hints: Record<string, string[]>;
11
+ column: IColumnTable;
12
+ columnRenderer?: (columnData: IColumnTable & {
13
+ title: string;
14
+ key: string;
15
+ columnIdx: number;
16
+ }) => JSX.Element;
17
+ handleSort: (field: string) => void;
18
+ index: number;
19
+ columns: IColumnTable[];
20
+ isDraggingDisabled: boolean;
21
+ draggableProps: ReturnType<typeof useDragNDrop>;
22
+ };
23
+ export declare function ThDraggable({ hints, stickyFirstColumn, stickyLastColumn, isScrolled, isScrolledEnd, activeSortField, activeSortOrder, columnRenderer, column, handleSort, index, columns, isDraggingDisabled, draggableProps }: TProps): JSX.Element;
24
+ export {};
@@ -0,0 +1 @@
1
+ export * from './ThDraggable';
@@ -0,0 +1,20 @@
1
+ import { IColumnTable, TSort } from '../../../../Table.typed';
2
+ type TProps = {
3
+ isScrolled: boolean;
4
+ isScrolledEnd: boolean;
5
+ stickyFirstColumn: boolean;
6
+ stickyLastColumn: boolean;
7
+ activeSortField: string;
8
+ activeSortOrder: TSort;
9
+ hints: Record<string, string[]>;
10
+ column: IColumnTable;
11
+ columnRenderer?: (columnData: IColumnTable & {
12
+ title: string;
13
+ key: string;
14
+ columnIdx: number;
15
+ }) => JSX.Element;
16
+ handleSort: (field: string) => void;
17
+ index: number;
18
+ };
19
+ export declare function ThStatic({ hints, stickyFirstColumn, stickyLastColumn, isScrolled, isScrolledEnd, activeSortField, activeSortOrder, columnRenderer, column, handleSort, index }: TProps): JSX.Element;
20
+ export {};
@@ -0,0 +1 @@
1
+ export * from './ThStatic';
@@ -13,5 +13,7 @@ export declare const useDragNDrop: ({ columns, onColumnsReorder }: Args) => {
13
13
  dragEnteredColumn: number;
14
14
  draggingColumnIdx: number;
15
15
  setDragEnteredColumn: import("react").Dispatch<import("react").SetStateAction<number>>;
16
+ setHoveredColumnIdx: import("react").Dispatch<import("react").SetStateAction<number>>;
17
+ hoveredColumnIdx: number;
16
18
  };
17
19
  export {};