@veeqo/ui 7.2.1 → 7.2.2
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/DataTable/DataTable.d.ts +1 -1
- package/dist/components/DataTable/components/StickyHead.d.ts +2 -1
- package/dist/components/DataTable/types.d.ts +1 -0
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -4,7 +4,7 @@ import { ColumnMenu } from './components/ColumnMenu';
|
|
|
4
4
|
import { SelectionCell } from './components/SelectionCell';
|
|
5
5
|
import { SelectionHeader } from './components/SelectionHeader';
|
|
6
6
|
export declare const DataTable: {
|
|
7
|
-
({ ActionBarSlot, borderMode, columns: initialColumns, emptyState, expandedRowIds, loading, loadingRowCount, onChangeSort, rows, disabledRowIds, selectionMode, selectionState, setExpanded, sortState, stripingMode, enableStickyHeader, resizeableColumns, onResizeColumns, columnWidths, }: DataTableProps): React.JSX.Element;
|
|
7
|
+
({ ActionBarSlot, borderMode, columns: initialColumns, emptyState, expandedRowIds, loading, loadingRowCount, onChangeSort, rows, disabledRowIds, selectionMode, selectionState, setExpanded, sortState, stripingMode, enableStickyHeader, resizeableColumns, onResizeColumns, columnWidths, stickyHeaderTop, }: DataTableProps): React.JSX.Element;
|
|
8
8
|
defaultProps: {
|
|
9
9
|
loading: boolean;
|
|
10
10
|
loadingRowCount: number;
|
|
@@ -5,5 +5,6 @@ export interface StickyHeadProps {
|
|
|
5
5
|
intersectionTargetRef: RefObject<HTMLElement>;
|
|
6
6
|
containerRef: RefObject<HTMLElement>;
|
|
7
7
|
cellWidths: number[];
|
|
8
|
+
stickyHeaderTop?: number;
|
|
8
9
|
}
|
|
9
|
-
export declare function StickyHead({ children, intersectionTargetRef, containerRef, cellWidths, tableCss, }: StickyHeadProps): React.JSX.Element | null;
|
|
10
|
+
export declare function StickyHead({ children, intersectionTargetRef, containerRef, cellWidths, tableCss, stickyHeaderTop, }: StickyHeadProps): React.JSX.Element | null;
|
|
@@ -141,6 +141,7 @@ export interface DataTableProps {
|
|
|
141
141
|
/** Callback for when columns are resized */
|
|
142
142
|
onResizeColumns?: (columnWidths: ResizeColumnData) => void;
|
|
143
143
|
columnWidths?: ColumnWidthsType;
|
|
144
|
+
stickyHeaderTop?: number;
|
|
144
145
|
}
|
|
145
146
|
export type ColumnWidthsType = {
|
|
146
147
|
[key: ColumnId]: ColumnWidthType;
|