pds-dev-kit-web-test 2.7.621 → 2.7.622
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.
|
@@ -1058,6 +1058,7 @@ var CompositionEditor = (0, react_1.forwardRef)(function CompositionEditorCanvas
|
|
|
1058
1058
|
}
|
|
1059
1059
|
var editableCBIDs = (0, group_1.findDirectChildrenCbIds)(newblock, editingGroupBlock);
|
|
1060
1060
|
var i18n = (0, react_i18next_1.useTranslation)('translation').i18n;
|
|
1061
|
+
console.log('selectedBlockId', selectedBlockId);
|
|
1061
1062
|
return ((0, jsx_runtime_1.jsx)(ErrorBoundary_1.ErrorBoundary, { children: (0, jsx_runtime_1.jsx)(dynamicLayoutContext_1.dynamicLayoutContext.Provider, __assign({ value: {
|
|
1062
1063
|
device: device,
|
|
1063
1064
|
mode: mode,
|
|
@@ -1075,10 +1076,7 @@ var CompositionEditor = (0, react_1.forwardRef)(function CompositionEditorCanvas
|
|
|
1075
1076
|
} }, { children: (0, jsx_runtime_1.jsx)(Responsive, __assign({ device: device, selectedBlockId: selectedBlockId, sectionId: props.compositionData.id.toString(), innerRef: innerRef, className: (0, clsx_1.clsx)({
|
|
1076
1077
|
'selected-grid-layout': editingSectionId === props.compositionData.id
|
|
1077
1078
|
}), allowOverlap: true, layouts: layouts, resizeHandles: ['nw', 'e', 'n', 'ne', 's', 'se', 'sw', 'w'], breakpoints: breakpoints, breakpoint: breakpoint, cols: { lg: colsDesktop, sm: colsMobile }, rowHeight: rowHeight, margin: [10, 10], style: {
|
|
1078
|
-
// minWidth: customSectionStyles.minWidth,
|
|
1079
|
-
// maxWidth: customSectionStyles.maxWidth,
|
|
1080
1079
|
width: customSectionStyles.width,
|
|
1081
|
-
// maxHeight: customSectionStyles.maxHeight,
|
|
1082
1080
|
fontSize: "".concat(16, "px")
|
|
1083
1081
|
}, onLayoutChange: onLayoutChange, onDragStart: onDragStart, onDragStop: onDragStop, onResizeStop: onResizeStop, onDragStopForGroup: onBulkDragStop, onFitToContent: onAutoFitContent, onWidthChange: onWidthChange, minNbRow: rows, isDraggable: isEditMode, isResizable: isEditMode, zoom: props.editorProps.zoomScale,
|
|
1084
1082
|
// GROUP
|