@omniumretail/component-library 1.3.3 → 1.3.5

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.
@@ -24890,10 +24890,11 @@ const ResponsiveTable = (props) => {
24890
24890
  if (!enableCellSelection || !selectableColumns?.includes(columnKey)) {
24891
24891
  return;
24892
24892
  }
24893
+ const normalizedValue = value?.data ? { type: value.data.type, color: value.data.color } : value;
24893
24894
  const cellData = {
24894
24895
  rowKey: record[rowKeyValue],
24895
24896
  columnKey,
24896
- value,
24897
+ value: normalizedValue,
24897
24898
  rowData: record
24898
24899
  };
24899
24900
  setSelectedCells((prev) => {
@@ -25049,7 +25050,7 @@ const ResponsiveTable = (props) => {
25049
25050
  {
25050
25051
  onClick: (e) => {
25051
25052
  e.stopPropagation();
25052
- handleCellClick(record, key, cellContent);
25053
+ handleCellClick(record, key, value);
25053
25054
  },
25054
25055
  className: classNames(
25055
25056
  styles$7.selectableCell,