publ-echo-test 0.0.312 → 0.0.313
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.
@@ -139,7 +139,7 @@ var GridItem = function (_a) {
|
|
139
139
|
var callback = function (mutationsList) {
|
140
140
|
for (var _i = 0, mutationsList_2 = mutationsList; _i < mutationsList_2.length; _i++) {
|
141
141
|
var mutation = mutationsList_2[_i];
|
142
|
-
|
142
|
+
// const isInitial = mutation.attributeName === "data-is-initialized";
|
143
143
|
var isSizeChanged = mutation.attributeName === "data-min-width" ||
|
144
144
|
mutation.attributeName === "data-min-height";
|
145
145
|
var keepWidth = true;
|
@@ -168,8 +168,11 @@ var GridItem = function (_a) {
|
|
168
168
|
var insetTop = Number(mutation.target.getAttribute("data-inset-top"));
|
169
169
|
var insetBottom = Number(mutation.target.getAttribute("data-inset-bottom"));
|
170
170
|
var compositionCols = Number(oneComposition.getAttribute("data-cols"));
|
171
|
-
|
171
|
+
// const compositionRows = Number(
|
172
|
+
// oneComposition.getAttribute("data-rows")!
|
173
|
+
// );
|
172
174
|
var oneCompositionMinWidth = minCellWidth * compositionCols + 20; /* 20px padding */
|
175
|
+
console.log("compositionCols", compositionCols);
|
173
176
|
// let oneCompositionMinHeight =
|
174
177
|
// minColHeight * compositionRows + 20; /* 20px padding */
|
175
178
|
if (contentsWrapper) {
|
@@ -196,6 +199,8 @@ var GridItem = function (_a) {
|
|
196
199
|
(numberOfColumns - 1) * columnGap +
|
197
200
|
paddingLR +
|
198
201
|
compositionWrapperPaddingLR;
|
202
|
+
console.log("oneCompositionMinWidth", oneCompositionMinWidth);
|
203
|
+
console.log("cols", numberOfColumns);
|
199
204
|
var gridWrapperTotalH = gridWrapperInnerH + insetTop + insetBottom;
|
200
205
|
var listMinHeight = oneCompositionMinHeight * numberOfRows +
|
201
206
|
(numberOfRows - 1) * rowGap +
|