@omniumretail/component-library 1.2.99 → 1.3.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.
@@ -24859,7 +24859,6 @@ const ResponsiveTable = (props) => {
24859
24859
  cellSelectionStyle,
24860
24860
  renderSelectedCell,
24861
24861
  useOrderedCellSelection = true
24862
- // Por padrão mantém comportamento antigo
24863
24862
  } = props;
24864
24863
  const [customFilters, setCustomFilters] = useState([]);
24865
24864
  const [customColumns, setCustomColumns] = useState([]);
@@ -25042,15 +25041,21 @@ const ResponsiveTable = (props) => {
25042
25041
  );
25043
25042
  }
25044
25043
  if (!useOrderedCellSelection && isSelected) {
25044
+ const cellContent = record[key];
25045
+ console.log(record, cellContent);
25045
25046
  return /* @__PURE__ */ jsx(
25046
25047
  "div",
25047
25048
  {
25048
25049
  onClick: (e) => {
25049
25050
  e.stopPropagation();
25050
- handleCellClick(record, key, value);
25051
+ handleCellClick(record, key, cellContent);
25051
25052
  },
25052
- className: classNames(styles$7.selectableCell, styles$7.selected, styles$7.uniformSelection),
25053
- children: value
25053
+ className: classNames(
25054
+ styles$7.selectableCell,
25055
+ styles$7.selected,
25056
+ styles$7.uniformSelection
25057
+ ),
25058
+ children: cellContent
25054
25059
  }
25055
25060
  );
25056
25061
  }