hplx-react-elements-dev 1.3.152 → 1.3.154

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.
@@ -42,6 +42,7 @@ export interface ReusableTableProps<T> {
42
42
  renderExpandedSection?: (row: T, rowIndex: number) => React.ReactNode;
43
43
  expandedSectionClasses?: string;
44
44
  blurCellClasses?: string;
45
+ tableMainStyleClasses?: string;
45
46
  }
46
47
  export interface ITableColDef<T> {
47
48
  field: string;
@@ -57,6 +58,9 @@ export interface ITableColDef<T> {
57
58
  renderCell?: (value: unknown, row: T, column: ITableColDef<T>, rowIndex: number) => React.ReactNode;
58
59
  valueFormatter?: (value: unknown, row: T, column: ITableColDef<T>, rowIndex: number) => React.ReactNode;
59
60
  enableFilter?: boolean;
61
+ enabledColumnCheckbox?: boolean;
62
+ isCheckBoxMarked?: boolean;
63
+ onColumnCheckboxClick?: (isMarked: boolean) => void;
60
64
  filterValues?: ITableDropdown[];
61
65
  onFilterCheck?: (value: string, key: string) => void;
62
66
  filterIconFill?: string;
@@ -1,3 +1,5 @@
1
1
  /// <reference types="react" />
2
- declare const TableMain: <T>() => JSX.Element;
2
+ declare const TableMain: <T>(props: {
3
+ tableMainStyleClasses?: string;
4
+ }) => JSX.Element;
3
5
  export default TableMain;
@@ -27,9 +27,10 @@ interface TableContextProps<T> {
27
27
  renderExpandedSection?: (row: T, rowIndex: number) => React.ReactNode;
28
28
  expandedSectionClasses?: string;
29
29
  blurCellClasses?: string;
30
+ tableMainStyleClasses?: string;
30
31
  }
31
32
  export declare const useTableContext: <T>() => TableContextProps<T>;
32
- export declare const TableProvider: <T>({ children, initialColumns, rowData, headerRowClasses, rowClassesForSpecificIndex, tableBodyClassesToOverride, hideHeader, paginationProps, onPaginationClick, displayPaginationClassesToOverride, displayNoDataFoundProps, enableTableFilter, tableBodyParentDivRef, enableExpandRow, expandedRowIndex, renderExpandedSection, expandedSectionClasses, blurCellClasses, }: {
33
+ export declare const TableProvider: <T>({ children, initialColumns, rowData, headerRowClasses, rowClassesForSpecificIndex, tableBodyClassesToOverride, hideHeader, paginationProps, onPaginationClick, displayPaginationClassesToOverride, displayNoDataFoundProps, enableTableFilter, tableBodyParentDivRef, enableExpandRow, expandedRowIndex, renderExpandedSection, expandedSectionClasses, blurCellClasses, tableMainStyleClasses, }: {
33
34
  children: React.ReactNode;
34
35
  initialColumns: ITableColDef<T>[];
35
36
  rowData: T[];
@@ -51,5 +52,6 @@ export declare const TableProvider: <T>({ children, initialColumns, rowData, hea
51
52
  renderExpandedSection?: ((row: T, rowIndex: number) => React.ReactNode) | undefined;
52
53
  expandedSectionClasses?: string | undefined;
53
54
  blurCellClasses?: string | undefined;
55
+ tableMainStyleClasses?: string | undefined;
54
56
  }) => JSX.Element;
55
57
  export {};
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "frontend",
10
10
  "healthplix"
11
11
  ],
12
- "version": "1.3.152",
12
+ "version": "1.3.154",
13
13
  "main": "dist/esm/index.js",
14
14
  "module": "dist/esm/index.js",
15
15
  "types": "dist/esm/index.d.ts",