pds-dev-kit-web-test 0.2.40 → 0.2.41

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.
@@ -33,6 +33,7 @@ type ActionHandlerPayload = {
33
33
  };
34
34
  '@CUSTOMSECTION/CB_RIGHT_CLICKED': {
35
35
  id: number;
36
+ e: React.MouseEvent;
36
37
  };
37
38
  '@CUSTOMSECTION/SECTION_CLICKED': {
38
39
  sectionId: number;
@@ -112,11 +112,11 @@ function CustomSection(props) {
112
112
  }
113
113
  setSelectedCB(id);
114
114
  if (sectionActionHandler) {
115
- e.preventDefault();
116
115
  sectionActionHandler({
117
116
  type: '@CUSTOMSECTION/CB_RIGHT_CLICKED',
118
117
  payload: {
119
- id: id
118
+ id: id,
119
+ e: e
120
120
  }
121
121
  });
122
122
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web-test",
3
- "version": "0.2.40",
3
+ "version": "0.2.41",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",
package/release-note.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # pds-dev-kit-web-test Release Notes
2
- ## [v0.2.40]
2
+ ## [v0.2.41]
3
3
  ## 기준 pds-dev-kit-web 버전 @2.2.10
4
4
  ### sub
5
5
  * DynamicLayout - custom section
6
- * @CUSTOMSECTION/CB_RIGHT_CLICKED e.preventDefault 추가
6
+ * @CUSTOMSECTION/CB_RIGHT_CLICKED 에서 e 넘겨줄 수 있도록 추가