@ctlyst.id/internal-ui 4.1.10 → 4.1.12

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.mjs CHANGED
@@ -1223,7 +1223,6 @@ var DataTable = React5.forwardRef((props, ref) => {
1223
1223
  }
1224
1224
  }
1225
1225
  `,
1226
- pointerEvents: isRowDisabled && isRowDisabled(row.original) ? "none" : "auto",
1227
1226
  cursor: isRowDisabled && isRowDisabled(row.original) ? "default" : "pointer",
1228
1227
  onMouseDown: (e) => {
1229
1228
  var _a2;
@@ -1235,6 +1234,7 @@ var DataTable = React5.forwardRef((props, ref) => {
1235
1234
  },
1236
1235
  onClick: () => {
1237
1236
  if (onRowClick) {
1237
+ if (isRowDisabled && isRowDisabled(row.original)) return;
1238
1238
  onRowClick(row.original);
1239
1239
  }
1240
1240
  },
@@ -7337,7 +7337,6 @@ var baseStyle11 = definePartsStyle10({
7337
7337
  "&:not([data-loading=true])": {
7338
7338
  tbody: {
7339
7339
  tr: {
7340
- cursor: "pointer",
7341
7340
  _hover: {
7342
7341
  td: {
7343
7342
  backgroundColor: "neutral.100"