pds-dev-kit-web-test 0.3.69 → 0.3.70

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.
@@ -360,7 +360,8 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
360
360
  if (device === 'MOBILE') {
361
361
  var cellWidth_1 = width / MOBILE_GRID_COLS;
362
362
  setRowHeight(cellWidth_1 * 0.56);
363
- baseFontSize !== 16 && setBaseFontSize(16);
363
+ // baseFontSize !== 16 && setBaseFontSize(16);
364
+ setBaseFontSize(cellWidth_1 / 2.35);
364
365
  return;
365
366
  }
366
367
  var cellWidth = width / DESKTOP_GRID_COLS;
@@ -403,6 +404,8 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
403
404
  }
404
405
  makeCollisionOfBulk();
405
406
  };
407
+ // eslint-disable-next-line no-console
408
+ console.log(baseFontSize);
406
409
  return ((0, jsx_runtime_1.jsx)(ErrorBoundary_1.ErrorBoundary, { children: (0, jsx_runtime_1.jsx)(S_gleStyles, { children: (0, jsx_runtime_1.jsx)(S_SectionWrapper, __assign({ ref: gleRef, "x-dlayout-section-type": "NO_NAME", onClick: onClickSection }, { children: (0, jsx_runtime_1.jsx)(components_1.CustomSection, __assign({}, props, { isMobile: isMobile, overrideStyles: {
407
410
  minHeight: customSectionStyles.minHeight,
408
411
  paddingTop: padding.top,
@@ -42,7 +42,7 @@ function Embed(props) {
42
42
  : CB_EFFECT_PROP_ENTANIM['CB_EFFECT_PROP_ENTANIM_SPEC_TYPE:MOBILE'] === 'NONE';
43
43
  var hasEffect = !isNoneEffectType;
44
44
  var effectVisibleStyle = hasEffect ? { opacity: isVisible ? 1 : 0 } : {};
45
- var iframeAllowed = window.location.hostname !== constant_1.EMBED_DENIED_HOST;
46
- return ((0, jsx_runtime_1.jsx)(S_CB_AnimationObserverBox_1.S_CB_AnimationObserverBox, __assign({ ref: hasEffect ? cbRef : null, effectVisibleStyle: effectVisibleStyle }, { children: (0, jsx_runtime_1.jsx)(S_CB_BoxWithShadow_1.S_CB_BoxWithShadow, __assign({ className: "cb-layout-box", normalStyle: __assign(__assign(__assign(__assign({}, style), layout), effectCssProperties), editModeStyle), hoverStyle: hoverStyle, cbStylePropsShadowSpecs: CB_STYLE_PROP_SHADOW, device: device }, { children: iframeAllowed ? ((0, jsx_runtime_1.jsx)(EmbedIframe_1.default, { embedCode: CB_CONTENT_PROP_CODEBLOCK_SPEC_CODE, style: layout })) : ((0, jsx_runtime_1.jsx)(IframeDenied_1.default, {})) })) })));
45
+ var iframeDenied = constant_1.EMBED_DENIED_HOSTS.includes(window.location.hostname);
46
+ return ((0, jsx_runtime_1.jsx)(S_CB_AnimationObserverBox_1.S_CB_AnimationObserverBox, __assign({ ref: hasEffect ? cbRef : null, effectVisibleStyle: effectVisibleStyle }, { children: (0, jsx_runtime_1.jsx)(S_CB_BoxWithShadow_1.S_CB_BoxWithShadow, __assign({ className: "cb-layout-box", normalStyle: __assign(__assign(__assign(__assign({}, style), layout), effectCssProperties), editModeStyle), hoverStyle: hoverStyle, cbStylePropsShadowSpecs: CB_STYLE_PROP_SHADOW, device: device }, { children: iframeDenied ? ((0, jsx_runtime_1.jsx)(IframeDenied_1.default, {})) : ((0, jsx_runtime_1.jsx)(EmbedIframe_1.default, { embedCode: CB_CONTENT_PROP_CODEBLOCK_SPEC_CODE, style: layout })) })) })));
47
47
  }
48
48
  exports.default = Embed;
@@ -1 +1 @@
1
- export declare const EMBED_DENIED_HOST = "app.publr.co";
1
+ export declare const EMBED_DENIED_HOSTS: string[];
@@ -1,4 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EMBED_DENIED_HOST = void 0;
4
- exports.EMBED_DENIED_HOST = 'app.publr.co';
3
+ exports.EMBED_DENIED_HOSTS = void 0;
4
+ exports.EMBED_DENIED_HOSTS = [
5
+ 'app.publr.co',
6
+ 'app.local.publr.co',
7
+ 'app.dev.publr.co',
8
+ 'app.qa.publr.co'
9
+ ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web-test",
3
- "version": "0.3.69",
3
+ "version": "0.3.70",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",
package/release-note.md CHANGED
@@ -1,7 +1,6 @@
1
- # PDS-DEV-KIT-WEB Release Notes
2
- ## [v2.2.57]
3
- ## daily|https://design.storybook.publ.biz/
4
-
5
- ### Component
6
- * BasicListItem
7
- * MainButton과 Switch 우측의 스페이싱 제거
1
+ # pds-dev-kit-web-test Release Notes
2
+ ## [v0.3.70]
3
+ ## 기준 pds-dev-kit-web 버전 @2.2.60
4
+ ### sub
5
+ * DynamicLayout
6
+ * 반응형 폰트 사이즈 적용
@@ -0,0 +1,3 @@
1
+ {
2
+ "presets": ["es2015"]
3
+ }