@ctlyst.id/internal-ui 4.1.11 → 4.1.13
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
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
|
},
|
@@ -5540,6 +5541,7 @@ var InputTimeArea = (0, import_react85.forwardRef)((props, ref) => {
|
|
5540
5541
|
});
|
5541
5542
|
var TimeInput2 = (0, import_react85.forwardRef)(
|
5542
5543
|
({
|
5544
|
+
name,
|
5543
5545
|
config: config2,
|
5544
5546
|
label,
|
5545
5547
|
isError,
|
@@ -5622,6 +5624,7 @@ var TimeInput2 = (0, import_react85.forwardRef)(
|
|
5622
5624
|
cursor: isDisabled ? "not-allowed" : "default",
|
5623
5625
|
alignItems: "center",
|
5624
5626
|
gap: 3,
|
5627
|
+
"data-test-id": `CT_Component_TimeInput${name ? `_${name}` : ""}`,
|
5625
5628
|
children: [
|
5626
5629
|
/* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(import_react85.Flex, { gap: "1px", width: "100%", alignItems: "center", pl: 2, children: [
|
5627
5630
|
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(InputTimeArea, { "data-test-id": "start-time", ...hoursProps }),
|
@@ -7416,7 +7419,6 @@ var baseStyle11 = definePartsStyle10({
|
|
7416
7419
|
"&:not([data-loading=true])": {
|
7417
7420
|
tbody: {
|
7418
7421
|
tr: {
|
7419
|
-
cursor: "pointer",
|
7420
7422
|
_hover: {
|
7421
7423
|
td: {
|
7422
7424
|
backgroundColor: "neutral.100"
|