publ-echo-test 0.0.157 → 0.0.159

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.
@@ -447,16 +447,23 @@ var GroupItem = function (_a) {
447
447
  }
448
448
  // 현재 마우스 위치에서 실제 요소 찾기
449
449
  var underlyingElement = document.elementFromPoint(e.clientX, e.clientY);
450
- console.log(underlyingElement);
451
450
  // pointer-events 복구
452
451
  if (elementRef.current) {
453
452
  elementRef.current.style.pointerEvents = 'auto';
454
453
  }
454
+ document.querySelectorAll('.cb-layout-box.hovered').forEach(function (el) {
455
+ el.classList.remove('hovered');
456
+ });
455
457
  if (underlyingElement &&
456
458
  underlyingElement.classList.contains('cb-layout-box')) {
457
459
  underlyingElement.classList.add('hovered');
458
460
  }
459
461
  },
462
+ onMouseLeave: function () {
463
+ document.querySelectorAll('.cb-layout-box.hovered').forEach(function (el) {
464
+ el.classList.remove('hovered');
465
+ });
466
+ },
460
467
  });
461
468
  // newChild = mixinResizable(newChild, pos, isResizable);
462
469
  newChild = mixinDraggable(newChild, isDraggable);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "publ-echo-test",
3
- "version": "0.0.157",
3
+ "version": "0.0.159",
4
4
  "private": false,
5
5
  "main": "dist/lib/index.js",
6
6
  "types": "dist/lib/index.d.js",