From ad4ebed77c574280ac7948c92c03069c2556535e Mon Sep 17 00:00:00 2001 From: zombiej Date: Mon, 6 Jan 2020 10:58:56 +0800 Subject: [PATCH] docs: Adjust changelog with more descriptions --- CHANGELOG.en-US.md | 3 ++- CHANGELOG.zh-CN.md | 3 ++- docs/react/migration-v4.en-US.md | 1 + docs/react/migration-v4.zh-CN.md | 1 + 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md index 9a88dae4d0..1a9f017c07 100644 --- a/CHANGELOG.en-US.md +++ b/CHANGELOG.en-US.md @@ -49,6 +49,7 @@ Ant Design 4.0-rc released! Here is the release [document](https://github.com/an - 🌟 Now `fixedColumn`,`expandable`, and `scroll` can be mixed. - 🌟 Support multi-column sort. - 🌟 Support custom `body` and add virtual scrolling example. + - 🌟 Expansion-related props moved into the `expandable` attribute and add `rowExpandable` prop. - 🎉 Use css `sticky` to achieve fixed effects to optimize performance. - 💄 Optimized `expand` animation effect. - 🌟 New DatePicker, TimePicker and Calendar components. [#20023](https://github.com/ant-design/ant-design/pull/20023) @@ -58,7 +59,7 @@ Ant Design 4.0-rc released! Here is the release [document](https://github.com/an - 🌟 Range selector can now select start and end times individually. - 🌟 The range selector can be set to `disabled` separately for the start and end time. - 🌟 The range selector allows empty start and end times. - - 🌟 Optimize keyboard support. + - 🌟 Optimized manual input and keyboard interaction support. - 🌟 Remove Icon and use `@ ant-design / icons` instead. [#18217](https://github.com/ant-design/ant-design/pull/18217) - Skeleton - 🌟 Support Skeleton.Avatar placeholder component. [#19898](https://github.com/ant-design/ant-design/pull/19898) [@Rustin-Liu](https://github.com/Rustin-Liu) diff --git a/CHANGELOG.zh-CN.md b/CHANGELOG.zh-CN.md index f15703f2c1..6367ac5633 100644 --- a/CHANGELOG.zh-CN.md +++ b/CHANGELOG.zh-CN.md @@ -49,6 +49,7 @@ Ant Design 4.0-rc 发布,发布文档请查看[此处](https://github.com/ant- - 🌟 现在 `fixedColumn`、`expandable`、`scroll` 可以混合使用。 - 🌟 支持多列排序。 - 🌟 支持自定义 `body` 并添加虚拟滚动例子。 + - 🌟 展开相关功能归入 `expandable` 属性并添加 `rowExpandable` 支持。 - 🎉 使用 css `sticky` 实现固定效果以优化性能。 - 💄 优化 `expand` 动画效果。 - 🌟 全新 DatePicker、 TimePicker 与 Calendar 组件。[#20023](https://github.com/ant-design/ant-design/pull/20023) @@ -58,7 +59,7 @@ Ant Design 4.0-rc 发布,发布文档请查看[此处](https://github.com/ant- - 🌟 范围选择器现在可以单独选择开始与结束时间。 - 🌟 范围选择器可以为开始与结束时间单独设置 `disabled`。 - 🌟 范围选择器可以允许开始与结束时间为空。 - - 🌟 优化键盘支持。 + - 🌟 优化手工输入与键盘交互支持。 - 🌟 移除 Icon,使用 `@ant-design/icons` 代替。[#18217](https://github.com/ant-design/ant-design/pull/18217) - Skeleton - 🌟 支持 Skeleton.Avatar 占位组件。[#19898](https://github.com/ant-design/ant-design/pull/19898) [@Rustin-Liu](https://github.com/Rustin-Liu) diff --git a/docs/react/migration-v4.en-US.md b/docs/react/migration-v4.en-US.md index 450e8ed8d8..031ef74118 100644 --- a/docs/react/migration-v4.en-US.md +++ b/docs/react/migration-v4.en-US.md @@ -18,6 +18,7 @@ This document will help you upgrade from antd `3.x` version to antd `4.x` versio - Line height changes from `1.5`(`21px`) to `1.5715`(`22px`). - Basic rounded corner adjustment, changed from `4px` to `2px`. +- Exchanged Selected and Hovered color. - Global shadow optimization, adjusted to three layers of shadows to distinguish control hierarchies. - Icon in the bubble confirmation box has been changed from a question mark to an exclamation mark. - The color of selected components is changed to `@blue-1: #E6F7FF`, and the corresponding hover color is changed to `@gray-2: #FAFAFA`. diff --git a/docs/react/migration-v4.zh-CN.md b/docs/react/migration-v4.zh-CN.md index 0d29b1474b..9903486cdb 100644 --- a/docs/react/migration-v4.zh-CN.md +++ b/docs/react/migration-v4.zh-CN.md @@ -18,6 +18,7 @@ title: 从 v3 到 v4 - 行高从 `1.5`(`21px`) 调整为 `1.5715`(`22px`)。 - 基础圆角调整,由`4px` 改为 `2px`。 +- Selected 颜色和 Hovered 颜色进行了交换。 - 全局阴影优化,调整为三层阴影区分控件层次关系。 - 气泡确认框中图标的使用改变,由问号改为感叹号。 - 部分组件选中颜色统一改为 `@blue-1: #E6F7FF`,对应 `hover` 颜色改为 `@gray-2: #FAFAFA`。