pds-dev-kit-web 2.2.35 → 2.2.36

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.
@@ -79,7 +79,8 @@ var Body = react_1.default.forwardRef(function (_a, ref) {
79
79
  };
80
80
  var handleScroll = function (e) {
81
81
  var _a = e.currentTarget, scrollTop = _a.scrollTop, scrollHeight = _a.scrollHeight, clientHeight = _a.clientHeight;
82
- if (scrollTop + clientHeight === scrollHeight) {
82
+ var BUTTON_SHOW_UP_HEIGHT = 64;
83
+ if (Math.ceil(scrollTop) + clientHeight + BUTTON_SHOW_UP_HEIGHT > scrollHeight) {
83
84
  setIsButtonShow(false);
84
85
  return;
85
86
  }
@@ -79,7 +79,7 @@ var Body = react_1.default.forwardRef(function (_a, ref) {
79
79
  };
80
80
  var handleScroll = function (e) {
81
81
  var _a = e.currentTarget, scrollTop = _a.scrollTop, scrollHeight = _a.scrollHeight, clientHeight = _a.clientHeight;
82
- var BUTTON_SHOW_UP_HEIGHT = 100;
82
+ var BUTTON_SHOW_UP_HEIGHT = 64;
83
83
  if (Math.ceil(scrollTop) + clientHeight + BUTTON_SHOW_UP_HEIGHT > scrollHeight) {
84
84
  setIsButtonShow(false);
85
85
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web",
3
- "version": "2.2.35",
3
+ "version": "2.2.36",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",
package/release-note.md CHANGED
@@ -1,10 +1,7 @@
1
1
  # PDS-DEV-KIT-WEB Release Notes
2
- ## [v2.2.35]
2
+ ## [v2.2.36]
3
3
  ## daily|https://design.storybook.publ.biz/
4
4
 
5
5
  ### Component
6
- * DesktopTabBar
7
- * itemArray 내부에 icon관련 prop 추가
8
- * iconMode
9
- * iconName
10
- * iconFillType
6
+ * ChatList
7
+ * 메세지 보기 버튼이 스크롤이 64px 되었을 때 보여지도록 조정