Wei Zhu
d2dc88c470
Add focus() and blur() document
...
Close #3790
2017-12-01 19:28:41 +08:00
Wei Zhu
c27d4deb72
Fix implicit any error for AutoComplete
2017-11-22 11:26:04 +08:00
Wei Zhu
9678d3fcfd
Focus && blur support ( #8204 )
...
* Add test for select
* Add focus() and blur() for AutoComplete
* Add focus() and blur() to Cascader
* Add focus test for input
* Add focus() and blur() for Checkbox
* Add focus() and blur() for Radio
* Add focus() and blur() for Switch
* Add blur() for TimePicker
* Add focus() and blur() to TreeSelect
2017-11-19 01:41:40 +08:00
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
2017-11-17 14:38:54 +08:00
afc163
856ecd4ae3
Merge branch 'master' into antd-3.0
2017-11-09 19:45:06 +08:00
afc163
4790f84657
Fix AutoComplete and Input affix style conflict, close #8081
2017-11-08 15:11:57 +08:00
Benjy Cui
51785aa6eb
deps: upgrade TypeScript to 2.6, close #8018
2017-11-01 11:47:22 +08:00
Wei Zhu
bbb1a3a828
Merge branch 'master' into antd-3.0
2017-10-25 10:27:38 +08:00
Wei Zhu
36227a10db
docs: sort api table
2017-10-25 10:25:44 +08:00
afc163
ef443ad047
Merge branch 'master' into antd-3.0
2017-10-20 15:47:42 +08:00
syssam
f8b7aad53d
less variable @form-vertical-label-padding, @form-vertical-label-margin, @input-padding-horizontal-base, @input-padding-horizontal-sm, @input-padding-horizontal-lg ( #7886 ) ( #7919 )
2017-10-20 15:11:44 +08:00
afc163
f74252b9de
Fix input height in AutoComplete
2017-10-17 15:21:35 +08:00
afc163
43d8c6ad37
Fix input height in AutoComplete
2017-10-17 15:19:38 +08:00
Wei Zhu
c5487ad1eb
React 16 + Enzyme 3
2017-10-09 19:18:04 +08:00
afc163
4eb9d5ef56
Merge branch 'master' into antd-3.0
2017-10-09 13:33:59 +08:00
afc163
942ea41b02
update snapshot for new jest
2017-10-09 13:32:11 +08:00
afc163
95c72958ca
Fix AutoCompelete layout, close #7800
2017-10-08 15:22:24 +08:00
afc163
7a8a1a8ee3
Merge branch 'master' into antd-3.0
2017-09-30 21:31:29 +08:00
afc163
76a972e062
Fix AutoComplete snapshot
2017-09-30 21:22:11 +08:00
afc163
76a30a7686
Fix props passing of AutoComplete, ref #7742
2017-09-30 21:17:49 +08:00
afc163
a3c7d6611c
Merge branch 'master' into antd-3.0
2017-09-27 20:13:44 +08:00
afc163
ca255cc547
Tweak AutoComplete input line height
2017-09-27 20:13:01 +08:00
jayberg
4acadc47b5
Avoid circular reference with infinite children ( #7742 )
...
Because {element} is a child of <InputElement>, we get a circular reference when also adding "element.props" to <InputElement>, as <InputElement> will be cloned to <{element}> within InputElement.tsx. As a consequence, we get an infinitive circular loop of Element->Props->Children->Element->Props->Children->Element->Props->Children->…
React seems to detect and automatically fix this infinitive loop. But when using the smaller and faster Inferno as a replacement library of React, we get a "RangeError: Maximum call stack size exceeded".
This commit fixes this bug by not attaching {...element.props} to <InputElement>.
All tests did pass and I did not notice any changes in the behaviour of the AutoComplete component. But now, AutoComplete works also with Inferno and not only with React.
2017-09-27 20:09:04 +08:00
偏右
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
2017-09-22 18:33:29 +08:00
Wei Zhu
250c7a9c68
Revert "Mock rc-trigger"
...
This reverts commit 9d2c91598b
.
2017-09-15 16:42:25 +08:00
Wei Zhu
9d2c91598b
Mock rc-trigger
...
Ref #5522
2017-09-15 16:14:26 +08:00
Wei Zhu
bac4d04844
docs: typo
2017-09-01 11:35:30 +08:00
Wei Zhu
ad3e49e397
docs: Add backfill to AutoComplete
2017-09-01 11:33:11 +08:00
Benjy Cui
e061ada71a
test: fix CI
2017-08-17 15:33:26 +08:00
Benjy Cui
26d746bd8f
fix: should support child.ref in AutoComplete, close : #6814 ( #7237 )
2017-08-17 13:09:18 +08:00
neekey
7e522291c8
add unit px
to all less value, make them explicit
2017-07-17 17:44:40 +10:00
Benjy Cui
2413c6af61
fix: make loading work with icon only button in button group, close : #6822
2017-07-14 15:26:55 +08:00
afc163
ca89227568
test: fix snapshot
2017-07-12 21:44:46 +08:00
afc163
81a8d71ec3
Fix Input className to wrapper, close #6809
2017-07-12 21:43:06 +08:00
Graeme Yeates
7b916da2ae
Use input-padding-horizontal to control autocomplete placeholder placing
2017-06-07 13:40:33 -04:00
afc163
14844eb0e0
Fix AutoComplete and Input Group vertical align issue
2017-05-28 15:27:55 +08:00
Benjy Cui
0e5431d21b
deps: upgrade antd-tools and code style
2017-05-25 16:54:15 +08:00
Mitchell Demler
fa44de3faa
refactor: rearrange AbstractSelectProps so that AutoCompleteProps has access to some needed SelectProps ( #6205 )
2017-05-19 11:29:16 +08:00
Benjy Cui
12a6060304
docs: fix code style
2017-05-15 14:37:22 +08:00
陆离
158536bbd9
Autocomplete height style fix ( #6059 )
...
+ close #6058
2017-05-09 13:36:37 +08:00
kossel
169e0f9762
fix: issue 5834, autocomplete is not being decorated ( #6018 )
2017-05-05 14:40:57 +08:00
afc163
9e018a7310
fix test case, #5999
2017-05-03 15:33:40 +08:00
afc163
290a779916
fix test case, #5999
2017-05-03 15:22:01 +08:00
RaoHai
650ab28b59
set filterOption to false
...
+ close #5860
2017-05-03 14:56:21 +08:00
Wei Zhu
07072fc3b1
docs: Document AutoComplete[onSearch]
...
Related: #5610
2017-04-22 22:52:37 +08:00
乐仪
50b7ce55fe
fix indent of AutoComplete
2017-04-22 10:57:28 +08:00
陆离
b694608af4
onKeyDown
bug fix (#5766 )
...
+ close #5487
2017-04-22 10:48:21 +08:00
陆离
fda4e8414d
Autocomplete clear icon bug ( #5636 )
...
+ close #5634
2017-04-05 17:51:51 +08:00
Benjy Cui
50f46d0919
feat: merge Select[multiple|tags|combobox] to Select[mode], close : #5471 ( #5534 )
2017-03-28 21:27:58 +08:00
Benjy Cui
84d65b3f66
refactor: simplify Select relative components' code
2017-03-28 15:11:14 +08:00