publ-echo-test 0.0.186 → 0.0.188

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.
@@ -36,7 +36,6 @@ var GridItem = function (_a) {
36
36
  var _o = useState(), dragStart = _o[0], setDragStart = _o[1];
37
37
  var _p = useState(false), isDragging = _p[0], setIsDragging = _p[1];
38
38
  var _q = useState(false), isResizing = _q[0], setIsResizing = _q[1];
39
- var _r = useState(false), pointerEventsNone = _r[0], setPointerEventsNone = _r[1];
40
39
  var elementRef = useRef(null);
41
40
  var isSelected = (_b = elementRef.current) === null || _b === void 0 ? void 0 : _b.classList.contains('react-grid-item-selected');
42
41
  useEffect(function () {
@@ -56,6 +55,7 @@ var GridItem = function (_a) {
56
55
  var callback = function (mutationsList) {
57
56
  for (var _i = 0, mutationsList_1 = mutationsList; _i < mutationsList_1.length; _i++) {
58
57
  var mutation = mutationsList_1[_i];
58
+ console.log(mutation);
59
59
  var isCharacterChanged = mutation.type === 'characterData';
60
60
  var keepWidth = true;
61
61
  var hasPaddingChanged = false;
@@ -95,6 +95,7 @@ var GridItem = function (_a) {
95
95
  h_1 = prevH;
96
96
  }
97
97
  var _b = getResizableXYPosition('e', w_1, h_1, prevW, prevH), newX = _b.newX, newY = _b.newY;
98
+ console.log('character-changed', isCharacterChanged);
98
99
  if (prevH === h_1 && prevW === w_1 && newX === x && newY === y) {
99
100
  return;
100
101
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "publ-echo-test",
3
- "version": "0.0.186",
3
+ "version": "0.0.188",
4
4
  "private": false,
5
5
  "main": "dist/lib/index.js",
6
6
  "types": "dist/lib/index.d.js",