Commit Graph

243 Commits

Author SHA1 Message Date
Konrad Machlowski
18183ac2d5 Correct typings for change handlers 2018-12-28 16:10:36 +08:00
ztplz
0fb60796c3 Correct docs 2018-12-27 00:25:45 +08:00
frezc
5f9b376456 [type] make type of components compatible with ComponentType<P> 2018-12-25 01:10:00 +08:00
Rahul Gurung
422b20993b #12115 - fixed dropdown hover flickering 2018-12-20 12:32:37 +08:00
afc163
3aeca7c10e
🐛 remove right padding in dropdown, close ant-design/ant-design-pro#3161 2018-12-19 16:04:50 +08:00
wangxingkang
13593a9629 feat: Improve Dropdown component item definition (#13536) 2018-12-10 13:25:51 +08:00
陈帅
dca9715186 support prettier 2018-12-07 18:27:30 +08:00
afc163
3bf7e2b99f
🐛 fix gap of dropdown menu, close #10481 2018-12-07 12:12:53 +08:00
afc163
9b6883bc9f
🐛 Fix inconsistent size of icon in Dropdown.Button, close #13442 2018-12-05 11:01:48 +08:00
afc163
09dd044c7a
🐛 Fix Dropdown types, close #13420 2018-12-04 20:28:48 +08:00
zombiej
9f5d421cd6 merge master 2018-11-30 14:48:37 +08:00
afc163
83c192ea3e
💄 fix eslint problems 2018-11-28 15:11:02 +08:00
zombieJ
9b49fb60d9
Config provider (#12991)
close #12985
2018-11-26 12:06:42 +08:00
zombiej
5ef2e23bcf Merge remote-tracking branch 'origin/master' into feature 2018-11-20 16:36:18 +08:00
afc163
b265692478
🐛 Fix Dropdown font-size affected Avatar
close #13091
2018-11-16 18:20:08 +08:00
Ardo Kusuma
ad130fbfbf [doc] add more entries to dropdown doc API 2018-11-09 11:31:21 +08:00
afc163
213693e333 🌐 site: transition component category, close #11629 2018-11-04 16:20:35 +08:00
zombiej
b30ba9561f add transform-origin on dropdown as menu 2018-10-31 22:25:21 +08:00
HeskeyBaozi
976f6969f4 update test snapshot 2018-09-07 14:14:23 +08:00
Rick Zhou
461984a45f 修正dropdown右键菜单示例文档 2018-09-07 14:09:36 +08:00
zombiej
15293eb7d5 fix #12078. add ButtonHTMLType on dropdownButton 2018-09-05 20:09:38 +08:00
afc163
30dbd310f2 Fix some icon detail in new svg icons 2018-09-03 00:26:04 +08:00
HeskeyBaozi
2f8a56fa78 fix test case & update test snapshot 2018-09-02 20:59:37 +08:00
HeskeyBaozi
74798b8911 upgdate test snapshot 2018-09-02 20:59:37 +08:00
HeskeyBaozi
d6131fe18d update test snapshot 2018-09-02 20:59:37 +08:00
HeskeyBaozi
0c9465aaf9 upgrade icons library 2018-08-27 20:40:11 +08:00
HeskeyBaozi
ee1d2469a8 upgrade test snapshot 2018-08-24 18:36:08 +08:00
HeskeyBaozi
b4e6f756a7 use svg icon in dropdown 2018-08-24 11:51:52 +08:00
HeskeyBaozi
796de6390b update test snapshot 2018-08-14 15:32:29 +08:00
HeskeyBaozi
35974d67b2 update test snap shot 2018-08-13 20:51:01 +08:00
HeskeyBaozi
62aff06067 remove dropdown submenu css font icon 2018-07-25 11:43:37 +08:00
HeskeyBaozi
4a553a2006 upgrade test cases 2018-07-19 20:37:47 +08:00
HeskeyBaozi
8df086f022 update test cases 2018-07-18 13:39:02 +08:00
HeskeyBaozi
9338f33c1c update test cases 2018-07-18 10:33:54 +08:00
afc163
56020cda39 Merge branch 'master' into feature-3.7.0 2018-06-27 16:14:14 +08:00
afc163
009ed08580 upgrade eslint-config-airbnb 2018-06-27 16:09:58 +08:00
Wei Zhu
b374297ca6 Merge branch 'master' into feature-3.7.0 2018-06-25 11:44:35 +08:00
afc163
71846acaa1 Fix Dropdown non-boolean attribute warning
ref #7798
2018-06-22 23:33:06 +08:00
afc163
9f16d066af Fix lint problems from eslint-config-airbnb@17 2018-06-22 21:05:13 +08:00
zombiej
16e42601d6 auto position mode when contextMenu 2018-06-12 22:07:02 +08:00
zombiej
8f449861cf fix progress test case & dropdown support alignPoint 2018-06-06 17:36:24 +08:00
picodoth
8e60a591fd feat: provide default margin for dropdown menu item icon 2018-06-06 15:14:07 +08:00
Junbin Huang
bbf5cb75c3
chore: update typescript@~2.9.1 (#10748) 2018-06-02 20:12:09 +08:00
afc163
251d882101 fix dropdown any type 2018-05-21 21:02:03 +08:00
afc163
8e2f72ffe0 tweak dropdown menu item padding 2018-05-19 20:34:19 +08:00
afc163
be31f17bca Change Dropdown.Button default icon to ellipsis 2018-05-09 18:01:07 +08:00
Wu Haotian
6019245365 fix(button): use React.HTMLProps for button's props (#10229) 2018-05-04 14:48:41 +08:00
afc163
726f0466bc menu should be unfocusable defaultly 2018-05-01 18:53:44 +08:00
afc163
5accd6367a Fix submenu z-index, close #9218 2018-02-09 15:56:34 +08:00
Zheeeng
24e373a812 Remove span.ant-tag-text in Tag, and remove type casting in Dropdown (#9055)
* Remove span.ant-tag-text

Warp React.ReactNode with span element is not suggested. It may cause anti-specification problem: `<span><span>I'm spec breaker</span></span>`. span is not a general tags container.
Another benefit from this change is keeping the same structure with CheckableTag.
After inspecting the removing of the style of .ant-tag-text, seems bringing no problems. The old example employeed this css class has gone long long time ago. See: 0635877a51

* Use React.Children.only api to supress type casting

By codes, the children and the overlay of Dropdown must be **single** and **valid React.ReactElement**. React.Children.only takes it and report more friendly React internal built error messages.

* Revert hack CSS styles: filling .ant-tag's block area with orphan child anchor
2018-02-04 01:29:56 -06:00