pds-dev-kit-web-test 2.7.416 → 2.7.418

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.
@@ -127,6 +127,9 @@ var CompositionEditor = (0, react_1.forwardRef)(function CompositionEditorCanvas
127
127
  : pedigreeState;
128
128
  (0, react_1.useImperativeHandle)(ref, function () {
129
129
  return {
130
+ initCB: function () {
131
+ setSelectedBlockId(null);
132
+ },
130
133
  selectCB: function (blockId) {
131
134
  setSelectedBlockId(blockId);
132
135
  },
@@ -38,6 +38,9 @@ function EditModeSectionMatcher(_a) {
38
38
  }, []);
39
39
  (0, react_1.useImperativeHandle)(dynamicLayoutRef, function () {
40
40
  return {
41
+ initCB: function () {
42
+ selectedSectionRef === null || selectedSectionRef === void 0 ? void 0 : selectedSectionRef.initCB();
43
+ },
41
44
  selectCB: function (cb) {
42
45
  selectedSectionRef === null || selectedSectionRef === void 0 ? void 0 : selectedSectionRef.selectCB(cb);
43
46
  },
@@ -119,6 +119,9 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
119
119
  : pedigreeState;
120
120
  (0, react_1.useImperativeHandle)(ref, function () {
121
121
  return {
122
+ initCB: function () {
123
+ setSelectedBlockId(null);
124
+ },
122
125
  selectCB: function (blockId) {
123
126
  setSelectedBlockId(blockId);
124
127
  },
@@ -217,6 +217,7 @@ export interface IItemDescription extends IDescription {
217
217
  }
218
218
  export type CustomSectionShortcutKeysType = 'BULK_SELECT' | 'COLLISION_SELECT' | 'SELECT_ALL' | 'MANUAL_COLLISION_SELECT' | 'MANUAL_BULK_BREAK' | null;
219
219
  export type CustomSectionImperativeHandleRef = {
220
+ initCB: () => void;
220
221
  selectCB: (cbId: string) => void;
221
222
  selectCBInBulk: (cbIds: string[]) => void;
222
223
  selectGroup: (groupBlockId: string) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web-test",
3
- "version": "2.7.416",
3
+ "version": "2.7.418",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",
@@ -25,7 +25,7 @@
25
25
  "lottie-react": "^2.3.1",
26
26
  "nuka-carousel": "^4.8.4",
27
27
  "publ-echo": "^0.0.120",
28
- "publ-echo-test": "^0.0.392",
28
+ "publ-echo-test": "^0.0.394",
29
29
  "react-hook-form": "^7.28.1",
30
30
  "react-i18next": "^11.12.0",
31
31
  "react-router-dom": "^5.2.0",