@ctlyst.id/internal-ui 5.7.0 → 5.7.1

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
@@ -1382,17 +1382,17 @@ var DataTable = React6.forwardRef((props, ref) => {
1382
1382
  "data-test-id": `CT_Container_TableHeader_${header.id}`,
1383
1383
  userSelect: "none",
1384
1384
  align: "center",
1385
- gap: 2,
1386
1385
  children: [
1387
1386
  flexRender(header.column.columnDef.header, header.getContext()),
1388
- /* @__PURE__ */ jsx24(
1387
+ header.column.getCanSort() && /* @__PURE__ */ jsx24(
1389
1388
  Box11,
1390
1389
  {
1391
1390
  as: "span",
1392
1391
  cursor: header.column.getCanSort() ? "pointer" : "default",
1393
1392
  "data-test-id": `CT_Container_SortingIcon_${header.id}`,
1394
1393
  onClick: header.column.getToggleSortingHandler(),
1395
- children: (_b2 = header.column.getCanSort() && {
1394
+ ml: 2,
1395
+ children: (_b2 = {
1396
1396
  asc: /* @__PURE__ */ jsx24(ChevronUpIcon, { h: 4, w: 4, color: "neutral.500" }),
1397
1397
  desc: /* @__PURE__ */ jsx24(ChevronDownIcon, { h: 4, w: 4, color: "neutral.500" })
1398
1398
  }[header.column.getIsSorted()]) != null ? _b2 : /* @__PURE__ */ jsx24(Box11, { display: "flex", justifyContent: "center", alignItems: "center", boxSize: 4, children: /* @__PURE__ */ jsx24(UpDownIcon, { color: "neutral.500" }) })