@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 +1 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
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;
|
|
@@ -1234,7 +1233,7 @@ var DataTable = React5.forwardRef((props, ref) => {
|
|
|
1234
1233
|
(_a2 = e.currentTarget) == null ? void 0 : _a2.removeAttribute("data-active");
|
|
1235
1234
|
},
|
|
1236
1235
|
onClick: () => {
|
|
1237
|
-
if (onRowClick) {
|
|
1236
|
+
if (onRowClick && isRowDisabled && !isRowDisabled(row.original)) {
|
|
1238
1237
|
onRowClick(row.original);
|
|
1239
1238
|
}
|
|
1240
1239
|
},
|