pds-dev-kit-web-test 2.7.575 → 2.7.577
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/components/Section/components/CustomSectionBackgroundMedia.js +0 -4
- package/dist/src/sub/DynamicLayout/gleStyles.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Image/Image.js +0 -4
- package/package.json +1 -1
package/dist/src/sub/DynamicLayout/components/Section/components/CustomSectionBackgroundMedia.js
CHANGED
|
@@ -111,13 +111,9 @@ function CustomSectionBackgroundMedia(_a) {
|
|
|
111
111
|
: '';
|
|
112
112
|
}
|
|
113
113
|
if (!(queryContext === null || queryContext === void 0 ? void 0 : queryContext.queryData)) {
|
|
114
|
-
// eslint-disable-next-line
|
|
115
|
-
// console.warn('ERROR: No query data found');
|
|
116
114
|
return 'ERROR';
|
|
117
115
|
}
|
|
118
116
|
if (!queryContext.queryData[String(CB_STYLE_PROP_BGMEDIA_SPEC_CONNECTDATA)]) {
|
|
119
|
-
// eslint-disable-next-line
|
|
120
|
-
// console.warn(`ERROR: ${CB_STYLE_PROP_BGMEDIA_SPEC_CONNECTDATA} NOT found in query data`);/
|
|
121
117
|
return 'ERROR';
|
|
122
118
|
}
|
|
123
119
|
return queryContext.queryData[String(CB_STYLE_PROP_BGMEDIA_SPEC_CONNECTDATA)];
|
|
@@ -16,7 +16,7 @@ exports.S_gleStyles = styled_components_1.default.div(templateObject_1 || (templ
|
|
|
16
16
|
: '';
|
|
17
17
|
}, function (_a) {
|
|
18
18
|
var isEditMode = _a.isEditMode;
|
|
19
|
-
return (isEditMode ? '
|
|
19
|
+
return (isEditMode ? 'none' : 'auto');
|
|
20
20
|
}, function (_a) {
|
|
21
21
|
var isBulkMode = _a.isBulkMode;
|
|
22
22
|
return (isBulkMode ? 'auto' : 'none');
|
|
@@ -98,13 +98,9 @@ function Image(props) {
|
|
|
98
98
|
return CB_CONTENT_PROP_IMAGE.CB_CONTENT_PROP_IMAGE_SPEC_SELECTOR;
|
|
99
99
|
}
|
|
100
100
|
if (!(queryContext === null || queryContext === void 0 ? void 0 : queryContext.queryData)) {
|
|
101
|
-
// eslint-disable-next-line
|
|
102
|
-
// console.warn('ERROR: No query data found');
|
|
103
101
|
return 'ERROR';
|
|
104
102
|
}
|
|
105
103
|
if (!queryContext.queryData[CB_CONTENT_PROP_IMAGE.CB_CONTENT_PROP_IMAGE_SPEC_CONNECTDATA]) {
|
|
106
|
-
// eslint-disable-next-line
|
|
107
|
-
console.warn("ERROR: ".concat(CB_CONTENT_PROP_IMAGE.CB_CONTENT_PROP_IMAGE_SPEC_CONNECTDATA, " NOT found in query data"));
|
|
108
104
|
return 'ERROR';
|
|
109
105
|
}
|
|
110
106
|
return queryContext.queryData[CB_CONTENT_PROP_IMAGE.CB_CONTENT_PROP_IMAGE_SPEC_CONNECTDATA];
|