@ctlyst.id/internal-ui 3.3.13 → 3.3.14
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +21 -11
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +21 -11
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
@@ -1083,16 +1083,25 @@ var DataTable = React5.forwardRef((props, ref) => {
|
|
1083
1083
|
w: "full",
|
1084
1084
|
...container,
|
1085
1085
|
children: isLoading ? /* @__PURE__ */ jsxs8(Table, { ...styles == null ? void 0 : styles.table, "data-loading": "true", children: [
|
1086
|
-
/* @__PURE__ */ jsx24(Thead, { ...(styles == null ? void 0 : styles.tableHead, headerSticky ? { position: "sticky", top: 0, bg: "white", zIndex: 1 } : {}), children: table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ jsx24(Tr, { mx: "2", ...styles == null ? void 0 : styles.tableRow, children: headerGroup.headers.map((header, index) => /* @__PURE__ */ jsx24(
|
1087
|
-
|
1086
|
+
/* @__PURE__ */ jsx24(Thead, { ...(styles == null ? void 0 : styles.tableHead, headerSticky ? { position: "sticky", top: 0, bg: "white", zIndex: 1 } : {}), children: table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ jsx24(Tr, { mx: "2", ...styles == null ? void 0 : styles.tableRow, children: headerGroup.headers.map((header, index) => /* @__PURE__ */ jsx24(
|
1087
|
+
Th,
|
1088
1088
|
{
|
1089
|
-
|
1090
|
-
|
1091
|
-
|
1092
|
-
|
1093
|
-
|
1094
|
-
|
1095
|
-
|
1089
|
+
colSpan: header.colSpan,
|
1090
|
+
width: `${header.getSize()}px`,
|
1091
|
+
...styles == null ? void 0 : styles.tableColumnHeader,
|
1092
|
+
children: /* @__PURE__ */ jsx24(
|
1093
|
+
Flex2,
|
1094
|
+
{
|
1095
|
+
"data-test-id": "CT_component_data-table_loader",
|
1096
|
+
textTransform: "capitalize",
|
1097
|
+
align: "center",
|
1098
|
+
gap: 2,
|
1099
|
+
children: flexRender(header.column.columnDef.header, header.getContext())
|
1100
|
+
}
|
1101
|
+
)
|
1102
|
+
},
|
1103
|
+
header.id
|
1104
|
+
)) }, headerGroup.id)) }),
|
1096
1105
|
/* @__PURE__ */ jsx24(Tbody, { children: [...Array(5)].map((num) => /* @__PURE__ */ jsx24(Tr, { mx: "2", children: [...Array(generateColumn().length)].map((i) => /* @__PURE__ */ jsx24(Td, { width: 210, children: /* @__PURE__ */ jsx24(Skeleton2, { startColor: "neutral.100", endColor: "neutral.200", h: "20px", w: "70%" }, i) }, i)) }, num)) })
|
1097
1106
|
] }) : /* @__PURE__ */ jsxs8(Table, { ...styles == null ? void 0 : styles.table, children: [
|
1098
1107
|
/* @__PURE__ */ jsx24(
|
@@ -1107,7 +1116,7 @@ var DataTable = React5.forwardRef((props, ref) => {
|
|
1107
1116
|
{
|
1108
1117
|
colSpan: header.colSpan,
|
1109
1118
|
sx: getCommonPinningStyles(header.column),
|
1110
|
-
width: header.getSize()
|
1119
|
+
width: `${header.getSize()}px`,
|
1111
1120
|
...styles == null ? void 0 : styles.tableColumnHeader,
|
1112
1121
|
children: /* @__PURE__ */ jsxs8(
|
1113
1122
|
Flex2,
|
@@ -4754,7 +4763,8 @@ var InputTimeArea = forwardRef12((props, ref) => {
|
|
4754
4763
|
px: "2px",
|
4755
4764
|
py: 0,
|
4756
4765
|
sx: {
|
4757
|
-
fontVariantNumeric: "tabular-nums"
|
4766
|
+
fontVariantNumeric: "tabular-nums",
|
4767
|
+
fontSize: 12
|
4758
4768
|
},
|
4759
4769
|
...props
|
4760
4770
|
}
|