@ctlyst.id/internal-ui 4.1.11 → 4.1.13
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.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.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
|
},
|
@@ -5400,6 +5401,7 @@ var InputTimeArea = forwardRef12((props, ref) => {
|
|
5400
5401
|
});
|
5401
5402
|
var TimeInput2 = forwardRef12(
|
5402
5403
|
({
|
5404
|
+
name,
|
5403
5405
|
config: config2,
|
5404
5406
|
label,
|
5405
5407
|
isError,
|
@@ -5482,6 +5484,7 @@ var TimeInput2 = forwardRef12(
|
|
5482
5484
|
cursor: isDisabled ? "not-allowed" : "default",
|
5483
5485
|
alignItems: "center",
|
5484
5486
|
gap: 3,
|
5487
|
+
"data-test-id": `CT_Component_TimeInput${name ? `_${name}` : ""}`,
|
5485
5488
|
children: [
|
5486
5489
|
/* @__PURE__ */ jsxs29(Flex17, { gap: "1px", width: "100%", alignItems: "center", pl: 2, children: [
|
5487
5490
|
/* @__PURE__ */ jsx63(InputTimeArea, { "data-test-id": "start-time", ...hoursProps }),
|
@@ -7336,7 +7339,6 @@ var baseStyle11 = definePartsStyle10({
|
|
7336
7339
|
"&:not([data-loading=true])": {
|
7337
7340
|
tbody: {
|
7338
7341
|
tr: {
|
7339
|
-
cursor: "pointer",
|
7340
7342
|
_hover: {
|
7341
7343
|
td: {
|
7342
7344
|
backgroundColor: "neutral.100"
|