zombiej
911867622e
merge master
2019-09-26 22:28:08 +08:00
sosohime
02ed4bd6b1
fix: TreeSelect removeIcon and clearIcon not working ( #18949 )
...
* add tree-select async demo
* TreeSelect支持clearIcon和removeIcon
* remove docs and demo
* run test
* clear code
* add ui test
2019-09-23 18:49:13 +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
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
cd6071e04d
update ts def
2019-01-29 11:21:07 +08:00
Wei Zhu
c4026c4cb5
fix: remove duplicate type ( #14444 )
...
Already defined in AbstractSelectProps
2019-01-23 10:39:59 +08:00
Kasra Bigdeli
4e116962f2
Updating type: TreeSelectProps.getPopupContainer ( #14443 )
...
TreeSelectProps extends AbstractSelectProps. However, the method signatures are different causing compilation issue with typescript:
```
Failed to compile.
/home/kasra/Desktop/Repos/frontend/node_modules/antd/lib/tree-select/interface.d.ts
Type error: Interface 'TreeSelectProps' incorrectly extends interface 'AbstractSelectProps'.
Types of property 'getPopupContainer' are incompatible.
Type '((triggerNode: Element) => HTMLElement) | undefined' is not assignable to type '((triggerNode?: Element | undefined) => HTMLElement) | undefined'.
Type '(triggerNode: Element) => HTMLElement' is not assignable to type '(triggerNode?: Element | undefined) => HTMLElement'.
Types of parameters 'triggerNode' and 'triggerNode' are incompatible.
Type 'Element | undefined' is not assignable to type 'Element'.
Type 'undefined' is not assignable to type 'Element'. TS2430
24 | rootPId?: string;
25 | }
> 26 | export interface TreeSelectProps extends AbstractSelectProps {
| ^
27 | autoFocus?: boolean;
28 | defaultValue?: string | number | Array<any>;
```
2019-01-21 17:14:02 +08:00
zombieJ
2164c58198
New Component: Empty ( #13651 )
2018-12-26 16:01:00 +08:00
ztplz
cfa81bc658
Add missing type
2018-12-02 14:31:19 +08:00
zombiej
087b00e09b
support auto focus
2018-11-13 10:42:10 +08:00
zombiej
7d5efc46c5
add onFocus & onBlur def on TreeSelect
...
fix #13100
2018-11-13 00:25:17 +08:00
ilanus
36ed95c8ba
sort asc treeselect types add maxTagPlaceholder
2018-11-09 11:31:39 +08:00
decade
4d42f75a59
add TreeSelect type
2018-10-15 17:43:05 +08:00
HeskeyBaozi
457f781e6f
treeselect: suffix -> suffixIcon
2018-09-21 13:40:27 +08:00
HeskeyBaozi
844a5a92d7
add suffix icon to tree-select
2018-09-21 13:40:27 +08:00
afc163
f0f44c6608
fix tslint
2018-09-15 00:24:30 +08:00
Jaroslav Bereza
2d415d0be2
Adds missing argument in onChange event ( #12243 )
2018-09-14 17:13:48 +08:00
zombiej
515a206be5
add value number type in TreeSelect
2018-09-11 16:59:56 +08:00
Zhiqiang Gong
2cf2b678e8
update tree-select typescript ( #12091 )
2018-09-06 11:49:08 +08:00
mmmveggies
09aaafe573
export specific TreeSelect treeData types
2018-08-22 11:21:27 +08:00
Bartek
b9c248f313
changing the interface of TreeSelect, updating docs ( #11538 )
2018-08-03 17:12:51 +08:00
zombiej
f5652f8e57
make title & label as optional props in treeSelect
2018-07-25 17:06:44 +08:00
JribiBelhassen
36f396f86f
Change label in TreeData interface to title, since label is deprecated ( #11442 )
2018-07-25 10:53:18 +08:00
zombiej
78adc05973
close #10745 , move dropdownMatchSelectWidth into AbstractSelectProps
2018-06-07 10:24:12 +08:00
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
2017-11-17 14:38:54 +08:00
Benjy Cui
fb278395f3
refactor: simplify TreeSelect's code
2017-03-28 15:44:55 +08:00
Benjy Cui
84d65b3f66
refactor: simplify Select relative components' code
2017-03-28 15:11:14 +08:00
afc163
ae9e02a6c3
Fix treeDefaultExpandedKeys ts define, close #5349
2017-03-28 13:49:28 +08:00
HJin.me
47589ba92c
fix get(Popup|Calendar|Suggestion|Tooltip)Container ts type ( #5528 )
2017-03-28 13:20:05 +08:00
afc163
322e9efdc9
Fix getPopupContainer ts type
2017-03-21 16:35:31 +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
Benjy Cui
bd7e9f00c0
style: update code style
2016-09-21 11:54:53 +08:00
feng zhi hao
cad2d19be2
fix: complete loss declaration ( #3068 )
...
* complete loss declaration
* fix error in ts-lint
* fix Icon name error
2016-09-19 10:17:07 +08:00
Benjy Cui
8db2b79505
chore: fix compile errors
2016-09-13 15:31:29 +08:00
afc163
25b3517cc3
Add types for tree-select and upload ( #1846 )
2016-08-01 16:35:01 +08:00