Commit Graph

10978 Commits

Author SHA1 Message Date
Wei Zhu
62c9dee43e Remove timezone from mock date 2018-03-12 11:22:59 +08:00
王集鹄
decb6d8390 Compatible with non-image format file preview in UploadList (#9621)
* Compatible with non-image format file preview in UploadList

* Add unit test about Upload List should non-image format file preview
2018-03-11 22:24:09 +08:00
zhuyue
ed70ba694e Merge branch 'feature-3.3.0' 2018-03-11 14:50:25 +08:00
诸岳
40e7e0c193
Fix: successPercent should decide the progress status when it exists, close #9382 (#9614)
* fix: successPercent should decide the progress status when it exists, close #9382

* Add test for e361df0 that successPercent should decide the progress status when it exists
2018-03-11 00:11:52 +08:00
诸岳
398788b2c9
Fix: import correct locale file from rc-calendar, close #9373 (#9613)
* fix: import correct locale file from rc-calendar, close #9373

* Update snapshot
2018-03-11 00:11:21 +08:00
Wei Zhu
c5fc656ec8 Fix date mocking
Close #9599

It's an interesting bug, the time we store in the snapshot is in the summertime when you run it in wintertime, it fails.
2018-03-10 17:25:28 +08:00
u3u
30fe88d4bd Add the defaultActiveTabKey property for the Card component (#9526)
* Add the defaultActiveTabKey property for the Card component (close #8789, #8942)

* `activeTabKey` should be added

* Improve

* Fix large tabs font size, close #9509

* docs: Add TreeSelect[dropdownClassName]

* Fix passing dropdownClassName to tree-select

* build: update remark-parse requirement to ^5.0.0 (#9545)

Updates the requirements on [remark-parse](https://github.com/remarkjs/remark) to permit the latest version.
- [Release notes](https://github.com/remarkjs/remark/releases)
- [Commits](https://github.com/remarkjs/remark/commits/remark@5.0.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>

* add Tooltip  contextMenu doc

* Improve Grid and Layout type definition

* fix: focus editor (#9548)

* Fix test case for new jsdom (#9527)

* Fix test case for new jsdom

* use setTimeout as raf in jest jsdom

* Fix cancelAnimationFrame

* Add comment for facebook/jest#5147

* longer timeout

* fix snap

* upgrade antd-tools

* Update typescript requirement to ~2.7.2 (#9522)

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/v2.7.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>

* Fix a ts error

* build: update react-slick requirement to ~0.20.0 (#9543)

Updates the requirements on [react-slick](https://github.com/akiran/react-slick) to permit the latest version.
- [Changelog](https://github.com/akiran/react-slick/blob/master/CHANGELOG.md)
- [Commits](https://github.com/akiran/react-slick/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>

* Fix test cases

* site: fix intersection-observer polyfill

* docs: update recommendation

* Fix typo WeexPickerProps -> WeekPickerProps (#9564)

* use lodash

* Fixed typo on Visualization rules (#9575)

Style of a navigation should conform to the its level.

should be

Style of a navigation should conform to its level.

* Improve Radio/Checkbox type definition

Close #9574

* Remove AbstractCheckboxChangeEvent, fix TS4029 error

See https://github.com/Microsoft/TypeScript/issues/9944

* Update index.en-US.md (#9579)

* add transitionName from message.config (#9580)

* add transitionName from message.config

* Update index.en-US.md (#9579)

* modify doc

* build: update react-virtualized requirement to ~9.18.5 (#9544)

Updates the requirements on [react-virtualized](https://github.com/bvaughn/react-virtualized) to permit the latest version.
- [Changelog](https://github.com/bvaughn/react-virtualized/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bvaughn/react-virtualized/commits/9.18.5)

Signed-off-by: dependabot[bot] <support@dependabot.com>

* When treeNode is disabled, its switcher is highlight and clickabled (#9539)

* When treeNode is disabled, its switcher is highlight and clickabled

* rc-tree@1.7.11

* Fix moment require (#9528)

Fix #9502

* Update snapshot
2018-03-10 14:44:12 +08:00
Wei Zhu
b6d7151486 docs: Document Calendar[validRange] 2018-03-09 17:55:49 +08:00
Wei Zhu
7f5f09ff47 Add more tests for Calendar[validRange] 2018-03-09 17:43:13 +08:00
Rohan Malhotra
71f65a0be8 Added validRange props in calendar to control date range 2018-03-09 17:42:54 +08:00
Camol
2aed46012e [feature]: add native Event - related to #9368 (#9376)
* [feature]: add native Event - related to #9368

* update tests and rc-checkbox's version
2018-03-09 15:16:57 +08:00
Wei Zhu
fe4d294c64 Fix moment require (#9528)
Fix #9502
2018-03-09 15:04:21 +08:00
valleykid
ae78a4bbec When treeNode is disabled, its switcher is highlight and clickabled (#9539)
* When treeNode is disabled, its switcher is highlight and clickabled

* rc-tree@1.7.11
2018-03-09 15:04:09 +08:00
SimpleFrontend
528c6fa1e0 Added pendingDot to Timeline (#9546)
* Added selectionColumnWidth to TableRowSelection

* Updated documents

* Renamed selectionColumnWidth to columnWidth

* Added pendingDot to Timeline

* Added pendingDot to Timeline

* Minor update according to the feedback

* Updated according to feedback
2018-03-09 15:03:19 +08:00
Hughen
6998f66eb5 feat: add afterClose to Alert (#9448)
- add afterClose to Alert, in in order to achieve smoothly unmount.
2018-03-09 15:02:13 +08:00
dependabot[bot]
5157b7b8a2 build: update react-virtualized requirement to ~9.18.5 (#9544)
Updates the requirements on [react-virtualized](https://github.com/bvaughn/react-virtualized) to permit the latest version.
- [Changelog](https://github.com/bvaughn/react-virtualized/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bvaughn/react-virtualized/commits/9.18.5)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-03-09 14:59:53 +08:00
MuYu
f61967b496 add transitionName from message.config (#9580)
* add transitionName from message.config

* Update index.en-US.md (#9579)

* modify doc
2018-03-09 13:30:50 +08:00
Kevin BON
b1bcf842d7 Update index.en-US.md (#9579) 2018-03-09 00:48:23 +08:00
Xoce51
e142bce0a0 Update documentation to match with the select search method #9494 (#9577) 2018-03-09 00:47:38 +08:00
Wei Zhu
473872af66 Remove AbstractCheckboxChangeEvent, fix TS4029 error
See https://github.com/Microsoft/TypeScript/issues/9944
2018-03-08 21:42:22 +08:00
Wei Zhu
f78e0098fa Improve Radio/Checkbox type definition
Close #9574
2018-03-08 20:39:34 +08:00
Angga
43e4622ef8 Fixed typo on Visualization rules (#9575)
Style of a navigation should conform to the its level.

should be

Style of a navigation should conform to its level.
2018-03-08 19:14:41 +08:00
afc163
e071002fae use lodash 2018-03-08 14:46:47 +08:00
Pierre
1259d703c7 Fix typo WeexPickerProps -> WeekPickerProps (#9564) 2018-03-07 23:56:24 +08:00
afc163
d40d59ab68 docs: update recommendation 2018-03-07 15:59:02 +08:00
afc163
468a7629e7 site: fix intersection-observer polyfill 2018-03-07 15:56:40 +08:00
愚道
59b7195c06 Merge branch 'master' into feature-3.3.0 2018-03-07 14:17:43 +08:00
afc163
15e69d09ca Fix test cases 2018-03-06 21:47:05 +08:00
dependabot[bot]
324e07fbf0 build: update react-slick requirement to ~0.20.0 (#9543)
Updates the requirements on [react-slick](https://github.com/akiran/react-slick) to permit the latest version.
- [Changelog](https://github.com/akiran/react-slick/blob/master/CHANGELOG.md)
- [Commits](https://github.com/akiran/react-slick/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-03-06 21:29:54 +08:00
afc163
2f427e172a Fix a ts error 2018-03-06 21:28:54 +08:00
dependabot[bot]
442673a934 Update typescript requirement to ~2.7.2 (#9522)
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/v2.7.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-03-06 21:28:35 +08:00
偏右
8226ede38e
Fix test case for new jsdom (#9527)
* Fix test case for new jsdom

* use setTimeout as raf in jest jsdom

* Fix cancelAnimationFrame

* Add comment for facebook/jest#5147

* longer timeout

* fix snap

* upgrade antd-tools
2018-03-06 21:21:01 +08:00
陆离
cc06f0f7a5 fix: focus editor (#9548) 2018-03-06 20:59:03 +08:00
Wei Zhu
518c424ca4 Improve Grid and Layout type definition 2018-03-06 15:51:06 +08:00
jim
26934b37c8 add Tooltip contextMenu doc 2018-03-06 15:21:37 +08:00
dependabot[bot]
8466028b5a build: update remark-parse requirement to ^5.0.0 (#9545)
Updates the requirements on [remark-parse](https://github.com/remarkjs/remark) to permit the latest version.
- [Release notes](https://github.com/remarkjs/remark/releases)
- [Commits](https://github.com/remarkjs/remark/commits/remark@5.0.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-03-06 15:14:43 +08:00
Wei Zhu
69b154f9a9 Fix passing dropdownClassName to tree-select 2018-03-06 11:23:03 +08:00
Wei Zhu
56e4ce099d docs: Add TreeSelect[dropdownClassName] 2018-03-06 10:43:56 +08:00
afc163
c7dd7cbbc4 Fix large tabs font size, close #9509 2018-03-05 18:35:33 +08:00
SimpleFrontend
9073237e70 Added selectionColumnWidth to TableRowSelection (#9474)
* Added selectionColumnWidth to TableRowSelection

* Updated documents

* Renamed selectionColumnWidth to columnWidth
2018-03-05 18:23:01 +08:00
dependabot[bot]
c611fe74c0 Update remark-stringify requirement to ^5.0.0 (#9523)
Updates the requirements on [remark-stringify](https://github.com/remarkjs/remark) to permit the latest version.
- [Release notes](https://github.com/remarkjs/remark/releases)
- [Commits](https://github.com/remarkjs/remark/commits/remark@5.0.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-03-05 15:46:16 +08:00
dependabot[bot]
d250f35cf3 Update jest requirement to ^22.4.2 (#9521)
Updates the requirements on [jest](https://github.com/facebook/jest) to permit the latest version.
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v22.4.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-03-05 15:44:36 +08:00
dependabot[bot]
765beb7570 Update lint-staged requirement to ^7.0.0 (#9519)
Updates the requirements on [lint-staged](https://github.com/okonet/lint-staged) to permit the latest version.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/commits/v7.0.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-03-05 15:41:01 +08:00
Wei Zhu
c0e9a22fa9 Update snapshot 2018-03-05 11:23:26 +08:00
dependabot[bot]
3793412e6d Update eslint-plugin-react requirement to 7.7.0 (#9506)
Updates the requirements on [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) to permit the latest version.
- [Release notes](https://github.com/yannickcr/eslint-plugin-react/releases)
- [Changelog](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yannickcr/eslint-plugin-react/commits/v7.7.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-03-04 18:06:02 +08:00
dependabot[bot]
5839c852a4 Update stylelint requirement to ^9.1.1 (#9508)
Updates the requirements on [stylelint](https://github.com/stylelint/stylelint) to permit the latest version.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/commits/9.1.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-03-04 18:05:50 +08:00
dependabot[bot]
b2bb35b13d Update react-slick requirement to ~0.19.0 (#9504)
Updates the requirements on [react-slick](https://github.com/akiran/react-slick) to permit the latest version.
- [Release notes](https://github.com/akiran/react-slick/releases)
- [Changelog](https://github.com/akiran/react-slick/blob/master/CHANGELOG.md)
- [Commits](https://github.com/akiran/react-slick/commits/0.19.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-03-04 17:45:38 +08:00
dependabot[bot]
192c6bbb38 Update scrollama requirement to ^1.4.1 (#9507)
Updates the requirements on [scrollama](https://github.com/russellgoldenberg/scrollama) to permit the latest version.
- [Commits](https://github.com/russellgoldenberg/scrollama/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-03-04 17:44:57 +08:00
afc163
af8e54f1d6 Fix table radius in chrome 2018-03-03 16:42:48 +08:00
afc163
a2018e7c44 site: fix scroll to current hash in chrome 2018-03-03 16:42:48 +08:00