publ-echo 0.0.53 → 0.0.54

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.
@@ -43,6 +43,7 @@ var GridItem = function (_a) {
43
43
  ref: elementRef,
44
44
  box: 'border-box',
45
45
  }, [isDragging, isResizing]), _r = _q.width, width = _r === void 0 ? 0 : _r, _s = _q.height, height = _s === void 0 ? 0 : _s, _t = _q.clientHeight, clientHeight = _t === void 0 ? 0 : _t, _u = _q.scrollHeight, scrollHeight = _u === void 0 ? 0 : _u, textContentHeight = _q.textContentHeight;
46
+ console.log(textContentHeight);
46
47
  // const moveDroppingItem = (prevProps: GridItemProps) => {
47
48
  // const { droppingPosition } = props;
48
49
  // if (!droppingPosition) return;
@@ -59,12 +59,9 @@ export function useResizeObserver(options, deps) {
59
59
  return;
60
60
  var placeholder = document.querySelector('.placeholder');
61
61
  if (!placeholder) {
62
- console.log('no-placeholder');
63
62
  return;
64
63
  }
65
- console.dir(placeholder);
66
64
  if (typeof window === 'undefined' || !('ResizeObserver' in window)) {
67
- console.log('no-observer');
68
65
  return;
69
66
  }
70
67
  var observer = new ResizeObserver(function (_a) {
@@ -106,6 +103,7 @@ export function useResizeObserver(options, deps) {
106
103
  observer.disconnect();
107
104
  };
108
105
  }, __spreadArray([box, ref, isMounted], deps, true));
106
+ console.log(size);
109
107
  return size;
110
108
  }
111
109
  function extractSize(entry, box, sizeType) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "publ-echo",
3
- "version": "0.0.53",
3
+ "version": "0.0.54",
4
4
  "private": false,
5
5
  "main": "dist/lib/index.js",
6
6
  "types": "dist/lib/index.d.js",