publ-echo-test 0.0.236 → 0.0.238

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.
@@ -220,6 +220,7 @@ var GridItem = function (_a) {
220
220
  var minHeight = Number((_e = (_d = targetNode.dataset) === null || _d === void 0 ? void 0 : _d.minHeight) !== null && _e !== void 0 ? _e : 0);
221
221
  var insetTop = Number(targetNode.dataset['data-inset-top']);
222
222
  var insetBottom = Number(targetNode.dataset['data-inset-bottom']);
223
+ console.log(targetNode.dataset);
223
224
  var _f = calcWH(getPositionParams(), {
224
225
  width: minWidth,
225
226
  height: minHeight + insetTop + insetBottom,
@@ -239,7 +240,7 @@ var GridItem = function (_a) {
239
240
  console.log('call onfitToContent');
240
241
  props.onFitToContent &&
241
242
  props.onFitToContent(i, w, h, x, y, { hasPaddingChanged: false });
242
- }, [isSelected, autoResize, props.onFitToContent]);
243
+ }, []);
243
244
  // const moveDroppingItem = (prevProps: GridItemProps) => {
244
245
  // const { droppingPosition } = props;
245
246
  // if (!droppingPosition) return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "publ-echo-test",
3
- "version": "0.0.236",
3
+ "version": "0.0.238",
4
4
  "private": false,
5
5
  "main": "dist/lib/index.js",
6
6
  "types": "dist/lib/index.d.js",