Commit Graph

12231 Commits

Author SHA1 Message Date
Zhiqiang Gong
722b24b813 add disabled prop (#11188)
First of all, thank you for your contribution! :-)

Please makes sure that these checkboxes are checked before submitting your PR, thank you!

* [x] Make sure that you propose PR to right branch: bugfix for `master`, feature for latest active branch `feature-x.x`.
* [x] Make sure that you follow antd's [code convention](https://github.com/ant-design/ant-design/wiki/Code-convention-for-antd).
* [x] Run `npm run lint` and fix those errors before submitting in order to keep consistent code style.
* [x] Rebase before creating a PR to keep commit history clear.
* [x] Add some descriptions and refer relative issues for you PR.

Extra checklist:

**if** *isBugFix* **:**

  * [x] Make sure that you add at least one unit test for the bug which you had fixed.

**elif** *isNewFeature* **:**

  * [ ] Update API docs for the component.
  * [ ] Update/Add demo to demonstrate new feature.
  * [ ] Update TypeScript definition for the component.
  * [ ] Add unit tests for the feature.

tslint检测时报错
类型“IntrinsicAttributes & IntrinsicClassAttributes<Tree> & Readonly<{ children?: ReactNode; }> & Read...”上不存在属性“disabled”。
2018-07-11 19:39:41 +08:00
Wei Zhu
2d5949f31d test: use render for snapshot 2018-07-11 19:35:57 +08:00
Gao Jiangmiao
690804d310 Revert yarn command in use-in-typescript.md 2018-07-11 19:15:32 +08:00
Gao Jiangmiao
46add091ca Fix typo in in use-in-typescript.md 2018-07-11 19:15:32 +08:00
Wei Zhu
4b045fc43f Revert "docs: update moment locale usage"
This reverts commit 89228118af.

