publ-echo-test 0.0.232 → 0.0.234

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.
@@ -528,7 +528,6 @@ var ReactGridLayout = function (_a) {
528
528
  if (!item) {
529
529
  return null;
530
530
  }
531
- console.log(l);
532
531
  return (_jsx(GridItem, { w: activeDrag.w, h: activeDrag.h, x: activeDrag.x, y: activeDrag.y, z: zIndexMap.ISDRAGGING, i: activeDrag.i, className: 'placeholder', containerWidth: width, cols: cols, margin: margin, containerPadding: containerPadding || margin, maxRows: maxRows, rowHeight: rowHeight, isDraggable: false, isResizable: false, isBounded: false, useCSSTransforms: useCSSTransforms, transformScale: transformScale, autoResize: !!l.autoResize, minH: l.minH, minW: l.minW, children: item && item }));
533
532
  };
534
533
  /**
@@ -544,7 +543,6 @@ var ReactGridLayout = function (_a) {
544
543
  if (!l) {
545
544
  return;
546
545
  }
547
- console.log('l from processgriditem', l);
548
546
  var draggable = typeof l.isDraggable === 'boolean'
549
547
  ? l.isDraggable
550
548
  : !l.static && isDraggable;
@@ -92,6 +92,8 @@ var Resizable = function (_a) {
92
92
  var numberOfColumns = Number(target.getAttribute('data-number-of-columns'));
93
93
  var rowGap = Number(target.getAttribute('data-row-gap'));
94
94
  var columnGap = Number(target.getAttribute('data-column-gap'));
95
+ var insetTop = Number(target.getAttribute('data-inset-top'));
96
+ var insetBottom = Number(target.getAttribute('data-inset-bottom'));
95
97
  var compositionCols = Number(oneComposition.getAttribute('data-cols'));
96
98
  var compositionRows = Number(oneComposition.getAttribute('data-rows'));
97
99
  var oneCompositionMinWidth = minCellWidth * compositionCols + 20 /* 20px padding */;
@@ -105,8 +107,7 @@ var Resizable = function (_a) {
105
107
  var paddingTB = paddingT + paddingB;
106
108
  var listMinWidth = oneCompositionMinWidth * numberOfColumns + (numberOfColumns - 1) * columnGap + paddingLR;
107
109
  var numberOfRows = Math.ceil(numberOfItems / numberOfColumns);
108
- var listMinHeight = oneCompositionMinHeight * numberOfRows + (numberOfRows - 1) * rowGap + paddingTB;
109
- console.log('listMinHeight', listMinHeight, 'listMinWidth', listMinWidth);
110
+ var listMinHeight = oneCompositionMinHeight * numberOfRows + (numberOfRows - 1) * rowGap + paddingTB + insetTop + insetBottom;
110
111
  minWidth.current = listMinWidth;
111
112
  minHeight.current = listMinHeight;
112
113
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "publ-echo-test",
3
- "version": "0.0.232",
3
+ "version": "0.0.234",
4
4
  "private": false,
5
5
  "main": "dist/lib/index.js",
6
6
  "types": "dist/lib/index.d.js",