Commit Graph

11634 Commits

Author SHA1 Message Date
afc163
b3ed289904 chore: fix arrow position in Firefox 2018-06-12 16:27:46 +08:00
afc163
fd96967c87 upgrade rc-upload to 2.5
- support `directory` close #7315
- action can be a function return Promise
2018-06-12 16:07:06 +08:00
afc163
99d6e4c96c Merge branch 'master' into feature-3.7.0 2018-06-12 15:34:51 +08:00
Zheeeng
f36c6195b8 Fix typo (#10878)
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.
* [ ] 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.
2018-06-12 14:36:08 +08:00
Sebastian Busch
ee0a7ce3bb Form: add missing type definition for form create option validateMessages
(Docs for validateMessages had been added in rev 16133aac65 )
2018-06-12 14:32:08 +08:00
Sebastian Busch
619b0ed628 add type definition for missing third parameter "allFields" to onFieldsChange (introduced
(_Implementation_ of this parameter had been added in 16133aac65 )
2018-06-12 14:32:08 +08:00
Wei Zhu
99cad890ef Fix Tree types, TreeNode is a ComponentClass
Close #10868
2018-06-12 10:57:19 +08:00
Yuxuan Huo
9aea9ddf58 expose input box-shadow h and v offset in theme variables 2018-06-11 20:20:24 +08:00
afc163
7e2ba7e6d3 site: fix code demo icon style in IE 2018-06-10 23:03:07 +08:00
Wei Zhu
c3769e3b96 Bump 3.6.2 2018-06-10 12:04:00 +08:00
Wei Zhu
f597c32aa6
Add 3.6.2 changelog (#10856) 2018-06-10 11:53:50 +08:00
Wei Zhu
4d6f8e96b9 Improve AutoComplete types
close #10619
2018-06-09 16:01:18 +08:00
dependabot[bot]
ae6de361e2 Update eslint-plugin-react requirement to 7.9.1 (#10760)
Updates the requirements on [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) to permit the latest version.
<details>
<summary>Release notes</summary>

*Sourced from [eslint-plugin-react's releases](https://github.com/yannickcr/eslint-plugin-react/releases).*

> ## v7.9.1
> Nothing was fixed; this is a republish with some updated deps. ([#1804](https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/1804) [**ljharb**](https://github.com/ljharb))
</details>
<details>
<summary>Changelog</summary>

*Sourced from [eslint-plugin-react's changelog](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md).*

> ## [7.9.1] - 2018-06-03
> * Nothing was fixed; this is a republish with some updated deps. ([#1804][] [**ljharb**](https://github.com/ljharb))
> 
> [#1804]: https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/1804
> 
> ## [7.9.0] - 2018-06-03
> ### Added
> * Add [`jsx-props-no-multi-spaces`][] rule ([#1755][] [**ThiefMaster**](https://github.com/ThiefMaster))
> * Add `first` option to [`jsx-indent-props`][] ([#398][] [**ThiefMaster**](https://github.com/ThiefMaster))
> * Add `enforceDynamicLinks` option to [`jsx-no-target-blank`][] ([#1737][] [**kenearley**](https://github.com/kenearley))
> 
> ### Fixed
> * Fix static lifecycle methods validation in [`sort-comp`][] ([#1793][] [**lynxtaa**](https://github.com/lynxtaa))
> * Fix crash in [`no-typos`][] when encountering anonymous react imports ([#1796][] [**jsg2021**](https://github.com/jsg2021))
> * Fix ESLint 3 support ([#1779][])
> 
> ### Changed
> * Documentation improvements ([#1794][] [**lencioni**](https://github.com/lencioni))
> * Update Travis CI configuration to test on multiple ESLint verions
> 
> [7.9.0]: https://github.com/yannickcr/eslint-plugin-react/compare/v7.8.2...v7.9.0
> [#1755]: https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/1755
> [#398]: https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/398
> [#1737]: https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/1737
> [#1793]: https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/1793
> [#1796]: https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/1796
> [#1779]: https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/1779
> [#1794]: https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/pull/1794
> 
> ## [7.8.2] - 2018-05-13
> ### Fixed
> * Fix crash in [`boolean-prop-naming`][] when encountering a required shape prop type ([#1791][] [**pcorpet**](https://github.com/pcorpet))
> 
> [7.8.2]: https://github.com/yannickcr/eslint-plugin-react/compare/v7.8.1...v7.8.2
> [#1791]: https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/1791
> 
> ## [7.8.1] - 2018-05-12
> ### Fixed
> * Fix crash in [`no-deprecated`][] when encountering a class constructor ([#1785][] [**taddei**](https://github.com/taddei))
> 
> [7.8.1]: https://github.com/yannickcr/eslint-plugin-react/compare/v7.8.0...v7.8.1
> [#1785]: https://github-redirect.dependabot.com/yannickcr/eslint-plugin-react/issues/1785
> 
> ## [7.8.0] - 2018-05-11
> ### Added
> * Add support for fragments to [`react-in-jsx-scope`][] ([#1758][])
> * Add support for Flow generic PropType to [`require-default-props`][] ([#1724][] [**Miziak**](https://github.com/Miziak))
> * Add component whitelist option to [`forbid-component-props`][] ([#1732][] [**ThiefMaster**](https://github.com/ThiefMaster))
> * Add support for React 16.3 lifecycle methods to [`no-unused-prop-types`][] ([#1681][] [**bvaughn**](https://github.com/bvaughn))
> * Add support for React 16.3 lifecycle methods to [`sort-comp`][] ([#1767][] [**joe-denea**](https://github.com/joe-denea))
></table> ... (truncated)
</details>
<details>
<summary>Commits</summary>

- See full diff in [compare view](https://github.com/yannickcr/eslint-plugin-react/commits/v7.9.1)
</details>
<br />

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use (this|these) label[s]` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use (this|these) reviewer[s]` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use (this|these) assignee[s]` will set the current assignees as the default for future PRs for this repo and language

Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

</details>
2018-06-09 14:51:15 +08:00
Wei Zhu
1a9456f03a Add boolean to CheckboxValueType
Close #10677
2018-06-09 14:39:42 +08:00
Wei Zhu
05c5115991 site: fix lint 2018-06-08 23:21:25 +08:00
bLue
8e26b6823a Fix spin delay issue if mounts with spinning=true (#10727)
* Fix spin delay issue if mounts with spinning=true

* Add test for spin delay issue

* Update spin lifecycle method
2018-06-08 23:13:47 +08:00
Wei Zhu
5174801b95 Revert "Upgrade react-dnd"
This reverts commit 71d2a991ed.
2018-06-08 19:01:54 +08:00
Wei Zhu
ac0b4bacc5 Revert "Update snapshot"
This reverts commit e7cd474894.
2018-06-08 19:01:34 +08:00
Wei Zhu
e7cd474894 Update snapshot 2018-06-08 18:13:51 +08:00
陈帅
789b54905c fix #10842 Badge status does not change with themes 2018-06-08 17:59:31 +08:00
Wei Zhu
71d2a991ed Upgrade react-dnd 2018-06-08 17:22:55 +08:00
picodoth
8610eb054f docs: remove changlog info for 3.6.1 2018-06-08 16:58:08 +08:00
zombiej
c488aca05e close #10666 #10821.Update tree support loadedKeys 2018-06-08 16:55:17 +08:00
afc163
f2fddff3fd upgrade rc-table to 16.2
close #10392
close #10379
close #10828
2018-06-08 16:32:04 +08:00
afc163
89f3b253a4 Merge branch 'master' into feature-3.7.0 2018-06-08 16:22:15 +08:00
afc163
71d3af310a Fix missing border in Button.Group
https://gw.alipayobjects.com/zos/rmsportal/hKuBQeoCgjruYXCGnrDt.png
2018-06-08 15:08:04 +08:00
Wei Zhu
89228118af docs: update moment locale usage 2018-06-08 12:22:22 +08:00
Kirill Alexander Khalitov
0ca1a990be Makes TreeNode component more type safe
Makes TreeNode component more type safe
2018-06-08 10:32:00 +08:00
Kirill Alexander Khalitov
74755fef99 Fix #10838
Fix [#10838](https://github.com/ant-design/ant-design/issues/10838)
2018-06-08 10:32:00 +08:00
Wei Zhu
396f81dbab
Update cases.zh-CN.md 2018-06-07 11:58:16 +08:00
Wei Zhu
a4a3b5e12d
Update cases.en-US.md 2018-06-07 11:57:11 +08:00
陈帅
2025a10a06 avatar img add "alt" prop (#10798) 2018-06-07 11:36:16 +08:00
zombiej
78adc05973 close #10745, move dropdownMatchSelectWidth into AbstractSelectProps 2018-06-07 10:24:12 +08:00
zombiej
b524e1fe7e adjust defaultProps def 2018-06-07 00:33:52 +08:00
jim
e51b043737 Merge branch 'master' into feature-3.7.0 2018-06-06 21:22:39 +08:00
zombiej
8444ad209d close #10786, spin icon css for adjust font size 2018-06-06 19:53:50 +08:00
zombieJ
4b360b5139
Spin support setDefaultIndicator (#10815)
* Add `setDefaultIndicator` in Spin
* Update doc

ref: https://github.com/ant-design/ant-design/issues/10787
2018-06-06 19:32:30 +08:00
afc163
77ad1e457b Fix progress demo 2018-06-06 17:40:47 +08:00
zombiej
8f449861cf fix progress test case & dropdown support alignPoint 2018-06-06 17:36:24 +08:00
杨小事er
ad52250256 fix(calendar): fix fullcalendar content 2px overflow 2018-06-06 16:59:42 +08:00
afc163
68b207e186 support Progress[strokeColor], close #10725 2018-06-06 16:18:00 +08:00
picodoth
8e60a591fd feat: provide default margin for dropdown menu item icon 2018-06-06 15:14:07 +08:00
Junbin Huang
e1ba74e5fc
fix: still keep order when upload fails (#10794) 2018-06-06 12:13:06 +08:00
afc163
6602df16e6 Fix extra border style in Button.Group 2018-06-06 11:33:13 +08:00
afc163
17b158c091 Fix CheckboxAll status when remove data and selectedKeys
close #10629
2018-06-05 20:45:19 +08:00
Wei Zhu
c2d94ad84d Don't cache badge since they don't allow cor 2018-06-04 16:24:49 +08:00
Wei Zhu
57a01e1b9f Update offline-plugin 2018-06-04 15:00:43 +08:00
zombieJ
a825ed4e66
Directory Tree (#10139)
Support DirTree. close #7749
2018-06-04 11:20:17 +08:00
wangshantao
cdc571b17e 图片描述与内容不符 (#10755) 2018-06-04 10:41:47 +08:00
Junbin Huang
d69610a17f
docs: update changelog for 3.6.1 (#10753) 2018-06-04 00:02:32 +08:00