pds-dev-kit-web-test 0.3.3 → 0.3.4
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.
- package/dist/src/sub/DynamicLayout/components/EditModeSectionMatcher/SectionBox.js +4 -2
- package/dist/src/sub/DynamicLayout/pagesPreviewMock.d.ts +790 -2
- package/dist/src/sub/DynamicLayout/pagesPreviewMock.js +1988 -1202
- package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.js +1 -3
- package/package.json +1 -1
- package/release-note.md +2 -4
|
@@ -90,8 +90,7 @@ function CustomSection(props) {
|
|
|
90
90
|
}), rows = _g.rows, width = _g.width, minHeight = _g.minHeight, isFullWidth = _g.isFullWidth;
|
|
91
91
|
var customSectionStyles = {
|
|
92
92
|
minHeight: "".concat(minHeight, "vh"),
|
|
93
|
-
width: '100%',
|
|
94
|
-
maxWidth: isFullWidth ? '' : "".concat(width, "px")
|
|
93
|
+
width: isFullWidth ? '100%' : "".concat(width, "px")
|
|
95
94
|
};
|
|
96
95
|
var breakpoint = device === 'MOBILE' ? 'sm' : 'lg';
|
|
97
96
|
var onClickCB = function (id) {
|
|
@@ -205,7 +204,6 @@ function CustomSection(props) {
|
|
|
205
204
|
paddingLeft: padding.left
|
|
206
205
|
} }, { children: (0, jsx_runtime_1.jsx)(Responsive, __assign({ allowOverlap: true, layouts: { lg: layouts.lg, sm: layouts.sm }, resizeHandles: ['nw', 'e', 'n', 'ne', 's', 'se', 'sw', 'w'], breakpoints: breakpoints, breakpoint: breakpoint, cols: { lg: 24, sm: 8 }, rowHeight: rowHeight, margin: [10, 10], style: {
|
|
207
206
|
width: customSectionStyles.width,
|
|
208
|
-
maxWidth: customSectionStyles.maxWidth,
|
|
209
207
|
minWidth: isMobile ? GLE_MIN_WIDTH_MOBILE_PX : GLE_MIN_WIDTH_DESKTOP_PX,
|
|
210
208
|
fontSize: "".concat(baseFontSize, "px")
|
|
211
209
|
}, onLayoutChange: onLayoutChange, onDragStop: onDragStop, onResizeStop: onResizeStop, onWidthChange: onWidthChange, minNbRow: rows, isDraggable: isEditMode, isResizable: isEditMode }, { children: (componentBlocks === null || componentBlocks === void 0 ? void 0 : componentBlocks.length) ? (componentBlocks.map(function (each) { return ((0, jsx_runtime_1.jsx)("div", __assign({ className: selectedCB === each.id ? 'react-grid-item-selected' : '' }, { children: (0, jsx_runtime_1.jsx)("div", __assign({ style: {
|
package/package.json
CHANGED
package/release-note.md
CHANGED