@monolith-forensics/monolith-ui 1.2.22 → 1.2.23

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.
@@ -501,6 +501,6 @@ const TableProvider = (_a) => {
501
501
  filterState,
502
502
  compactState,
503
503
  toggleCompact,
504
- getCalculatedSelectionTotal, tableHeight: height, tableMaxHeight: maxHeight, tableMinHeight: minHeight }, props), { data: _data }), children: children }));
504
+ getCalculatedSelectionTotal, tableHeight: height, tableMaxHeight: maxHeight, tableMinHeight: minHeight }, props), { onRowUpdated: (props === null || props === void 0 ? void 0 : props.onRowUpdated) || (() => { }), data: _data }), children: children }));
505
505
  };
506
506
  export default TableProvider;
@@ -136,7 +136,7 @@ export type TableContextType = {
136
136
  onColumnResize?: (e: OnColumnChangeProps) => void;
137
137
  onColumnReorder?: (e: OnColumnChangeProps) => void;
138
138
  onTableExport?: OnTableExportFn;
139
- onRowUpdated?: () => void;
139
+ onRowUpdated: () => void;
140
140
  handleColumnReorder: (dragColumn: ColumnState, dropColumn: ColumnState) => void;
141
141
  handleColumnHeaderClick: (column: ColumnState) => void;
142
142
  onColumnStateChange?: (e: ColumnState[]) => void;
@@ -260,6 +260,7 @@ export interface TableProps {
260
260
  manualFiltering?: boolean;
261
261
  manualExport?: boolean;
262
262
  tableMenuOptions?: TableMenuOptions;
263
+ onRowUpdated?: () => void;
263
264
  onSelectionChange?: onSelectionChangeFn;
264
265
  onActionButtonClick?: (rowData: any) => void;
265
266
  onColumnResize?: (e: OnColumnChangeProps) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@monolith-forensics/monolith-ui",
3
- "version": "1.2.22",
3
+ "version": "1.2.23",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "author": "Matt Danner (Monolith Forensics LLC)",