pds-dev-kit-web-test 0.3.41 → 0.3.43
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/pagesPreviewMock.d.ts +417 -0
- package/dist/src/sub/DynamicLayout/pagesPreviewMock.js +870 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.js +2 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlockMatcher.js +1 -1
- package/package.json +1 -1
- package/release-note.md +5 -4
- package/webhook/node_modules/esrecurse/.babelrc +0 -3
|
@@ -397,10 +397,12 @@ function CustomSection(props) {
|
|
|
397
397
|
}) })) })) })) }) }));
|
|
398
398
|
}
|
|
399
399
|
function keepSimilarOrderToPreventRerender(arr) {
|
|
400
|
+
var _a;
|
|
400
401
|
var arrCopy = __spreadArray([], arr, true);
|
|
401
402
|
var groupIdx = arrCopy.findIndex(function (each) { return each.i === 'group'; });
|
|
402
403
|
if (groupIdx >= 0) {
|
|
403
404
|
var group = arrCopy.splice(groupIdx, 1)[0];
|
|
405
|
+
(_a = group.groupLayouts) === null || _a === void 0 ? void 0 : _a.sort(function (a, b) { return Number(a.i) - Number(b.i); });
|
|
404
406
|
return __spreadArray([group], arrCopy.sort(function (a, b) { return Number(a.i) - Number(b.i); }), true);
|
|
405
407
|
}
|
|
406
408
|
return __spreadArray([null], arrCopy.sort(function (a, b) { return Number(a.i) - Number(b.i); }), true);
|
|
@@ -39,7 +39,7 @@ function ComponentBlockMatcher(_a) {
|
|
|
39
39
|
case types_1.CB_ALL_CODES.CB_DIVIDER:
|
|
40
40
|
return (0, jsx_runtime_1.jsx)(Divider_1.default, __assign({}, propsWithValue, { index: index }));
|
|
41
41
|
case types_1.CB_ALL_CODES.CB_IMG:
|
|
42
|
-
return (0, jsx_runtime_1.jsx)(Image_1.default, __assign({}, propsWithValue, { index: index }));
|
|
42
|
+
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)("div", __assign({ style: { position: 'absolute', top: 0, left: 0, color: 'red', fontSize: 50 } }, { children: index })), (0, jsx_runtime_1.jsx)(Image_1.default, __assign({}, propsWithValue, { index: index }))] }));
|
|
43
43
|
case types_1.CB_ALL_CODES.CB_TWITTER:
|
|
44
44
|
return (0, jsx_runtime_1.jsx)(Twitter_1.default, __assign({}, propsWithValue, { index: index }));
|
|
45
45
|
case types_1.CB_ALL_CODES.CB_YOUTUBE:
|
package/package.json
CHANGED
package/release-note.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
#
|
|
2
|
-
## [
|
|
3
|
-
##
|
|
1
|
+
# PDS-DEV-KIT-WEB Release Notes
|
|
2
|
+
## [v2.2.41]
|
|
3
|
+
## urgent|https://design.storybook.publ.biz/
|
|
4
|
+
|
|
4
5
|
### sub
|
|
5
6
|
* DynamicLayout
|
|
6
|
-
*
|
|
7
|
+
* CB-YOUTUBE AUTOPLAY 추가
|