pds-dev-kit-web-test 2.5.331 → 2.5.333

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.
@@ -716,10 +716,9 @@ var CompositionEditor = (0, react_1.forwardRef)(function CompositionEditorCanvas
716
716
  setSelectedBlockId(null);
717
717
  compositionActionHandler &&
718
718
  compositionActionHandler({
719
- type: '@COMPOSITION/SECTION_RIGHT_CLICKED',
719
+ type: '@COMPOSITION/COMPOSITION_CLICKED',
720
720
  payload: {
721
- sectionId: props.compositionData.id,
722
- e: e
721
+ compositionId: props.compositionData.id
723
722
  }
724
723
  });
725
724
  };
@@ -760,9 +759,9 @@ var CompositionEditor = (0, react_1.forwardRef)(function CompositionEditorCanvas
760
759
  setSelectedBlockId(null);
761
760
  compositionActionHandler &&
762
761
  compositionActionHandler({
763
- type: '@COMPOSITION/SECTION_RIGHT_CLICKED',
762
+ type: '@COMPOSITION/COMPOSITION_RIGHT_CLICKED',
764
763
  payload: {
765
- sectionId: props.compositionData.id,
764
+ compositionId: props.compositionData.id,
766
765
  e: e
767
766
  }
768
767
  });
@@ -79,11 +79,11 @@ type ActionHandlerPayload = {
79
79
  e: React.MouseEvent;
80
80
  block: BlockPayloadType;
81
81
  };
82
- '@COMPOSITION/SECTION_CLICKED': {
83
- sectionId: number;
82
+ '@COMPOSITION/COMPOSITION_CLICKED': {
83
+ compositionId: number;
84
84
  };
85
- '@COMPOSITION/SECTION_RIGHT_CLICKED': {
86
- sectionId: number;
85
+ '@COMPOSITION/COMPOSITION_RIGHT_CLICKED': {
86
+ compositionId: number;
87
87
  e: React.MouseEvent;
88
88
  };
89
89
  '@COMPOSITION/GROUP_RIGHT_CLICKED': {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web-test",
3
- "version": "2.5.331",
3
+ "version": "2.5.333",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",