陈帅
30508b0124
fix error types ( #16043 )
6 years ago
zombieJ
4d1a998246
add component param in warning ( #15078 )
* add component param in warning
* update snapshot
6 years ago
ycjcl868
cc30a2d4eb
💄 fix dropdown trigger align type def
6 years ago
zombieJ
b4050d3d52
fix typescript ( #14587 )
6 years ago
zombieJ
144b0f4c60
Dropdown overlay support function callback ( #14003 )
* Dropdown's overlay prop support function callback.
* Dropdown 的 overlay 属性支持函数调用。
6 years ago
Konrad Machlowski
18183ac2d5
Correct typings for change handlers
6 years ago
frezc
5f9b376456
[type] make type of components compatible with ComponentType<P>
6 years ago
afc163
c6f267d740
🆙 upgrade rc-dropdown
6 years ago
陈帅
daca08b6f1
merge master
6 years ago
wangxingkang
13593a9629
feat: Improve Dropdown component item definition ( #13536 )
6 years ago
陈帅
8e11f0bdb9
merge support prettier
6 years ago
陈帅
dca9715186
support prettier
6 years ago
zombieJ
1a0a06fca9
ConfigProvider support prefixCls ( #13389 )
Basic support prefixCls.
6 years ago
afc163
09dd044c7a
🐛 Fix Dropdown types, close #13420
6 years ago
zombieJ
9b49fb60d9
Config provider ( #12991 )
close #12985
6 years ago
HeskeyBaozi
b4e6f756a7
use svg icon in dropdown
6 years ago
afc163
71846acaa1
Fix Dropdown non-boolean attribute warning
ref #7798
7 years ago
zombiej
16e42601d6
auto position mode when contextMenu
7 years ago
afc163
251d882101
fix dropdown any type
7 years ago
afc163
726f0466bc
menu should be unfocusable defaultly
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
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
Wei Zhu
427be4cff5
Remove unused style property
7 years ago
afc163
81472aaf3b
Fix custom filter dropdown focus issue, close #8411
7 years ago
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
7 years ago
afc163
3ceda311b6
menu cannot be selectable in dropdown defaultly
7 years ago
John Nguyen
3b6ea67115
adds className to DropDown component" ( #7378 )
7 years ago
Benjy Cui
e0bf1cefe7
fix: disabled of Dropdown, ref: #7102
7 years ago
Eden Wang
e633f91c27
Disabled Dropdown is showing Menu on hover ( #7102 )
* disabled dropdown is showing menu on hover
* fix cr error
* update snap
* update document
7 years ago
afc163
4c52ccaff9
Fix Dropdown menu width, close #7124
7 years ago
afc163
144c67f054
Fix dropdown menu position bug
7 years ago
newraina
1d63de1106
fix Dropdown.Button's type definition
8 years ago
afc163
0c88ec2f38
Fix warning path
8 years ago
afc163
10a2d82731
Fixed mode of Menu inside Dropdown, close #6101
8 years ago
HJin.me
47589ba92c
fix get(Popup|Calendar|Suggestion|Tooltip)Container ts type ( #5528 )
8 years ago
afc163
849c5fbf75
Fix getPopupContainer ts type
8 years ago
afc163
322e9efdc9
Fix getPopupContainer ts type
8 years ago
afc163
d1b91bcc99
Fix direction of pop animation for Dropdown, ref #4811
8 years ago
Benjy Cui
1351b5da5d
refactor: remove splitObject
8 years ago
邦
80ea247fa9
fix(Dropdown): onVisibleChange param. ( #4252 )
* fix(Dropdown): onVisibleChange param.
* doc(Dropdown): update onVisibleChange argument
8 years ago
afc163
89cf3a88e6
only icon down under Dropdown has smaller size, close #4023
8 years ago
Benjy Cui
bd7e9f00c0
style: update code style
8 years ago
feng zhi hao
cad2d19be2
fix: complete loss declaration ( #3068 )
* complete loss declaration
* fix error in ts-lint
* fix Icon name error
8 years ago
afc163
363f610d8b
Fix tsc errors beside DatePicker
8 years ago
陆离
ff765002fa
refactor: rewrite form and dropdown in ts ( #2683 )
8 years ago
Benjy Cui
978b9f98e7
refactor: table ts ( #2664 )
* refactor: table ts
* fix: should pass context to onChange correctly
8 years ago
afc163
877239bfe5
fix Unused import
8 years ago
偏右
de359d2cf7
fix tslint problems ( #2360 )
8 years ago
yiminghe
94706f1d2c
fix ts
9 years ago