pds-dev-kit-web-test 2.5.200 → 2.5.202
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.
@@ -107,14 +107,25 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
|
|
107
107
|
(0, react_1.useImperativeHandle)(ref, function () {
|
108
108
|
return {
|
109
109
|
selectCB: function (blockId) {
|
110
|
+
var _a;
|
110
111
|
setSelectedBlockId(blockId);
|
112
|
+
(_a = document
|
113
|
+
.querySelector("div[data-grid-id=\"".concat(blockId.replace('CB_', ''), "\"]"))) === null || _a === void 0 ? void 0 : _a.scrollIntoView({
|
114
|
+
behavior: 'smooth',
|
115
|
+
block: 'center'
|
116
|
+
});
|
111
117
|
},
|
112
118
|
selectCBInBulk: function (blockIds) {
|
113
119
|
setBulkBlockIds(blockIds);
|
114
120
|
},
|
115
121
|
selectGroup: function (groupBlockId) {
|
122
|
+
var _a;
|
116
123
|
setBulkBlockIds([]);
|
117
124
|
setSelectedBlockId(groupBlockId);
|
125
|
+
(_a = document.querySelector("div[data-group-block-id=\"".concat(groupBlockId, "\"]"))) === null || _a === void 0 ? void 0 : _a.scrollIntoView({
|
126
|
+
behavior: 'smooth',
|
127
|
+
block: 'center'
|
128
|
+
});
|
118
129
|
}
|
119
130
|
};
|
120
131
|
}, [componentBlocks]);
|
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.202",
|
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.99",
|
26
|
-
"publ-echo-test": "^0.0.
|
26
|
+
"publ-echo-test": "^0.0.168",
|
27
27
|
"react-hook-form": "^7.28.1",
|
28
28
|
"react-i18next": "^11.12.0",
|
29
29
|
"react-router-dom": "^5.2.0",
|