Explorar el Código

docs(changelog): v2.2.1

走鹃 hace 3 años
padre
commit
56b0f8096b

+ 2 - 0
content/input/datepicker/index-en-US.md

@@ -265,6 +265,8 @@ At the same time, the click callbacks of the "onConfirm" and "onCancel" buttons
 
 The following example binds three callbacks: `onChange`, `onConfirm` and `onCancel`, and you can open the console to see the difference in print information.
 
+> Note: When opening `needConfirm`, you need to click the cancel button to close the panel, and clicking the blank area will no longer close the panel (v2.2.0)
+
 ```jsx live=true
 import React from 'react';
 import { DatePicker } from '@douyinfe/semi-ui';

+ 2 - 0
content/input/datepicker/index.md

@@ -240,6 +240,8 @@ import { DatePicker } from '@douyinfe/semi-ui';
 
 下面这个例子绑定了 onChange、onConfirm、onCancel 三种回调,你可以打开控制台查看打印信息的区别。
 
+> 注意:开启确认选择时,需要点击取消按钮关闭面板,点击空白区域不再关闭面板(v2.2.0)
+
 ```jsx live=true
 import React from 'react';
 import { DatePicker } from '@douyinfe/semi-ui';

+ 9 - 0
content/start/changelog/index-en-US.md

@@ -16,6 +16,15 @@ Version:Major.Minor.Patch
 
 ---
 
+#### 🎉 2.2.1 (2021-12-29)
+
+- 【Fix】
+    - Fixed DatePicker input value is back to confirmed value bug when `needConfirm` is true [#457](https://github.com/DouyinFE/semi-design/issues/457)
+    - **Optimize DatePicker interaction details, `needConfirm` mode click outside will no longer close the panel, you need to click cancel to close the panel** [#457](https://github.com/DouyinFE/semi-design/issues/457)
+    - Fixed DatePicker `needConfirm` button margin bug in footer [#457](https://github.com/DouyinFE/semi-design/issues/457)
+    - Fixed DatePicker year button direction bug when `direction='rtl'` [#457](https://github.com/DouyinFE/semi-design/issues/457)
+    - Fixed Table head row paddingY not same with design draft bug and updated to 8px [#460](https://github.com/DouyinFE/semi-design/issues/460)
+
 #### 🎉 2.2.0 (2021-12-24)
 
 - 【Fix】

+ 9 - 0
content/start/changelog/index.md

@@ -15,6 +15,15 @@ Semi 版本号遵循**Semver**规范(主版本号-次版本号-修订版本号
 
 ---
 
+#### 🎉 2.2.1 (2021-12-29)
+
+- 【Fix】
+    - 修复 DatePicker 在 needConfirm 模式时,点击取消按钮输入框日期未返回到已选中日期问题 [#457](https://github.com/DouyinFE/semi-design/issues/457)
+    - **优化 DatePicker 交互细节,确认选择模式 click outside 不再关闭面板,需通过点击取消关闭面板** [#457](https://github.com/DouyinFE/semi-design/issues/457)
+    - 修复 DatePicker 确认选择模式 footer 按钮间距不正确问题 [#457](https://github.com/DouyinFE/semi-design/issues/457)
+    - 修复 DatePicker RTL 模式下,年切换按钮方向错误问题 [#457](https://github.com/DouyinFE/semi-design/issues/457)
+    - 修复 Table head row paddingY 与设计稿不符问题,统一调整为 8px [#460](https://github.com/DouyinFE/semi-design/issues/460)
+
 #### 🎉 2.2.0 (2021-12-24)
 
 - 【Fix】