@ctlyst.id/internal-ui 5.6.1 → 5.6.2

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
@@ -1373,17 +1373,17 @@ var DataTable = React5.forwardRef((props, ref) => {
1373
1373
  gap: 2,
1374
1374
  children: [
1375
1375
  flexRender(header.column.columnDef.header, header.getContext()),
1376
- (_b2 = header.column.getCanSort() && {
1377
- asc: /* @__PURE__ */ jsx24(ChevronUpIcon, { h: 4, w: 4, color: "neutral.500" }),
1378
- desc: /* @__PURE__ */ jsx24(ChevronDownIcon, { h: 4, w: 4, color: "neutral.500" })
1379
- }[header.column.getIsSorted()]) != null ? _b2 : /* @__PURE__ */ jsx24(
1376
+ /* @__PURE__ */ jsx24(
1380
1377
  Box11,
1381
1378
  {
1382
1379
  as: "span",
1383
1380
  cursor: header.column.getCanSort() ? "pointer" : "default",
1384
1381
  "data-test-id": `CT_Container_SortingIcon_${header.id}`,
1385
1382
  onClick: header.column.getToggleSortingHandler(),
1386
- children: /* @__PURE__ */ jsx24(Box11, { display: "flex", justifyContent: "center", alignItems: "center", boxSize: 4, children: /* @__PURE__ */ jsx24(UpDownIcon, { color: "neutral.500" }) })
1383
+ children: (_b2 = header.column.getCanSort() && {
1384
+ asc: /* @__PURE__ */ jsx24(ChevronUpIcon, { h: 4, w: 4, color: "neutral.500" }),
1385
+ desc: /* @__PURE__ */ jsx24(ChevronDownIcon, { h: 4, w: 4, color: "neutral.500" })
1386
+ }[header.column.getIsSorted()]) != null ? _b2 : /* @__PURE__ */ jsx24(Box11, { display: "flex", justifyContent: "center", alignItems: "center", boxSize: 4, children: /* @__PURE__ */ jsx24(UpDownIcon, { color: "neutral.500" }) })
1387
1387
  }
1388
1388
  )
1389
1389
  ]
@@ -8509,6 +8509,7 @@ export {
8509
8509
  useDataTable,
8510
8510
  useDimensions,
8511
8511
  useDisclosure2 as useDisclosure,
8512
+ useDragOrClick,
8512
8513
  useDrawerContext,
8513
8514
  useFetcher,
8514
8515
  useImage,