publ-echo-test 0.0.151 → 0.0.153

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.
@@ -437,6 +437,25 @@ var GroupItem = function (_a) {
437
437
  onContextMenu: function (e) {
438
438
  onContextGroup(e);
439
439
  },
440
+ onMouseDown: function (e) {
441
+ if (isDragging || isResizing) {
442
+ return;
443
+ }
444
+ // 일시적으로 pointer-events 비활성화
445
+ if (elementRef.current) {
446
+ elementRef.current.style.pointerEvents = 'none';
447
+ }
448
+ // 현재 마우스 위치에서 실제 요소 찾기
449
+ var underlyingElement = document.elementFromPoint(e.clientX, e.clientY);
450
+ // pointer-events 복구
451
+ if (elementRef.current) {
452
+ elementRef.current.style.pointerEvents = 'auto';
453
+ }
454
+ if (underlyingElement &&
455
+ underlyingElement.classList.contains('react-grid-item')) {
456
+ underlyingElement.classList.add('hovered');
457
+ }
458
+ },
440
459
  });
441
460
  // newChild = mixinResizable(newChild, pos, isResizable);
442
461
  newChild = mixinDraggable(newChild, isDraggable);
@@ -567,7 +567,8 @@ 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;
570
+ // return zIndexMap.EDITING_GROUP_CHILD + z;
571
+ return z;
571
572
  }
572
573
  if (!isRoot && editable) {
573
574
  return zIndexMap.EDITING_GROUP_CHILD + z;
@@ -13,8 +13,8 @@ export var zIndexMap = {
13
13
  EDITING_GROUP_CHILD: 10000,
14
14
  EDITING_GROUP: 9000,
15
15
  GROUP: 5000,
16
- CB: 500,
17
- ROOT: 500, //?
16
+ CB: 0,
17
+ ROOT: 0, //?
18
18
  };
19
19
  export function getBlockSpecificType(block) {
20
20
  if (block.blockId === 'ROOT') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "publ-echo-test",
3
- "version": "0.0.151",
3
+ "version": "0.0.153",
4
4
  "private": false,
5
5
  "main": "dist/lib/index.js",
6
6
  "types": "dist/lib/index.d.js",