pds-dev-kit-web-test 2.5.330 → 2.5.332

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,9 +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_RIGHT_CLICKED',
720
720
  payload: {
721
- sectionId: props.compositionData.id,
721
+ compositionId: props.compositionData.id,
722
722
  e: e
723
723
  }
724
724
  });
@@ -760,9 +760,9 @@ var CompositionEditor = (0, react_1.forwardRef)(function CompositionEditorCanvas
760
760
  setSelectedBlockId(null);
761
761
  compositionActionHandler &&
762
762
  compositionActionHandler({
763
- type: '@COMPOSITION/SECTION_RIGHT_CLICKED',
763
+ type: '@COMPOSITION/COMPOSITION_RIGHT_CLICKED',
764
764
  payload: {
765
- sectionId: props.compositionData.id,
765
+ compositionId: props.compositionData.id,
766
766
  e: e
767
767
  }
768
768
  });
@@ -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': {
@@ -703,10 +703,9 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
703
703
  setSelectedBlockId(null);
704
704
  sectionActionHandler &&
705
705
  sectionActionHandler({
706
- type: '@CUSTOMSECTION/SECTION_RIGHT_CLICKED',
706
+ type: '@CUSTOMSECTION/SECTION_CLICKED',
707
707
  payload: {
708
- sectionId: props.id,
709
- e: e
708
+ sectionId: props.id
710
709
  }
711
710
  });
712
711
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web-test",
3
- "version": "2.5.330",
3
+ "version": "2.5.332",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",