@moontra/moonui-pro 2.26.34 → 2.26.35

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
@@ -74025,14 +74025,18 @@ function DataTable({
74025
74025
  }
74026
74026
  ) });
74027
74027
  },
74028
- cell: ({ row }) => {
74028
+ cell: ({ row, table: table2 }) => {
74029
74029
  const isSelected = row.getIsSelected();
74030
+ const rowId = row.id;
74031
+ const tableState2 = table2.getState();
74032
+ console.log(`Row ${rowId}: isSelected=${isSelected}, rowSelection state:`, tableState2.rowSelection);
74030
74033
  return /* @__PURE__ */ jsx("div", { className: "flex items-center justify-center", children: /* @__PURE__ */ jsx(
74031
74034
  "input",
74032
74035
  {
74033
74036
  type: "checkbox",
74034
74037
  checked: isSelected,
74035
74038
  onChange: (e) => {
74039
+ console.log(`Toggling row ${rowId} to ${e.target.checked}`);
74036
74040
  row.toggleSelected(e.target.checked);
74037
74041
  },
74038
74042
  onClick: (e) => {
@@ -74052,7 +74056,7 @@ function DataTable({
74052
74056
  cols = [checkboxColumn, ...cols];
74053
74057
  }
74054
74058
  return cols;
74055
- }, [columns, selectable, enableRowSelection, rowSelection]);
74059
+ }, [columns, selectable, enableRowSelection]);
74056
74060
  const table = useReactTable({
74057
74061
  data: stableData,
74058
74062
  columns: processedColumns,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moontra/moonui-pro",
3
- "version": "2.26.34",
3
+ "version": "2.26.35",
4
4
  "description": "Premium React components for MoonUI - Advanced UI library with 50+ pro components including performance, interactive, and gesture components",
5
5
  "type": "module",
6
6
  "main": "dist/index.mjs",
@@ -81,7 +81,7 @@
81
81
  "react-dom": ">=18.0.0 || ^19.0.0"
82
82
  },
83
83
  "dependencies": {
84
- "@moontra/moonui-pro": "^2.26.33",
84
+ "@moontra/moonui-pro": "^2.26.34",
85
85
  "@radix-ui/react-accordion": "^1.2.11",
86
86
  "@radix-ui/react-avatar": "^1.1.10",
87
87
  "@radix-ui/react-checkbox": "^1.3.2",