@clickhouse/click-ui 0.0.100 → 0.0.102
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/click-ui.es.js +3093 -3074
- package/dist/click-ui.umd.js +79 -76
- package/dist/components/Grid/RowNumberColumn.d.ts +1 -1
- package/dist/components/Grid/copyGridElements.d.ts +3 -1
- package/dist/components/Grid/types.d.ts +1 -0
- package/dist/components/Grid/useSelectionActions.d.ts +2 -1
- package/package.json +1 -1
|
@@ -10,7 +10,7 @@ interface RowNumberColumnProps {
|
|
|
10
10
|
rounded: RoundedType;
|
|
11
11
|
showHeader: boolean;
|
|
12
12
|
scrolledHorizontal: boolean;
|
|
13
|
-
rowStart
|
|
13
|
+
rowStart: number;
|
|
14
14
|
showBorder: boolean;
|
|
15
15
|
}
|
|
16
16
|
declare const RowNumberColumn: ({ minRow, maxRow, rowHeight, headerHeight, rowWidth, getSelectionType, rowCount, rounded, showHeader, scrolledHorizontal, rowStart, showBorder, }: RowNumberColumnProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { CellProps, SelectedRegion, SelectionFocus } from "./types";
|
|
2
|
+
import { RefObject } from "react";
|
|
2
3
|
interface CopyGridElementsProps {
|
|
3
4
|
cell: CellProps;
|
|
4
5
|
selection: SelectedRegion;
|
|
@@ -6,6 +7,7 @@ interface CopyGridElementsProps {
|
|
|
6
7
|
columnCount: number;
|
|
7
8
|
pageStart?: number;
|
|
8
9
|
focus: SelectionFocus;
|
|
10
|
+
outerRef: RefObject<HTMLDivElement>;
|
|
9
11
|
}
|
|
10
|
-
declare const copyGridElements: ({ cell, selection, rowCount, columnCount, pageStart, focus, }: CopyGridElementsProps) => Promise<void>;
|
|
12
|
+
declare const copyGridElements: ({ cell, selection, rowCount, columnCount, pageStart, focus, outerRef, }: CopyGridElementsProps) => Promise<void>;
|
|
11
13
|
export default copyGridElements;
|
|
@@ -13,6 +13,7 @@ interface Props {
|
|
|
13
13
|
column?: number;
|
|
14
14
|
}) => void;
|
|
15
15
|
selection: SelectedRegion;
|
|
16
|
+
rowStart: number;
|
|
16
17
|
}
|
|
17
18
|
interface SelectionActions {
|
|
18
19
|
getSelectionType: SelectionTypeFn;
|
|
@@ -26,5 +27,5 @@ export declare const rectangleSelection: (anchorColumn: number, anchorRow: numbe
|
|
|
26
27
|
export declare const emptySelection: () => SelectedRegion;
|
|
27
28
|
export declare const columnIsSelected: (selection: SelectedRegion, column: number, bounds: Rectangle) => boolean;
|
|
28
29
|
export declare const rangeIndices: (a: number, b: number) => number[];
|
|
29
|
-
export declare const useSelectionActions: ({ onCellSelect, focus, columnCount, rowCount, onFocusChange, scrollGridTo, selection, }: Props) => SelectionActions;
|
|
30
|
+
export declare const useSelectionActions: ({ onCellSelect, focus, columnCount, rowCount, onFocusChange, scrollGridTo, selection, rowStart, }: Props) => SelectionActions;
|
|
30
31
|
export {};
|