@ctlyst.id/internal-ui 4.1.11 → 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 +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
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
|
|
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"
|