publ-echo-test 0.0.373 → 0.0.374
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.
|
@@ -22,6 +22,7 @@ export function GridBackgroundPlaceholder(_a) {
|
|
|
22
22
|
? !!(activeBlock === null || activeBlock === void 0 ? void 0 : activeBlock.isHeightVariableDesktop)
|
|
23
23
|
: !!(activeBlock === null || activeBlock === void 0 ? void 0 : activeBlock.isHeightVariableMobile);
|
|
24
24
|
var showActiveRows = !!activeDrag.heightFitContent || isHeightVariable;
|
|
25
|
+
console.log("activeBlock in placeholder", activeBlock);
|
|
25
26
|
return (_jsx("div", { className: "grid-placeholder", style: {
|
|
26
27
|
marginTop: margin[1] + "px",
|
|
27
28
|
marginBottom: margin[1] + "px",
|
|
@@ -771,6 +771,8 @@ var ReactGridLayout = function (_a) {
|
|
|
771
771
|
var activeRowsFiltered = shouldShowAllHeightVariableRows
|
|
772
772
|
? heightVariableRows
|
|
773
773
|
: activeRows;
|
|
774
|
+
console.log("activeBlock", activeBlock);
|
|
775
|
+
console.log("activeRowsFiltered", activeRowsFiltered);
|
|
774
776
|
return (_jsxs("div", { ref: innerRef, className: mergedClassName, style: mergedStyle, onDrop: isDroppable ? onDropHandler : noop, onDragLeave: isDroppable ? onDragLeaveHandler : noop, onDragEnter: isDroppable ? onDragEnterHandler : noop, onDragOver: isDroppable ? onDragOverHandler : noop, "data-grid-row-height": rowHeight, "data-grid-cols": cols, "data-section-id": sectionId, children: [currentGroupBlocks.map(function (each) { return processGroup(each); }), React.Children.map(children, function (child) { return processGridItem(child); }), placeholder(), activeDrag && _jsx("div", { className: "grid-guide-line-center" }), activeDragItemOrSelectedItem && (_jsx(GridBackgroundPlaceholder, { device: device, backgroundWidth: getBackgroundWidth(), backgroundHeight: getBackgroundHeight(), margin: margin,
|
|
775
777
|
// width={width}
|
|
776
778
|
rowHeight: rowHeight, activeRows: activeRowsFiltered !== null && activeRowsFiltered !== void 0 ? activeRowsFiltered : [], colWidth: colWidth, activeDrag: activeDragItemOrSelectedItem, activeBlock: activeBlock, selectedBlockId: selectedBlockId, totalCols: cols }))] }));
|