@syook/react-tabulous 4.5.0-beta-0.2 → 4.5.0

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.
@@ -3,7 +3,7 @@ import { type GridRowId } from '../../models';
3
3
  interface BulkActionsProps {
4
4
  selectedRows: GridRowId[];
5
5
  bulkActions: any;
6
- onBulkActionClick: (action: any, selectedRows: GridRowId[]) => void;
6
+ onBulkActionClick: (action: any, selectedRows: GridRowId[], resetSelectedRows: () => void) => void;
7
7
  }
8
8
  export declare const BulkActions: FC<BulkActionsProps>;
9
9
  export {};
@@ -125,8 +125,9 @@ export interface DataGridPropsWithDefaultValues {
125
125
  * Callback fired when a bulk action is clicked.
126
126
  * @param {string} action The action clicked.
127
127
  * @param {GridRowId[]} selectedRows The selected rows.
128
+ * @param {() => void} resetSelectedRows Function to reset the selected rows.
128
129
  */
129
- onBulkActionClick: (action: string, selectedRows: GridRowId[]) => void;
130
+ onBulkActionClick: (action: string, selectedRows: GridRowId[], resetSelectedRows: () => void) => void;
130
131
  /**
131
132
  * The text to be displayed when the grid is empty.
132
133
  * @default 'No rows'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@syook/react-tabulous",
3
- "version": "4.5.0-beta-0.2",
3
+ "version": "4.5.0",
4
4
  "description": "Terrifically fabulous React Table",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib/index.esm.js",