pds-dev-kit-web-test 2.5.631 → 2.5.634
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.
@@ -205,7 +205,7 @@ var Composition = (0, react_1.forwardRef)(function CustomSection(props, ref) {
|
|
205
205
|
return ((0, jsx_runtime_1.jsx)(ErrorBoundary_1.ErrorBoundary, { children: (0, jsx_runtime_1.jsx)(FlexGridItem_1.default, { cb: cb, index: index, device: device, rowHeight: rowHeight, zIndex: (_a = zOrders === null || zOrders === void 0 ? void 0 : zOrders[device === 'DESKTOP' ? 'desktop' : 'mobile'][cb.id]) !== null && _a !== void 0 ? _a : 0 }) }, cb.id));
|
206
206
|
}) })) })) })) })) })) }));
|
207
207
|
});
|
208
|
-
var GridContainer = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: grid; /* Space between grid items */\n gap: 10px;\n /* grid-auto-rows: minmax(", ", auto); */\n grid-template-columns: repeat(", ", 1fr);\n grid-template-rows: repeat(\n ", ",\n minmax(", ",
|
208
|
+
var GridContainer = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: grid; /* Space between grid items */\n gap: 10px;\n /* grid-auto-rows: minmax(", ", auto); */\n grid-template-columns: repeat(", ", 1fr);\n grid-template-rows: repeat(\n ", ",\n minmax(", ", auto)\n );\n height: 100%;\n padding: 10px 10px;\n width: 100%;\n\n * {\n box-sizing: border-box;\n }\n"], ["\n display: grid; /* Space between grid items */\n gap: 10px;\n /* grid-auto-rows: minmax(", ", auto); */\n grid-template-columns: repeat(", ", 1fr);\n grid-template-rows: repeat(\n ", ",\n minmax(", ", auto)\n );\n height: 100%;\n padding: 10px 10px;\n width: 100%;\n\n * {\n box-sizing: border-box;\n }\n"])), function (props) { return "".concat(props.rowHeight, "px"); }, function (props) { return props.cols; }, function (props) { return props.sectionRow; }, function (props) { return "".concat(props.rowHeight, "px"); });
|
209
209
|
var S_COMPOSITIONWrapper = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n position: relative;\n"], ["\n position: relative;\n"])));
|
210
210
|
exports.default = react_1.default.memo(Composition);
|
211
211
|
function getDefensiveFontSize(device, width) {
|
@@ -56,9 +56,9 @@ function parsePropPlacement(props, id, cbCode, zOrders, cbRestriction) {
|
|
56
56
|
};
|
57
57
|
}
|
58
58
|
var AUTO_RESIZE_CODES = [
|
59
|
-
types_1.CB_ALL_CODES.CB_TEXT
|
60
|
-
|
61
|
-
|
62
|
-
|
59
|
+
types_1.CB_ALL_CODES.CB_TEXT
|
60
|
+
// CB_ALL_CODES.CB_LIST,
|
61
|
+
// CB_ALL_CODES.CB_CONTENTSCAROUSEL,
|
62
|
+
// CB_ALL_CODES.CB_SLIDEBANNER
|
63
63
|
];
|
64
64
|
exports.default = parsePlacement;
|