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

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,12 +360,14 @@ 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;
367
368
  setRowHeight(cellWidth * 0.56);
368
369
  responsiveFontMode ? setBaseFontSize(cellWidth / 2.35) : setBaseFontSize(16);
370
+ // setBaseFontSize(cellWidth / 2.35);
369
371
  };
370
372
  var padding = (0, parseSectionPadding_1.default)(CB_LAYOUT_PROP_PADDING, device);
371
373
  var breakpoints = device === 'DESKTOP' ? { lg: 100, sm: 0 } : { lg: 1200, sm: 480 };
@@ -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
+ ];
@@ -56,7 +56,7 @@ function Text(props) {
56
56
  : CB_EFFECT_PROP_ENTANIM['CB_EFFECT_PROP_ENTANIM_SPEC_TYPE:MOBILE'] === 'NONE';
57
57
  var hasEffect = !isNoneEffectType;
58
58
  var effectVisibleStyle = hasEffect ? { opacity: isVisible ? 1 : 0 } : {};
59
- return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [isEditModeAndHidden && (0, jsx_runtime_1.jsx)(S_HiddenCover_1.S_HiddenCover, {}), (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_Box_1.S_CB_Box, __assign({ className: "cb-layout-box", normalStyle: __assign(__assign(__assign(__assign(__assign({}, textStyle), propsStyle), layoutStyle), effectCssProperties), { whiteSpace: 'pre-wrap', wordBreak: 'break-word', cursor: CLINKCursor }), hoverStyle: __assign(__assign(__assign({}, textHoverStyle), propsHoverStyle), { whiteSpace: 'pre-wrap', wordBreak: 'break-word' }), onClick: onClickCLINK }, { children: props.CB_CONTENT_PROP_TEXT.CB_CONTENT_PROP_TEXT_SPEC_TEXT })) }))] }));
59
+ return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [isEditModeAndHidden && (0, jsx_runtime_1.jsx)(S_HiddenCover_1.S_HiddenCover, {}), (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_Box_1.S_CB_Box, __assign({ className: "cb-layout-box", normalStyle: __assign(__assign(__assign(__assign(__assign({}, textStyle), propsStyle), layoutStyle), effectCssProperties), { whiteSpace: 'pre-wrap', wordBreak: 'break-word', cursor: CLINKCursor, height: 'fit-content' }), hoverStyle: __assign(__assign(__assign({}, textHoverStyle), propsHoverStyle), { whiteSpace: 'pre-wrap', wordBreak: 'break-word', height: 'fit-content' }), onClick: onClickCLINK }, { children: props.CB_CONTENT_PROP_TEXT.CB_CONTENT_PROP_TEXT_SPEC_TEXT })) }))] }));
60
60
  }
61
61
  function getTextStyles(props, device) {
62
62
  var availableSpecCodes = [
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.71",
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.45",
25
+ "publ-echo": "^0.0.54",
26
26
  "react-hook-form": "^7.28.1",
27
27
  "react-i18next": "^11.12.0",
28
28
  "react-router-dom": "^5.2.0",
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
+ * 텍스트 cb auto resize
@@ -0,0 +1,3 @@
1
+ {
2
+ "presets": ["es2015"]
3
+ }