pds-dev-kit-web-test 2.5.111 → 2.5.113

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,6 +166,13 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
166
166
  if (shortcutKeyMode === 'MANUAL_BULK_BREAK') {
167
167
  setBulkBlockIds([]);
168
168
  setSelectedBlockId(null);
169
+ sectionActionHandler &&
170
+ sectionActionHandler({
171
+ type: '@CUSTOMSECTION/BULK_DISMISSED',
172
+ payload: {
173
+ message: 'MANUAL_BULK_BREAK_OR_ESC'
174
+ }
175
+ });
169
176
  return;
170
177
  }
171
178
  }, [shortcutKeyMode, setSelectedBlockId]);
@@ -245,7 +252,7 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
245
252
  if (!isEditMode) {
246
253
  return;
247
254
  }
248
- if (shortcutKeyMode === 'BULK_SELECT') {
255
+ if (shortcutKeyMode === 'BULK_SELECT' && selectedBlockId) {
249
256
  var added = selectedBlockId ? [selectedBlockId, id] : [id];
250
257
  var blockIds_1 = added.map(function (cbId) {
251
258
  if (typeof cbId === 'number') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web-test",
3
- "version": "2.5.111",
3
+ "version": "2.5.113",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",