pds-dev-kit-web-test 0.3.70 → 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.
- package/dist/src/sub/DynamicLayout/pagesPreviewMock.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.js +1 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/Text.js +1 -1
- package/package.json +2 -2
- package/release-note.md +1 -1
|
@@ -6065,7 +6065,7 @@ exports.sampleCustomsectionOnlyText = {
|
|
|
6065
6065
|
CB_CONTENT_PROP_HOVER_SPEC_MUSE: false
|
|
6066
6066
|
},
|
|
6067
6067
|
CB_CONTENT_PROP_SECTION: {
|
|
6068
|
-
CB_CONTENT_PROP_SECTION_SPEC_VARIABLEROOTFONTSIZE:
|
|
6068
|
+
CB_CONTENT_PROP_SECTION_SPEC_VARIABLEROOTFONTSIZE: true
|
|
6069
6069
|
},
|
|
6070
6070
|
CB_CONTENT_PROP_VISIBILITY: {
|
|
6071
6071
|
CB_CONTENT_PROP_VISIBILITY_SPEC_DESKTOP: true,
|
|
@@ -6108,7 +6108,7 @@ exports.sampleCustomsectionOnlyText = {
|
|
|
6108
6108
|
}
|
|
6109
6109
|
},
|
|
6110
6110
|
CB_PLACEMENT_PROP_SECTION: {
|
|
6111
|
-
CB_PLACEMENT_PROP_SECTION_SPEC_FULLWIDTH:
|
|
6111
|
+
CB_PLACEMENT_PROP_SECTION_SPEC_FULLWIDTH: true,
|
|
6112
6112
|
'CB_PLACEMENT_PROP_SECTION_SPEC_FULLWIDTH:MOBILE': null,
|
|
6113
6113
|
CB_PLACEMENT_PROP_SECTION_SPEC_MINHEIGHT: 5,
|
|
6114
6114
|
'CB_PLACEMENT_PROP_SECTION_SPEC_MINHEIGHT:MOBILE': 5,
|
|
@@ -367,6 +367,7 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
|
|
|
367
367
|
var cellWidth = width / DESKTOP_GRID_COLS;
|
|
368
368
|
setRowHeight(cellWidth * 0.56);
|
|
369
369
|
responsiveFontMode ? setBaseFontSize(cellWidth / 2.35) : setBaseFontSize(16);
|
|
370
|
+
// setBaseFontSize(cellWidth / 2.35);
|
|
370
371
|
};
|
|
371
372
|
var padding = (0, parseSectionPadding_1.default)(CB_LAYOUT_PROP_PADDING, device);
|
|
372
373
|
var breakpoints = device === 'DESKTOP' ? { lg: 100, sm: 0 } : { lg: 1200, sm: 480 };
|
|
@@ -404,8 +405,6 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
|
|
|
404
405
|
}
|
|
405
406
|
makeCollisionOfBulk();
|
|
406
407
|
};
|
|
407
|
-
// eslint-disable-next-line no-console
|
|
408
|
-
console.log(baseFontSize);
|
|
409
408
|
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: {
|
|
410
409
|
minHeight: customSectionStyles.minHeight,
|
|
411
410
|
paddingTop: padding.top,
|
|
@@ -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.
|
|
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.
|
|
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