pds-dev-kit-web-test 2.5.117 → 2.5.118

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.
@@ -114,6 +114,7 @@ type ActionHandlerPayload = {
114
114
  };
115
115
  '@CUSTOMSECTION/BULK_DISMISSED': {
116
116
  message: string;
117
+ editingGroupBlock: string;
117
118
  };
118
119
  '@CUSTOMSECTION/COLLISION_NOT_FOUND': {
119
120
  message: string;
@@ -166,6 +166,14 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
166
166
  if (shortcutKeyMode === 'MANUAL_BULK_BREAK') {
167
167
  if (selectedBlockId) {
168
168
  setSelectedBlockId(null);
169
+ sectionActionHandler &&
170
+ sectionActionHandler({
171
+ type: '@CUSTOMSECTION/BULK_DISMISSED',
172
+ payload: {
173
+ message: 'MANUAL_BULK_BREAK_OR_ESC',
174
+ editingGroupBlock: editingGroupBlock
175
+ }
176
+ });
169
177
  return;
170
178
  }
171
179
  if (bulkBlockIds.length > 0) {
@@ -175,13 +183,22 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
175
183
  sectionActionHandler({
176
184
  type: '@CUSTOMSECTION/BULK_DISMISSED',
177
185
  payload: {
178
- message: 'MANUAL_BULK_BREAK_OR_ESC'
186
+ message: 'MANUAL_BULK_BREAK_OR_ESC',
187
+ editingGroupBlock: editingGroupBlock
179
188
  }
180
189
  });
181
190
  return;
182
191
  }
183
192
  if (editingGroupBlock !== 'ROOT') {
184
193
  setEditingGroupBlock('ROOT');
194
+ sectionActionHandler &&
195
+ sectionActionHandler({
196
+ type: '@CUSTOMSECTION/BULK_DISMISSED',
197
+ payload: {
198
+ message: 'MANUAL_BULK_BREAK_OR_ESC',
199
+ editingGroupBlock: 'ROOT'
200
+ }
201
+ });
185
202
  return;
186
203
  }
187
204
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web-test",
3
- "version": "2.5.117",
3
+ "version": "2.5.118",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",