hplx-react-elements-dev 1.2.91 → 1.2.93
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { SetStateAction } from "react";
|
|
2
|
-
import { ITableColDef } from "../ReusableTableTypes";
|
|
2
|
+
import { ITableColDef, ResuableTableNoDataProps } from "../ReusableTableTypes";
|
|
3
3
|
import { IPaginationProps } from "../components/Pagination";
|
|
4
4
|
interface TableContextProps<T> {
|
|
5
5
|
rowsData: Array<T>;
|
|
@@ -19,9 +19,10 @@ interface TableContextProps<T> {
|
|
|
19
19
|
showDropdown: string | null;
|
|
20
20
|
setShowDropdown: React.Dispatch<SetStateAction<string | null>>;
|
|
21
21
|
displayPaginationClassesToOverride: string;
|
|
22
|
+
displayNoDataFoundProps: ResuableTableNoDataProps | undefined;
|
|
22
23
|
}
|
|
23
24
|
export declare const useTableContext: <T>() => TableContextProps<T>;
|
|
24
|
-
export declare const TableProvider: <T>({ children, initialColumns, rowData, headerRowClasses, rowClassesForSpecificIndex, tableBodyClassesToOverride, hideHeader, paginationProps, onPaginationClick, displayPaginationClassesToOverride, }: {
|
|
25
|
+
export declare const TableProvider: <T>({ children, initialColumns, rowData, headerRowClasses, rowClassesForSpecificIndex, tableBodyClassesToOverride, hideHeader, paginationProps, onPaginationClick, displayPaginationClassesToOverride, displayNoDataFoundProps, }: {
|
|
25
26
|
children: React.ReactNode;
|
|
26
27
|
initialColumns: ITableColDef<T>[];
|
|
27
28
|
rowData: T[];
|
|
@@ -35,5 +36,6 @@ export declare const TableProvider: <T>({ children, initialColumns, rowData, hea
|
|
|
35
36
|
paginationProps: IPaginationProps;
|
|
36
37
|
onPaginationClick: ((activePage: number) => void) | undefined;
|
|
37
38
|
displayPaginationClassesToOverride: string;
|
|
39
|
+
displayNoDataFoundProps: ResuableTableNoDataProps | undefined;
|
|
38
40
|
}) => JSX.Element;
|
|
39
41
|
export {};
|
package/dist/esm/types.d.ts
CHANGED
|
@@ -245,6 +245,7 @@ export interface TooltipProps extends React.DetailedHTMLProps<React.HTMLAttribut
|
|
|
245
245
|
variant?: tooltipPosition;
|
|
246
246
|
text?: ReactNode;
|
|
247
247
|
containerClassname?: string;
|
|
248
|
+
tooltipContainerClassname?: string;
|
|
248
249
|
theme?: toolTipTheme;
|
|
249
250
|
supportingText?: string;
|
|
250
251
|
children: ReactNode;
|