From 1ef95ec1ec7f555a09221e80a4303dda985cc0fb Mon Sep 17 00:00:00 2001 From: afc163 Date: Tue, 23 Feb 2016 11:16:58 +0800 Subject: [PATCH 01/65] improve demo for select optionFilterProp --- components/select/demo/search.md | 16 +++++++++------- components/select/index.md | 2 +- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/components/select/demo/search.md b/components/select/demo/search.md index d52f216f3d..3ab81a4c84 100644 --- a/components/select/demo/search.md +++ b/components/select/demo/search.md @@ -15,14 +15,16 @@ function handleChange(value) { } ReactDOM.render( - , mountNode); ```` diff --git a/components/select/index.md b/components/select/index.md index 0289b7ba9e..27d5a7c25d 100644 --- a/components/select/index.md +++ b/components/select/index.md @@ -38,7 +38,7 @@ | searchPlaceholder | 搜索框默认文字 | string | 无 | | notFoundContent | 当下拉列表为空时显示的内容 | string | 'Not Found' | | dropdownMatchSelectWidth | 下拉菜单和选择器同宽 | boolean | true | -| optionFilterProp | 输入项过滤对应的 option 属性 | string | value | +| optionFilterProp | 搜索时过滤对应的 option 属性,如设置为 children 表示对内嵌内容进行搜索 | string | value | | combobox | 输入框自动提示模式 | boolean | false | | size | 选择框大小,可选 `large` `small` | String | default | | showSearch | 在下拉中显示搜索框 | boolean | false | From ca74e17b7be95ac212496d20b46aa32d2ce2c0f8 Mon Sep 17 00:00:00 2001 From: afc163 Date: Tue, 23 Feb 2016 11:30:44 +0800 Subject: [PATCH 02/65] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 69fca49606..5e97f78d1f 100644 --- a/README.md +++ b/README.md @@ -10,9 +10,9 @@ An enterprise-class UI design language and React-based implementation. ## Features -- An enterprise-class graphical design language and framework for financial applications. +- An enterprise-class design language and high quality UI framework. - Rich library of UI components base on [React Component](http://react-component.github.io/badgeboard/). -- A npm + webpack + babel workflow, supporting ES2015. +- A npm + webpack + babel + dora [workflow](http://ant-tool.github.io/index.html). ## Install From 9523ade5429013b1977ce96ef931d2e779bb7eb9 Mon Sep 17 00:00:00 2001 From: afc163 Date: Tue, 23 Feb 2016 11:32:00 +0800 Subject: [PATCH 03/65] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5e97f78d1f..fcc11b03a6 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ An enterprise-class UI design language and React-based implementation. ## Features -- An enterprise-class design language and high quality UI framework. +- An enterprise-class design language and high quality UI style. - Rich library of UI components base on [React Component](http://react-component.github.io/badgeboard/). - A npm + webpack + babel + dora [workflow](http://ant-tool.github.io/index.html). From aa16f6c3984dabee03706ccee424b9e06b394e1c Mon Sep 17 00:00:00 2001 From: afc163 Date: Tue, 23 Feb 2016 14:36:24 +0800 Subject: [PATCH 04/65] Fix(site): fix icon copy text --- components/icon/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/icon/index.md b/components/icon/index.md index 46b6e5bdad..1140becfe5 100644 --- a/components/icon/index.md +++ b/components/icon/index.md @@ -120,7 +120,7 @@ const CopyableIcon = React.createClass({ }); }, render() { - const text = '<Icon type="' + this.props.type + '" />'; + const text = ''; return (
  • From 4446e73fda725ccad696d20366b6ea807e2a5a75 Mon Sep 17 00:00:00 2001 From: afc163 Date: Tue, 23 Feb 2016 16:24:07 +0800 Subject: [PATCH 05/65] remove button border-radius fallback --- components/button/button.jsx | 5 ----- components/button/index.md | 14 -------------- site/templates/layout.html | 3 --- 3 files changed, 22 deletions(-) diff --git a/components/button/button.jsx b/components/button/button.jsx index 59111b7605..28c582c2b9 100644 --- a/components/button/button.jsx +++ b/components/button/button.jsx @@ -25,11 +25,6 @@ function insertSpace(child) { } export default class Button extends React.Component { - componentDidMount() { - if (window && window.PIE) { - window.PIE.attach(findDOMNode(this)); - } - } handleClick(...args) { const buttonNode = findDOMNode(this); buttonNode.className = buttonNode.className.replace(`${prefix}clicked`, ''); diff --git a/components/button/index.md b/components/button/index.md index d869c820b7..4f945f586a 100644 --- a/components/button/index.md +++ b/components/button/index.md @@ -29,17 +29,3 @@ loading | 设置按钮载入状态 | boolean | false onClick | `click` 事件的 handler | function | `function() {}` - `` 最终会被渲染为 ``,并且除了上表中的属性,其它属性都会直接传到 `` - - -### IE8 border radius support - -Ant Design 视觉上采用渐进降级的方案,在 IE8 下圆角按钮将降级为直角。 -如果强烈需要圆角按钮,我们提供了 [css3pie](http://css3pie.com/) 的兼容方案。 - -使用时只需在 html 头部加入以下代码即可。 - -```html - -``` diff --git a/site/templates/layout.html b/site/templates/layout.html index b47c4b672a..34337cb21c 100644 --- a/site/templates/layout.html +++ b/site/templates/layout.html @@ -13,9 +13,6 @@ {% block styles %}{% endblock %} -