@moontra/moonui-pro 2.26.35 → 2.26.36

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,18 +74025,14 @@ function DataTable({
74025
74025
  }
74026
74026
  ) });
74027
74027
  },
74028
- cell: ({ row, table: table2 }) => {
74028
+ cell: ({ row }) => {
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);
74033
74030
  return /* @__PURE__ */ jsx("div", { className: "flex items-center justify-center", children: /* @__PURE__ */ jsx(
74034
74031
  "input",
74035
74032
  {
74036
74033
  type: "checkbox",
74037
74034
  checked: isSelected,
74038
74035
  onChange: (e) => {
74039
- console.log(`Toggling row ${rowId} to ${e.target.checked}`);
74040
74036
  row.toggleSelected(e.target.checked);
74041
74037
  },
74042
74038
  onClick: (e) => {
@@ -74148,14 +74144,14 @@ function DataTable({
74148
74144
  manualPagination,
74149
74145
  pageCount,
74150
74146
  state: {
74147
+ ...externalState || {},
74151
74148
  sorting: externalState?.sorting ?? sorting,
74152
74149
  columnFilters: externalState?.columnFilters ?? columnFilters,
74153
74150
  columnVisibility: externalState?.columnVisibility ?? columnVisibility,
74154
74151
  rowSelection,
74155
74152
  // Always use internal rowSelection state
74156
74153
  globalFilter: externalState?.globalFilter ?? globalFilter,
74157
- pagination: externalState?.pagination ?? paginationState,
74158
- ...externalState || {}
74154
+ pagination: externalState?.pagination ?? paginationState
74159
74155
  },
74160
74156
  initialState: {
74161
74157
  pagination: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moontra/moonui-pro",
3
- "version": "2.26.35",
3
+ "version": "2.26.36",
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",