Comparing version 0.7.0 to 0.7.1
@@ -0,1 +1,8 @@ | ||
## 0.7.1 (2015-07-22) | ||
* 修复了 Table 组件的 pagination 为 false 时分页未消失的 [问题](https://github.com/ant-design/ant-design/commit/01a6c0f1e6707b72a54ef30d073d148a87b391a8)。 | ||
* select 组件[选中后默认显示标签内容](https://github.com/ant-design/ant-design/issues/50)(原来是显示 value)。 | ||
* 修正了部分组件的样式和演示。 | ||
* 打包文件为 [umd 模式](https://github.com/ant-design/ant-design/commit/9b7b940cb417429d8fc57d83e252991b043d0f2f)。 | ||
## 0.7.0 (2015-07-21) | ||
@@ -2,0 +9,0 @@ |
@@ -31,6 +31,2 @@ require('./index.css'); | ||
antd.version = '0.7.0'; | ||
if (typeof window !== undefined) { | ||
window.antd = antd; | ||
} | ||
antd.version = '0.7.1'; |
@@ -13,2 +13,3 @@ 'use strict'; | ||
transitionName: 'slide-up', | ||
optionLabelProp: 'children', | ||
showSearch: false | ||
@@ -15,0 +16,0 @@ }; |
@@ -330,4 +330,12 @@ 'use strict'; | ||
var data = _this3.props.dataSource; | ||
var pageSize = _this3.state.pagination.pageSize; | ||
var current = _this3.state.pagination.current; | ||
var current = undefined, | ||
pageSize = undefined; | ||
// 如果没有分页的话,默认全部展示 | ||
if (_this3.state.pagination === false) { | ||
pageSize = Number.POSITIVE_INFINITY; | ||
current = 1; | ||
} else { | ||
pageSize = _this3.state.pagination.pageSize; | ||
current = _this3.state.pagination.current; | ||
} | ||
// 排序 | ||
@@ -334,0 +342,0 @@ if (_this3.state.sortOrder && _this3.state.sorter) { |
{ | ||
"name": "antd", | ||
"version": "0.7.0", | ||
"version": "0.7.1", | ||
"stableVersion": "0.7.0", | ||
"title": "Ant Design", | ||
@@ -39,3 +40,3 @@ "description": "一个设计&前端框架", | ||
"rc-checkbox": "~1.0.6", | ||
"rc-collapse": "~1.2.2", | ||
"rc-collapse": "~1.2.3", | ||
"rc-dialog": "~4.4.0", | ||
@@ -82,6 +83,6 @@ "rc-dropdown": "~1.1.1", | ||
"clean": "rm -rf _site dist", | ||
"deploy": "rm -rf node_modules && node scripts/install.js && npm run clean && webpack --optimize-minimize && nico build && node scripts/deploy.js", | ||
"deploy": "rm -rf node_modules && node scripts/install.js && npm run clean && webpack && webpack --config webpack.config.min.js && nico build && node scripts/deploy.js", | ||
"lint": "eslint components index.js --ext '.js,.jsx'", | ||
"test": "webpack && npm run lint", | ||
"prepublish": "npm run babel && rm -rf dist && webpack && node scripts/prenpm.js" | ||
"prepublish": "npm run babel && rm -rf dist && webpack --config webpack.config.production.js && node scripts/prenpm.js" | ||
}, | ||
@@ -88,0 +89,0 @@ "precommit": [ |
@@ -56,3 +56,3 @@ # Ant Design [![](https://img.shields.io/travis/ant-design/ant-design.svg?style=flat-square)](https://travis-ci.org/ant-design/ant-design) [![npm package](https://img.shields.io/npm/v/antd.svg?style=flat-square)](https://www.npmjs.org/package/antd) [![Dependency Status](https://david-dm.org/ant-design/ant-design.svg?style=flat-square)](https://david-dm.org/ant-design/ant-design) | ||
#### 部署到 ant.design | ||
#### [网站](http://ant.design)部署 | ||
@@ -59,0 +59,0 @@ ```bash |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
233591
29
8789
Updatedrc-collapse@~1.2.3