@infinite-table/infinite-react 6.2.3 → 6.2.4
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 +16 -16
- package/index.dev.js +237 -237
- package/index.dev.mjs +4 -4
- package/index.js +237 -237
- package/index.mjs +4 -4
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -69,7 +69,7 @@ declare type RenderRange = {
|
|
|
69
69
|
renderEndIndex: number;
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
declare type Renderable = React$1.ReactNode | JSX.Element;
|
|
72
|
+
declare type Renderable = React$1.ReactNode | React$1.JSX.Element;
|
|
73
73
|
|
|
74
74
|
declare type VoidFn$1 = () => void;
|
|
75
75
|
declare type Pair<KeyType, ValueType> = {
|
|
@@ -1290,7 +1290,7 @@ declare type InfiniteTableColumnHeaderParam<DATA_TYPE, COL_TYPE = InfiniteTableC
|
|
|
1290
1290
|
};
|
|
1291
1291
|
} & ({
|
|
1292
1292
|
domRef: InfiniteTableCellProps<DATA_TYPE>['domRef'];
|
|
1293
|
-
htmlElementRef:
|
|
1293
|
+
htmlElementRef: React$1.MutableRefObject<HTMLElement | null>;
|
|
1294
1294
|
insideColumnMenu: false;
|
|
1295
1295
|
} | {
|
|
1296
1296
|
insideColumnMenu: true;
|
|
@@ -1305,7 +1305,7 @@ declare type InfiniteTableColumnRenderBag = {
|
|
|
1305
1305
|
};
|
|
1306
1306
|
declare type InfiniteTableColumnRenderParamBase<DATA_TYPE, COL_TYPE = InfiniteTableComputedColumn<DATA_TYPE>> = {
|
|
1307
1307
|
domRef: InfiniteTableCellProps<DATA_TYPE>['domRef'];
|
|
1308
|
-
htmlElementRef:
|
|
1308
|
+
htmlElementRef: React$1.MutableRefObject<HTMLElement | null>;
|
|
1309
1309
|
rowIndexInHorizontalLayoutPage: null | number;
|
|
1310
1310
|
horizontalLayoutPageIndex: null | number;
|
|
1311
1311
|
value: string | number | Renderable;
|
|
@@ -1405,9 +1405,9 @@ declare type InfiniteTableColumnStylingFnParams<T> = {
|
|
|
1405
1405
|
rowHasSelectedCells: boolean;
|
|
1406
1406
|
editError: InfiniteTableColumnRenderParamBase<T>['editError'];
|
|
1407
1407
|
} & InfiniteTableRowInfoDataDiscriminator<T>;
|
|
1408
|
-
declare type InfiniteTableColumnStyleFn<T> = (params: InfiniteTableColumnStylingFnParams<T>) => undefined |
|
|
1408
|
+
declare type InfiniteTableColumnStyleFn<T> = (params: InfiniteTableColumnStylingFnParams<T>) => undefined | React$1.CSSProperties;
|
|
1409
1409
|
declare type InfiniteTableColumnHeaderClassNameFn<T> = (params: InfiniteTableColumnHeaderParam<T>) => undefined | string;
|
|
1410
|
-
declare type InfiniteTableColumnHeaderStyleFn<T> = (params: InfiniteTableColumnHeaderParam<T>) => undefined |
|
|
1410
|
+
declare type InfiniteTableColumnHeaderStyleFn<T> = (params: InfiniteTableColumnHeaderParam<T>) => undefined | React$1.CSSProperties;
|
|
1411
1411
|
declare type InfiniteTableColumnClassNameFn<T> = (params: InfiniteTableColumnStylingFnParams<T>) => undefined | string;
|
|
1412
1412
|
declare type InfiniteTableColumnStyle<T> = CSSProperties | InfiniteTableColumnStyleFn<T>;
|
|
1413
1413
|
declare type InfiniteTableColumnAlign<T> = InfiniteTableColumnAlignValues | InfiniteTableColumnAlignFn<T>;
|
|
@@ -1516,12 +1516,12 @@ declare type InfiniteTableColumn<DATA_TYPE> = {
|
|
|
1516
1516
|
renderMenuIcon?: boolean | InfiniteTableColumnHeaderRenderFunction<DATA_TYPE>;
|
|
1517
1517
|
renderHeaderSelectionCheckBox?: boolean | InfiniteTableColumnHeaderRenderFunction<DATA_TYPE>;
|
|
1518
1518
|
components?: {
|
|
1519
|
-
ColumnCell?: (props: HTMLProps<HTMLDivElement>) => JSX.Element | null;
|
|
1520
|
-
HeaderCell?: (props: HTMLProps<HTMLDivElement>) => JSX.Element | null;
|
|
1521
|
-
Editor?: () => JSX.Element | null;
|
|
1522
|
-
FilterEditor?: () => JSX.Element | null;
|
|
1523
|
-
FilterOperatorSwitch?: () => JSX.Element | null;
|
|
1524
|
-
MenuIcon?: (props: MenuIconProps) => JSX.Element | null;
|
|
1519
|
+
ColumnCell?: (props: HTMLProps<HTMLDivElement>) => React$1.JSX.Element | null;
|
|
1520
|
+
HeaderCell?: (props: HTMLProps<HTMLDivElement>) => React$1.JSX.Element | null;
|
|
1521
|
+
Editor?: () => React$1.JSX.Element | null;
|
|
1522
|
+
FilterEditor?: () => React$1.JSX.Element | null;
|
|
1523
|
+
FilterOperatorSwitch?: () => React$1.JSX.Element | null;
|
|
1524
|
+
MenuIcon?: (props: MenuIconProps) => React$1.JSX.Element | null;
|
|
1525
1525
|
};
|
|
1526
1526
|
};
|
|
1527
1527
|
declare type InfiniteTableGeneratedGroupColumn<T> = Omit<InfiniteTableColumn<T>, 'defaultSortable'> & {
|
|
@@ -6786,13 +6786,13 @@ declare type RowDetailComponentProps<T = any> = {
|
|
|
6786
6786
|
declare type InfiniteTablePropComponents<T = any> = {
|
|
6787
6787
|
LoadMask?: (props: LoadMaskProps & {
|
|
6788
6788
|
children?: React$1.ReactNode | undefined;
|
|
6789
|
-
}) => JSX.Element | null;
|
|
6790
|
-
CheckBox?: (props: InfiniteCheckBoxProps) => JSX.Element | null;
|
|
6789
|
+
}) => React$1.JSX.Element | null;
|
|
6790
|
+
CheckBox?: (props: InfiniteCheckBoxProps) => React$1.JSX.Element | null;
|
|
6791
6791
|
Menu?: (props: MenuProps & {
|
|
6792
6792
|
children?: React$1.ReactNode | undefined;
|
|
6793
|
-
}) => JSX.Element | null;
|
|
6794
|
-
MenuIcon?: (props: MenuIconProps) => JSX.Element | null;
|
|
6795
|
-
RowDetail?: (props: RowDetailComponentProps<T>) => JSX.Element | null;
|
|
6793
|
+
}) => React$1.JSX.Element | null;
|
|
6794
|
+
MenuIcon?: (props: MenuIconProps) => React$1.JSX.Element | null;
|
|
6795
|
+
RowDetail?: (props: RowDetailComponentProps<T>) => React$1.JSX.Element | null;
|
|
6796
6796
|
};
|
|
6797
6797
|
declare type ScrollStopInfo = {
|
|
6798
6798
|
scrollTop: number;
|