偏右
637aa09bc5
chore: ✅ fix some eslint problems ( #24836 )
...
* 💄 fix lint
* 💄 fix lint
2020-06-08 18:01:50 +08:00
二货机器人
2afab58ac8
chore: small bundle size follow up ( #24164 )
...
* update config
* replace react function
* fix alert
2020-05-14 20:54:49 +08:00
二货机器人
2e284aa017
chore: small bundle size ( #24135 )
...
* update warning
* rm warning
* replace with dev warning
* fix test
* fix site
* Update webpack.config.js
Co-authored-by: 偏右 <afc163@gmail.com>
* Update webpack.config.js
* fix sytax
* adjust
* move into function
Co-authored-by: 偏右 <afc163@gmail.com>
2020-05-14 15:57:04 +08:00
二货机器人
7f1f08b4a9
chore: Remove labelInValue
in AutoComplete props ( #20967 )
2020-01-17 12:45:09 +08:00
zombiej
9bea463638
chore: fix ts define
2019-11-06 11:18:11 +08:00
二货机器人
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
2019-09-12 20:15:17 +08:00
orzyyyy
63b33d4020
fix: unexpected changes of snapshots
2019-08-06 15:36:12 +08:00
afc163
0d35b1e3e3
🐛 Omit AutoComplete loading type
...
close #17432
2019-07-03 16:55:36 +08:00
afc163
57c28def68
revert unknown to any
2019-06-24 11:29:58 +08:00
Zzzen
f1ee189bd2
eliminate any
type in exported interfaces.#14044
2019-06-16 20:51:47 +08:00
zombieJ
b4050d3d52
fix typescript ( #14587 )
2019-01-28 11:10:56 +08:00
陈帅
daca08b6f1
merge master
2018-12-13 22:03:12 +08:00
陈帅
8e11f0bdb9
merge support prettier
2018-12-07 20:02:01 +08:00
zombieJ
1a0a06fca9
ConfigProvider support prefixCls ( #13389 )
...
Basic support prefixCls.
2018-12-05 19:12:18 +08:00
ztplz
e6ddf34c11
Use const instead of let
2018-11-08 20:20:26 +08:00
MuYu
72a6febcc4
fix: select type definition ( #12865 )
...
* fix: select type definition
* fix: wrapPicker type definition
* fix: select type definition
2018-10-30 10:52:27 +08:00
ycjcl868
09b11b6cde
fix #12498 . improve autoComplete type definition
2018-10-06 15:33:46 +08:00
17073025
c31371e5a6
fix(auto-complete): add missing autoFocus prop in type
2018-08-02 10:48:38 +08:00
Wei Zhu
6de4b00815
Rename mode name
2018-06-25 16:52:51 +08:00
Wei Zhu
5eaa03b4ea
Update snapshot
2018-06-25 16:52:51 +08:00
ryannz
a5ff8e5de0
fix(AutoComplete): add missing backfill prop in type
2018-06-15 10:29:12 +08:00
Wei Zhu
4d6f8e96b9
Improve AutoComplete types
...
close #10619
2018-06-09 16:01:18 +08:00
Pierre
09fec16b6f
[TS] AutoComplete : Make dataSource optional ( #10077 )
...
When using children :
https://ant.design/components/auto-complete/#components-auto-complete-demo-options
2018-04-16 17:42:31 +08:00
GauravV-02
fffde2d836
Resolved type name collisions ( #8605 )
2017-12-13 20:49:44 -06: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
76a30a7686
Fix props passing of AutoComplete, ref #7742
2017-09-30 21:17:49 +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
afc163
81a8d71ec3
Fix Input className to wrapper, close #6809
2017-07-12 21:43:06 +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
afc163
9e018a7310
fix test case, #5999
2017-05-03 15:33:40 +08:00
RaoHai
650ab28b59
set filterOption to false
...
+ close #5860
2017-05-03 14:56:21 +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
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
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
2017-03-17 15:23:25 +08:00
afc163
d1483c16c8
Fix AutoComplete children typescript type, close #5170
2017-03-06 11:18:41 +08:00
陆离
63ddf2fc8d
Add Demo for Certain Category ( #5105 )
...
+ close #5095
+ close #5135
+ support OptGroup of AutoComplete
2017-03-03 22:10:21 +08:00
陆离
7a4080ec40
Fix some problems of AutoCompelete demo ( #4942 )
...
+ close #4912
2017-02-20 00:09:07 +08:00
陆离
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
2017-02-09 10:45:42 +08:00
afc163
35523be6e9
Merge from master
2017-01-20 18:28:09 +08:00
陆离
46c200896f
Customize Input Component of AutoComplete ( #4483 )
...
* cherry-pick
* remove useless files
* remove useless files
* Group ts
* update interface
* ReactElement
2017-01-13 21:19:23 +08:00
wallverb
c01ee02758
chore: Change AutoCompleteProps to extend SelectProps ( #4565 )
...
* Change AutoCompleteProps to extend SelectProps
* Extract common props into AbstractSelectProps
2017-01-12 09:23:56 +08:00
Wei Zhu
ccbebe60cc
style: Fix jsx alignment, #3966 ( #3967 )
2016-11-23 17:53:10 +08:00
Benjy Cui
66f6de79ce
refactor: Alert, Backtop, AutoComplete
2016-10-21 18:02:37 +08:00
yiminghe
c2d3f16dfb
update tslint
2016-10-20 19:19:16 +08:00
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
2016-10-18 11:55:00 +08:00