@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.js CHANGED
@@ -1687,22 +1687,24 @@ var DataTable = React5.forwardRef((props, ref) => {
1687
1687
  colSpan: header.colSpan,
1688
1688
  _first: { paddingLeft: `${paddingRowX + 8}px` },
1689
1689
  _last: { paddingRight: `${paddingRowX + 8}px` },
1690
+ sx: getCommonPinningStyles(header.column, paddingRowX),
1690
1691
  ...styles == null ? void 0 : styles.tableColumnHeader,
1691
1692
  ...getTableHeaderSize(header, index, headerGroup.headers.length),
1692
1693
  children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react30.Flex, { "data-test-id": "CT_component_data-table_loader", align: "center", gap: 2, children: (0, import_react_table.flexRender)(header.column.columnDef.header, header.getContext()) })
1693
1694
  },
1694
1695
  header.id
1695
1696
  )) }, headerGroup.id)) }),
1696
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react30.Tbody, { ...styles == null ? void 0 : styles.tableBody, children: [...Array(5)].map((num) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react30.Tr, { mx: "2", ...styles == null ? void 0 : styles.tableRow, children: [...Array(generateColumn().length)].map((i) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1697
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react30.Tbody, { ...styles == null ? void 0 : styles.tableBody, children: [...Array(5)].map((num) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react30.Tr, { mx: "2", ...styles == null ? void 0 : styles.tableRow, children: table.getAllLeafColumns().map((column) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1697
1698
  import_react30.Td,
1698
1699
  {
1699
1700
  width: "100%",
1700
1701
  _first: { paddingLeft: `${paddingRowX + 8}px` },
1701
1702
  _last: { paddingRight: `${paddingRowX + 8}px` },
1703
+ sx: getCommonPinningStyles(column, paddingRowX),
1702
1704
  ...styles == null ? void 0 : styles.tableCell,
1703
- children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react30.Skeleton, { startColor: "neutral.100", endColor: "neutral.200", h: "20px", w: "70%" }, i)
1705
+ children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react30.Skeleton, { startColor: "neutral.100", endColor: "neutral.200", h: "20px", w: "70%" })
1704
1706
  },
1705
- i
1707
+ column.id
1706
1708
  )) }, num)) })
1707
1709
  ] }) : /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_react30.Table, { ...styles == null ? void 0 : styles.table, children: [
1708
1710
  /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(