Commit Graph

11570 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
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
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
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
愚道
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
偏右
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
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
Harshit Mehrotra
47621acb6c Fixed a typo
from was misspelled as form
2018-06-30 15:13:00 +08:00
afc163
ddfe8ad48a Adapt Table sorter icon style to @font-size-base
https://gw.alipayobjects.com/zos/rmsportal/jKlytqFbAeMQGXaCYWdR.png

  =>

https://gw.alipayobjects.com/zos/rmsportal/InvEbivRsIcAQBuoEsJI.png
2018-06-29 15:33:57 +08:00
afc163
4d5d3c142e fix fileList in onChange when uid is 0, close #11089 2018-06-29 13:57:47 +08:00
zelongc
27c3093487 Typo fix in the upload component demo.
Change 'reponse' to 'response'.
2018-06-29 12:47:01 +08:00
Wei Zhu
fd06baa9d7 use fork version of offline-plugin 2018-06-29 12:22:26 +08:00
afc163
d88a8f6920 docs: Add instruction about validateFields arguments, close #11084 2018-06-29 11:57:26 +08:00
dependabot[bot]
31014e94ba Update react-virtualized requirement to ~9.20.0 (#11031)
Updates the requirements on [react-virtualized](https://github.com/bvaughn/react-virtualized) to permit the latest version.
- [Release notes](https://github.com/bvaughn/react-virtualized/releases)
- [Changelog](https://github.com/bvaughn/react-virtualized/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bvaughn/react-virtualized/commits/9.20.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-06-29 10:23:42 +08:00
Yury Kozyrev
cde2a6b6f0 Add missing showArrow option in types 2018-06-28 22:50:07 +08:00
afc163
c55fabc7b4 docs: improve radio API documentation 2018-06-28 14:18:23 +08:00
afc163
33c5d3b330 fix test 2018-06-27 20:33:32 +08:00
afc163
0ea8047546 test: update table snapshots 2018-06-27 19:49:58 +08:00
afc163
1010a4fe19 test: update table snapshots 2018-06-27 18:57:04 +08:00