@ctlyst.id/internal-ui 4.1.10 → 4.1.11

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.js CHANGED
@@ -1570,7 +1570,6 @@ var DataTable = React5.forwardRef((props, ref) => {
1570
1570
  }
1571
1571
  }
1572
1572
  `,
1573
- pointerEvents: isRowDisabled && isRowDisabled(row.original) ? "none" : "auto",
1574
1573
  cursor: isRowDisabled && isRowDisabled(row.original) ? "default" : "pointer",
1575
1574
  onMouseDown: (e) => {
1576
1575
  var _a2;
@@ -1581,7 +1580,7 @@ var DataTable = React5.forwardRef((props, ref) => {
1581
1580
  (_a2 = e.currentTarget) == null ? void 0 : _a2.removeAttribute("data-active");
1582
1581
  },
1583
1582
  onClick: () => {
1584
- if (onRowClick) {
1583
+ if (onRowClick && isRowDisabled && !isRowDisabled(row.original)) {
1585
1584
  onRowClick(row.original);
1586
1585
  }
1587
1586
  },