@ctlyst.id/internal-ui 5.6.4 → 5.6.5

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.mjs CHANGED
@@ -1330,22 +1330,24 @@ var DataTable = React5.forwardRef((props, ref) => {
1330
1330
  colSpan: header.colSpan,
1331
1331
  _first: { paddingLeft: `${paddingRowX + 8}px` },
1332
1332
  _last: { paddingRight: `${paddingRowX + 8}px` },
1333
+ sx: getCommonPinningStyles(header.column, paddingRowX),
1333
1334
  ...styles == null ? void 0 : styles.tableColumnHeader,
1334
1335
  ...getTableHeaderSize(header, index, headerGroup.headers.length),
1335
1336
  children: /* @__PURE__ */ jsx24(Flex2, { "data-test-id": "CT_component_data-table_loader", align: "center", gap: 2, children: flexRender(header.column.columnDef.header, header.getContext()) })
1336
1337
  },
1337
1338
  header.id
1338
1339
  )) }, headerGroup.id)) }),
1339
- /* @__PURE__ */ jsx24(Tbody, { ...styles == null ? void 0 : styles.tableBody, children: [...Array(5)].map((num) => /* @__PURE__ */ jsx24(Tr, { mx: "2", ...styles == null ? void 0 : styles.tableRow, children: [...Array(generateColumn().length)].map((i) => /* @__PURE__ */ jsx24(
1340
+ /* @__PURE__ */ jsx24(Tbody, { ...styles == null ? void 0 : styles.tableBody, children: [...Array(5)].map((num) => /* @__PURE__ */ jsx24(Tr, { mx: "2", ...styles == null ? void 0 : styles.tableRow, children: table.getAllLeafColumns().map((column) => /* @__PURE__ */ jsx24(
1340
1341
  Td,
1341
1342
  {
1342
1343
  width: "100%",
1343
1344
  _first: { paddingLeft: `${paddingRowX + 8}px` },
1344
1345
  _last: { paddingRight: `${paddingRowX + 8}px` },
1346
+ sx: getCommonPinningStyles(column, paddingRowX),
1345
1347
  ...styles == null ? void 0 : styles.tableCell,
1346
- children: /* @__PURE__ */ jsx24(Skeleton2, { startColor: "neutral.100", endColor: "neutral.200", h: "20px", w: "70%" }, i)
1348
+ children: /* @__PURE__ */ jsx24(Skeleton2, { startColor: "neutral.100", endColor: "neutral.200", h: "20px", w: "70%" })
1347
1349
  },
1348
- i
1350
+ column.id
1349
1351
  )) }, num)) })
1350
1352
  ] }) : /* @__PURE__ */ jsxs8(Table, { ...styles == null ? void 0 : styles.table, children: [
1351
1353
  /* @__PURE__ */ jsx24(