Commit Graph

6527 Commits

Author SHA1 Message Date
Ash Kumar
013932e6d3 Feature: (Issue 10213): Column 'sorter' function is passed 'sortOrder' as param (#10306)
* Table Column's sorter prop can now be provided a fn to which 'sortOrder' is passed as param

* head.md: added documentation for new use of 'sorter' prop function
2018-04-29 22:08:28 +08:00
afc163
b9d94971e4 Add successPercent as Progress[format] argument, close #10096 2018-04-22 14:00:49 +08:00
niko
d50ec436d5
List integrate pagination functional fixed: #9303 (#10135) 2018-04-20 15:41:40 +08:00
Jin ZHANG
e1c74eb799 add maxCount config to message (#10169) 2018-04-20 15:40:43 +08:00
Zheeeng
d016471638 Feature 3.5.0 time line reverse api (#10057)
* Add reverse api for TimeLine

* Update TimeLine test snapshot

* Add specifications for reverse api and pending api
2018-04-20 11:23:37 +08:00
davidhatten
74d1c5e6b6 Add collapse styles to default.less (#9943)
* push collapse styling into overridable defaults

* Changes to ensure backwards compatibiliy, switch bg-color to be based on default style

* change background-color to bg in style names

* simplify and consolodate content-padding

* I figured out why the styling is split across content and box like that

The collapse/show animation doesn't work right without the padding set up across the two elements like this. From an end-user point of view, I think this is the easiest thing.

* pushing all padding styling on to the box instead of the content, keeping var name the same because the end user doesn't need to know the difference

* Pushing header-bg-color back up to the top of the component heirarchy

* shorten content padding
2018-04-19 11:36:53 +08:00
afc163
04a5cc2a8b Merge branch 'master' into feature-3.5.0 2018-04-15 19:52:24 +08:00
Zheeeng
b41af97d1f Fix typo (#10050) 2018-04-15 16:52:04 +08:00
偏右
88cacb6c35
Revert "Feature time line.reverse (#10026)" (#10056)
This reverts commit 92a07d1b9d.
2018-04-15 16:51:05 +08:00
Zheeeng
92a07d1b9d Feature time line.reverse (#10026)
* Add reverse api for Timeline

* Update TimeLine test snapshot
2018-04-15 16:50:02 +08:00
afc163
9b64a778d0 demo: fix console warning 2018-04-15 15:13:59 +08:00
afc163
4486c569f2 demo: update localeProvider demo 2018-04-15 15:11:59 +08:00
afc163
e1a5063daf test: fix ci warning 2018-04-15 15:10:25 +08:00
afc163
e3446840fa Fix test case of LocaleProvider
which is broken by #10047

use constructor over componentDidMount
2018-04-15 15:09:13 +08:00
诸岳
b52053051c Input.Search should disable enter button when disabled prop is true (#10051)
* Input Search should disable enter button when disabled prop is true, close #10040

* test: Add test case for commit bd21722
2018-04-15 13:14:26 +08:00
Zheeeng
08f5c27b0b Use componentDidMount to replace componentWillMount: componentWillMount is deprecating (#10047) 2018-04-14 13:37:24 +08:00
Zheeeng
b92779f821 Fix the infinite & virtualized List is invisible that caused by its height can't be calculated (#10046) 2018-04-14 11:18:34 +08:00
afc163
92eeb7f8c9 Tweak list grid margin 2018-04-13 15:35:51 +08:00
afc163
2939aea4ec Fix list extra border, close #10028 2018-04-13 15:35:51 +08:00
afc163
5f51d8dc43 update demo 2018-04-13 15:35:51 +08:00
afc163
d94e7bd7f0 fix typo 2018-04-13 15:35:51 +08:00
Chenjia
5634881eda add docs for keyboard props on modal component #8818 (#10030) 2018-04-13 12:01:51 +08:00
Ludwig Bäcklund
74d81c2d07 Add title prop to Badge that shows when hovering it 2018-04-12 11:53:32 +08:00
Bill Fienberg
66f5e75cff Fix typo in link to InputNumber component (#9994)
Before:
>Synchronize with [InptNumber](/components/input-number/) component.

After:
>Synchronize with [InputNumber](/components/input-number/) component.
2018-04-11 23:18:10 +08:00
Wei Zhu
82b721a432 Extend CardProps from native div element attributes
Close #9933
2018-04-11 19:41:54 +08:00
Wei Zhu
f9b8bf7e4d Revert "Checkbox[disabled] should have higher priority than Checkbox.Group[disabled]"
This reverts commit 5580791a70.
2018-04-11 16:59:22 +08:00
Wei Zhu
5580791a70 Checkbox[disabled] should have higher priority than Checkbox.Group[disabled]
Fix #9973
2018-04-11 16:35:05 +08:00
Bill Fienberg
833e076eb7 Fix typo (#9991)
Before:
>Customerize tooltip

After:
>Customize tooltip
2018-04-11 15:49:12 +08:00
afc163
3612144c6d site: avoid hash jump in demo 2018-04-11 15:15:24 +08:00
Wei Zhu
2a5479a524 Fix type errors
Close #9988
2018-04-11 12:01:28 +08:00
zombiej
0437d858f2 update testcase sync with Tree 1.8.12. Ref: https://github.com/ant-design/ant-design/issues/9899 2018-04-10 19:29:18 +08:00
Wei Zhu
921361313a Add explicit types for default props
Fix #8796
Close #8820
2018-04-10 10:50:59 +08:00
jim
a5e2020908 add icon prop in .d.ts 2018-04-09 14:22:06 +08:00
afc163
e8d8741ec5 Fix divider layout with float elements, close #9956 2018-04-08 12:37:24 +08:00
Wei Zhu
43537ed368 Fix type error
Close #9931
2018-04-04 17:51:51 +08:00
偏右
a9376ef1ca
Fix image url display with non-image extention in Upload (#9936)
now we treat url following below rules:

1. `data:image..` => image
2. `http://xxx.com/xxxx.(webp|svg|png|gif|jpg|jpeg)` => image
3. `http://xxx.com/xxx.zip` other extensions => non-image
4. `data:application..` other minetypes in base64 text => non-image
5. `http://xxx.com/xxx` without any extensions => image

close #9835

close #9681

ref #9621
2018-04-04 17:17:01 +08:00
zombieJ
49719b20d8
update tree doc for customize icon (#9893)
* update doc for customize icon
* add test case
2018-04-04 16:39:50 +08:00
ddcat1115
1612ef6990 fix #9882 2018-04-04 16:01:14 +08:00
afc163
e6b3490a8e fix test case 2018-04-04 15:50:08 +08:00
ddcat1115
a402fdd8b3 fix #9907 (#9908)
* fix #9907

* update snapshot
2018-04-04 15:29:59 +08:00
Wei Zhu
5336bd688f Fix type error 2018-04-04 14:49:14 +08:00
André
245e1cf3d0 Minor typo (#9922)
Fixes minor typo
2018-04-03 22:00:31 +08:00
afc163
cab162b562 doc: update divider doc and demo 2018-04-03 14:25:47 +08:00
afc163
779a35e4cc doc: update message duration description 2018-04-03 13:41:44 +08:00
afc163
bf6e91be3a Tweak table sorter icon click area again 2018-04-03 11:33:37 +08:00
Nokecy
98d56b2dd0 Fixed typescript definition and add table props onHeaderRow (#9902) 2018-04-02 17:15:17 +08:00
Wei Zhu
bac892080d Merge branch 'feature-3.4.0' 2018-04-01 12:28:09 +08:00
Zach Guo
280f907297 Fix Layout.Sider typos (#9885) 2018-04-01 01:15:42 +08:00
Wei Zhu
da4062f9c1
Add Anchor[getContainer] (#9694) 2018-03-30 15:55:54 +08:00
Hughen
53abf888cb fix: fixed modal content overflowed
- fixed modal content overflowed, when the very long english
  word fill in Modal title
2018-03-30 15:33:33 +08:00