publ-echo-test 0.0.205 → 0.0.207

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.
@@ -739,7 +739,7 @@ var ReactGridLayout = function (_a) {
739
739
  var currentGroupBlocks = blockStructure
740
740
  ? findGroupBlocks(blockStructure, editingGroupBlock)
741
741
  : [];
742
- return (_jsxs("div", { ref: innerRef, className: mergedClassName, style: mergedStyle, onDrop: isDroppable ? onDropHandler : noop, onDragLeave: isDroppable ? onDragLeaveHandler : noop, onDragEnter: isDroppable ? onDragEnterHandler : noop, onDragOver: isDroppable ? onDragOverHandler : noop, children: [currentGroupBlocks.map(function (each) { return processGroup(each); }), React.Children.map(children, function (child) { return processGridItem(child); }), placeholder(), activeDrag && _jsx("div", { className: 'grid-guide-line-center' }), activeDrag && (_jsx("div", { className: 'grid-placeholder', style: {
742
+ return (_jsxs("div", { ref: innerRef, className: mergedClassName, style: mergedStyle, onDrop: isDroppable ? onDropHandler : noop, onDragLeave: isDroppable ? onDragLeaveHandler : noop, onDragEnter: isDroppable ? onDragEnterHandler : noop, onDragOver: isDroppable ? onDragOverHandler : noop, "data-grid-row-height": rowHeight, "data-grid-cols": cols, children: [currentGroupBlocks.map(function (each) { return processGroup(each); }), React.Children.map(children, function (child) { return processGridItem(child); }), placeholder(), activeDrag && _jsx("div", { className: 'grid-guide-line-center' }), activeDrag && (_jsx("div", { className: 'grid-placeholder', style: {
743
743
  marginTop: margin[1] + 'px',
744
744
  marginBottom: margin[1] + 'px',
745
745
  marginLeft: margin[0] + 'px',
@@ -107,11 +107,9 @@ export var findDirectChildrenBlockIds = function (block, targetId) {
107
107
  export var findGroupBlocks = function (block, targetId) {
108
108
  var targetBlock = findBlockByBlockId(block, targetId);
109
109
  if (!targetBlock) {
110
- console.error('Target block not found');
111
110
  return [];
112
111
  }
113
112
  if (targetBlock.type !== 'GROUP_BLOCK') {
114
- console.error('Target block is not a group block');
115
113
  return [];
116
114
  }
117
115
  var groupBlocks = targetBlock.children.filter(function (child) { return child.type === 'GROUP_BLOCK'; });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "publ-echo-test",
3
- "version": "0.0.205",
3
+ "version": "0.0.207",
4
4
  "private": false,
5
5
  "main": "dist/lib/index.js",
6
6
  "types": "dist/lib/index.d.js",