pds-dev-kit-web-test 2.2.93 → 2.2.95

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.
@@ -408,6 +408,10 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
408
408
  if (!isEditMode) {
409
409
  return;
410
410
  }
411
+ if (selectedCB === 'group' || selectedCB === null) {
412
+ return;
413
+ }
414
+ // const selectedCBItem = layout.find((each) => each.i === selectedCB.toString());
411
415
  if (sectionActionHandler) {
412
416
  sectionActionHandler({
413
417
  type: '@CUSTOMSECTION/AUTO_RESIZED_TO_FIT_CONTENT',
@@ -31,12 +31,6 @@ var useMaxFontAdjustment = function (ref, cbFontSize, mode, device, rootBaseFont
31
31
  var isOverflow = contentHeight > height;
32
32
  var hasContentGap = p > ogRef.current;
33
33
  var isNextMin = fontSize <= minFontSize;
34
- console.log({
35
- contentHeight: contentHeight,
36
- height: height,
37
- ogPercent: ogRef.current,
38
- myP: p
39
- });
40
34
  if (isNextMin) {
41
35
  return;
42
36
  }
@@ -16,6 +16,10 @@ function parsePlacement(components) {
16
16
  var _a;
17
17
  var id = cur.id, jsonProperties = cur.jsonProperties, componentBlockCode = cur.componentBlockCode;
18
18
  var activeAutoResize = false;
19
+ // NOTE: 임시
20
+ if (componentBlockCode === types_1.CB_ALL_CODES.CB_TEXT) {
21
+ activeAutoResize = true;
22
+ }
19
23
  if (componentBlockCode === types_1.CB_ALL_CODES.CB_TEXT && ((_a = jsonProperties.data.CB_CONTENT_PROP_TEXTOPTION) === null || _a === void 0 ? void 0 : _a.CB_CONTENT_PROP_TEXTOPTION_SPEC_FITCONTENT)) {
20
24
  activeAutoResize = true;
21
25
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web-test",
3
- "version": "2.2.93",
3
+ "version": "2.2.95",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",
@@ -22,7 +22,7 @@
22
22
  "i18next-intervalplural-postprocessor": "^3.0.0",
23
23
  "lottie-react": "^2.3.1",
24
24
  "nuka-carousel": "^4.8.4",
25
- "publ-echo": "^0.0.80",
25
+ "publ-echo": "^0.0.82",
26
26
  "react-hook-form": "^7.28.1",
27
27
  "react-i18next": "^11.12.0",
28
28
  "react-router-dom": "^5.2.0",