Browse Source

Adjust the icons document

pull/11999/head
陈帅 6 years ago
committed by 偏右
parent
commit
2e4c882feb
  1. 10
      CHANGELOG.en-US.md
  2. 12
      CHANGELOG.zh-CN.md

10
CHANGELOG.en-US.md

@ -20,9 +20,13 @@ timeline: true
`2018-08-27`
In September we brought an update for `3.9.0`. There are many new features in `3.9.0`, Ant Design is getting stronger and stronger.
- 🔥🔥🔥 Since version 3.9.0, we have rewritten the Icon component, replace the `css` font icon with the `SVG` icon.
- 💄 The `SVG` icon will now be rendered.
- 🔥🔥🔥 In the `3.9.0` version, we redraw all the icons, adding two new categories, more than 50 new icons. And the bit adds a variety of styles to each icon. To this end, we have rewritten the Icon component, adding a number of features that allow us to quickly use new icons and styles.
![](https://gw.alipayobjects.com/zos/rmsportal/CVDHuodLwcDeyQBDoUIZ.png)
- 💄 Replace the `css` font icon with the `SVG` icon.
- 💄 You can now render a two-color icon.
- 🌟 Two new categories, **Edit Icons** and **Data Icons**, have been added.
- 🌟 Add the `theme` attribute to set the theme style of the icon. [#11971](https://github.com/ant-design/ant-design/pull/11971)
- 🌟 Added `component` attribute, you can externally pass a component to customize the control rendering result. [#11322](https://github.com/ant-design/ant-design/pull/11322)
- 🌟 The `twoToneColor` property is added to control the theme color of the two-color icon. [#11971](https://github.com/ant-design/ant-design/pull/11971)
@ -32,6 +36,8 @@ In September we brought an update for `3.9.0`. There are many new features in `3
- 🔥 Menu will automatically close up to fit width in `horizontal` mode.
- 🔥 The `placement` of the drawer supports `top` and `bottom` to accommodate more scenes.
In addition, our Ant Design Pro@2.0.0 has also been released simultaneously. Please see [here](https://medium.com/ant-design/beautiful-and-powerful-ant-design-pro-2-0-release-51358da5af95) for details.
### Bugfix/Feature:
- 🌟 The Anchor component adds the `onClik` attribute. [#11898](https://github.com/ant-design/ant-design/pull/11898)

12
CHANGELOG.zh-CN.md

@ -20,9 +20,13 @@ timeline: true
`2018-08-27`
在 9 月我们带了 `3.9.0` 的更新。 `3.9.0` 中带了多项新特性,Ant Design 的能力得到了极大地提升。
- 🔥🔥🔥 从 `3.9.0` 版本开始,我们重写了 Icon 组件,使用`SVG` 图标替换了`css` 字体图标。
- 💄 现在将会渲染 `SVG` 图标。
- 🔥🔥🔥 在 `3.9.0` 版本中,我们重绘了所有的图标,新增了两大类,超过50个新图标。并且位为每个图标增加了多种风格。为此我们重写了 Icon 组件,增加了多个特性,可以快速的使用新的图标和风格。
![](https://gw.alipayobjects.com/zos/rmsportal/CVDHuodLwcDeyQBDoUIZ.png)
- 💄 使用 `SVG` 图标替换了 `css` 字体图标。
- 💄 现在可以渲染双色图标。
- 🌟 新增了 **编辑类****数据类** 两个新类别。
- 🌟 新增 `theme` 属性,可以设置图标的主题风格。[#11971](https://github.com/ant-design/ant-design/pull/11971)
- 🌟 新增 `component` 属性,可以外部传入一个组件来自定义控制渲染结果。[#11322](https://github.com/ant-design/ant-design/pull/11322)
- 🌟 新增 `twoToneColor` 属性,可以控制双色图标的主题色。[#11971](https://github.com/ant-design/ant-design/pull/11971)
@ -30,7 +34,9 @@ timeline: true
- 🌟 新增静态方法 `Icon.createFromIconfontCN({...})`,可以更加方便地使用 [`iconfont.cn`](http://iconfont.cn/) 上托管的图标。更多用法请参阅 [Ant Design Pro - 业务图标](https://pro.ant.design/docs/biz-icon-cn) 的介绍。[#11322](https://github.com/ant-design/ant-design/pull/11322)
- 🔥 增加了一个新组件 [Skeleton](https://ant.design/components/skeleton-cn/)。
- 🔥 Menu 在 `horizontal` 模式下会自动收起来适应宽度。
- 🔥 Drawer 的 `placement` 支持 `top``bottom`,来适应更多场景。
- 🔥 Drawer 的 `placement` 支持 `top``bottom`,可以适应更多场景。
另外我们的 Ant Design Pro@2.0.0也已同步发布,详细内容请看[这里](https://www.yuque.com/ant-design/ant-design-pro/ant_design_pro_2.0_is_out)。
### 组件修复/功能增强:

Loading…
Cancel
Save