afc163
aff9d8fc62
fix lint
2018-05-25 21:43:21 +08:00
afc163
b7b12b657c
test: test carousel
2018-05-25 21:43:21 +08:00
afc163
0feaf95629
Fix breadcrumb test case
2018-05-25 21:43:21 +08:00
afc163
076540c83e
test: breadcrumd work with react-router
2018-05-25 21:43:21 +08:00
afc163
3db0610d52
Add test case for Cascader
2018-05-25 21:43:21 +08:00
afc163
7222944347
test babel-plugin-import warning
2018-05-25 21:43:21 +08:00
afc163
322ebf0039
fix badge snapshot
2018-05-25 21:43:21 +08:00
Jinxuan Zhu
c2519e776b
Add promise-like interface ( #10470 )
...
* Add promise-like interface
* Keep hide interface
* Shorten
* Test Promise
* Update document
* Update demo: 2.5 second is insignificant with the default 3s hiding
* Update demo: then interface
* Fix line break
* Chainable
* Thenable demo
* Thenable test
* Fix tsc error
* Fix tsc error
* Better document
* Revert change in loading.md
* Change snapshot
2018-05-25 20:41:07 +08:00
Winter Zhong
33b604f7a8
Fix issue #10635 Parent element set text-align break Spin ( #10643 )
...
* fix the issue when settingthe parent ele text-align center, the spin is on the right
* put the display in the proper place
2018-05-25 20:40:17 +08:00
dependabot[bot]
4c101275a5
Update jest requirement to ^23.0.0 ( #10653 )
...
Updates the requirements on [jest](https://github.com/facebook/jest ) to permit the latest version.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/commits/v23.0.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-05-25 16:31:51 +08:00
dependabot[bot]
4c1b2369d7
Update warning requirement to ~4.0.0 ( #10654 )
...
Updates the requirements on [warning](https://github.com/BerkeleyTrue/warning ) to permit the latest version.
- [Release notes](https://github.com/BerkeleyTrue/warning/releases )
- [Changelog](https://github.com/BerkeleyTrue/warning/blob/master/CHANGELOG.md )
- [Commits](https://github.com/BerkeleyTrue/warning/commits/v4.0.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-05-25 16:31:34 +08:00
afc163
cbff10db15
test: update snapshots
2018-05-25 14:25:26 +08:00
afc163
b7cf33d1eb
Fix test case temporarily
2018-05-24 21:45:40 +08:00
afc163
b828a599fb
Fix test case temporarily
2018-05-24 21:40:56 +08:00
Rongjian Zhang
f3869270ae
Fix #10142 : Add theme
props to Layout.Sider
( #10631 )
...
* Fix #10142 : Add `theme` props to `Layout.Sider`
* Update documentation of Layout.Sider for new theme props
* Fix snapshot tests
* Add unit test for sider theme
2018-05-23 23:46:28 +08:00
afc163
2989e8dba0
docs: update API
2018-05-23 22:36:06 +08:00
afc163
6d8df2ac25
test: improve affix test case
2018-05-23 21:03:32 +08:00
Dmitry Snegirev
fd96b4a784
Added missing prop firstActiveValue in Select component ( #10636 )
2018-05-23 19:13:11 +08:00
jim
af8f4dc5c3
Merge branch 'master' into feature-3.6.0
2018-05-23 16:34:59 +08:00
afc163
8da79f4b34
Badge[status] should work with Tooltip
...
close #10626
2018-05-23 13:11:49 +08:00
afc163
247d78990e
demo: improve editable row demo
2018-05-23 11:32:23 +08:00
Douglas Mason
acb56281f8
fix: update "from" to "form" in code example ( #10628 )
...
update `save` method parameter from `from` to `form` in code example
2018-05-23 10:55:20 +08:00
afc163
fafd83cadc
Fix mention test case in react 15
2018-05-22 23:29:09 +08:00
afc163
7e96ae1a6a
add jest.runAllTimers
2018-05-22 23:29:09 +08:00
afc163
3c381c6dd1
fix test case skip
2018-05-22 23:29:09 +08:00
afc163
292a91a777
Add test cases for Mention
2018-05-22 23:29:09 +08:00
afc163
89ed0dcb35
fix autoUpdateProgress percent and add test case
2018-05-22 23:29:09 +08:00
afc163
77301c378f
skip mention test when test dist file
2018-05-22 23:29:09 +08:00
afc163
22d2f9eb01
update snapshot
2018-05-22 23:29:09 +08:00
afc163
3078819535
jest mock generateRandomKey for ssr test
...
facebook/draft-js#702
2018-05-22 23:29:09 +08:00
afc163
6471e5d4f0
write snapshot files
2018-05-22 23:29:09 +08:00
afc163
1e585135aa
Try test mention to see what the problem is
2018-05-22 23:29:09 +08:00
Shun
6057821f39
Change order of loader option in docs ( #10627 )
2018-05-22 23:08:44 +08:00
Ivan Trofimov
33c58a8ef6
Update ru_RU.tsx ( #10616 )
...
* Update locale-provider ru_RU and tests
* Update locale-provider ru_RU and tests: patch-2
2018-05-22 16:31:12 +08:00
paranoidjk
b09e03d82a
doc(Input): fix wrong desc about input size in form.
2018-05-22 06:50:14 +00:00
偏右
a2e0e40caa
[WIP] Use raf to replace getRequestAnimationFrame ( #10614 )
...
* use raf to replace getRequestAnimationFrame
* remove isCssAnimationSupported
2018-05-22 13:01:28 +08:00
dependabot[bot]
f409df8d84
Update react-virtualized requirement to ~9.19.0 ( #10552 )
...
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.19.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-05-22 11:26:32 +08:00
afc163
a148bc7b79
doc: update dependencies check badages
2018-05-22 11:26:12 +08:00
Walter Barbagallo
4077ffb58c
Enhanced InputNumber props with HTMLInputElement attributes. ( #10608 )
...
* Enhanced InputNumber props with HTMLInputElement attributes.
It is possibile to use additional props supported by the inner input
element:
```
const inputEl = <InputNumber autoFocus />
```
Before this commit the type checker did not recognize the `autoFocus`
prop.
Some attributes must be omitted because they conflict with props
defined on `InputNumberProps` interface
* Renamed type
Probably they conflicts with a reserved name?
@see https://travis-ci.org/ant-design/ant-design/jobs/381668406
> components/input-number/index.tsx(9,93): error TS4022: 'extends' clause of exported interface 'InputNumberProps' has or is using private name 'OmitAttributes'.
* Replace InputNumber onKeyDown typing with the typed one.
Extending HTMLInputElement attributes the `onKeyDown` props now have a
better typing.
For example before this commit accessing to the event `key` attribute resulted
in a type error.
@see https://reactjs.org/docs/events.html#keyboard-events
* Exporting type OmitAttrs on InputNumber component.
This is an attempt to solve the ci error:
> components/input-number/index.tsx(9,93): error TS4022: 'extends' clause of exported
> interface 'InputNumberProps' has or is using private name 'OmitAttrs'.
@see https://travis-ci.org/ant-design/ant-design/jobs/381678316
2018-05-22 10:46:20 +08:00
Ezekiel Keator
bb4bc61556
Added missing API documentation ( #10611 )
...
* Added missing API documentation
Added missing Divider API documentation.
* Corrected styling
Corrected styling on dash to match other documentation pages.
2018-05-22 10:46:01 +08:00
afc163
0fc5a0ece5
site: add alt to images
2018-05-21 23:47:22 +08:00
afc163
6458280cb3
site: add alt to images
2018-05-21 23:42:57 +08:00
afc163
0f73b5d3f7
site: upgrade analytics code
2018-05-21 23:27:26 +08:00
afc163
14beee1fe1
site: add baidu tongji
2018-05-21 22:58:12 +08:00
dependabot[bot]
e0312f65ee
Update stylelint requirement to 9.2.1 ( #10553 )
...
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.2.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-05-21 22:33:53 +08:00
Zheeeng
389c7c4f10
DRY the styles writing for maintenance ( #10220 )
2018-05-21 21:53:20 +08:00
Zheeeng
59fe98a194
Add position config for List pagination ( #10581 )
2018-05-21 21:52:18 +08:00
Jamie.LiuMJ
2955600642
fix clearfix ( #10563 )
2018-05-21 21:52:15 +08:00
sosohime
d4ed303bcd
doc: Update DatePicker document about locale ( #10598 )
2018-05-21 21:51:39 +08:00
Wei Zhu
ff458a2c3f
Improve Input type definitions
...
Close #10166
2018-05-21 21:31:59 +08:00