@antscorp/antsomi-ui 1.3.3-beta.43 → 1.3.3-beta.44

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.
@@ -57,7 +57,7 @@ export const Cell = ({ cell, idx, down, downCell, up, setRef, downSelect, upSele
57
57
  unMerge(cell, idx);
58
58
  };
59
59
  const renderCellContent = () => renderCell
60
- ? renderCell(cell, idx)
60
+ ? renderCell(cell, idx, { isPreview })
61
61
  : !!image &&
62
62
  image.imageUrl && (React.createElement("div", { className: "imageWrapper" },
63
63
  React.createElement("img", { src: image.imageUrl, alt: "menu", style: image.imageStyles })));
@@ -73,6 +73,7 @@ export const Cell = ({ cell, idx, down, downCell, up, setRef, downSelect, upSele
73
73
  return (React.createElement(StyledCell, { ref: cellRef, className: "cell",
74
74
  // onClick={handleActiveCell}
75
75
  onMouseOver: handleHoverSelect, onFocus: e => e, onMouseDown: handleDownCell, onMouseUp: handleUpCell, onDoubleClick: handlUnMerge, borderStyle: borderStyle || 'unset', style: Object.assign(Object.assign({ gridArea: buildGridArea(cell), width: cell.sizeX ? `${cell.sizeX}px` : 'unset', height: cell.sizeY ? `${cell.sizeY}px` : 'unset', transform: buildTranform(cell) }, (cell.active &&
76
+ !isPreview &&
76
77
  (activeStyle || {
77
78
  outline: '1px solid #005eb8',
78
79
  }))), style) },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antscorp/antsomi-ui",
3
- "version": "1.3.3-beta.43",
3
+ "version": "1.3.3-beta.44",
4
4
  "description": "An enterprise-class UI design language and React UI library.",
5
5
  "sideEffects": [
6
6
  "dist/*",