@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/client.js +4 -1
- package/dist/client.js.map +1 -1
- package/dist/client.mjs +4 -1
- package/dist/client.mjs.map +1 -1
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
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
|
},
|