pds-dev-kit-web-test 2.7.546 → 2.7.548

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.
@@ -75,8 +75,6 @@ var Responsive = (0, publ_echo_1.WidthProvider)(publ_echo_1.ResponsiveGridEditor
75
75
  var CompositionEditor = (0, react_1.forwardRef)(function CompositionEditorCanvas(props, ref) {
76
76
  var _a, _b, _c, _d;
77
77
  var _e = props.editorProps, device = _e.device, shortcutKeyMode = _e.shortcutKeyMode, placementRestriction = _e.placementRestriction, compositionActionHandler = _e.compositionActionHandler;
78
- // const GLE_MIN_WIDTH_DESKTOP_PX = `${GRID_CELL_MIN * cols}px`;
79
- // const GLE_MIN_WIDTH_MOBILE_PX = `${GRID_CELL_MIN * rows}px`;
80
78
  var editingSectionId = props.compositionData.id;
81
79
  var mode = 'EDIT';
82
80
  var _f = props.compositionData, componentBlocks = _f.componentBlocks, jsonProperties = _f.jsonProperties;
@@ -49,6 +49,11 @@ function CustomSectionBackground(_a) {
49
49
  var isBgMedia = getIsBgMedia(isMobile, CB_STYLE_PROP_BGMEDIA);
50
50
  var mediaType = getMediaType(isMobile, CB_STYLE_PROP_BGMEDIA);
51
51
  var _d = extractBorderStyle(style), borderStyleProps = _d.borderStyleProps, borderRadiusStyle = _d.borderRadiusStyle, remainingStyle = _d.remainingStyle;
52
+ if (id === 15772) {
53
+ console.log('style', data.CB_STYLE_PROP_BORDER);
54
+ console.log('jsonProperties', jsonProperties);
55
+ console.log('borderStyleProps', borderStyleProps);
56
+ }
52
57
  return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [isOverlay && CB_STYLE_PROP_BGOVERLAY && ((0, jsx_runtime_1.jsx)(S_CustomBackgroundOverlay, { className: "Overlay", style: __assign(__assign({}, overlayStyle), borderRadiusStyle) })), (0, jsx_runtime_1.jsx)(S_CustomBackgroundWrapper, __assign({ className: "CustomSection", ref: backgroundRef, style: __assign(__assign(__assign({}, effect), borderStyleProps), { background: style.background }) }, { children: isBgMedia && CB_STYLE_PROP_BGMEDIA && ((0, jsx_runtime_1.jsx)(CustomSectionBackgroundMedia_1.CustomSectionBackgroundMedia, { specs: CB_STYLE_PROP_BGMEDIA, componentStyle: remainingStyle, playerId: id, mediaType: mediaType || 'NONE', device: isMobile ? 'MOBILE' : 'DESKTOP', backgroundRef: backgroundRef })) }))] }));
53
58
  }
54
59
  function extractBorderStyle(style) {