Commit Graph

13655 Commits

Author SHA1 Message Date
Wei Zhu
ff0595733f refactor: use instanceof instead typeof 2018-09-30 17:04:05 +08:00
Wei Zhu
2bf2bb5af4 fix: type error 2018-09-30 16:58:25 +08:00
Wei Zhu
1c1a67fe1d Merge branch 'feature' 2018-09-30 16:53:28 +08:00
Wei Zhu
e063e1916d fix: more types 2018-09-30 16:39:51 +08:00
Wei Zhu
fe677e2966 fix: type error of filterDropdown 2018-09-30 16:11:25 +08:00
Wei Zhu
ee84f4ce0a fix: some type definitions 2018-09-30 16:07:01 +08:00
Tom Xu
ff4d803181 fix #12395. input group hover style error (#12407)
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 branch `feature`.
* [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.
2018-09-30 15:23:47 +08:00
Johannes Loewe
0126c63b2d fix #11312: add autoClearSearchValue to AbstractSelectProps (#12473)
- extends the interface with an optional prop that can be provided to the RcSelect

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 branch `feature`.
* [ 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* **:**

  * [ ] 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.

This fix is related to Issue #11312 and adds the optional `autoClearSearchValue` prop which can be supplied to `RcSelect` to the Select´s props. This is not really a new feature and a relatively unsubstantial one a that, so I didn´t add a demo for it, but I could do so if that´s desirable.

I updated the English API docs, but I´m not a Chinese speaker so there is no addition to the Chinese documentation. Maybe someone speaking Chinese would be willing to help out.
2018-09-30 15:04:03 +08:00
dependabot[bot]
54a8957e9d Update babel-eslint requirement from ^9.0.0 to ^10.0.1 (#12454)
Updates the requirements on [babel-eslint](https://github.com/babel/babel-eslint) to permit the latest version.
- [Release notes](https://github.com/babel/babel-eslint/releases)
- [Commits](https://github.com/babel/babel-eslint/commits/v10.0.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-09-30 14:59:31 +08:00
dependabot[bot]
c0545b6cc3 Update typescript requirement from ~3.0.1 to ~3.1.1 (#12455)
Updates the requirements on [typescript](https://github.com/Microsoft/TypeScript) to permit the latest version.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/commits/v3.1.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-09-30 14:59:06 +08:00
C.J. Winslow
b9a86b2ea1 Pass the ok and cancel button props in the confirm API (#12425)
This PR adds the `okButtonProps` and `cancelButtonProps` API to the `Modal.confirm` and associated methods.


* [x] Make sure that you propose PR to right branch: bugfix for `master`, feature for branch `feature`.
* [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:

*isNewFeature* **:**

  * [x] Update API docs for the component.
  * [x] Update/Add demo to demonstrate new feature.
  * [x] Update TypeScript definition for the component.
  * [x] Add unit tests for the feature.
2018-09-30 14:50:03 +08:00
jiang
aee625b2ea
update motion language (#12478) 2018-09-30 11:43:53 +08:00
zombieJ
2cd0ca3225 Get the filtered data after executing the filter function on the dataSource (#12369)
* update testcase

* rename as currentDataSource
2018-09-30 11:17:39 +08:00
竹尔
1288b1cc6d
Update icon.zh-CN.md 2018-09-29 18:48:39 +08:00
Wei Zhu
eb4255a39c Update snapshot 2018-09-29 18:13:53 +08:00
Federico Marcos
ab92c934d5 fix incorrect prop passed to checkbox in docs examples (#12448)
prop should be `checked` instead of `value`
2018-09-29 18:09:03 +08:00
竹尔
66f72ff408
Update icon.zh-CN.md 2018-09-29 17:54:05 +08:00
竹尔
12535accda
Update icon.zh-CN.md 2018-09-29 17:43:19 +08:00
竹尔
baf25b5da8
Update icon.zh-CN.md 2018-09-29 17:38:50 +08:00
Cong Zhang
6867ef9aea Spin: lifecycle method migrate 2018-09-29 17:35:22 +08:00
竹尔
609c5c756f
Update icon.zh-CN.md 2018-09-29 17:15:29 +08:00
zombiej
b9e85b2870 fix #12469. Adjust doc of Skeleton type 2018-09-29 17:08:44 +08:00
Erwin Kort
2d8f9ccf63 Add button autofocus prop to confirm modal (#11756)
@picodoth
2018-09-29 17:00:01 +08:00
Wei Zhu
3d58ea4d4c Don't need prepend https to script url 2018-09-29 16:45:57 +08:00
Wei Zhu
c3b2d59bc8 Revert "Feature Icon.createFromIconfontCN adaptive http or https (#12344)"
This reverts commit 7c67dacc12.
2018-09-29 16:44:57 +08:00
Wei Zhu
fcb546ea57 Update snapshot 2018-09-29 16:41:56 +08:00
Wei Zhu
4ce3800de7 Merge branch 'master' into feature 2018-09-29 16:27:07 +08:00
Hari Shankar D
9798fa0b61 visual.md (#11710)
* visual.md

This is the translation for the website's contents. 
Review this and merge if it satisfies the content delivery team.

* docs: separate two version of visual.md
2018-09-29 16:00:57 +08:00
Wei Zhu
4aa2bf804a Merge branch 'list-item-style-config' 2018-09-29 15:44:35 +08:00
Wei Zhu
ec43288518 docs: fix icon page style 2018-09-29 15:25:26 +08:00
竹尔
87a69fc81a
Update icon.zh-CN.md 2018-09-29 15:23:06 +08:00
竹尔
282722ed7f
Update icon.zh-CN.md 2018-09-29 15:22:16 +08:00
竹尔
de8659c8dc
Update icon.zh-CN.md 2018-09-29 15:20:43 +08:00
竹尔
878f1f833f
Update icon.zh-CN.md 2018-09-29 14:54:33 +08:00
竹尔
a9e5e1e746
Update icon.zh-CN.md 2018-09-29 14:52:50 +08:00
snail
6b22ae3b6c [fixed]button can also trigger the click event when loading is true in ie9 (#12466) 2018-09-29 14:41:55 +08:00
竹尔
33c9623862
Update icon.zh-CN.md 2018-09-29 13:53:56 +08:00
Wei Zhu
a6453abbc7 docs: fix icon page style 2018-09-29 11:15:39 +08:00
Amumu
ef4e699f1d Update avatar.md (#12458) 2018-09-28 22:14:04 +08:00
KentonYu
5545342bd4 docs: 修改 Table 文档 (#12460)
RowSelection 中 onSelectAll、onSelect 说明中的 列 改为 行
2018-09-28 22:05:43 +08:00
Wei Zhu
335f821aec fix: warning on conflicting theme of Icon
fix #12441
2018-09-28 19:31:50 +08:00
Wei Zhu
cfdf06213b fix style lint errors 2018-09-28 19:20:31 +08:00
竹尔
34c1dadacb
Update icon.zh-CN.md 2018-09-28 17:28:58 +08:00
竹尔
8652f8e26c
Update icon.zh-CN.md 2018-09-28 17:08:13 +08:00
Wei Zhu
79d3a926ef Update snapshot 2018-09-28 16:19:08 +08:00
竹尔
9b5931a914
Update icon.zh-CN.md 2018-09-28 15:52:03 +08:00
竹尔
01f739dfbe
Update icon.zh-CN.md 2018-09-28 15:51:10 +08:00
Wei Zhu
03bf891259 docs: uppercase SVG 2018-09-28 14:48:56 +08:00
Wei Zhu
17e2002c3c docs: Update icon docs 2018-09-28 14:45:35 +08:00
zombiej
58102df60a update rc-select deps 2018-09-28 13:00:52 +08:00