pds-dev-kit-web-test 2.5.201 → 2.5.203
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.
@@ -108,13 +108,26 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
|
|
108
108
|
return {
|
109
109
|
selectCB: function (blockId) {
|
110
110
|
setSelectedBlockId(blockId);
|
111
|
+
var block = document.querySelector("div[data-grid-id=\"".concat(blockId.replace('CB_', ''), "\"]"));
|
112
|
+
console.log(block, 'id ,', "".concat(blockId.replace('CB_', '')));
|
113
|
+
if (block) {
|
114
|
+
block.scrollIntoView({
|
115
|
+
behavior: 'smooth',
|
116
|
+
block: 'center'
|
117
|
+
});
|
118
|
+
}
|
111
119
|
},
|
112
120
|
selectCBInBulk: function (blockIds) {
|
113
121
|
setBulkBlockIds(blockIds);
|
114
122
|
},
|
115
123
|
selectGroup: function (groupBlockId) {
|
124
|
+
var _a;
|
116
125
|
setBulkBlockIds([]);
|
117
126
|
setSelectedBlockId(groupBlockId);
|
127
|
+
(_a = document.querySelector("div[data-group-block-id=\"".concat(groupBlockId, "\"]"))) === null || _a === void 0 ? void 0 : _a.scrollIntoView({
|
128
|
+
behavior: 'smooth',
|
129
|
+
block: 'center'
|
130
|
+
});
|
118
131
|
}
|
119
132
|
};
|
120
133
|
}, [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.203",
|
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",
|