pds-dev-kit-web-test 2.5.422 → 2.5.424

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.
@@ -86,10 +86,11 @@ function ContentsList(props) {
86
86
  var numberOfItems = itemCounts;
87
87
  var numberOfColumns = CB_CONTENT_PROP_CONTENTSLIST_SPEC_COLUMNS;
88
88
  // NOTE: edit환경에서 hover가 작동하지 않아서 제외함 필요시 추가..
89
- var rowGap = device === 'DESKTOP'
89
+ var columnGapEnum = device === 'DESKTOP'
90
90
  ? CB_STYLE_PROP_CONTENTSLIST.CB_STYLE_PROP_CONTENTSLIST_SPEC_ITEMSPACING
91
91
  : (_a = CB_STYLE_PROP_CONTENTSLIST['CB_STYLE_PROP_CONTENTSLIST_SPEC_ITEMSPACING:MOBILE']) !== null && _a !== void 0 ? _a : CB_STYLE_PROP_CONTENTSLIST.CB_STYLE_PROP_CONTENTSLIST_SPEC_ITEMSPACING;
92
- var columnGap = device === 'DESKTOP'
92
+ var columnGap = columnGapEnum === 'NARROW' ? 8 : columnGapEnum === 'NORMAL' ? 24 : 36;
93
+ var rowGap = device === 'DESKTOP'
93
94
  ? CB_STYLE_PROP_CONTENTSLIST.CB_STYLE_PROP_CONTENTSLIST_SPEC_ITEMLINEHEIGHT
94
95
  : (_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;
95
96
  var standardComposition = getStandardComposition(compositions, CB_CONTENT_PROP_CONTENTSLIST_SPEC_VALUETYPE);
@@ -101,9 +102,7 @@ function ContentsList(props) {
101
102
  var paddingTB = CB_LAYOUT_PROP_PADDING.CB_LAYOUT_PROP_PADDING_SPEC_PADDING.top +
102
103
  CB_LAYOUT_PROP_PADDING.CB_LAYOUT_PROP_PADDING_SPEC_PADDING.bottom;
103
104
  var numberOfRows = Math.ceil(numberOfItems / numberOfColumns);
104
- var listMinWidth = oneCompositionMinWidth * numberOfColumns +
105
- (numberOfColumns - 1) * columnGap +
106
- paddingLR;
105
+ var listMinWidth = oneCompositionMinWidth * numberOfColumns + (numberOfColumns - 1) * columnGap + paddingLR;
107
106
  var listMinHeight = oneCompositionMinHeight * numberOfRows +
108
107
  (numberOfRows - 1) * rowGap +
109
108
  paddingTB;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web-test",
3
- "version": "2.5.422",
3
+ "version": "2.5.424",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",
@@ -23,7 +23,7 @@
23
23
  "lottie-react": "^2.3.1",
24
24
  "nuka-carousel": "^4.8.4",
25
25
  "publ-echo": "^0.0.118",
26
- "publ-echo-test": "^0.0.219",
26
+ "publ-echo-test": "^0.0.220",
27
27
  "react-hook-form": "^7.28.1",
28
28
  "react-i18next": "^11.12.0",
29
29
  "react-router-dom": "^5.2.0",