pds-dev-kit-web-test 2.7.511 → 2.7.512
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/common/assets/icons/fill/Plugin.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/Plugin.js +30 -0
- package/dist/src/common/assets/icons/fill/index.d.ts +1 -0
- package/dist/src/common/assets/icons/fill/index.js +3 -1
- package/dist/src/common/assets/icons/line/Plugin.d.ts +4 -0
- package/dist/src/common/assets/icons/line/Plugin.js +30 -0
- package/dist/src/common/assets/icons/line/index.d.ts +1 -0
- package/dist/src/common/assets/icons/line/index.js +3 -1
- package/dist/src/sub/DynamicLayout/mock_queryData.d.ts +635 -237
- package/dist/src/sub/DynamicLayout/mock_queryData.js +12405 -4871
- package/dist/src/sub/DynamicLayout/mock_section.json +27304 -11856
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/Text.js +4 -2
- package/package.json +1 -1
|
@@ -51,8 +51,10 @@ function Text(props) {
|
|
|
51
51
|
return "ERROR: QueryData NOT FOUND";
|
|
52
52
|
}
|
|
53
53
|
var link = queryContext.queryData[CB_CONTENT_PROP_CLINK_SPEC_CONNECTDATA];
|
|
54
|
+
console.log(queryContext.queryData);
|
|
54
55
|
if (!link) {
|
|
55
|
-
return
|
|
56
|
+
return 'https://cdn.dev.publishingkit.net/e4d4769f-668b-49a3-8f9d-9a0ec74c04da.png';
|
|
57
|
+
// return `ERROR: ${CB_CONTENT_PROP_CLINK_SPEC_CONNECTDATA} NOT found from queryData`;
|
|
56
58
|
}
|
|
57
59
|
return link;
|
|
58
60
|
}
|
|
@@ -152,7 +154,7 @@ function Text(props) {
|
|
|
152
154
|
e.currentTarget.classList.add('hovered');
|
|
153
155
|
}, onMouseLeave: function (e) {
|
|
154
156
|
e.currentTarget.classList.remove('hovered');
|
|
155
|
-
}, className: "cb-layout-box cb-text", normalStyle: __assign(__assign(__assign(__assign({}, textStyle), propsStyle), layoutStyle), { whiteSpace: 'pre-wrap', wordBreak: 'break-word', cursor: CLINKCursor, height: 'fit-content', minWidth: "calc(2ch + ".concat(layoutStyle.paddingLeft, " + ").concat(layoutStyle.paddingRight, ")"), overflowY: 'unset', scrollbarWidth: 'unset' }), hoverStyle: __assign(__assign(__assign({}, textHoverStyle), propsHoverStyle), { whiteSpace: 'pre-wrap', wordBreak: 'break-word' }), onClick: onClickCLINK }, { children: [textPrefix, textValue() === 'ERROR' ? 'EDITOR:FALLBACK_TEXT' : getTruncatedText(textValue()), textSuffix] })) })) }))] }));
|
|
157
|
+
}, className: "cb-layout-box cb-text", normalStyle: __assign(__assign(__assign(__assign({}, textStyle), propsStyle), layoutStyle), { whiteSpace: 'pre-wrap', wordBreak: 'break-word', cursor: CLINKCursor, height: 'fit-content', minWidth: "calc(2ch + ".concat(layoutStyle.paddingLeft, " + ").concat(layoutStyle.paddingRight, ")"), overflowY: 'unset', scrollbarWidth: 'unset' }), hoverStyle: __assign(__assign(__assign({}, textHoverStyle), propsHoverStyle), { whiteSpace: 'pre-wrap', wordBreak: 'break-word' }), onClick: onClickCLINK }, { children: [textPrefix, textValue() === 'ERROR' ? 'EDITOR:FALLBACK_TEXT' : getTruncatedText(textValue()), (0, jsx_runtime_1.jsx)("a", __assign({ href: "images/my_photo_123.jpg", download: "\uD734\uAC00\uC0AC\uC9C4.jpg" }, { children: "\uC774\uBBF8\uC9C0 \uB2E4\uC6B4\uB85C\uB4DC" })), textSuffix] })) })) }))] }));
|
|
156
158
|
}
|
|
157
159
|
exports.default = Text;
|
|
158
160
|
function getTextStyles(props, device) {
|