@ctlyst.id/internal-ui 4.1.10 → 4.1.12
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;
|
|
@@ -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"
|