pds-dev-kit-web-test 2.7.481 → 2.7.483
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/desktop/components/BoxItem/BoxItem.js +1 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/ContentsContainer.d.ts +2 -1
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/ContentsContainer.js +2 -2
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTU.d.ts +3 -2
- package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTU.js +35 -57
- package/dist/src/desktop/layout/LayoutWT/ContainersBox/ContainersBox.d.ts +2 -1
- package/dist/src/desktop/layout/LayoutWT/ContainersBox/ContainersBox.js +2 -2
- package/dist/src/desktop/layout/LayoutWT/LayoutWT.d.ts +1 -0
- package/dist/src/mobile/components/BoxItem/BoxItem.js +1 -1
- package/dist/src/sub/DynamicLayout/CompositionRenderer/ComponentBlockMatcher.js +3 -0
- package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.js +3 -2
- package/dist/src/sub/DynamicLayout/mock_section.json +11040 -146
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/contentsListUtils.js +8 -11
- package/package.json +1 -1
- package/release-note.md +2 -2
|
@@ -25,9 +25,6 @@ function getItemSpacingPropStyleValues(value) {
|
|
|
25
25
|
function getItemLineHeightPropStyleValues(value) {
|
|
26
26
|
return (0, styled_components_1.css)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n grid-row-gap: ", "px;\n "], ["\n grid-row-gap: ", "px;\n "])), value);
|
|
27
27
|
}
|
|
28
|
-
function getItemHeightFitContentPropStyleValues(value) {
|
|
29
|
-
return (0, styled_components_1.css)(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n overflow-y: ", ";\n "], ["\n overflow-y: ", ";\n "])), value ? 'visible' : 'auto');
|
|
30
|
-
}
|
|
31
28
|
function parseStylePropertyStyles(key, value) {
|
|
32
29
|
switch (key) {
|
|
33
30
|
case 'CB_STYLE_PROP_CONTENTSLISTDESIGN_SPEC_ITEMSPACING':
|
|
@@ -38,7 +35,7 @@ function parseStylePropertyStyles(key, value) {
|
|
|
38
35
|
return undefined;
|
|
39
36
|
}
|
|
40
37
|
function getColumnsPropStyleValues(value, rows) {
|
|
41
|
-
return (0, styled_components_1.css)(
|
|
38
|
+
return (0, styled_components_1.css)(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n grid-template-columns: repeat(", ", 1fr);\n grid-template-rows: repeat(", ", 1fr);\n "], ["\n grid-template-columns: repeat(", ", 1fr);\n grid-template-rows: repeat(", ", 1fr);\n "])), value, rows);
|
|
42
39
|
}
|
|
43
40
|
function parseContentPropertyStyles(key, value, rows, device) {
|
|
44
41
|
if (device === 'DESKTOP') {
|
|
@@ -66,12 +63,12 @@ function parseGridStyleProp(_a) {
|
|
|
66
63
|
var styles = parseStylePropertyStyles(currentKey, value);
|
|
67
64
|
var hoverStyles = parseStylePropertyStyles(currentKey, hoverValue !== null && hoverValue !== void 0 ? hoverValue : value);
|
|
68
65
|
return {
|
|
69
|
-
stylePropCss: (0, styled_components_1.css)(
|
|
70
|
-
hoverStylePropCss: (0, styled_components_1.css)(
|
|
66
|
+
stylePropCss: (0, styled_components_1.css)(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n ", "\n ", "\n "], ["\n ", "\n ", "\n "])), acc.stylePropCss, styles),
|
|
67
|
+
hoverStylePropCss: (0, styled_components_1.css)(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n ", "\n ", "\n "], ["\n ", "\n ", "\n "])), acc.hoverStylePropCss, hoverStyles)
|
|
71
68
|
};
|
|
72
69
|
}, {
|
|
73
|
-
stylePropCss: (0, styled_components_1.css)(
|
|
74
|
-
hoverStylePropCss: (0, styled_components_1.css)(
|
|
70
|
+
stylePropCss: (0, styled_components_1.css)(templateObject_9 || (templateObject_9 = __makeTemplateObject([""], [""]))),
|
|
71
|
+
hoverStylePropCss: (0, styled_components_1.css)(templateObject_10 || (templateObject_10 = __makeTemplateObject([""], [""])))
|
|
75
72
|
});
|
|
76
73
|
}
|
|
77
74
|
exports.parseGridStyleProp = parseGridStyleProp;
|
|
@@ -90,10 +87,10 @@ function parseGridContentProp(_a) {
|
|
|
90
87
|
var value = props[currentKey];
|
|
91
88
|
var styles = parseContentPropertyStyles(currentKey, value, rows, device);
|
|
92
89
|
return {
|
|
93
|
-
contentPropCss: (0, styled_components_1.css)(
|
|
90
|
+
contentPropCss: (0, styled_components_1.css)(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n ", "\n ", "\n "], ["\n ", "\n ", "\n "])), acc.contentPropCss, styles)
|
|
94
91
|
};
|
|
95
92
|
}, {
|
|
96
|
-
contentPropCss: (0, styled_components_1.css)(
|
|
93
|
+
contentPropCss: (0, styled_components_1.css)(templateObject_12 || (templateObject_12 = __makeTemplateObject([""], [""])))
|
|
97
94
|
});
|
|
98
95
|
}
|
|
99
96
|
exports.parseGridContentProp = parseGridContentProp;
|
|
@@ -134,4 +131,4 @@ function getCustomPaginationPropKey(key) {
|
|
|
134
131
|
return keyMapping[baseKey] || null;
|
|
135
132
|
}
|
|
136
133
|
exports.getCustomPaginationPropKey = getCustomPaginationPropKey;
|
|
137
|
-
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12
|
|
134
|
+
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12;
|
package/package.json
CHANGED