@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.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1739,17 +1739,17 @@ var DataTable = React6.forwardRef((props, ref) => {
|
|
|
1739
1739
|
"data-test-id": `CT_Container_TableHeader_${header.id}`,
|
|
1740
1740
|
userSelect: "none",
|
|
1741
1741
|
align: "center",
|
|
1742
|
-
gap: 2,
|
|
1743
1742
|
children: [
|
|
1744
1743
|
(0, import_react_table.flexRender)(header.column.columnDef.header, header.getContext()),
|
|
1745
|
-
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
1744
|
+
header.column.getCanSort() && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
1746
1745
|
import_react31.Box,
|
|
1747
1746
|
{
|
|
1748
1747
|
as: "span",
|
|
1749
1748
|
cursor: header.column.getCanSort() ? "pointer" : "default",
|
|
1750
1749
|
"data-test-id": `CT_Container_SortingIcon_${header.id}`,
|
|
1751
1750
|
onClick: header.column.getToggleSortingHandler(),
|
|
1752
|
-
|
|
1751
|
+
ml: 2,
|
|
1752
|
+
children: (_b2 = {
|
|
1753
1753
|
asc: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_icons2.ChevronUpIcon, { h: 4, w: 4, color: "neutral.500" }),
|
|
1754
1754
|
desc: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_icons2.ChevronDownIcon, { h: 4, w: 4, color: "neutral.500" })
|
|
1755
1755
|
}[header.column.getIsSorted()]) != null ? _b2 : /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react31.Box, { display: "flex", justifyContent: "center", alignItems: "center", boxSize: 4, children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_icons2.UpDownIcon, { color: "neutral.500" }) })
|