pds-dev-kit-web-test 2.5.560 → 2.5.562
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.
@@ -102,6 +102,7 @@ function ContentsList(props) {
|
|
102
102
|
: (_b = CB_STYLE_PROP_CONTENTSLIST['CB_STYLE_PROP_CONTENTSLIST_SPEC_ITEMLINEHEIGHT:MOBILE']) !== null && _b !== void 0 ? _b : CB_STYLE_PROP_CONTENTSLIST.CB_STYLE_PROP_CONTENTSLIST_SPEC_ITEMLINEHEIGHT;
|
103
103
|
var standardComposition = getStandardComposition(compositions, CB_CONTENT_PROP_CONTENTSLIST_SPEC_VALUETYPE);
|
104
104
|
var compositionMinValue = getCompositionMinValue(standardComposition, device);
|
105
|
+
console.log('compositionMinValue,', compositionMinValue);
|
105
106
|
var oneCompositionMinWidth = (_c = compositionMinValue === null || compositionMinValue === void 0 ? void 0 : compositionMinValue.minWidth) !== null && _c !== void 0 ? _c : 0;
|
106
107
|
var oneCompositionMinHeight = (_d = compositionMinValue === null || compositionMinValue === void 0 ? void 0 : compositionMinValue.minHeight) !== null && _d !== void 0 ? _d : 0;
|
107
108
|
var paddingLR = CB_LAYOUT_PROP_PADDING.CB_LAYOUT_PROP_PADDING_SPEC_PADDING.left +
|
@@ -110,6 +111,7 @@ function ContentsList(props) {
|
|
110
111
|
CB_LAYOUT_PROP_PADDING.CB_LAYOUT_PROP_PADDING_SPEC_PADDING.bottom;
|
111
112
|
var numberOfRows = Math.ceil(numberOfItems / numberOfColumns);
|
112
113
|
var listMinWidth = oneCompositionMinWidth * numberOfColumns + (numberOfColumns - 1) * columnGap + paddingLR;
|
114
|
+
console.log('oneCompositionMinWidth', oneCompositionMinWidth);
|
113
115
|
var listMinHeight = oneCompositionMinHeight * numberOfRows +
|
114
116
|
(numberOfRows - 1) * rowGap +
|
115
117
|
paddingTB;
|