publ-echo-test 0.0.270 → 0.0.271

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.
@@ -147,11 +147,11 @@ var Resizable = function (_a) {
147
147
  // minColHeight * compositionRows + 20; /* 20px padding */
148
148
  var contentsWrapper = placeholder.querySelector(".cb-contentslist-wrapper");
149
149
  if (contentsWrapper) {
150
- var wrapperH = contentsWrapper.clientHeight;
151
- var tempCompositionH = oneComposition.clientHeight;
150
+ var gridWrapperInnerH = contentsWrapper.clientHeight;
151
+ var oneCompositionH = oneComposition.clientHeight;
152
152
  var CompositionBGwrapperPaddingT = Number(oneComposition.getAttribute("data-wrapper-paddingT"));
153
153
  var CompositionBGwrapperPaddingB = Number(oneComposition.getAttribute("data-wrapper-paddingB"));
154
- var oneCompositionMinHeight = tempCompositionH +
154
+ var oneCompositionMinHeight = oneCompositionH +
155
155
  CompositionBGwrapperPaddingT +
156
156
  CompositionBGwrapperPaddingB;
157
157
  var styles = getComputedStyle(target);
@@ -165,18 +165,15 @@ var Resizable = function (_a) {
165
165
  (numberOfColumns - 1) * columnGap +
166
166
  paddingLR;
167
167
  var numberOfRows = Math.ceil(numberOfItems / numberOfColumns);
168
+ var gridWrapperTotalH = gridWrapperInnerH + paddingTB;
168
169
  var listMinHeight = oneCompositionMinHeight * numberOfRows +
169
170
  (numberOfRows - 1) * rowGap +
170
171
  paddingTB +
171
172
  insetTop +
172
173
  insetBottom;
173
- console.log("listMinHeight", listMinHeight);
174
- console.log("wrapperH", wrapperH);
175
- console.log("onecompositionmin H", oneCompositionMinHeight);
176
- console.log("paddingTB", paddingTB);
177
- console.log("insetTop", insetTop);
178
- console.log("insetBottom", insetBottom);
179
- if (listMinHeight > wrapperH) {
174
+ console.log("grdwrapperTotalH", gridWrapperTotalH);
175
+ console.log("listminheight", listMinHeight);
176
+ if (listMinHeight > gridWrapperTotalH) {
180
177
  minHeight.current = listMinHeight;
181
178
  }
182
179
  minWidth.current = listMinWidth;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "publ-echo-test",
3
- "version": "0.0.270",
3
+ "version": "0.0.271",
4
4
  "private": false,
5
5
  "main": "dist/lib/index.js",
6
6
  "types": "dist/lib/index.d.js",