pds-dev-kit-web-test 2.7.447 → 2.7.448
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.
|
@@ -33,7 +33,8 @@ function FlexGridItem(_a) {
|
|
|
33
33
|
var getHeightFitContent = function () {
|
|
34
34
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
35
35
|
if ('CB_STYLE_PROP_TEXT' in cb.jsonProperties.data) {
|
|
36
|
-
var
|
|
36
|
+
var defaultValue = cb.componentBlockCode === 'CB_BTN' ? false : true;
|
|
37
|
+
var desktopValue = (_b = (_a = cb.jsonProperties.data.CB_STYLE_PROP_TEXT) === null || _a === void 0 ? void 0 : _a.CB_STYLE_PROP_TEXT_SPEC_FITCONTENT) !== null && _b !== void 0 ? _b : defaultValue;
|
|
37
38
|
if (device === 'DESKTOP') {
|
|
38
39
|
return desktopValue;
|
|
39
40
|
}
|
|
@@ -182,7 +182,7 @@ function ContentsList(props) {
|
|
|
182
182
|
if (mode === 'EDIT') {
|
|
183
183
|
style.visibility = 'visible';
|
|
184
184
|
}
|
|
185
|
-
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [isEditModeAndHidden && (0, jsx_runtime_1.jsx)(S_HiddenCover_1.S_HiddenCover, {}), isEditModeAndHeightFitContent && ((0, jsx_runtime_1.jsx)(S_HeightFitContentCover_1.S_HeightFitContentCover, { bottomText: t('str_10106') })), Object.entries(componentGroups).map(function (_a) {
|
|
185
|
+
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [isEditModeAndHidden && (0, jsx_runtime_1.jsx)(S_HiddenCover_1.S_HiddenCover, {}), isEditModeAndHeightFitContent && ((0, jsx_runtime_1.jsx)(S_HeightFitContentCover_1.S_HeightFitContentCover, { className: "height-fit-content-cover", bottomText: t('str_10106') })), Object.entries(componentGroups).map(function (_a) {
|
|
186
186
|
var position = _a[0], groupComponents = _a[1];
|
|
187
187
|
return ((0, jsx_runtime_1.jsx)("div", __assign({ className: "cb-contentslist-button-group ccb-elements", ref: function (el) {
|
|
188
188
|
if (el) {
|