publ-echo 0.0.109 → 0.0.110

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.
@@ -410,6 +410,12 @@ var GridItem = function (_a) {
410
410
  cssTransforms: useCSSTransforms,
411
411
  }),
412
412
  style: __assign(__assign(__assign({}, props.style), child.props.style), createStyle(pos)),
413
+ onClick: function (event) {
414
+ var _a;
415
+ if ((_a = child.props.className) === null || _a === void 0 ? void 0 : _a.includes('not-editable-grid-item')) {
416
+ event.stopPropagation();
417
+ }
418
+ },
413
419
  });
414
420
  newChild = mixinResizable(newChild, pos, isResizable);
415
421
  newChild = mixinDraggable(newChild, isDraggable);
@@ -571,7 +571,7 @@ var ReactGridLayout = function (_a) {
571
571
  return zIndexMap.EDITING_GROUP_CHILD + z;
572
572
  }
573
573
  if (!isRoot && isInsideOfEditingGroup) {
574
- return zIndexMap.EDITING_GROUP_CHILD + zOrder;
574
+ return zIndexMap.EDITING_GROUP_CHILD + z;
575
575
  }
576
576
  if (isRoot && editable) {
577
577
  return zIndexMap.ROOT + z;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "publ-echo",
3
- "version": "0.0.109",
3
+ "version": "0.0.110",
4
4
  "private": false,
5
5
  "main": "dist/lib/index.js",
6
6
  "types": "dist/lib/index.d.js",