gantri-components 2.43.0-beta.6 → 2.43.0-beta.7
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/components/table/hooks/useTrackStickyCells.d.ts +1 -0
- package/dist/components/table/table.types.d.ts +1 -0
- package/dist/helpers/mark-sticky-elements/helpers/get-intersection-observer-callback/get-intersection-observer-callback.types.d.ts +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.umd.js +1 -1
- package/package.json +1 -1
|
@@ -6,6 +6,7 @@ export interface UseTrackStickyCellsProps<TData extends RowData> {
|
|
|
6
6
|
/** The containing element that the child will intersect with. */
|
|
7
7
|
root: Element | null;
|
|
8
8
|
stickyFirstColumn: boolean | undefined;
|
|
9
|
+
stickyFooter: boolean | undefined;
|
|
9
10
|
stickyLastColumn: boolean | undefined;
|
|
10
11
|
}
|
|
11
12
|
/** Mark table if header and/or first column cells are sticky. */
|
|
@@ -39,6 +39,7 @@ export interface TableProps<TData extends RowData> extends Partial<TableDefaultP
|
|
|
39
39
|
reordering?: ReorderingProps<TData>;
|
|
40
40
|
search?: SearchProps;
|
|
41
41
|
sorting?: SortProps;
|
|
42
|
+
stickyFooter?: boolean;
|
|
42
43
|
stickyLastColumn?: boolean;
|
|
43
44
|
}
|
|
44
45
|
export interface TableDefaultProps {
|
|
@@ -3,6 +3,6 @@ export interface GetIntersectionObserverCallbackArgs {
|
|
|
3
3
|
/** If not provided, the `dataAttrIsSticky` variable value will be used. If `stickyTo` is provided, it will apply that value as a suffix to the attr (ie `${dataAttrIsSticky}-${stickyTo}`). */
|
|
4
4
|
attrToApply?: string;
|
|
5
5
|
elementsToMark: Element[];
|
|
6
|
-
/** If not provided, an intersection in any direction mark the elements. */
|
|
6
|
+
/** If not provided, an intersection in any direction will mark the elements. */
|
|
7
7
|
stickyTo?: StickyTo;
|
|
8
8
|
}
|