pds-dev-kit-web-test 2.5.163 → 2.5.164

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.
@@ -116,8 +116,7 @@ type ActionHandlerPayload = {
116
116
  updatedBlocks: UpdatedBlock[];
117
117
  };
118
118
  '@CUSTOMSECTION/GROUP_DRAG_STOP': {
119
- item: LayoutItem;
120
- e?: ResizeEventType;
119
+ updatedBlocks: UpdatedBlock[];
121
120
  };
122
121
  };
123
122
  export type UpdatedBlock = {
@@ -811,7 +811,7 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
811
811
  });
812
812
  };
813
813
  var onBulkDragStop = function (_a) {
814
- var updatedItems = _a.updatedItems, item = _a.item, e = _a.e;
814
+ var updatedItems = _a.updatedItems, item = _a.item;
815
815
  if ((item === null || item === void 0 ? void 0 : item.i) === 'BULK') {
816
816
  sectionActionHandler &&
817
817
  sectionActionHandler({
@@ -832,8 +832,12 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
832
832
  sectionActionHandler({
833
833
  type: '@CUSTOMSECTION/GROUP_DRAG_STOP',
834
834
  payload: {
835
- item: item,
836
- e: e
835
+ updatedBlocks: updatedItems.map(function (i) { return ({
836
+ cbId: Number(i.id),
837
+ blockId: (0, group_1.formatCbIdToBlockId)(Number(i.id)),
838
+ x: i.x,
839
+ y: i.y
840
+ }); })
837
841
  }
838
842
  });
839
843
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web-test",
3
- "version": "2.5.163",
3
+ "version": "2.5.164",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",