pds-dev-kit-web-test 2.5.121 → 2.5.122

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.
@@ -166,7 +166,7 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
166
166
  }
167
167
  // esc
168
168
  if (shortcutKeyMode === 'MANUAL_BULK_BREAK') {
169
- if (selectedBlockId) {
169
+ if (selectedBlockId && editingGroupBlock !== 'ROOT') {
170
170
  setSelectedBlockId(null);
171
171
  sectionActionHandler &&
172
172
  sectionActionHandler({
@@ -213,6 +213,17 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
213
213
  });
214
214
  return;
215
215
  }
216
+ if (editingGroupBlock === 'ROOT') {
217
+ setSelectedBlockId(null);
218
+ sectionActionHandler &&
219
+ sectionActionHandler({
220
+ type: '@CUSTOMSECTION/BULK_DISMISSED',
221
+ payload: {
222
+ message: 'MANUAL_BULK_BREAK_OR_ESC',
223
+ editingGroupBlock: 'ROOT'
224
+ }
225
+ });
226
+ }
216
227
  }
217
228
  }, [shortcutKeyMode, setSelectedBlockId]);
218
229
  (0, react_1.useLayoutEffect)(function () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web-test",
3
- "version": "2.5.121",
3
+ "version": "2.5.122",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",