pds-dev-kit-web-test 2.5.96 → 2.5.98

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.
@@ -206,7 +206,7 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
206
206
  }
207
207
  var allCollisions = (0, renderHelpers_1.getAllCollisions)(layouts[layoutByDevice], layoutItem);
208
208
  var blockIds = allCollisions.map(function (each) { return (0, group_1.formatCbIdToBlockId)(Number(each.i)); });
209
- return blockIds;
209
+ return __spreadArray(__spreadArray([], blockIds, true), [(0, group_1.formatCbIdToBlockId)(cdId1)], false);
210
210
  };
211
211
  var _m = (0, util_1.parseCustomSectionPlacement)({
212
212
  isMobile: isMobile,
@@ -261,6 +261,7 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
261
261
  bulks.push(selectedBlockId);
262
262
  }
263
263
  setBulkBlockIds(bulks);
264
+ setSelectedBlockId(null);
264
265
  sectionActionHandler &&
265
266
  sectionActionHandler({
266
267
  type: '@CUSTOMSECTION/BLOCK_CLICKED',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web-test",
3
- "version": "2.5.96",
3
+ "version": "2.5.98",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",