浏览代码

docs(changelog): v2.9.0

走鹃 3 年之前
父节点
当前提交
9e9683da7f

+ 10 - 10
content/basic/divider/index-en-US.md

@@ -60,7 +60,7 @@ import { Divider } from '@douyinfe/semi-ui';
 
 ```
 
-### 包含内容
+### With Children
 
 ```jsx live=true
 import React from 'react';
@@ -94,15 +94,15 @@ import { Divider, Typography } from '@douyinfe/semi-ui';
 
 ## API Reference
 
-| 属性        | 说明                                                            | 类型          | 默认值     |
-|-----------|---------------------------------------------------------------|-------------|---------|
-| align     | Content Align Mode                                            | left \| center \| right | center      |
-| children  | Content                                                       | ReactNode   | -       | 
-| className | ClassName                                                     | string      | -       |
-| dashed    | Whether is dashed                                             | boolean     | false   |
-| layout    | Divider Direction                                             | horizontal \| vertical | horizontal    |
-| margin    | Vertical (Horizontal if in horizontal mode) margin of divider | number \| string  | -        |
-| style     | Custom Style                                                  | CSSProperties | -       |
+| Properties        | Instructions                                                            | Type          | Default     | Version | 
+|-----------|---------------------------------------------------------------|-------------|---------| --------- | 
+| align     | Content Align Mode                                            | left \| center \| right | center      | 2.9.0 | 
+| children  | Content                                                       | ReactNode   | -       |  2.9.0 | 
+| className | ClassName                                                     | string      | -       | 2.9.0 | 
+| dashed    | Whether is dashed                                             | boolean     | false   | 2.9.0 | 
+| layout    | Divider Direction                                             | horizontal \| vertical | horizontal    | 2.9.0 | 
+| margin    | Vertical (Horizontal if in horizontal mode) margin of divider | number \| string  | -        | 2.9.0 | 
+| style     | Custom Style                                                  | CSSProperties | -       | 2.9.0 | 
 
 ## Design Tokens
 <DesignToken/>

+ 9 - 9
content/basic/divider/index.md

@@ -94,15 +94,15 @@ import { Divider, Typography } from '@douyinfe/semi-ui';
 
 ## API参考
 
-| 属性        | 说明                             | 类型          | 默认值     |
-|-----------|--------------------------------|-------------|---------|
-| align     | 带内容时,内容对齐方式                    | left \| center \| right | center      |
-| children  | 内容                             | ReactNode   | 无       | 
-| className | 类名                             | string      | 无       |
-| dashed    | 是否为虚线                          | boolean     | false   |
-| layout    | 分割线方向                          | horizontal \| vertical | horizontal    |
-| margin    | 分割线上下 margin (垂直方向时为左右 margin) | number \| string  | 无        |
-| style     | 自定义样式                          | CSSProperties | 无       |
+| 属性        | 说明                             | 类型          | 默认值     | 版本 |
+|-----------|--------------------------------|-------------|---------| --------- |
+| align     | 带内容时,内容对齐方式                    | left \| center \| right | center      |2.9.0 |
+| children  | 内容                             | ReactNode   | 无       | 2.9.0 |
+| className | 类名                             | string      | 无       |2.9.0 |
+| dashed    | 是否为虚线                          | boolean     | false   |2.9.0 |
+| layout    | 分割线方向                          | horizontal \| vertical | horizontal    |2.9.0 |
+| margin    | 分割线上下 margin (垂直方向时为左右 margin) | number \| string  | 无        |2.9.0 |
+| style     | 自定义样式                          | CSSProperties | 无       |2.9.0 |
 
 ## 设计变量
 

+ 10 - 3
content/start/changelog/index-en-US.md

@@ -16,15 +16,22 @@ Version:Major.Minor.Patch
 
 ---
 
