pds-dev-kit-web 1.6.11 → 1.6.12

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.
@@ -72,7 +72,7 @@ function UserDesktopNavBar(_a) {
72
72
  };
73
73
  return (react_1.default.createElement(S_UserDesktopNavBar, null,
74
74
  react_1.default.createElement(S_NavBar, null,
75
- logoImageSrc ? (react_1.default.createElement(S_Logo, { src: logoImageSrc, onClick: handleClickLogo })) : (react_1.default.createElement(S_TextWrapper, { onClick: handleClickLogo },
75
+ logoImageSrc ? (react_1.default.createElement(S_Logo, { src: logoImageSrc, onClick: handleClickLogo, cursor: onClickLogo ? 'pointer' : 'default' })) : (react_1.default.createElement(S_TextWrapper, { onClick: handleClickLogo, cursor: onClickLogo ? 'pointer' : 'default' },
76
76
  react_1.default.createElement(TextLabel_1.TextLabel, { text: titleText, singleLineMode: "use", styleTheme: "headingBold", colorTheme: "sysTextPrimary", ellipsisMode: "use", lineLimit: 1 }))),
77
77
  menuMode === 'center_text' && (react_1.default.createElement(S_pApps, null,
78
78
  visibleTexts.map(function (option) { return (react_1.default.createElement(S_VisiblePAppWrapper, { key: option.value, onClick: function () { return handleClick(option); } }, currentPathName.includes(option.value) ? (react_1.default.createElement(TextLabel_1.TextLabel, { text: option.text, styleTheme: "body1Bold", colorTheme: "sysTextPrimary", singleLineMode: "use" })) : (react_1.default.createElement(TextLabel_1.TextLabel, { text: option.text, styleTheme: "body1Regular", colorTheme: "sysTextSecondary", singleLineMode: "use" })))); }),
@@ -81,7 +81,7 @@ function UserDesktopNavBar(_a) {
81
81
  react_1.default.createElement(IconButton_1.IconButton, { fillType: "fill", baseSize: "medium", baseColorKey: "ui_cpnt_button_fill_base_transparent", iconSize: 24, iconName: "ic_more", iconColorKey: "ui_cpnt_button_icon_default", shapeType: "rectangle", iconFillType: "fill" })),
82
82
  react_1.default.createElement(S_ContextMenuWrapper, null, isContextMenuOpen && (react_1.default.createElement(ContextMenu_1.ContextMenu, null, hiddenTexts.map(function (option) { return (react_1.default.createElement(ContextMenuItem_1.ContextMenuItem, { key: option.value, size: "medium", option: option, onClick: handleClick })); })))))))),
83
83
  react_1.default.createElement(S_ProfileWrapper, null,
84
- loginInfoMode === 'profile' && (react_1.default.createElement(S_ImageViewWrapper, { onClick: handleClickLoginInfo },
84
+ loginInfoMode === 'profile' && (react_1.default.createElement(S_ImageViewWrapper, { onClick: handleClickLoginInfo, cursor: onClickLoginInfo ? 'pointer' : 'default' },
85
85
  react_1.default.createElement(hybrid_1.ImageView, { src: userImageSrc, shapeType: "circular", width: 32, ratio: "1_1", scaleType: "cover", borderMode: "use" }))),
86
86
  loginInfoMode === 'button' && (react_1.default.createElement(MainButton_1.MainButton, { size: "small", styleTheme: "secondary", text: mBtnText, onClick: handleClickLoginInfo })))),
87
87
  dividerType === 'solid' && react_1.default.createElement(hybrid_1.Divider, null)));
@@ -93,10 +93,13 @@ var S_UserDesktopNavBar = styled_components_1.default.div(templateObject_1 || (t
93
93
  var S_MorePApps = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n position: relative;\n"], ["\n position: relative;\n"])));
94
94
  var S_ProfileWrapper = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n align-items: center;\n display: flex;\n height: 48px;\n justify-content: flex-end;\n margin-left: 24px;\n width: 200px;\n"], ["\n align-items: center;\n display: flex;\n height: 48px;\n justify-content: flex-end;\n margin-left: 24px;\n width: 200px;\n"])));
95
95
  var S_TextWrapper = styled_components_1.default.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n cursor: ", ";\n margin-right: 24px;\n width: 200px;\n & > div {\n word-break: break-all;\n }\n"], ["\n cursor: ", ";\n margin-right: 24px;\n width: 200px;\n & > div {\n word-break: break-all;\n }\n"])), function (_a) {
96
- var onClick = _a.onClick;
97
- return (onClick ? 'pointer' : 'default');
96
+ var cursor = _a.cursor;
97
+ return cursor;
98
98
  });
99
- var S_Logo = styled_components_1.default.img(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n height: 48px;\n margin-right: ", ";\n object-fit: contain;\n object-position: left;\n width: 180px;\n"], ["\n height: 48px;\n margin-right: ", ";\n object-fit: contain;\n object-position: left;\n width: 180px;\n"])), function (_a) {
99
+ var S_Logo = styled_components_1.default.img(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n cursor: ", ";\n height: 48px;\n margin-right: ", ";\n object-fit: contain;\n object-position: left;\n width: 180px;\n"], ["\n cursor: ", ";\n height: 48px;\n margin-right: ", ";\n object-fit: contain;\n object-position: left;\n width: 180px;\n"])), function (_a) {
100
+ var cursor = _a.cursor;
101
+ return cursor;
102
+ }, function (_a) {
100
103
  var theme = _a.theme;
101
104
  return theme.spacing.spacingE;
102
105
  });
@@ -109,8 +112,8 @@ var S_VisiblePAppWrapper = styled_components_1.default.div(templateObject_10 ||
109
112
  return theme.spacing.spacingE;
110
113
  });
111
114
  var S_ImageViewWrapper = styled_components_1.default.div(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n border-radius: 50%;\n cursor: ", ";\n height: 32px;\n"], ["\n border-radius: 50%;\n cursor: ", ";\n height: 32px;\n"])), function (_a) {
112
- var onClick = _a.onClick;
113
- return (onClick ? 'pointer' : 'default');
115
+ var cursor = _a.cursor;
116
+ return cursor;
114
117
  });
115
118
  exports.default = UserDesktopNavBar;
116
119
  var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web",
3
- "version": "1.6.11",
3
+ "version": "1.6.12",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",
package/release-note.md CHANGED
@@ -1,8 +1,5 @@
1
1
  # PDS-DEV-KIT-WEB Release Notes
2
- ## [v1.6.11]
2
+ ## [v1.6.12]
3
3
  ### Component
4
- * LottieReactionButton
5
- * 내부에서 text와 actionText 관리 방법 변경
6
- * 기본 배경 색상의 컬러키 변경
7
- ### Color
8
- * 컬러 키 값 22.12.02 15시 00분 기준 싱크
4
+ * UserDesktopNavBar
5
+ * onClickLogo 값이 있을 cursor가 pointer로 보이도록 변경