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.
- package/dist/src/desktop/components/DesktopAlertDialog/DesktopAlertDialog.js +6 -13
- package/dist/src/desktop/components/TextButton/TextButton.d.ts +3 -2
- package/dist/src/desktop/components/TextButton/TextButton.js +15 -2
- package/dist/src/sub/DynamicLayout/pagesPreviewMock.d.ts +817 -0
- package/dist/src/sub/DynamicLayout/pagesPreviewMock.js +1424 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.js +4 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Embed/Embed.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Embed/constant.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Embed/constant.js +7 -2
- package/package.json +1 -1
- package/release-note.md +6 -7
- package/webhook/node_modules/esrecurse/.babelrc +3 -0
|
@@ -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
|
|
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:
|
|
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
|
|
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.
|
|
4
|
-
exports.
|
|
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
package/release-note.md
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
#
|
|
2
|
-
## [
|
|
3
|
-
##
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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
|
+
* 반응형 폰트 사이즈 적용
|