+#### 🎉 2.9.0 (2022-04-22)
+- 【Fix】
+    - Fix the problem that the useless div is left behind after the Modal imperative call
+    - Fix the problem that Collapse DOM has useless attributes
+    - Remove Form label `user-select:none`, allow user select
+    - Fix Cascader clear button keyboard event not responding
+
 #### 🎉 2.9.0-beta.0 (2022-04-18)
 - 【Feat】
     - New Component Divider. [#721](https://github.com/DouyinFE/semi-design/issues/721) [@ZeroCodeLin](https://github.com/ZeroCodeLin)
     - Added support for ReactNode as key value for Descriptions' data prop [#734](https://github.com/DouyinFE/semi-design/issues/734) [@oddguan](https://github.com/oddguan)
 - 【Fix】
     - Update the centering method of Avatar text content, from absolute positioning to centering by the parent layout [#774](https://github.com/DouyinFE/semi-design/issues/774)
-    - fix controlled slider component can still trigger value change by clicking track. [#768](https://github.com/DouyinFE/semi-design/issues/768)
-    - Fixed an issue where Badge could not be used with Tooltip [#761](https://github.com/DouyinFE/semi-design/issues/761) 
-    - fix validateStatus type check lack success [#746](https://github.com/DouyinFE/semi-design/issues/746) [@rojer95](https://github.com/rojer95)
+    - Fix controlled slider component can still trigger value change by clicking track. [#768](https://github.com/DouyinFE/semi-design/issues/768)
+    - Fix an issue where Badge could not be used with Tooltip [#761](https://github.com/DouyinFE/semi-design/issues/761) 
+    - Fix validateStatus type check lack success [#746](https://github.com/DouyinFE/semi-design/issues/746) [@rojer95](https://github.com/rojer95)
 
 #### 🎉 2.8.1 (2022-04-19)
 - 【Fix】

+ 10 - 3
content/start/changelog/index.md

@@ -15,15 +15,22 @@ Semi 版本号遵循**Semver**规范(主版本号-次版本号-修订版本号
 
 ---
 
+#### 🎉 2.9.0 (2022-04-22)
+- 【Fix】
+    - 修复 Modal 命令式调用后遗留无用 div 的问题
+    - 修复 Collapse 将部分 props 透传至 DOM 导致存在无用属性 warning 的问题
+    - 去除 Form label `user-select:none` 默认样式,允许用户选中
+    - 修复 Cascader 清除按钮键盘事件不响应问题
+
 #### 🎉 2.9.0-beta.0 (2022-04-18)
 - 【Feat】
     - 新增分割线组件 [#721](https://github.com/DouyinFE/semi-design/issues/721) [@ZeroCodeLin](https://github.com/ZeroCodeLin)
     - Description 组件的 data 键值支持传入 ReactNode [#734](https://github.com/DouyinFE/semi-design/issues/734) [@oddguan](https://github.com/oddguan)
 - 【Fix】
     - 更新 Avatar 文本内容居中方式,由绝对定位改为由父级布局居中 [#774](https://github.com/DouyinFE/semi-design/issues/774)
-    - 修复Slider组件受控情况下点击滑轨部分仍然可以触发值变更的问题 [#768](https://github.com/DouyinFE/semi-design/issues/768)
-    - 修复 Badge 不能搭配 Tooltip使用的问题 [#761](https://github.com/DouyinFE/semi-design/issues/761) 
-    - 修复validateStatus类型检查缺少success  [#746](https://github.com/DouyinFE/semi-design/issues/746) [@rojer95](https://github.com/rojer95)
+    - 修复 Slider 组件受控情况下点击滑轨部分仍然可以触发值变更的问题 [#768](https://github.com/DouyinFE/semi-design/issues/768)
+    - 修复 Badge 不能搭配 Tooltip 使用的问题 [#761](https://github.com/DouyinFE/semi-design/issues/761) 
+    - 修复 validateStatus 类型检查缺少 success [#746](https://github.com/DouyinFE/semi-design/issues/746) [@rojer95](https://github.com/rojer95)
 #### 🎉 2.8.1 (2022-04-19)
 - 【Fix】
     - 更新组件的 ts 类型定义,解决 @types/react v18 移除默认 children 声明后带来的类型检查报错 [#755](https://github.com/DouyinFE/semi-design/issues/755)