@omniumretail/component-library 1.3.28 → 1.3.29

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.
@@ -25082,7 +25082,8 @@ const ResponsiveTable = (props) => {
25082
25082
  const cellColor = selectedCell?.value?.color || selectedCellColor;
25083
25083
  const cellType = selectedCell?.value?.type || "X";
25084
25084
  const isLicenseType = cellType === "L";
25085
- return /* @__PURE__ */ jsx(Tag, { color: cellColor, style: { margin: -4, cursor: isLicenseType ? "not-allowed" : "pointer" }, children: cellType });
25085
+ const isReadonlyCell = selectedCell?.value?.readonly || disableCellSelection;
25086
+ return /* @__PURE__ */ jsx(Tag, { color: cellColor, style: { margin: -4, cursor: isLicenseType || isReadonlyCell ? "not-allowed" : "pointer" }, children: cellType });
25086
25087
  }
25087
25088
  if (originalCellContent2) {
25088
25089
  return /* @__PURE__ */ jsx(Tag, { color: originalCellContent2.color, style: { margin: -4 }, children: originalCellContent2.type });
@@ -25105,6 +25106,9 @@ const ResponsiveTable = (props) => {
25105
25106
  isSelected2 && styles$7.selected,
25106
25107
  isSelected2 && styles$7.uniformSelection
25107
25108
  ),
25109
+ style: {
25110
+ cursor: disableCellSelection ? "not-allowed" : void 0
25111
+ },
25108
25112
  children: cellContent
25109
25113
  }
25110
25114
  );