pds-dev-kit-web 1.4.47 → 1.4.48

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.
@@ -39,9 +39,9 @@ var ContentsContainer = function (_a) {
39
39
  WTL_1: react_1.default.createElement(variation_1.WTL, { content1: content1, containerColor: containerColor, areaColor: areaColor }),
40
40
  WTM_1: (react_1.default.createElement(variation_1.WTM, { layoutType: "WTM_1", content1: content1, containerColor: containerColor, areaColor: areaColor })),
41
41
  WTM_2: (react_1.default.createElement(variation_1.WTM, { layoutType: "WTM_2", content1: content1, containerColor: containerColor, areaColor: areaColor })),
42
- WTN_1: (react_1.default.createElement(variation_1.WTN, { layoutType: "WTN_1", content1: content1, containerColor: containerColor, areaColor: areaColor })),
43
- WTN_2: (react_1.default.createElement(variation_1.WTN, { layoutType: "WTN_2", content1: content1, containerColor: containerColor, areaColor: areaColor })),
44
- WTN_3: (react_1.default.createElement(variation_1.WTN, { layoutType: "WTN_3", content1: content1, containerColor: containerColor, areaColor: areaColor })),
42
+ WTN_1: (react_1.default.createElement(variation_1.WTN, { layoutType: "WTN_1", content1: content1, containerColor: containerColor, areaColor: areaColor, container1Ref: container1Ref })),
43
+ WTN_2: (react_1.default.createElement(variation_1.WTN, { layoutType: "WTN_2", content1: content1, containerColor: containerColor, areaColor: areaColor, container1Ref: container1Ref })),
44
+ WTN_3: (react_1.default.createElement(variation_1.WTN, { layoutType: "WTN_3", content1: content1, containerColor: containerColor, areaColor: areaColor, container1Ref: container1Ref })),
45
45
  WTO_1: (react_1.default.createElement(variation_1.WTO, { layoutType: "WTO_1", content1: content1, containerColor: containerColor, areaColor: areaColor, container1Ref: container1Ref })),
46
46
  WTP_1: (react_1.default.createElement(variation_1.WTP, { layoutType: "WTP_1", content1: content1, containerColor: containerColor, areaColor: areaColor, container1Ref: container1Ref })),
47
47
  WTQ_1: (react_1.default.createElement(variation_1.WTQ, { layoutType: "WTQ_1", content1: content1, content2: content2, containerColor: containerColor, areaColor: areaColor })),
@@ -1,9 +1,10 @@
1
- /// <reference types="react" />
1
+ import { MutableRefObject } from 'react';
2
2
  export declare type WTNProps = {
3
3
  content1?: JSX.Element;
4
4
  layoutType: 'WTN_1' | 'WTN_2' | 'WTN_3';
5
5
  containerColor?: string;
6
6
  areaColor?: string;
7
+ container1Ref?: MutableRefObject<HTMLDivElement | null>;
7
8
  };
8
- declare const WTN: ({ content1, containerColor, areaColor, layoutType }: WTNProps) => JSX.Element;
9
+ declare const WTN: ({ content1, containerColor, areaColor, layoutType, container1Ref }: WTNProps) => JSX.Element;
9
10
  export default WTN;
@@ -10,8 +10,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
10
10
  var react_1 = __importDefault(require("react"));
11
11
  var styled_components_1 = __importDefault(require("styled-components"));
12
12
  var WTN = function (_a) {
13
- var content1 = _a.content1, containerColor = _a.containerColor, areaColor = _a.areaColor, layoutType = _a.layoutType;
14
- return (react_1.default.createElement(S_ContentsContainer, { layoutType: layoutType, containerColor: containerColor },
13
+ var content1 = _a.content1, containerColor = _a.containerColor, areaColor = _a.areaColor, layoutType = _a.layoutType, container1Ref = _a.container1Ref;
14
+ return (react_1.default.createElement(S_ContentsContainer, { layoutType: layoutType, containerColor: containerColor, ref: container1Ref },
15
15
  react_1.default.createElement(S_ContentsArea, { layoutType: layoutType, areaColor: areaColor },
16
16
  react_1.default.createElement(S_Content1, null, content1))));
17
17
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web",
3
- "version": "1.4.47",
3
+ "version": "1.4.48",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",
package/release-note.md CHANGED
@@ -1,14 +1,6 @@
1
1
  # PDS-DEV-KIT-WEB Release Notes
2
- ## [v1.4.47]
2
+ ## [v1.4.48]
3
3
 
4
- ### Component
5
- * AdminList
6
- * emptyText가 보일때 하단에 spacing 추가
7
- * ChatBubbleListItem
8
- * 이미지 부분 border 깨져보이는 부분 수정
9
- * Icon
10
- * ic_home line추가
11
- * ic_post_paper_plane line추가
12
-
13
- ### Color
14
- * 컬러 키 값 22.08.30 18시 08분 기준 싱크
4
+ ### Layout
5
+ * WTN
6
+ * container1Ref prop 추가