pds-dev-kit-web-test 2.5.662 → 2.5.664
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.
@@ -195,7 +195,10 @@ var Composition = (0, react_1.forwardRef)(function CustomSection(props, ref) {
|
|
195
195
|
})();
|
196
196
|
return ((0, jsx_runtime_1.jsx)(ErrorBoundary_1.ErrorBoundary, { children: (0, jsx_runtime_1.jsx)(dynamicLayoutContext_1.dynamicLayoutContext.Provider, __assign({ value: {
|
197
197
|
device: device
|
198
|
-
} }, { children: (0, jsx_runtime_1.jsx)(gleStyles_1.S_gleStyles, __assign({ style: { width: '100%', height: '100%' } }, { children: (0, jsx_runtime_1.jsx)(S_COMPOSITIONWrapper, __assign({ ref: gleRef, "x-dlayout-section-type": "NO_NAME", onClick: onClickSection, style:
|
198
|
+
} }, { children: (0, jsx_runtime_1.jsx)(gleStyles_1.S_gleStyles, __assign({ style: __assign(__assign({ width: '100%', height: '100%' }, shadowStyles.style), borderStyles.style) }, { children: (0, jsx_runtime_1.jsx)(S_COMPOSITIONWrapper, __assign({ ref: gleRef, "x-dlayout-section-type": "NO_NAME", onClick: onClickSection, style: {
|
199
|
+
width: '100%',
|
200
|
+
height: '100%'
|
201
|
+
} }, { children: (0, jsx_runtime_1.jsx)(CompositionBackground_1.default, __assign({}, props, { isMobile: isMobile, overrideStyles: {
|
199
202
|
// minHeight: customSectionStyles.minHeight,
|
200
203
|
paddingTop: padding.top,
|
201
204
|
paddingBottom: padding.bottom,
|
@@ -27,7 +27,11 @@ function parseStylePropBorder(namedProps, device) {
|
|
27
27
|
var value = specs[baseKey];
|
28
28
|
var hoverValue = specs["".concat(baseKey, ":HOVER")];
|
29
29
|
var isRadius = cssPropertyKey === 'borderRadius';
|
30
|
-
console.log(cur);
|
30
|
+
console.log(cur, value);
|
31
|
+
console.log('namedProps', namedProps);
|
32
|
+
if (value === null || value === undefined) {
|
33
|
+
return acc;
|
34
|
+
}
|
31
35
|
if (isRadius) {
|
32
36
|
var _d = value, tl = _d.tl, tr = _d.tr, bl = _d.bl, br = _d.br;
|
33
37
|
var hoverValueTypeExpanded = hoverValue;
|