publ-echo-test 0.0.170 → 0.0.172

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.
@@ -39,15 +39,6 @@ var GridItem = function (_a) {
39
39
  var _r = useState(false), pointerEventsNone = _r[0], setPointerEventsNone = _r[1];
40
40
  var elementRef = useRef(null);
41
41
  var isSelected = (_b = elementRef.current) === null || _b === void 0 ? void 0 : _b.classList.contains('react-grid-item-selected');
42
- // useLayoutEffect(() => {
43
- // if (elementRef.current && isSelected) {
44
- // elementRef.current.scrollIntoView({
45
- // behavior: 'smooth',
46
- // block: 'center',
47
- // inline: 'center',
48
- // });
49
- // }
50
- // }, [isSelected]);
51
42
  useEffect(function () {
52
43
  var _a;
53
44
  if (!isSelected || !autoResize) {
@@ -567,8 +567,7 @@ var ReactGridLayout = function (_a) {
567
567
  var zOrder = (_a = block[device === 'DESKTOP' ? 'zOrderDesktopInternal' : 'zOrderMobileInternal']) !== null && _a !== void 0 ? _a : 0;
568
568
  var editorZIndex = (function () {
569
569
  if (isInBulk) {
570
- // return zIndexMap.EDITING_GROUP_CHILD + z;
571
- return z;
570
+ return zIndexMap.EDITING_GROUP_CHILD + z;
572
571
  }
573
572
  if (!isRoot && editable) {
574
573
  return zIndexMap.EDITING_GROUP_CHILD + z;
@@ -671,7 +670,6 @@ var ReactGridLayout = function (_a) {
671
670
  var childrenIds = findAllChildrenCbIds(blockStructure, block.blockId).map(function (i) { return i.toString(); });
672
671
  var groupItem = getBoundingArea(layout, childrenIds);
673
672
  if (!groupItem) {
674
- console.log('no -group-item, blockid: ', block.blockId);
675
673
  return _jsx(_Fragment, {});
676
674
  }
677
675
  var zOrder = (_a = block[device === 'DESKTOP' ? 'zOrderDesktopInternal' : 'zOrderMobileInternal']) !== null && _a !== void 0 ? _a : 0;
@@ -685,7 +683,7 @@ var ReactGridLayout = function (_a) {
685
683
  return zIndexMap.EDITING_GROUP;
686
684
  }
687
685
  if (isBulk) {
688
- return zIndexMap.EDITING_GROUP_CHILD + zOrder;
686
+ return zIndexMap.EDITING_GROUP_CHILD + groupItem.z;
689
687
  }
690
688
  if (isInBulk) {
691
689
  // 위와 같지만 이것은 not-editable이긴 함.
@@ -741,7 +739,6 @@ var ReactGridLayout = function (_a) {
741
739
  var currentGroupBlocks = blockStructure
742
740
  ? findGroupBlocks(blockStructure, editingGroupBlock)
743
741
  : [];
744
- console.log('currentGroupBlocks', currentGroupBlocks);
745
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: {
746
743
  marginTop: margin[1] + 'px',
747
744
  marginBottom: margin[1] + 'px',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "publ-echo-test",
3
- "version": "0.0.170",
3
+ "version": "0.0.172",
4
4
  "private": false,
5
5
  "main": "dist/lib/index.js",
6
6
  "types": "dist/lib/index.d.js",