@moontra/moonui-pro 2.26.26 → 2.26.27

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
@@ -74009,15 +74009,25 @@ function DataTable({
74009
74009
  className: "translate-y-[2px]"
74010
74010
  }
74011
74011
  ),
74012
- cell: ({ row }) => /* @__PURE__ */ jsx(
74013
- MoonUICheckboxPro,
74014
- {
74015
- checked: row.getIsSelected(),
74016
- onCheckedChange: (value) => row.toggleSelected(!!value),
74017
- "aria-label": "Select row",
74018
- className: "translate-y-[2px]"
74012
+ cell: ({ row }) => {
74013
+ const isSelected = row.getIsSelected();
74014
+ if (typeof window !== "undefined" && true) {
74015
+ console.log("Row selection state:", {
74016
+ rowId: row.id,
74017
+ isSelected,
74018
+ rowSelectionState: table.getState().rowSelection
74019
+ });
74019
74020
  }
74020
- ),
74021
+ return /* @__PURE__ */ jsx(
74022
+ MoonUICheckboxPro,
74023
+ {
74024
+ checked: isSelected,
74025
+ onCheckedChange: (value) => row.toggleSelected(!!value),
74026
+ "aria-label": "Select row",
74027
+ className: "translate-y-[2px]"
74028
+ }
74029
+ );
74030
+ },
74021
74031
  enableSorting: false,
74022
74032
  enableHiding: false,
74023
74033
  size: 40,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moontra/moonui-pro",
3
- "version": "2.26.26",
3
+ "version": "2.26.27",
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",