publ-echo-test 0.0.36 → 0.0.37

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.
@@ -73,6 +73,7 @@ var GridItem = function (_a) {
73
73
  var paddingB = parseFloat(styles.paddingBottom);
74
74
  if (prevPaddingL !== paddingL || prevPaddingR !== paddingR || prevPaddingT !== paddingT || prevPaddingB !== paddingB) {
75
75
  hasPaddingChanged = true;
76
+ keepWidth = false;
76
77
  }
77
78
  }
78
79
  var prevW = props.w;
@@ -87,6 +88,7 @@ var GridItem = function (_a) {
87
88
  if (prevH > h_1) {
88
89
  h_1 = prevH;
89
90
  }
91
+ console.log('keep width?', keepWidth);
90
92
  var _b = getResizableXYPosition('e', w_1, h_1, prevW, prevH), newX = _b.newX, newY = _b.newY;
91
93
  if (prevH === h_1 && prevW === w_1 && newX === x && newY === y) {
92
94
  return;
@@ -56,7 +56,7 @@ var Resizable = function (_a) {
56
56
  var shouldShrinkRef = useRef(false);
57
57
  var minWidth = useRef(0);
58
58
  useEffect(function () {
59
- var _a, _b;
59
+ var _a;
60
60
  if (!autoResize) {
61
61
  return;
62
62
  }
@@ -81,8 +81,6 @@ var Resizable = function (_a) {
81
81
  else {
82
82
  extendedHeightRef.current = null;
83
83
  }
84
- console.log('startHeight', (_b = startSize.current) === null || _b === void 0 ? void 0 : _b.height);
85
- console.log('height', height);
86
84
  if (shouldShrinkRef.current && (target.clientHeight < elementRef.current.clientHeight)) {
87
85
  extendedHeightRef.current = target.clientHeight;
88
86
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "publ-echo-test",
3
- "version": "0.0.36",
3
+ "version": "0.0.37",
4
4
  "private": false,
5
5
  "main": "dist/lib/index.js",
6
6
  "types": "dist/lib/index.d.js",