pds-dev-kit-web 2.0.6 → 2.0.7

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.
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  export declare type TypeOfSectionAction = ActionMap<ActionHandlerPayload>[keyof ActionMap<ActionHandlerPayload>];
3
3
  declare type ActionHandlerPayload = {
4
- LOAD_IFRAME_SECTION: {
4
+ '@EXP_IFRAME/IFRAME_ON_LOADED': {
5
5
  event: React.SyntheticEvent<HTMLIFrameElement, Event>;
6
6
  multiPurposeUrl: string;
7
7
  };
@@ -10,7 +10,7 @@ function TemplateA() {
10
10
  var onIframeLoad = function (event) {
11
11
  if (sectionActionHandler) {
12
12
  sectionActionHandler({
13
- type: 'LOAD_IFRAME_SECTION',
13
+ type: '@EXP_IFRAME/IFRAME_ON_LOADED',
14
14
  payload: { event: event, multiPurposeUrl: section.properties.multiPurposeUrl }
15
15
  });
16
16
  }
@@ -10,7 +10,7 @@ function TemplateA() {
10
10
  var onIframeLoad = function (event) {
11
11
  if (sectionActionHandler) {
12
12
  sectionActionHandler({
13
- type: 'LOAD_IFRAME_SECTION',
13
+ type: '@EXP_IFRAME/IFRAME_ON_LOADED',
14
14
  payload: { event: event, multiPurposeUrl: section.properties.multiPurposeUrl }
15
15
  });
16
16
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web",
3
- "version": "2.0.6",
3
+ "version": "2.0.7",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",
package/release-note.md CHANGED
@@ -1,9 +1,9 @@
1
1
  # PDS-DEV-KIT-WEB Release Notes
2
- ## [v2.0.6]
2
+ ## [v2.0.7]
3
3
 
4
- ## release|https://design.storybook.publ.biz/
4
+ ## daily|https://design.storybook.publ.biz/
5
5
 
6
6
  ### sub
7
7
  * DynamicLayout
8
- * Iframe Section 추가
9
- * ActionHandler 추가
8
+ * 액션핸들러의 액션 네이밍 규칙을 수정
9
+ * [SECTION_NAME]_[OBJECT]_[ACTION] → @[TypeOfSectionManifestSchema]/[OBJECT]_[ACTION]