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
Wei Zhu
427be4cff5
Remove unused style property
7 years ago
afc163
81472aaf3b
Fix custom filter dropdown focus issue, close #8411
7 years ago
afc163
1662710acd
contextMenu Dropdown, close #7232
7 years ago
Benjy Cui
00ff041d16
fix: submenu should work fine in dropdown, close : #8248
7 years ago
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
7 years ago
Wei Zhu
36227a10db
docs: sort api table
7 years ago
monkindey
0bc5936b23
resolve conflicted files
7 years ago
Nekron
5017234381
doc: fix spelling mistakes in dropdown demo ( #7912 )
7 years ago
afc163
3f54dbd3d2
document dropdown menu
7 years ago
afc163
712451acf7
Fix codepen demo
7 years ago
Wei Zhu
c5487ad1eb
React 16 + Enzyme 3
7 years ago
afc163
942ea41b02
update snapshot for new jest
7 years ago
afc163
475e4ff23d
upgrade eslint-config-airbnb
7 years ago
偏右
2bced36f0c
New component styles ( #7731 )
* Tweak button padding
* upgrade input and button size
* update form controls size
* update components size
* Add lemon color and update rate color
* Add new icons
* update layout style
* breadcrumb and dropdown
* update menu arrow width
* update layout and menu
* update steps
* fix var name
* update cascasder style
* Update DatePicker
* update InputNumber and Mention
* radio and switch
* select and transfer
* TimePicker & Upload
* more components
* calendar and list
* Tree Timeline Popover Tag
* divider modal popover
* update search input
* update card style
* update switch disabled opacity
* update shoadow and mask
* Add v2-compatible-reset.less
* Fix undefined className
* update snahshotssssssssssssssssss 👻
7 years ago
ChaXinyu
14e2a56b75
export components interface ( #7654 )
* export components interface
* export specific props
* fix formItem missed import
7 years ago
afc163
b7aee09758
Fix dropdown menu group title style
7 years ago
afc163
f545e52ec5
Fix dropdown menu group title style
7 years ago
偏右
759b0bb821
seperate reset styles ( #7682 )
* seperate reset styles
* not reset ul/ol/p/heading
* revert reset.less idea
* move label style into ant-form-item, #5851
* revert reset.less idea
* update base.less
* Better typography from bootstrap@4
use reboot replace normalize
ref:
b4d84b9cdf/scss/_reboot.scss
close #6162
7 years ago
Wei Zhu
250c7a9c68
Revert "Mock rc-trigger"
This reverts commit 9d2c91598b
.
7 years ago
Wei Zhu
9d2c91598b
Mock rc-trigger
Ref #5522
7 years ago
jiang
2570ba8fe6
Menu anim ( #7567 )
* update menu icon animate
* add padding !important, restore menu retraction animate
* update dropdown arrow
7 years ago
Khalifa Lame
a2eb54b1ae
docs: update Dropdown English doc ( #7442 )
Fixed typos
7 years ago
afc163
3ceda311b6
menu cannot be selectable in dropdown defaultly
7 years ago
afc163
7fed87f835
doc: fix undocumented selectable prop of Menu
7 years ago
John Nguyen
3b6ea67115
adds className to DropDown component" ( #7378 )
7 years ago
afc163
7e2d456453
Fix ci
7 years ago
lihqi
6624805ad4
Update index.en-US.md ( #7259 )
7 years ago
lihqi
5bf94956e4
Update index.zh-CN.md ( #7258 )
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
Xiaohan Lee
bb195ee95f
Docs: update docs for Dropdown.Button ( #7071 )
* add "size" api document
7 years ago
afc163
acc0c5a216
Add instruction about dropdown menu item highlighted style
7 years ago
afc163
144c67f054
Fix dropdown menu position bug
7 years ago
Benjy Cui
2413c6af61
fix: make loading work with icon only button in button group, close : #6822
7 years ago
Benjy Cui
7ff0573046
fix: broken style of disabled submenu in dropdown, close : #6548
8 years ago
Benjy Cui
39cc78685d
style: update code style
8 years ago
blankzust
3c700cd1b7
fix: Dropdown.Button should support getPopupContainer ( #6527 )
8 years ago
newraina
dde8df5612
fix Dropdown.Button Props ( #6482 )
* fix DropdownButton Props
* let DropdownButtonProps extends ButtonGroupProps
* remove duplicated props
8 years ago
newraina
1d63de1106
fix Dropdown.Button's type definition
8 years ago
Benjy Cui
12a6060304
docs: fix code style
8 years ago
afc163
0c88ec2f38
Fix warning path
8 years ago