Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
wanjj_1210
ant-design
提交
2f459dc9
A
ant-design
项目概览
wanjj_1210
/
ant-design
与 Fork 源项目一致
从无法访问的项目Fork
通知
10
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
A
ant-design
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
2f459dc9
编写于
11月 19, 2015
作者:
A
afc163
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
upgrade changelog for 0.10.0
上级
c1f49640
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
122 addition
and
4 deletion
+122
-4
CHANGELOG.md
CHANGELOG.md
+63
-3
docs/install.md
docs/install.md
+1
-1
docs/upgrade-to-0.10.md
docs/upgrade-to-0.10.md
+58
-0
未找到文件。
CHANGELOG.md
浏览文件 @
2f459dc9
...
...
@@ -4,9 +4,69 @@
---
## 0.10.0 `developing`
计划和推进:https://github.com/ant-design/ant-design/issues/276
## 0.10.0 `2015-11-20`
-
全面兼容
`react@0.14.x`
。
-
新增
[
时间选择 Timepicker
](
http://ant.design/components/timepicker/
)
、
[
日历 Calendar
](
http://ant.design/components/calendar/
)
、
[
加载中 Spin
](
http://ant.design/components/spin/
)
组件。
-
[
Button
](
http://ant.design/components/button/
)
、
[
Iconfont
](
http://ant.design/components/iconfont/
)
、
[
Layout
](
http://ant.design/components/layout/
)
、
[
Form
](
http://ant.design/components/form/
)
[
Input
]
(http://ant.design/components/form/#demo-input) 等样式模块改造为 React 组件。
-
新增
[
Queue-anim
](
http://ant.design/components/queue-anim/
)
组件,更换了原来的 enter-animation。
-
全新的
[
字体图标
](
/components/iconfont
)
。
-
全面更新视觉风格,补充更多图标。
[
#313
](
https://github.com/ant-design/ant-design/issues/313
)
-
调整字体基线,告别对图标位置的特殊调节。(感谢
[
iconfont.cn
](
http://iconfont.cn
)
的鼎力支持)
-
Datepicker、Dropdown、Select、Popover、Popconfirm 等浮层组件添加在空间不足的情况下自动调整位置功能。
-
Popover、Tooltip、Popconfirm 组件支持 12 个方向。
[
#312
](
https://github.com/ant-design/ant-design/issues/312
)
-
优先使用苹方字体。
-
统一 size 属性的可选值为
`small`
`default`
`large`
。
-
开始初步补充
[
测试用例
](
https://github.com/ant-design/ant-design/tree/1a3a19793c0791201666fdcf0dbd12a30fad4be0/tests
)
。
-
提供主色系更换的方案。
[
#384
](
https://github.com/ant-design/ant-design/issues/384
)
-
添加
[
色彩换算工具
](
http://ant.design/spec/colors#色彩换算工具
)
。
-
添加布局和导航规范,以及
[
常用布局
](
http://ant.design/spec/layout/
)
。
-
文档支持标题和演示的锚点,方便分享文档和演示代码。
-
提供多版本的文档,在
[
主站
](
http://ant.design
)
的右下角提供切换按钮。
-
[
antd-bin
](
https://github.com/ant-design/antd-bin
)
升级到
`0.10`
。
-
拆分出
[
antd-init
](
https://github.com/ant-design/antd-init
)
和
[
antd-build
](
https://github.com/ant-design/antd-build
)
。
-
提供代理功能。
-
提供 UI 测试功能。
-
Table
-
支持单选。
[
演示
](
/components/table/#demo-row-selection-radio-props
)
-
选择模式支持默认选中和不可用效果。
[
演示
](
/components/table/#demo-row-selection-props
)
-
列支持了
`colSpan`
和
`rowSpan`
配置。
[
演示
](
/components/table/#demo-colspan-rowspan
)
-
新增
`loading`
属性。
-
筛选增加
`filterMultiple`
属性,支持单选的配置。
-
Datepicker
-
添加国际化支持。
-
添加手动输入和清除功能。
-
优化了视觉样式。
-
修复不标准的日期格式导致显示错误的问题。
-
用
`onChange`
属性代替
`onSelect`
属性。
-
Validation 修复了 对 Datepicker、Input-number、Select 的支持,并添加了相关演示。
-
Carousel 的依赖 react-slick 升级到 0.9.x,相关 API 也相应更新。
-
Tree 组件支持完全受控模式。
[
#397
](
https://github.com/ant-design/ant-design/issues/397
)
-
Input Number
-
组件输入体验优化,现在可以键入任意字符,失焦时格式化为合法值。
-
修复不支持小数 step 的问题。
[
#530
](
https://github.com/ant-design/ant-design/issues/530
)
-
Tabs 新增
[
垂直页签功能
](
http://ant.design/components/tabs/#demo-vertical-left
)
。
-
Upload 组件视觉优化,新增高级浏览器下的上传进度展示。
[
#311
](
https://github.com/ant-design/ant-design/issues/311
)
-
Menu
-
视觉效果大幅优化。
-
新增
[
dark 主题
](
http://ant.design/components/menu/#demo-theme
)
的样式。
-
修复一个链接点击区域的问题。
[
#535
](
https://github.com/ant-design/ant-design/issues/535
)
-
Slider
-
新增
[
双滑块功能
](
http://ant.design/components/slider/#demo-range
)
。
-
优化 marks 属性的使用逻辑,使其可以和具体数值进行绑定。
[
slider#26
](
https://github.com//react-component/slider/issues/26
)
-
属性命名优化,用
`dots`
代替了
`withDots`
属性,用
`included`
代替了
`isIncluded`
。
-
Badge 当
`count`
为 0 时不展示。
-
Progress 新增
`format`
属性,能够自定义展示的进度文案。
-
Modal 新增
`confirmLoading`
属性。
-
新增 Radio.Button 的失效样式。
-
提供 IE8 下的圆角按钮
[
兼容方案
](
http://ant.design/components/button/#ie8-border-radius-support
)
。
-
`antd.Notification()`
修正为
`antd.notification()`
。
-
另有巨量样式的修复和优化。
> 备注:
>
> - [计划和推进 issue](https://github.com/ant-design/ant-design/issues/276)
> - [0.10 升级指南](/docs/upgrade-to-0.10)
## 0.9.3 ~ 0.9.5 `2015-11-04`
...
...
docs/install.md
浏览文件 @
2f459dc9
# 安装
-
category:
3
-
category:
2
-
order: 2
---
...
...
docs/upgrade-to-0.10.md
0 → 100644
浏览文件 @
2f459dc9
# 0.10 升级指南
-
category: 3
-
order: 3
---
`0.10.0`
版本有大量改动,是一个不完全向下兼容的版本。以下文档尽力列出了
`0.9.x`
到
`0.10.0`
的不兼容变动,以帮助开发者升级。
-
`0.10.x`
文档:http://ant.design
-
`0.9.x`
文档:http://09x.ant.design
### 升级 React
新版本推荐使用 react@0.14.x 及以上版本,并增加了对低版本 react 的警告。建议进行同步升级,参考官方的
[
升级文档
](
http://facebook.github.io/react/blog/2015/10/07/react-v0.14.html
)
。
### 组件化改造
此版本对
[
Button
](
/components/button/
)
、
[
Iconfont
](
/components/iconfont/
)
、
[
Layout
](
/components/layout/
)
、
[
Form
](
/components/form/
)
、
[
Input
](
/components/form/#demo-input
)
模块进行了 React 组件化的改造,请基于新的使用方式修改。
例如:
```
html
<button
className=
"ant-btn ant-btn-primary"
>
按 钮
</button>
==>
<Button
type=
"primary"
>
按钮
</Button>
```
```
html
<i
className=
"anticon anticon-appstore"
></i>
==>
<Icon
type=
"appstore"
/>
```
### size 属性统一
原有组件的
`size`
属性统一为大中小:
`large`
`default`
`small`
,包括
`Button`
`Table`
`Tabs`
`Steps`
`Select`
`Pagination`
`InputNumber`
`Datepicker`
。
例如:
```
html
<Tabs
size=
"mini"
>
...
</Tabs>
==>
<Tabs
size=
"small"
>
...
</Tabs>
```
详情可参考:https://github.com/ant-design/ant-design/issues/415
### 其他
-
[
enter-animation
](
http://09x.ant.design/components/enter-animation
)
组件下线, 请使用
[
queue-anim
](
/components/queue-anim
)
来代替。
-
Carousel 升级依赖,参考新的
[
新的 API 和使用方式
](
/components/carousel/
)
进行修改。
-
`antd.Notification()`
修改为小写的
`antd.notification()`
。
-
Datepicker 的
`onSelect`
属性修改为
`onChange`
属性。
-
Slider 的
`withDots`
`isIncluded`
属性修改为
`dots`
`included`
。
-
iconfont 的基线更新,可能导致原有图标的位置偏移。
新版本变化较大,以上升级指南可能有遗漏,全部改动可以参考
[
Changelog
](
/changelog
)
。在升级过程中遇到问题,欢迎
[
报告
](
https://github.com/ant-design/ant-design/issues/new
)
给我们。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录