pds-dev-kit-web-test 2.7.582 → 2.7.584

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.
@@ -184,9 +184,7 @@ function ContentsList(props) {
184
184
  display: layout.display,
185
185
  flexDirection: layout.flexDirection,
186
186
  justifyContent: layout.justifyContent
187
- } }, { children: (0, jsx_runtime_1.jsx)(S_ContentsListWrapper, __assign({ className: "cb-contentslist-wrapper", ccbInset: ccbInset, contentPropCss: contentPropCss, stylePropCss: isHovered ? hoverStylePropCss : stylePropCss,
188
- // NOTE: 위 CSS 프롭과 정리
189
- style: { gridTemplateRows: "repeat(".concat(numberOfRows, ", 1fr)") } }, { children: (0, createCompositions_1.createCompositions)({
187
+ } }, { children: (0, jsx_runtime_1.jsx)(S_ContentsListWrapper, __assign({ className: "cb-contentslist-wrapper", ccbInset: ccbInset, contentPropCss: contentPropCss, stylePropCss: isHovered ? hoverStylePropCss : stylePropCss }, { children: (0, createCompositions_1.createCompositions)({
190
188
  valueType: CB_CONTENT_PROP_CONTENTSLIST_SPEC_VALUETYPE,
191
189
  queryPath: queryPath,
192
190
  limit: CB_CONTENT_PROP_CONTENTSLIST_SPEC_ITEMCOUNTS,
@@ -75,9 +75,10 @@ exports.parseGridStyleProp = parseGridStyleProp;
75
75
  function parseGridContentProp(_a) {
76
76
  var props = _a.props, device = _a.device;
77
77
  var availableSpecCodes = Object.keys(props).filter(function (key) { return !key.includes(':HOVER') && !key.includes(':MOBILE'); });
78
- var displayCounts = props.CB_CONTENT_PROP_CONTENTSLIST_SPEC_DISPLAYCOUNTS ||
79
- props.CB_CONTENT_PROP_CONTENTSLIST_SPEC_ITEMCOUNTS ||
80
- 1;
78
+ var displayCountsByDevice = device === 'DESKTOP'
79
+ ? props.CB_CONTENT_PROP_CONTENTSLIST_SPEC_DISPLAYCOUNTS
80
+ : props.CB_CONTENT_PROP_CONTENTSLIST_SPEC_MDISPLAYCOUNTS;
81
+ var displayCounts = displayCountsByDevice || props.CB_CONTENT_PROP_CONTENTSLIST_SPEC_ITEMCOUNTS || 1;
81
82
  var columnsByDevice = device === 'DESKTOP'
82
83
  ? props.CB_CONTENT_PROP_CONTENTSLIST_SPEC_COLUMNS
83
84
  : props.CB_CONTENT_PROP_CONTENTSLIST_SPEC_MCOLUMNS;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web-test",
3
- "version": "2.7.582",
3
+ "version": "2.7.584",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",