二货机器人
4315ac567c
chore: replace omit ( #28846 )
...
* chore: Replace omit.js with rc-util omit
* chore: Replace omit.js with rc-util omit
* fix ts
* fix ts
* fix ts
2021-01-13 21:00:30 +08:00
Hossein Mohammadi
04bfa3c54f
chore: add prettier-plugin-jsdoc ( #28551 )
2020-12-28 15:30:18 +08:00
Tom Xu
986fa9000f
refactor: AutoComplete dataSource prop type ( #27892 )
2020-11-20 10:11:58 +08:00
ElsaOOo
c7d591e9ab
fix: AutoComplete dataSource prop type error ( #27870 )
...
Co-authored-by: jingjing.ye <jingjing.ye@datayes.com>
2020-11-20 09:33:35 +08:00
Tom Xu
8faccc2563
fix: select ref typescript typo ( #27482 )
...
* fix: select ref typescript typo
* improve
2020-11-03 11:09:24 +08:00
Tom Xu
b0245e742b
refactor(select): rewrite with hook ( #27318 )
...
* refactor(select): rewrite with hook
* Update index.tsx
* Update index.tsx
* Update index.tsx
* fix test
* Update index.tsx
* Update index.tsx
2020-10-24 20:33:18 +08:00
偏右
cefb877ab9
fix: AutoComplete warning when using placeholder and allowClear ( #26765 )
...
close #26760
2020-09-16 11:51:55 +08:00
偏右
481fd209e2
chore: 🆙 upgrade typescript-eslint ( #26600 )
...
* chore: 🆙 upgrade typescript-eslint
* fix some lint
* fix: some eslint errors
* Update package.json
* chore: 🆙 upgrade typescript-eslint
* fix some lint
* fix: some eslint errors
* Update package.json
* fix no use before define
* Update package.json
* fix lint
Co-authored-by: yoyo837 <yoyo837@hotmail.com>
Co-authored-by: Tom Xu <ycxzhkx@gmail.com>
2020-09-16 11:43:55 +08:00
Alex
bf45c4c1b0
style: 💄 className prop ordering #26594 ( #26602 )
...
close #26594
2020-09-06 13:07:39 +08:00
二手掉包工程师
57190f197b
refactor: clean up some deprecated APIs ( #24881 )
2020-06-10 11:12:31 +08:00
偏右
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