pds-dev-kit-web-test 2.7.449 → 2.7.452

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.
@@ -81,7 +81,7 @@ function ContentsList(props) {
81
81
  : CB_CONTENT_PROP_CONTENTSLIST_SPEC_MCOLUMNS;
82
82
  var displayCounts = device === 'DESKTOP'
83
83
  ? CB_CONTENT_PROP_CONTENTSLIST_SPEC_DISPLAYCOUNTS
84
- : CB_CONTENT_PROP_CONTENTSLIST_SPEC_MDISPLAYCOUNTS !== null && CB_CONTENT_PROP_CONTENTSLIST_SPEC_MDISPLAYCOUNTS !== void 0 ? CB_CONTENT_PROP_CONTENTSLIST_SPEC_MDISPLAYCOUNTS : CB_CONTENT_PROP_CONTENTSLIST_SPEC_MANUALITEMS.length;
84
+ : CB_CONTENT_PROP_CONTENTSLIST_SPEC_MDISPLAYCOUNTS;
85
85
  var totalPage = Math.ceil((CB_CONTENT_PROP_CONTENTSLIST_SPEC_VALUETYPE === 'DATA' && queryDataValue
86
86
  ? queryDataValue === null || queryDataValue === void 0 ? void 0 : queryDataValue.length
87
87
  : CB_CONTENT_PROP_CONTENTSLIST_SPEC_MANUALITEMS.length) / displayCounts);
@@ -137,8 +137,8 @@ function ContentsList(props) {
137
137
  CB_LAYOUT_PROP_PADDING.CB_LAYOUT_PROP_PADDING_SPEC_PADDING.bottom;
138
138
  var queryPath = removeFirstSegment(CB_CONTENT_PROP_CONTENTSLIST_SPEC_CONNECTDATA);
139
139
  var queryLength = (_f = (_e = queryData === null || queryData === void 0 ? void 0 : queryData[queryPath]) === null || _e === void 0 ? void 0 : _e.length) !== null && _f !== void 0 ? _f : 0;
140
- var displayedItemLength = Math.max(0, Math.min(endIndex, queryLength) - startIndex);
141
- var numberOfRows = Math.ceil(displayedItemLength / numberOfColumns);
140
+ // const displayedItemLength = Math.max(0, Math.min(endIndex, queryLength) - startIndex);
141
+ var numberOfRows = Math.ceil(displayCounts / numberOfColumns);
142
142
  var listMinWidth = oneCompositionMinWidth * numberOfColumns + (numberOfColumns - 1) * columnGap + paddingLR;
143
143
  var listMinHeight = oneCompositionMinHeight * numberOfRows +
144
144
  (numberOfRows - 1) * rowGap +
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web-test",
3
- "version": "2.7.449",
3
+ "version": "2.7.452",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",