pds-dev-kit-web-test 2.5.676 → 2.5.678

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.
@@ -140,8 +140,10 @@ function ContentsList(props) {
140
140
  var isMobile = device === 'MOBILE';
141
141
  var isBgMedia = getIsBgMedia(isMobile, CB_STYLE_PROP_BGMEDIA);
142
142
  var mediaType = getMediaType(isMobile, CB_STYLE_PROP_BGMEDIA);
143
- var queryLength = (_f = (_e = queryData === null || queryData === void 0 ? void 0 : queryData[CB_CONTENT_PROP_CONTENTSLIST_SPEC_CONNECTDATA]) === null || _e === void 0 ? void 0 : _e.length) !== null && _f !== void 0 ? _f : 0;
143
+ var queryPath = removeFirstSegment(CB_CONTENT_PROP_CONTENTSLIST_SPEC_CONNECTDATA);
144
+ 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;
144
145
  var displayedItemLength = Math.max(0, Math.min(endIndex, queryLength) - startIndex);
146
+ console.log('displayedItemLength', displayedItemLength);
145
147
  return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [Object.entries(componentGroups).map(function (_a) {
146
148
  var position = _a[0], groupComponents = _a[1];
147
149
  return ((0, jsx_runtime_1.jsx)("div", __assign({ className: "cb-contentslist-button-group", ref: function (el) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web-test",
3
- "version": "2.5.676",
3
+ "version": "2.5.678",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",