pds-dev-kit-web-test 2.5.448 → 2.5.451
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/CompositionEditor/CompositionEditor.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationNextBtn.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/CustomPagination.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigationNextBtn.js +2 -2
- package/package.json +2 -2
|
@@ -139,7 +139,7 @@ var CompositionEditor = (0, react_1.forwardRef)(function CompositionEditorCanvas
|
|
|
139
139
|
};
|
|
140
140
|
}, [componentBlocks]);
|
|
141
141
|
(0, react_1.useLayoutEffect)(function () {
|
|
142
|
-
var parsedLayouts = (0, util_1.parsePlacement)(componentBlocks !== null && componentBlocks !== void 0 ? componentBlocks : [], zOrders);
|
|
142
|
+
var parsedLayouts = (0, util_1.parsePlacement)(componentBlocks !== null && componentBlocks !== void 0 ? componentBlocks : [], zOrders, placementRestriction);
|
|
143
143
|
setLayouts(function (prev) {
|
|
144
144
|
var _a;
|
|
145
145
|
var _b;
|
|
@@ -131,7 +131,7 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
|
|
|
131
131
|
};
|
|
132
132
|
}, [componentBlocks]);
|
|
133
133
|
(0, react_1.useLayoutEffect)(function () {
|
|
134
|
-
var parsedLayouts = (0, util_1.parsePlacement)(componentBlocks !== null && componentBlocks !== void 0 ? componentBlocks : [], zOrders);
|
|
134
|
+
var parsedLayouts = (0, util_1.parsePlacement)(componentBlocks !== null && componentBlocks !== void 0 ? componentBlocks : [], zOrders, placementRestriction);
|
|
135
135
|
setLayouts(function (prev) {
|
|
136
136
|
var _a;
|
|
137
137
|
var _b;
|
|
@@ -50,11 +50,11 @@ var CustomNavigationNextBtn = function (_a) {
|
|
|
50
50
|
: navigationConfigs_1.nextButtonMappedIcons[styles.nextBtnType || 'DESIGN1'];
|
|
51
51
|
var buttonSize = 'large';
|
|
52
52
|
var iconSize = 24;
|
|
53
|
-
if (styles.
|
|
53
|
+
if (styles.nextBtnSize === 'SMALL') {
|
|
54
54
|
buttonSize = 'small';
|
|
55
55
|
iconSize = 16;
|
|
56
56
|
}
|
|
57
|
-
if (styles.
|
|
57
|
+
if (styles.nextBtnSize === 'LARGE') {
|
|
58
58
|
buttonSize = 'xxlarge';
|
|
59
59
|
iconSize = 48;
|
|
60
60
|
}
|
|
@@ -80,6 +80,6 @@ var CustomPagination = function (_a) {
|
|
|
80
80
|
return ((0, jsx_runtime_1.jsx)(S_Pagination, __assign({ className: "custom-pagination_".concat(current) }, { children: renderPagination() })));
|
|
81
81
|
};
|
|
82
82
|
exports.CustomPagination = CustomPagination;
|
|
83
|
-
var S_Pagination = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n
|
|
83
|
+
var S_Pagination = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n padding: 8px;\n"], ["\n padding: 8px;\n"])));
|
|
84
84
|
exports.default = exports.CustomPagination;
|
|
85
85
|
var templateObject_1;
|
|
@@ -50,11 +50,11 @@ var CustomNavigationNextBtn = function (_a) {
|
|
|
50
50
|
: navigationConfigs_1.nextButtonMappedIcons[styles.nextBtnType || 'DESIGN1'];
|
|
51
51
|
var buttonSize = 'large';
|
|
52
52
|
var iconSize = 24;
|
|
53
|
-
if (styles.
|
|
53
|
+
if (styles.nextBtnSize === 'SMALL') {
|
|
54
54
|
buttonSize = 'small';
|
|
55
55
|
iconSize = 16;
|
|
56
56
|
}
|
|
57
|
-
if (styles.
|
|
57
|
+
if (styles.nextBtnSize === 'LARGE') {
|
|
58
58
|
buttonSize = 'xxlarge';
|
|
59
59
|
iconSize = 48;
|
|
60
60
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pds-dev-kit-web-test",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.451",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"private": false,
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"lottie-react": "^2.3.1",
|
|
24
24
|
"nuka-carousel": "^4.8.4",
|
|
25
25
|
"publ-echo": "^0.0.119",
|
|
26
|
-
"publ-echo-test": "^0.0.
|
|
26
|
+
"publ-echo-test": "^0.0.233",
|
|
27
27
|
"react-hook-form": "^7.28.1",
|
|
28
28
|
"react-i18next": "^11.12.0",
|
|
29
29
|
"react-router-dom": "^5.2.0",
|