The original purpose to import locale from src is that some projects
adding `jsnext:main` to the `resolve.mainFields` config of webpack which leads
webpack load moment from `src/moment.js`. But import from `locale`
should works for most projects.
2018-07-11 15:17:15 +08:00
mofelee
e3ef74c3e7 fix "Cannot find module './locale'" bug 2018-07-11 14:39:06 +08:00
Wei Zhu
ea42973ace mock React.createContext 2018-07-11 11:16:37 +08:00
Wei Zhu
47884320ef docs: remove only 2018-07-11 10:36:24 +08:00
英布
e47b82d22a Update dva related links for English docs
Update dva related links for English docs
2018-07-10 23:12:58 +08:00
英布
9f1c8bc184 dva 相关外链更新到 dva 官网
理解 dva 的 [8 个概念]、查看 [dva 知识地图] 的链接都404了,顺便更新到 dva 官网去
2018-07-10 23:12:58 +08:00
Wei Zhu
af49a1806b docs: rewrite editable demo 2018-07-10 21:11:50 +08:00
陈帅
b3f4e5e3da bugfix: fixed #11152 silder trigger no white theme 2018-07-10 21:06:22 +08:00
Daewoong Moon
52d736a0ee Added missing ko_KR locale 2018-07-10 20:58:30 +08:00
zhenbao.xy
779abfaf9f fix the relation between @alert-text-color & @text-color 2018-07-10 20:58:12 +08:00
Wei Zhu
435558b63e fix: Layout.Sider string width
Close #11211
2018-07-10 12:29:20 +08:00
zhuyue
77af31da7d Merge branch master into feature-3.7.0 2018-07-10 11:49:57 +08:00
zhuyue
591e00edc1 Bump 3.6.6 2018-07-10 11:24:59 +08:00
诸岳
6a405463d1
Add the changelog of 3.6.6 (#11192) 2018-07-10 11:21:43 +08:00
zombiej
903f3f6770 fix test case in react 15 2018-07-04 20:23:46 +08:00
zombiej
1c31efe392 add rc-trigger in package.json to avoid test mock failed 2018-07-04 14:31:35 +08:00
afc163
6d7ac58550 Fix header overflow style of empty table in Firefox, close #11135 2018-07-04 12:09:28 +08:00
Andre Perunicic
31c07d8372 Update customize-theme.zh-CN.md with link to antd-scss-theme-plugin article
This article describes how to install the use the `antd-scss-theme-plugin` for Webpack, and how doing so allows you to: 1) customize Ant Design's variables from an SCSS theme file, 2) use compiled Ant Design variables in other SCSS theme files in your project, and 3) enable hot-reloading of Ant Design styles.
2018-07-04 10:38:14 +08:00
Andre Perunicic
5980cf957a Update customize-theme.en-US.md with link to antd-scss-theme-plugin article
This article describes how to install the use the `antd-scss-theme-plugin` for Webpack, and how doing so allows you to: 1) customize Ant Design's variables from an SCSS theme file, 2) use compiled Ant Design variables in other SCSS theme files in your project, and 3) enable hot-reloading of Ant Design styles.
2018-07-04 10:38:14 +08:00
afc163
0c4d356e54 Merge branch 'master' into feature-3.7.0 2018-07-03 19:54:48 +08:00
afc163
cde8bc8361 Selected value in Cascader should be gray when focus search input 2018-07-03 15:46:12 +08:00
afc163
4aabc53744 Fix InputNumber handler background
https://gw.alipayobjects.com/zos/rmsportal/QDxJpiArMgQJCLhmVvEZ.png
2018-07-03 15:35:56 +08:00
afc163
60ebb434c1 Fix form controls align issue in IE11
close #9827
close #11133
2018-07-03 14:04:46 +08:00
偏右
8607c58abc
Update README.md 2018-07-03 00:10:14 +08:00
Wei Zhu
d4c95e6f18 docs: remove obsolete snapshot and fix custom filter demo 2018-07-02 21:41:14 +08:00
愚道
004561ba1f fix style in range select 2018-07-02 19:51:58 +08:00
愚道
450a3142ee fix: fix datepicker selected item style, close #9529 2018-07-02 19:51:58 +08:00
Wei Zhu
0f2fea2d78 docs: rewrite custom filter demo with filterDropdown function 2018-07-02 19:42:27 +08:00
Wei Zhu
1af4392ae9 feat: filterIcon can be a function 2018-07-02 19:42:27 +08:00
Christian Vadalà
59cc3a8b6c feat: adds ability to override filter renderer without migrate to a fully controlled component 2018-07-02 19:42:27 +08:00
偏右
ee1f450e04
Update use-with-create-react-app.en-US.md 2018-07-02 17:56:16 +08:00
agent-z
8c156afb39 Update use-with-create-react-app.zh-CN.md 2018-07-02 17:55:37 +08:00
valleykid
915a64feae docs: some words are improper 2018-07-02 13:55:25 +08:00
zombiej
fb96c9db35 update treeSelect doc 2018-07-02 12:27:16 +08:00
valleykid
7123a6da59 bump 3.6.5 2018-07-02 12:16:15 +08:00
afc163
5fe25d9c23 site: fix collapse all button and import it, close #11113 2018-07-01 12:13:46 +08:00
afc163
a516358298 Fix wired Transfer repaint problem in IE or Edge
close #9697

https://stackoverflow.com/q/27947912/3040605
2018-06-30 22:22:09 +08:00
afc163
a3e245731b code style 2018-06-30 21:56:41 +08:00
afc163
553901dfb8 Fix card background overflow when zoom in chrome, close #9085 2018-06-30 21:13:22 +08:00
afc163
7d038d1aee revert 4d5d3c142e 2018-06-30 19:05:09 +08:00
afc163
e906117731 use eslint-tinker back in devDeps 2018-06-30 18:52:48 +08:00
Aditya Padhi
fcc055b390 Update index.en-US.md
Updated to document by adding  a property "destroyInactivePanel" which lets the user know about it behavior.
2018-06-30 18:51:32 +08:00
afc163
763d32ac68 Fix tslint 2018-06-30 18:49:43 +08:00
zombiej
567eaf9ff4 close #10990. Update rc-tree-select 2018-06-30 15:15:13 +08:00
Harshit Mehrotra
47621acb6c Fixed a typo
from was misspelled as form
2018-06-30 15:13:00 +08:00
zombiej
6ff7dd8fb9 close #10996. Update selectTree doc. 2018-06-29 17:22:40 +08:00