@ctlyst.id/internal-ui 4.1.11 → 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
@@ -1233,7 +1233,8 @@ var DataTable = React5.forwardRef((props, ref) => {
1233
1233
  (_a2 = e.currentTarget) == null ? void 0 : _a2.removeAttribute("data-active");
1234
1234
  },
1235
1235
  onClick: () => {
1236
- if (onRowClick && isRowDisabled && !isRowDisabled(row.original)) {
1236
+ if (onRowClick) {
1237
+ if (isRowDisabled && isRowDisabled(row.original)) return;
1237
1238
  onRowClick(row.original);
1238
1239
  }
1239
1240
  },
@@ -7336,7 +7337,6 @@ var baseStyle11 = definePartsStyle10({
7336
7337
  "&:not([data-loading=true])": {
7337
7338
  tbody: {
7338
7339
  tr: {
7339
- cursor: "pointer",
7340
7340
  _hover: {
7341
7341
  td: {
7342
7342
  backgroundColor: "neutral.100"