This commit is contained in:
yiminghe
2015-11-23 14:52:56 +08:00
parent 1461bc168b
commit 430ceeb4d1
11 changed files with 51888 additions and 2824 deletions
+15
View File
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
<excludeFolder url="file://$MODULE_DIR$/_site" />
<excludeFolder url="file://$MODULE_DIR$/dist" />
<excludeFolder url="file://$MODULE_DIR$/lib" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="ant-design node_modules" level="project" />
</component>
</module>
+2 -2
View File
@@ -620,7 +620,7 @@
</ul>
<h4 id="组件变更">组件变更<a href="#组件变更" class="anchor">#</a> </h4><ul>
<li>Table<ul>
<li>支持单选。<a href="/components/table/#demo-row-selection-radio-props">演示</a></li>
<li>支持单选。<a href="http://ant.design/components/table/#demo-row-selection-radio-props">演示</a></li>
<li>选择模式支持默认选中和不可用效果。<a href="/components/table/#demo-row-selection-props">演示</a></li>
<li>列支持了 <code>colSpan</code><code>rowSpan</code> 配置。<a href="/components/table/#demo-colspan-rowspan">演示</a></li>
<li>新增 <code>loading</code> 属性。</li>
@@ -670,7 +670,7 @@
<p>备注:</p>
<ul>
<li><a href="https://github.com/ant-design/ant-design/issues/276">计划和推进 issue</a></li>
<li><a href="/docs/upgrade-to-0.10">0.10 升级指南</a></li>
<li><a href="http://ant.design/docs/upgrade-to-0.10">0.10 升级指南</a></li>
</ul>
</blockquote>
<h2 id="0-9-3-0-9-5-2015-11-04">0.9.3 ~ 0.9.5 <code>2015-11-04</code><a href="#0-9-3-0-9-5-2015-11-04" class="anchor">#</a> </h2><ul>
+3
View File
@@ -30,6 +30,9 @@ let Breadcrumb = React.createClass({
if (routes && routes.length > 0 && ReactRouter) {
let Link = ReactRouter.Link;
crumbs = routes.map(function(route, i) {
if (!route.breadcrumbName) {
return null;
}
let name = route.breadcrumbName.replace(/\:(.*)/g, function(replacement, key) {
return params[key] || replacement;
});
+10426
View File
File diff suppressed because it is too large Load Diff
+1
View File
File diff suppressed because one or more lines are too long
+39226
View File
File diff suppressed because it is too large Load Diff
+1
View File
File diff suppressed because one or more lines are too long
+2191 -2820
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -108,7 +108,7 @@
"start": "npm run clean && nico server --watch",
"clean": "rm -rf _site dist",
"deploy": "rm -rf node_modules && node scripts/install.js && npm run just-deploy",
"just-deploy": "npm run clean && webpack --config webpack.deploy.config.js && NODE_ENV=PRODUCTION nico build && node scripts/deploy.js",
"just-deploy": "npm run clean && webpack --config webpack.deploy.config.js && webpack --config webpack.antd.config.js && NODE_ENV=PRODUCTION nico build && node scripts/deploy.js",
"lint": "eslint components test index.js --ext '.js,.jsx'",
"test": "npm run lint && webpack && npm run jest",
"jest": "jest",
+21
View File
@@ -0,0 +1,21 @@
var config = require('./webpack.config');
config.entry = {
'antd': ['./index.js']
};
config.externals = {
'react': {
root: 'React',
commonjs2: 'react',
commonjs: 'react',
amd: 'react'
},
'react-dom': {
root: 'ReactDOM',
commonjs2: 'react-dom',
commonjs: 'react-dom',
amd: 'react-dom'
}
};
config.output.library = 'antd';
config.output.libraryTarget = 'umd';
module.exports = config;