@ctlyst.id/internal-ui 5.6.2 → 5.6.3

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
@@ -1320,24 +1320,25 @@ var DataTable = React5.forwardRef((props, ref) => {
1320
1320
  ...((_e = columnPinning == null ? void 0 : columnPinning.right) == null ? void 0 : _e.length) && hasScroll ? { "data-pin-right": true } : {},
1321
1321
  ...container,
1322
1322
  children: isLoading ? /* @__PURE__ */ jsxs8(Table, { ...styles == null ? void 0 : styles.table, "data-loading": "true", children: [
1323
- /* @__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(
1323
+ /* @__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, { ...styles == null ? void 0 : styles.tableRow, children: headerGroup.headers.map((header, index) => /* @__PURE__ */ jsx24(
1324
1324
  Th,
1325
1325
  {
1326
1326
  colSpan: header.colSpan,
1327
- width: `${header.getSize()}px`,
1328
1327
  _first: { paddingLeft: `${paddingRowX + 8}px` },
1329
1328
  _last: { paddingRight: `${paddingRowX + 8}px` },
1330
1329
  ...styles == null ? void 0 : styles.tableColumnHeader,
1330
+ ...getTableHeaderSize(header, index, headerGroup.headers.length),
1331
1331
  children: /* @__PURE__ */ jsx24(Flex2, { "data-test-id": "CT_component_data-table_loader", align: "center", gap: 2, children: flexRender(header.column.columnDef.header, header.getContext()) })
1332
1332
  },
1333
1333
  header.id
1334
1334
  )) }, headerGroup.id)) }),
1335
- /* @__PURE__ */ jsx24(Tbody, { children: [...Array(5)].map((num) => /* @__PURE__ */ jsx24(Tr, { mx: "2", children: [...Array(generateColumn().length)].map((i) => /* @__PURE__ */ jsx24(
1335
+ /* @__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(
1336
1336
  Td,
1337
1337
  {
1338
- width: 210,
1338
+ width: "100%",
1339
1339
  _first: { paddingLeft: `${paddingRowX + 8}px` },
1340
1340
  _last: { paddingRight: `${paddingRowX + 8}px` },
1341
+ ...styles == null ? void 0 : styles.tableCell,
1341
1342
  children: /* @__PURE__ */ jsx24(Skeleton2, { startColor: "neutral.100", endColor: "neutral.200", h: "20px", w: "70%" }, i)
1342
1343
  },
1343
1344
  i