@vuu-ui/vuu-table-types 0.8.95 → 0.8.97
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/index.d.ts +18 -0
- package/package.json +4 -4
package/index.d.ts
CHANGED
|
@@ -28,6 +28,7 @@ import type {
|
|
|
28
28
|
MouseEvent,
|
|
29
29
|
ReactElement,
|
|
30
30
|
} from "react";
|
|
31
|
+
import { CellPos } from "@vuu-ui/vuu-table/src/table-dom-utils";
|
|
31
32
|
|
|
32
33
|
export declare type TableSelectionModel =
|
|
33
34
|
| "none"
|
|
@@ -405,3 +406,20 @@ export declare type TableConfigChangeHandler = (config: TableConfig) => void;
|
|
|
405
406
|
export declare type CustomHeaderComponent = FC<BaseRowProps>;
|
|
406
407
|
export declare type CustomHeaderElement = ReactElement;
|
|
407
408
|
export declare type CustomHeader = CustomHeaderComponent | CustomHeaderElement;
|
|
409
|
+
|
|
410
|
+
/**
|
|
411
|
+
* The row and column index positions of a table cell
|
|
412
|
+
* [rowIndex, colIndex]
|
|
413
|
+
*/
|
|
414
|
+
export declare type CellPos = [number, number];
|
|
415
|
+
|
|
416
|
+
/**
|
|
417
|
+
* Used to track the Table cell (if any) with focus.
|
|
418
|
+
*/
|
|
419
|
+
export declare type CellFocusState = {
|
|
420
|
+
el: HTMLElement | null;
|
|
421
|
+
outsideViewport: "above" | "below" | false;
|
|
422
|
+
placeholderEl: HTMLDivElement | null;
|
|
423
|
+
pos: { top: number } | undefined;
|
|
424
|
+
cellPos: CellPos | undefined;
|
|
425
|
+
};
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vuu-ui/vuu-table-types",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.97",
|
|
4
4
|
"devDependencies": {
|
|
5
|
-
"@vuu-ui/vuu-data-types": "0.8.
|
|
6
|
-
"@vuu-ui/vuu-filter-types": "0.8.
|
|
7
|
-
"@vuu-ui/vuu-protocol-types": "0.8.
|
|
5
|
+
"@vuu-ui/vuu-data-types": "0.8.97",
|
|
6
|
+
"@vuu-ui/vuu-filter-types": "0.8.97",
|
|
7
|
+
"@vuu-ui/vuu-protocol-types": "0.8.97"
|
|
8
8
|
},
|
|
9
9
|
"author": "heswell",
|
|
10
10
|
"license": "Apache-2.0",
|