pds-dev-kit-web 2.2.229 → 2.2.230

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.
@@ -267,7 +267,9 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
267
267
  return Array.from(set);
268
268
  });
269
269
  setSelectedBlockId(null);
270
- var newBulkCBIds = bulks_1
270
+ var newBulkIdsSet = new Set(__spreadArray(__spreadArray([], bulkBlockIds, true), bulks_1, true));
271
+ var newBulkIdsArray = Array.from(newBulkIdsSet);
272
+ var newBulkCBIds = newBulkIdsArray
271
273
  .map(function (id) { return (0, group_1.formatBlockIdToCbId)(id); })
272
274
  .filter(function (each) { return each !== null; });
273
275
  var childrenCBIds = [];
@@ -278,7 +280,7 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
278
280
  else {
279
281
  childrenCBIds = newBulkCBIds;
280
282
  }
281
- var groupDisabled = getWorkDirDirectChildrenLength() === __spreadArray(__spreadArray([], bulkBlockIds, true), bulks_1, true).length;
283
+ var groupDisabled = getWorkDirDirectChildrenLength() === newBulkIdsArray.length;
282
284
  sectionActionHandler &&
283
285
  sectionActionHandler({
284
286
  type: '@CUSTOMSECTION/BLOCK_CLICKED',
@@ -286,7 +288,7 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
286
288
  block: {
287
289
  type: 'BULK',
288
290
  blockId: 'BULK',
289
- childrenBlockIds: bulks_1,
291
+ childrenBlockIds: newBulkIdsArray,
290
292
  workDir: (_a = (0, group_1.getBlockWorkDirPath)(newblock, editingGroupBlock)) !== null && _a !== void 0 ? _a : 'NOT-FOUND',
291
293
  childrenCBIds: childrenCBIds,
292
294
  groupDisabled: groupDisabled && editingGroupBlock !== 'ROOT'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web",
3
- "version": "2.2.229",
3
+ "version": "2.2.230",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",
package/release-note.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # PDS-DEV-KIT-WEB Release Notes
2
- ## [v2.2.229]
2
+ ## [v2.2.230]
3
3
  ## daily|https://design.storybook.publ.biz/
4
4
 
5
5
  ### 업데이트 사항
6
- * [DAILY][PDS-1357] ToolBar에 searchFieldWidth Prop 추가
6
+ * [pds-1358] 컨텍스트 메뉴로 겹선택 후 그룹화 불가