publ-echo-test 0.0.392 → 0.0.394

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.
@@ -209,9 +209,8 @@ var ReactGridLayout = function (_a) {
209
209
  * @param {Element} node The current dragging DOM element
210
210
  */
211
211
  var onDragHandler = function (i, x, y, _a, isGroup) {
212
- var _b;
213
212
  var e = _a.e, node = _a.node;
214
- var l = (_b = getLayoutItem(layout, i)) !== null && _b !== void 0 ? _b : { i: i, x: x, y: y, w: 10, h: 10 };
213
+ var l = isGroup ? generateGrouplayout(i) : getLayoutItem(layout, i);
215
214
  if (!l)
216
215
  return;
217
216
  if (!oldDragItem) {
@@ -604,6 +603,7 @@ var ReactGridLayout = function (_a) {
604
603
  y: l.y,
605
604
  i: l.i,
606
605
  });
606
+ var showBlockData = !isInsideOfEditingGroup && !isInBulk && isInsideOfEditingGroup;
607
607
  return (_jsx(GridItem, { heightFitContent: !!(l === null || l === void 0 ? void 0 : l.heightFitContent), isheightVariable: device === "DESKTOP"
608
608
  ? !!block.isHeightVariableDesktop
609
609
  : !!block.isHeightVariableMobile, className: classNames({
@@ -611,7 +611,7 @@ var ReactGridLayout = function (_a) {
611
611
  "not-editable-grid-item": !isRoot && !editable,
612
612
  "bulk-child-item": isInBulk,
613
613
  "outside-of-editing-group": !isInsideOfEditingGroup,
614
- "show-block-data": overlapsActiveRows,
614
+ "show-block-data": showBlockData,
615
615
  }), z: zIndex, zOrder: l.z, zOrderInternal: parent
616
616
  ? "".concat(parent[device === "DESKTOP"
617
617
  ? "zOrderDesktopInternal"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "publ-echo-test",
3
- "version": "0.0.392",
3
+ "version": "0.0.394",
4
4
  "private": false,
5
5
  "main": "dist/lib/index.js",
6
6
  "types": "dist/lib/index.d.js",