@sikka/hawa 0.42.6-next → 0.42.8-next

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.
@@ -1307,6 +1307,7 @@ var DataTable = ({
1307
1307
  data,
1308
1308
  paginationPosition = "bottom",
1309
1309
  translateFn,
1310
+ resetSelection,
1310
1311
  enableHideColumns,
1311
1312
  enableSelection,
1312
1313
  enableFiltering,
@@ -1393,6 +1394,9 @@ var DataTable = ({
1393
1394
  React11.useEffect(() => {
1394
1395
  localStorage.setItem(LOCAL_STORAGE_KEY, JSON.stringify(columnVisibility));
1395
1396
  }, [columnVisibility]);
1397
+ React11.useEffect(() => {
1398
+ setRowSelection({});
1399
+ }, [resetSelection]);
1396
1400
  React11.useEffect(() => {
1397
1401
  setColumnVisibility((prev) => {
1398
1402
  let newColumnVisibility = {};