@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.js
CHANGED
|
@@ -1580,7 +1580,8 @@ var DataTable = React5.forwardRef((props, ref) => {
|
|
|
1580
1580
|
(_a2 = e.currentTarget) == null ? void 0 : _a2.removeAttribute("data-active");
|
|
1581
1581
|
},
|
|
1582
1582
|
onClick: () => {
|
|
1583
|
-
if (onRowClick
|
|
1583
|
+
if (onRowClick) {
|
|
1584
|
+
if (isRowDisabled && isRowDisabled(row.original)) return;
|
|
1584
1585
|
onRowClick(row.original);
|
|
1585
1586
|
}
|
|
1586
1587
|
},
|
|
@@ -7416,7 +7417,6 @@ var baseStyle11 = definePartsStyle10({
|
|
|
7416
7417
|
"&:not([data-loading=true])": {
|
|
7417
7418
|
tbody: {
|
|
7418
7419
|
tr: {
|
|
7419
|
-
cursor: "pointer",
|
|
7420
7420
|
_hover: {
|
|
7421
7421
|
td: {
|
|
7422
7422
|
backgroundColor: "neutral.100"
|