frezc
5f9b376456
[type] make type of components compatible with ComponentType<P>
6 years ago
Rahul Gurung
422b20993b
#12115 - fixed dropdown hover flickering
6 years ago
afc163
3aeca7c10e
🐛 remove right padding in dropdown, close ant-design/ant-design-pro#3161
6 years ago
wangxingkang
13593a9629
feat: Improve Dropdown component item definition ( #13536 )
6 years ago
陈帅
dca9715186
support prettier
6 years ago
afc163
3bf7e2b99f
🐛 fix gap of dropdown menu, close #10481
6 years ago
afc163
9b6883bc9f
🐛 Fix inconsistent size of icon in Dropdown.Button, close #13442
6 years ago
afc163
09dd044c7a
🐛 Fix Dropdown types, close #13420
6 years ago
afc163
83c192ea3e
💄 fix eslint problems
6 years ago
zombieJ
9b49fb60d9
Config provider ( #12991 )
close #12985
6 years ago
afc163
b265692478
🐛 Fix Dropdown font-size affected Avatar
close #13091
6 years ago
Ardo Kusuma
ad130fbfbf
[doc] add more entries to dropdown doc API
6 years ago
afc163
213693e333
🌐 site: transition component category, close #11629
6 years ago
zombiej
b30ba9561f
add transform-origin on dropdown as menu
6 years ago
HeskeyBaozi
976f6969f4
update test snapshot
6 years ago
Rick Zhou
461984a45f
修正dropdown右键菜单示例文档
6 years ago
zombiej
15293eb7d5
fix #12078 . add ButtonHTMLType on dropdownButton
6 years ago
afc163
30dbd310f2
Fix some icon detail in new svg icons
6 years ago
HeskeyBaozi
2f8a56fa78
fix test case & update test snapshot
6 years ago
HeskeyBaozi
74798b8911
upgdate test snapshot
6 years ago
HeskeyBaozi
d6131fe18d
update test snapshot
6 years ago
HeskeyBaozi
0c9465aaf9
upgrade icons library
6 years ago
HeskeyBaozi
ee1d2469a8
upgrade test snapshot
6 years ago
HeskeyBaozi
b4e6f756a7
use svg icon in dropdown
6 years ago
HeskeyBaozi
796de6390b
update test snapshot
6 years ago
HeskeyBaozi
35974d67b2
update test snap shot
6 years ago
HeskeyBaozi
62aff06067
remove dropdown submenu css font icon
6 years ago
HeskeyBaozi
4a553a2006
upgrade test cases
6 years ago
HeskeyBaozi
8df086f022
update test cases
6 years ago
HeskeyBaozi
9338f33c1c
update test cases
6 years ago
afc163
009ed08580
upgrade eslint-config-airbnb
7 years ago
afc163
71846acaa1
Fix Dropdown non-boolean attribute warning
ref #7798
7 years ago
afc163
9f16d066af
Fix lint problems from eslint-config-airbnb@17
7 years ago
zombiej
16e42601d6
auto position mode when contextMenu
7 years ago
zombiej
8f449861cf
fix progress test case & dropdown support alignPoint
7 years ago
picodoth
8e60a591fd
feat: provide default margin for dropdown menu item icon
7 years ago
Junbin Huang
bbf5cb75c3
chore: update typescript@~2.9.1 ( #10748 )
7 years ago
afc163
251d882101
fix dropdown any type
7 years ago
afc163
8e2f72ffe0
tweak dropdown menu item padding
7 years ago
afc163
be31f17bca
Change Dropdown.Button default icon to ellipsis
7 years ago
Wu Haotian
6019245365
fix(button): use React.HTMLProps for button's props ( #10229 )
7 years ago
afc163
726f0466bc
menu should be unfocusable defaultly
7 years ago
afc163
5accd6367a
Fix submenu z-index, close #9218
7 years ago
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
7 years ago
sallen450
e0fb5b8866
Fix: Dropdown.Button not fully disabled ( #9013 )
* fix(Dropdown): dropdown won't be fully disabled
* test(Dropdown): check props pass to Dropdown
7 years ago
afc163
5dfb114842
fix dropdown transitionName
7 years ago
cjahv
557f7a02f6
DropDownProps trigger add contentMenu ( #8793 )
* 下拉菜单的trigger添加contentMenu
DropDownProps trigger add contentMenu
* fix spelling mistakes
7 years ago
afc163
2690c4dd86
Fix typo
7 years ago
Wei Zhu
999d6184ad
docs: Sort api table
7 years ago
Claudio Restifo
f17ac47547
Minor typo in dropdown API - [contentMenu] ( #8767 )
I suspect there's a typo in the page:
in the `trigger` API description is listed as 3rd option:
```
contentMenu
```
I suspect you meant
```
contextMenu
```
If so this PR is just fixing this minor overlook.
7 years ago