@ctlyst.id/internal-ui 5.3.1 → 5.3.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.js CHANGED
@@ -1742,7 +1742,7 @@ var DataTable = React5.forwardRef((props, ref) => {
1742
1742
  ),
1743
1743
  /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react30.Tbody, { ...styles == null ? void 0 : styles.tableBody, children: table.getRowModel().rows.map((row, index) => {
1744
1744
  const isDisabledRow = disabledRow && disabledRow(row.original);
1745
- const isHighlightedRow = Object.keys(selectedRow != null ? selectedRow : {}).includes(row.id) || highlightedRow && highlightedRow(row.original);
1745
+ const isHighlightedRow = Object.keys(selectedRow != null ? selectedRow : {}).filter((key) => selectedRow == null ? void 0 : selectedRow[key]).includes(row.id) || highlightedRow && highlightedRow(row.original);
1746
1746
  return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1747
1747
  import_react30.Tr,
1748
1748
  {