Browse Source

Improve 3.0 changelog, close #8445

pull/8546/head
afc163 7 years ago
parent
commit
1ec68e7ba6
  1. 2
      CHANGELOG.en-US.md
  2. 4
      CHANGELOG.zh-CN.md

2
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
<html>
@ -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

4
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
<html>
@ -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

Loading…
Cancel
Save