zombiej
9bea463638
chore: fix ts define
5 years ago
二货机器人
2ea28af6ed
Virtual select component ( #18658 )
* init
* fix firefox
* add active style
* adjust arrow style
* update select
* update icon logic
* render empty
* init multiple
* fix ff display style
* sync font size
* adjust padding style
* add padding
* padding it
* hotfix of chrome
* single sm
* multiple size
* update option group style
* update snapshot
* clean up transition
* rm combobox in ts define
* auto complete init
* fix auto option def
* update demo
* update demo
* update uncertain demo
* update demo
* warning if user set `size` on AutoComplete
* add debug demo
* updat demo
* update demo of disabled
* update snapshot
* rm useless test
* fix pagination test
* fix Table test
* fix calendar test case
* fix calendar test case
* adjust style
* add big data demo
* support clean up
* fix ts define
* fix lint
* fix demo lint
* fix style lint fix
* rm useless deps
* update snapshot
* stop mock
* add space
5 years ago
yoyo837
e13a87053c
chore(docs): add dropdownMenuStyle props for AutoComplete and Select
5 years ago
orzyyyy
63b33d4020
fix: unexpected changes of snapshots
5 years ago
afc163
0d35b1e3e3
🐛 Omit AutoComplete loading type
close #17432
5 years ago
afc163
57c28def68
revert unknown to any
6 years ago
Zzzen
f1ee189bd2
eliminate `any` type in exported interfaces.#14044
6 years ago
zombieJ
b4050d3d52
fix typescript ( #14587 )
6 years ago
陈帅
daca08b6f1
merge master
6 years ago
wangxingkang
6830623ed9
feat: 完善AutoComplete组件props定义
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
ztplz
e6ddf34c11
Use const instead of let
6 years ago
MuYu
72a6febcc4
fix: select type definition ( #12865 )
* fix: select type definition
* fix: wrapPicker type definition
* fix: select type definition
6 years ago
ycjcl868
09b11b6cde
fix #12498 . improve autoComplete type definition
6 years ago
17073025
c31371e5a6
fix(auto-complete): add missing autoFocus prop in type
6 years ago
Wei Zhu
6de4b00815
Rename mode name
7 years ago
Wei Zhu
5eaa03b4ea
Update snapshot
7 years ago
ryannz
a5ff8e5de0
fix(AutoComplete): add missing backfill prop in type
7 years ago
Wei Zhu
4d6f8e96b9
Improve AutoComplete types
close #10619
7 years ago
Pierre
09fec16b6f
[TS] AutoComplete : Make dataSource optional ( #10077 )
When using children :
https://ant.design/components/auto-complete/#components-auto-complete-demo-options
7 years ago
GauravV-02
fffde2d836
Resolved type name collisions ( #8605 )
7 years ago
Wei Zhu
c27d4deb72
Fix implicit any error for AutoComplete
7 years ago
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
7 years ago
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
7 years ago
afc163
76a30a7686
Fix props passing of AutoComplete, ref #7742
7 years ago
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.
7 years ago
afc163
81a8d71ec3
Fix Input className to wrapper, close #6809
7 years ago
Benjy Cui
0e5431d21b
deps: upgrade antd-tools and code style
8 years ago
Mitchell Demler
fa44de3faa
refactor: rearrange AbstractSelectProps so that AutoCompleteProps has access to some needed SelectProps ( #6205 )
8 years ago
afc163
9e018a7310
fix test case, #5999
8 years ago
RaoHai
650ab28b59
set filterOption to false
+ close #5860
8 years ago
乐仪
50b7ce55fe
fix indent of AutoComplete
8 years ago
陆离
b694608af4
`onKeyDown` bug fix ( #5766 )
+ close #5487
8 years ago
Benjy Cui
50f46d0919
feat: merge Select[multiple|tags|combobox] to Select[mode], close : #5471 ( #5534 )
8 years ago
Benjy Cui
84d65b3f66
refactor: simplify Select relative components' code
8 years ago
Benjy Cui
8f81594f91
Refactor: introduce injectLocale ( #5289 )
* refactor: extract injectLocale and refactor Pagination, ref: #5103
* refactor: use injectLocale in Popconfirm, ref: #5103
* refactor: use injectLocale in TimePicker
* refactor: use injectLocale in Transfer
* refactor: use injectLocale in TreeSelect
* refactor: remove useless code in AutoComplete
* test: update snapshot
8 years ago
afc163
d1483c16c8
Fix AutoComplete children typescript type, close #5170
8 years ago
陆离
63ddf2fc8d
Add Demo for Certain Category ( #5105 )
+ close #5095
+ close #5135
+ support OptGroup of AutoComplete
8 years ago
陆离
7a4080ec40
Fix some problems of AutoCompelete demo ( #4942 )
+ close #4912
8 years ago
陆离
fc3f4e1922
fix AutoComplete size ( #4768 )
* fix AutoComplete size
+ close #4766
* use input mixin
* use css variables
* use children directly instead of React.Children.toArray
+ close #4778
8 years ago
陆离
46c200896f
Customize Input Component of AutoComplete ( #4483 )
* cherry-pick
* remove useless files
* remove useless files
* Group ts
* update interface
* ReactElement
8 years ago
wallverb
c01ee02758
chore: Change AutoCompleteProps to extend SelectProps ( #4565 )
* Change AutoCompleteProps to extend SelectProps
* Extract common props into AbstractSelectProps
8 years ago
Wei Zhu
ccbebe60cc
style: Fix jsx alignment, #3966 ( #3967 )
8 years ago
Benjy Cui
66f6de79ce
refactor: Alert, Backtop, AutoComplete
8 years ago
yiminghe
c2d3f16dfb
update tslint
8 years ago
Albert Zheng
23dd825afd
【Please review】Fixes for supporting TypeScript 2.0.3 ( #3439 )
* Fixes for supporting TypeScript 2.0.3
* Fixes for supporting TypeScript 2.0.3. Issue is #3358
8 years ago
Benjy Cui
2bc2ccc9c4
feat: AutoComplete.Option should be children, close : #3106 ( #3120 )
8 years ago
Benjy Cui
bd7e9f00c0
style: update code style
8 years ago