@algorithm-shift/design-system 1.2.975 → 1.2.976

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.
package/dist/index.mjs CHANGED
@@ -29826,7 +29826,7 @@ function DataTable({
29826
29826
  setRowSelection((old) => {
29827
29827
  const newState = typeof updater === "function" ? updater(old) : updater;
29828
29828
  const selectedData = Object.keys(newState).filter((key) => newState[key]).map((rowId) => tableData[Number(rowId)]);
29829
- getRowSelection?.(selectedData);
29829
+ getRowSelection?.({ rows: selectedData });
29830
29830
  return newState;
29831
29831
  });
29832
29832
  },