pds-dev-kit-web-test 2.2.77 → 2.2.78
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.
@@ -5985,10 +5985,10 @@ exports.sampleCustomsectionOnlyText = {
|
|
5985
5985
|
CB_LAYOUT_PROP_PADDING_SPEC_FIX: true,
|
5986
5986
|
'CB_LAYOUT_PROP_PADDING_SPEC_FIX:MOBILE': null,
|
5987
5987
|
CB_LAYOUT_PROP_PADDING_SPEC_PADDING: {
|
5988
|
-
bottom:
|
5989
|
-
left:
|
5990
|
-
right:
|
5991
|
-
top:
|
5988
|
+
bottom: 20,
|
5989
|
+
left: 20,
|
5990
|
+
right: 20,
|
5991
|
+
top: 20
|
5992
5992
|
},
|
5993
5993
|
'CB_LAYOUT_PROP_PADDING_SPEC_PADDING:MOBILE': null
|
5994
5994
|
},
|
@@ -61,7 +61,15 @@ function Text(props) {
|
|
61
61
|
: CB_EFFECT_PROP_ENTANIM['CB_EFFECT_PROP_ENTANIM_SPEC_TYPE:MOBILE'] === 'NONE';
|
62
62
|
var hasEffect = !isNoneEffectType;
|
63
63
|
var effectVisibleStyle = hasEffect ? { opacity: isVisible ? 1 : 0 } : {};
|
64
|
-
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 cb-text-box", normalStyle: __assign(__assign(__assign(__assign(__assign({}, textStyle), propsStyle), effectCssProperties), layoutStyle), { cursor: CLINKCursor }), hoverStyle: __assign(__assign({}, textHoverStyle), propsHoverStyle), onClick: onClickCLINK }, { children: (0, jsx_runtime_1.jsx)(S_TextContent, __assign({ className: "cb-text-content", style: {
|
64
|
+
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 cb-text-box", normalStyle: __assign(__assign(__assign(__assign(__assign({}, textStyle), propsStyle), effectCssProperties), layoutStyle), { cursor: CLINKCursor, paddingTop: 0, paddingBottom: 0, paddingLeft: 0, paddingRight: 0 }), hoverStyle: __assign(__assign({}, textHoverStyle), propsHoverStyle), onClick: onClickCLINK }, { children: (0, jsx_runtime_1.jsx)(S_TextContent, __assign({ className: "cb-text-content", style: {
|
65
|
+
whiteSpace: 'pre-wrap',
|
66
|
+
wordBreak: 'break-word',
|
67
|
+
height: 'fit-content',
|
68
|
+
paddingTop: layoutStyle.paddingTop,
|
69
|
+
paddingBottom: layoutStyle.paddingBottom,
|
70
|
+
paddingLeft: layoutStyle.paddingLeft,
|
71
|
+
paddingRight: layoutStyle.paddingRight
|
72
|
+
} }, { children: props.CB_CONTENT_PROP_TEXT.CB_CONTENT_PROP_TEXT_SPEC_TEXT })) })) }))] }));
|
65
73
|
}
|
66
74
|
var S_TextContent = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n all: inherit;\n"], ["\n all: inherit;\n"])));
|
67
75
|
function getTextStyles(props, device) {
|