@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.js
CHANGED
|
@@ -1570,7 +1570,6 @@ var DataTable = React5.forwardRef((props, ref) => {
|
|
|
1570
1570
|
}
|
|
1571
1571
|
}
|
|
1572
1572
|
`,
|
|
1573
|
-
pointerEvents: isRowDisabled && isRowDisabled(row.original) ? "none" : "auto",
|
|
1574
1573
|
cursor: isRowDisabled && isRowDisabled(row.original) ? "default" : "pointer",
|
|
1575
1574
|
onMouseDown: (e) => {
|
|
1576
1575
|
var _a2;
|
|
@@ -1582,6 +1581,7 @@ var DataTable = React5.forwardRef((props, ref) => {
|
|
|
1582
1581
|
},
|
|
1583
1582
|
onClick: () => {
|
|
1584
1583
|
if (onRowClick) {
|
|
1584
|
+
if (isRowDisabled && isRowDisabled(row.original)) return;
|
|
1585
1585
|
onRowClick(row.original);
|
|
1586
1586
|
}
|
|
1587
1587
|
},
|
|
@@ -7417,7 +7417,6 @@ var baseStyle11 = definePartsStyle10({
|
|
|
7417
7417
|
"&:not([data-loading=true])": {
|
|
7418
7418
|
tbody: {
|
|
7419
7419
|
tr: {
|
|
7420
|
-
cursor: "pointer",
|
|
7421
7420
|
_hover: {
|
|
7422
7421
|
td: {
|
|
7423
7422
|
backgroundColor: "neutral.100"
|