From 1ec68e7ba65316d27eb1d5535535662b15e69226 Mon Sep 17 00:00:00 2001 From: afc163 Date: Sun, 10 Dec 2017 16:59:21 +0800 Subject: [PATCH] Improve 3.0 changelog, close #8445 --- CHANGELOG.en-US.md | 2 ++ CHANGELOG.zh-CN.md | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md index 16b5fbccf1..81091187a5 100644 --- a/CHANGELOG.en-US.md +++ b/CHANGELOG.en-US.md @@ -67,6 +67,7 @@ Learn more in the [Ant Design 3.0 announcement post](https://medium.com/ant-desi - Since we changed default locale to en_US, LocalProvider is not required any more for English users. - We don't set `size="large"` to `Input` in `Form` by default any more. +- `Input.Search` 🔍 icon don't be interactive anymore, you can use new `enterButton` prop to add a button after input. - UMD version of `dist/antd.js` doesn't include moment any more, you need add moment by yourself if you are using the UMD version. ```diff @@ -98,6 +99,7 @@ Learn more in the [Ant Design 3.0 announcement post](https://medium.com/ant-desi - 🌟 Steps was refactored, first rendering won't flash. [#6010](https://github.com/ant-design/ant-design/issues/6010) - 🌟 Switch added new `loading` prop to show a loading status. - Menu + - 🌟 We refactored it with [rc-trigger](https://github.com/react-component/trigger) for delay popup and auto overflow in viewport. - 🌟 Added new `subMenuOpenDelay` and `subMenuCloseDelay` props to allow setting delay time for submenu toggling. - 🌟 Added new `forceSubMenuRender` prop to render submenu even if it's collapsed. [#5586](https://github.com/ant-design/ant-design/issues/5586) - Form diff --git a/CHANGELOG.zh-CN.md b/CHANGELOG.zh-CN.md index adfbb7adfb..a89ac32af2 100644 --- a/CHANGELOG.zh-CN.md +++ b/CHANGELOG.zh-CN.md @@ -77,7 +77,8 @@ timeline: true ); ``` -- Form 下的表单控件不再默认为 size="large"。 +- Form 下的表单控件不再默认为 `size="large"`。 +- `Input.Search` 默认的 🔍 图标只作为装饰,不再响应用户交互。需要添加可交互按钮请使用 `enterButton`。 - UMD 版本的 `dist/antd.js` 不再包含 moment,使用的时候需要自己引入 moment。 ```diff @@ -109,6 +110,7 @@ timeline: true - 🌟 Steps 进行了重构,首次渲染的时候不会再闪烁。 [#6010](https://github.com/ant-design/ant-design/issues/6010) - 🌟 Switch 新增 `loading` 属性,用于表现加载中的状态。 - Menu + - 🌟 我们使用了 [rc-trigger](https://github.com/react-component/trigger) 重构了菜单以支持延迟加载和窗口边缘浮层自适应方向。 - 🌟 新增 `subMenuOpenDelay` 和 `subMenuCloseDelay`,用于设置子菜单打开和关闭的延迟。 - 🌟 新增 `forceSubMenuRender`,用于强制渲染子菜单。[#5586](https://github.com/ant-design/ant-design/issues/5586) - Form