zombiej
cd6071e04d
update ts def
2019-01-29 11:21:07 +08:00
zombiej
c61c9e5ae3
Merge branch 'master' into doc-tree-select
2019-01-29 11:16:32 +08:00
zombiej
b835110f79
merge master
2019-01-26 12:02:56 +08:00
Wei Zhu
c4026c4cb5
fix: remove duplicate type ( #14444 )
...
Already defined in AbstractSelectProps
2019-01-23 10:39:59 +08:00
afc163
d3d5a3e18d
Merge branch 'master' into feature-for-resolve-conflict
...
* master: (45 commits)
Add type definitions for Steps.Step (#14468 )
add select check to fix edge wave issue (#14469 )
Fix for Pagination ellipsis misalignment (#14473 )
change sentry id
✅ Add sentry in ant.design
💄 New Sketch resources!
fix transfer ref (#14441 )
Add onMouseEnter and onMouseLeave for Menu Item (#14454 )
update snapshot (#14467 )
📝 beautify code style in documentation (#14457 )
Updating type: TreeSelectProps.getPopupContainer (#14443 )
change error version
3.12.4 changelog (#14436 )
Format
Fix the bug that radio onchange will be ovrride by radioGroup onchange (#14364 )
docs: updated doc for create-react-app
fix prefixCls of empty go to div (#14404 )
update snapshot (#14406 )
add radius on table-placeholder to fix table small size border clip (#14398 )
fix style of Input.Search with enterButton (#14397 )
...
2019-01-22 17:34:10 +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
0a67272ae4
add locale update
2019-01-10 21:55:21 +08:00
zombiej
12af9a9dca
icon add aria-label support
2019-01-10 21:55:21 +08:00
zombieJ
2164c58198
New Component: Empty ( #13651 )
2018-12-26 16:01:00 +08:00
zombiej
b5fc19632b
merge master
2018-12-26 14:23:40 +08:00
zombieJ
bf087e29bd
Add remark lint ( #13906 )
...
support remark-lint check
2018-12-26 14:14:00 +08:00
陈帅
8e11f0bdb9
merge support prettier
2018-12-07 20:02:01 +08:00
陈帅
dca9715186
support prettier
2018-12-07 18:27:30 +08:00
zombieJ
1a0a06fca9
ConfigProvider support prefixCls ( #13389 )
...
Basic support prefixCls.
2018-12-05 19:12:18 +08:00
ztplz
cfa81bc658
Add missing type
2018-12-02 14:31:19 +08:00
ycjcl868
10eb6fdba5
📝 tree-select open custom icon
2018-12-01 15:09:00 +08:00
zombieJ
9b49fb60d9
Config provider ( #12991 )
...
close #12985
2018-11-26 12:06:42 +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
afc163
213693e333
🌐 site: transition component category, close #11629
2018-11-04 16:20:35 +08:00
decade
4d42f75a59
add TreeSelect type
2018-10-15 17:43:05 +08:00
zombiej
af836c8ed5
fix #12145 . Update rc-tree-select to support tree expanded keys
2018-09-26 11:51:40 +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
zombiej
372047e326
update doc
2018-09-09 21:18:34 +08:00
HeskeyBaozi
a4bc1f6b63
fix treeselect clear icon
2018-09-07 14:14:23 +08:00
HeskeyBaozi
976f6969f4
update test snapshot
2018-09-07 14:14:23 +08:00
Zhiqiang Gong
2cf2b678e8
update tree-select typescript ( #12091 )
2018-09-06 11:49:08 +08:00
HeskeyBaozi
2f8a56fa78
fix test case & update test snapshot
2018-09-02 20:59:37 +08:00
HeskeyBaozi
74798b8911
upgdate test snapshot
2018-09-02 20:59:37 +08:00
HeskeyBaozi
e91aa112bf
remove svgClassName
2018-09-02 20:59:37 +08:00
HeskeyBaozi
d6131fe18d
update test snapshot
2018-09-02 20:59:37 +08:00
HeskeyBaozi
0c9465aaf9
upgrade icons library
2018-08-27 20:40:11 +08:00
HeskeyBaozi
ec397fef5b
update test snapshot
2018-08-25 15:52:14 +08:00
HeskeyBaozi
6fe79dff36
upgrade tree-select
2018-08-25 15:51:07 +08:00
HeskeyBaozi
d9b38aee4b
Merge branch 'feature-3.9.0' of https://github.com/ant-design/ant-design into feature/svg-icon
...
# Conflicts:
# package.json
2018-08-25 13:24:44 +08:00
HeskeyBaozi
984c4f7cb0
use loading
2018-08-25 13:14:43 +08:00
HeskeyBaozi
43e6621fb7
use correct icon
2018-08-24 18:11:02 +08:00
HeskeyBaozi
d375070da5
waiting for upgrade rc-tree-select
2018-08-24 14:08:06 +08:00
mmmveggies
09aaafe573
export specific TreeSelect treeData types
2018-08-22 11:21:27 +08:00
HeskeyBaozi
b9a9c308c9
[breaking] remove iconfont-font class helper
2018-08-14 15:31:20 +08:00
Bartek
b9c248f313
changing the interface of TreeSelect, updating docs ( #11538 )
2018-08-03 17:12:51 +08:00
Ilan Hasanov
186496d840
💬 fix tree component typos
2018-07-29 01:15:02 +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
afc163
0c4d356e54
Merge branch 'master' into feature-3.7.0
2018-07-03 19:54:48 +08:00
zombiej
fb96c9db35
update treeSelect doc
2018-07-02 12:27:16 +08:00
Harshit Mehrotra
47621acb6c
Fixed a typo
...
from was misspelled as form
2018-06-30 15:13:00 +08:00
zombiej
6ff7dd8fb9
close #10996 . Update selectTree doc.
2018-06-29 17:22:40 +08:00
zombiej
4cf18eaae8
update rc-tree-select to 2.0.1
2018-06-28 20:00:35 +08:00
afc163
009ed08580
upgrade eslint-config-airbnb
2018-06-27 16:09:58 +08:00
愚指导
d11d44e413
Bump 3.6.4 and fix some lint issue.
2018-06-23 16:35:42 +08:00
zombiej
78adc05973
close #10745 , move dropdownMatchSelectWidth into AbstractSelectProps
2018-06-07 10:24:12 +08:00
Junbin Huang
bbf5cb75c3
chore: update typescript@~2.9.1 ( #10748 )
2018-06-02 20:12:09 +08:00
Xiaoming
9c6fef0604
treeSelect doc ( #10302 )
...
TreeSelect implement Tree as popup panel which use title as the display
text.
To follow the Select definition (label as display text), TreeSelect
internal convert the prop label into title to the Tree component (but
will follow if title is set).
ref:
https://github.com/react-component/tree-select/blob/master/src/Select.js
x#L44
2018-05-03 11:26:59 +08:00
Wei Zhu
04ff6ed768
docs: Update TreeSelect labelInValue description
...
Close #9726
2018-03-19 14:20:47 +08:00
valleykid
ae78a4bbec
When treeNode is disabled, its switcher is highlight and clickabled ( #9539 )
...
* When treeNode is disabled, its switcher is highlight and clickabled
* rc-tree@1.7.11
2018-03-09 15:04:09 +08:00
Wei Zhu
69b154f9a9
Fix passing dropdownClassName to tree-select
2018-03-06 11:23:03 +08:00
Wei Zhu
56e4ce099d
docs: Add TreeSelect[dropdownClassName]
2018-03-06 10:43:56 +08:00
Wei Zhu
999d6184ad
docs: Sort api table
2017-12-29 20:22:58 +08:00
Dane David
e496fffbb5
Docs fix for Tree Select ( #8589 )
2017-12-13 18:49:11 +08:00
Wei Zhu
d2dc88c470
Add focus() and blur() document
...
Close #3790
2017-12-01 19:28:41 +08:00
Wei Zhu
6837aedf69
Imporve tree and tree-select type definitions
2017-11-20 17:11:13 +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
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
Benjy Cui
7ea572bfc8
refactor: extract common locale logic ( #7915 )
2017-10-20 14:54:38 +08:00
afc163
d3b98d311a
Merge branch 'master' into antd-3.0
2017-10-10 14:09:03 +08:00
afc163
712451acf7
Fix codepen demo
2017-10-10 11:35:50 +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
ChaXinyu
14e2a56b75
export components interface ( #7654 )
...
* export components interface
* export specific props
* fix formItem missed import
2017-09-25 22:14:49 +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
579becd894
Update snapshot
2017-09-15 10:03:46 +08:00
afc163
9e319990d2
update snapshot
2017-09-14 18:09:30 +08:00
Benjy Cui
070b2696ba
chore: remove hacks for IE8-, close : #7447 ( #7512 )
2017-09-08 13:08:46 +08:00
XBTop1!
a5b0848efe
doc: add disableCheckbox property for TreeSelect ( #7370 )
2017-08-29 08:35:49 +08:00
afc163
21f375b7d7
update TreeSelect doc
2017-08-25 17:20:43 +08:00
afc163
6dade37aec
update doc
2017-08-25 14:54:54 +08:00
afc163
50bdbbda40
Add multiple demo for TreeSelect
2017-08-21 18:08:41 +08:00
afc163
988e12f54b
tweak some font weight
2017-08-17 22:10:40 +08:00
ddcat1115
63c3c7c88f
fix missing icon ( #7064 )
2017-08-03 15:52:31 +08:00
Randy
859761eea7
fix lint error ( #7006 )
2017-07-30 13:30:12 +08:00
afc163
541a992a56
Add warning for tree-select props
2017-07-29 14:50:11 +08:00
afc163
c2e7d18663
Make tree select item wider
2017-07-20 17:17:56 +08:00
afc163
60373cc363
adjust tree select checkbox position
2017-06-27 14:25:10 +08:00
Benjy Cui
2e313ef8f0
Merge branch 'master' into feature-2.11
2017-06-06 17:26:06 +08:00
afc163
b0aef6cad5
Fix Tree and TreeSelect disabled style, close #6320
2017-06-01 16:54:47 +08:00
乐仪
f03e5549bf
Merge branch 'master' of https://github.com/ant-design/ant-design into feature-2.11
2017-05-31 20:01:07 +08:00
Benjy Cui
0e5431d21b
deps: upgrade antd-tools and code style
2017-05-25 16:54:15 +08:00
Wei Zhu
97c75d4ea8
Upgrade rc-tree-select
...
* Add allowClear to checkable and multiple select.
2017-05-23 14:51:27 +08:00
Wei Zhu
c962705f03
Increase click area of Tree icons
...
Close #6120
2017-05-18 14:28:48 +08:00
afc163
46884e06ea
Fix TreeSelect item style, close #6137
2017-05-15 17:31:34 +08:00
Graeme Yeates
d8d17a6401
Seperate @active-item-bg into 2 variables
2017-05-03 10:57:14 -04:00
Graeme Yeates
4eb2855871
Add @active-item-bg to control hover and active states
2017-05-02 11:05:28 -04:00
afc163
5ed4919131
Fix tree select arrow rotate bug, close #5693
2017-04-10 16:51:12 +08:00
afc163
035e28f75e
Merge branch 'master' into feature-2.9
2017-03-28 20:42:36 +08:00
afc163
0fd88acc93
Improve tree showLine styles
2017-03-28 17:51:45 +08:00
afc163
4f89e54cb2
Merge from branch "master"
2017-03-28 15:58:41 +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
849c5fbf75
Fix getPopupContainer ts type
2017-03-27 10:09:06 +08:00
afc163
322e9efdc9
Fix getPopupContainer ts type
2017-03-21 16:35:31 +08:00
ddcat1115
27b099e58e
feat: Tree with line & Tree customize icon demo ( #5261 )
...
* Tree with line & Tree customize icon demo
* improve
2017-03-21 09:41:02 +08:00
Wei Zhu
f6b1e942e3
Jest 19 ( #5361 )
...
* Upgeade to jest 19
* Use jest.spyOn
2017-03-17 18:56:30 +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
c61b47f782
update tree-select doc
2017-03-14 19:22:13 +08:00
afc163
35cc822e56
Fix tree-select not show bug, close #5092
2017-02-28 18:50:22 +08:00
bang
c10b051a92
docs: Rewrite TreeSelect demos to ES6 component
2017-02-19 20:41:54 +07:00
afc163
df3617dded
docs: improve API table layout
2017-02-17 00:59:11 +08:00
Benjy Cui
200b88246f
docs: update docs format
2017-02-13 10:55:53 +08:00
Graeme Yeates
1006015ef0
Add border customization variables ( #4734 )
...
* Add border customization variables (#4712 )
* Make border styles customizable (fixes #4712 )
2017-01-31 16:05:10 +08:00
afc163
f2bb4afd4d
Merge from master
2017-01-27 17:23:51 +08:00
Wei Zhu
6a83118597
Upgrade rc-tree-select to 1.9.0 ( #4698 )
2017-01-25 11:15:41 +08:00
Wei Zhu
77b78a9389
docs: Unify type naming ( #4636 )
...
* Unify name of ReactNode type in document
* Lowser all string type name
* Lowercase all number type name
* Lowercase all boolean type name
* Unify array type
* Lowercase all object type name
* Unify mutilple types
2017-01-20 20:10:50 +08:00
Benjy Cui
3e17551b7e
site: improve build speed
2017-01-19 15:22:53 +08:00
Brett Lamy
78fe0a686f
Update index.tsx ( #4537 )
2017-01-13 21:13:22 +08:00
偏右
d811ebee5c
New color system ( #4426 )
...
* Add new color patterns algorithm
* Add color palettes
* update other colors
* fix gray color
* update more tint/shade to colorPalette
* new font color
* Update doc for new color system
* improve doc style
2017-01-01 22:20:06 +08:00
Wei Zhu
07103b9fb6
Don't ignore test files.
2016-12-14 14:48:09 +08:00
Wei Zhu
17a0a33283
Restructure tests.
2016-12-14 14:41:39 +08:00
Benjy Cui
192ca5d898
css: update icon code, close : #4189
2016-12-08 17:01:51 +08:00
Andrey G
a307a7acf7
refactor: remove unnecessary computed props for classNames ( #4055 )
...
* remove unnecessary computed props for classNames
* rollback autocomplete optimization for possible css style order issue
* update snapshots
* remove more unnecessary computed props at Input
2016-11-30 10:20:23 +08:00
Will Chen
6b774a1343
docs: improve docs' detail ( #4050 )
2016-11-29 17:13:24 +08:00
Wei Zhu
52f6f992b3
style: Fix jsx self close, #3966 ( #3968 )
2016-11-24 14:09:43 +08:00
ddcat1115
0baef0627e
docs: 调整组件导航结构 ( #3758 )
...
- Layout 更名为 Grid
2016-11-09 14:43:32 +08:00
afc163
e4974ac72a
use @font-size-base ( #1752 )
2016-11-08 20:57:07 +08:00
afc163
0a48c62dcb
use @text-color
2016-11-08 20:50:59 +08:00
Benjy Cui
08e21e0a2f
refactor: close : #3490
2016-10-24 16:30:38 +08:00
afc163
d12cb17804
Fix broken TreeSelect[showSearch] style, close #3520
2016-10-20 21:28:50 +08:00
afc163
38cec5fd11
Fix TreeSelect placeholder not work in demo, close #3433
...
不用写到 changelog 里,只是 demo 的问题
2016-10-15 15:28:55 +08:00
afc163
4ef54a6edb
adjust tree style
2016-10-14 16:17:26 +08:00
afc163
d92a24d477
Improve overlay border design
2016-10-14 15:40:39 +08:00
Benjy Cui
bd7e9f00c0
style: update code style
2016-09-21 11:54:53 +08:00
Benjy Cui
3f67fd3f9f
docs: update docs details
2016-09-21 11:28:38 +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
马斯特
a25ec29fb8
refactor: 保证所有的tsx和less都正确使用prefix ( #3024 )
...
* refactor: extract prefix cls as less variable
* refactor: apply ant icon prefix cls in less files
* refactor: all components support prefixCls props
2016-09-14 16:18:33 +08:00
Benjy Cui
8db2b79505
chore: fix compile errors
2016-09-13 15:31:29 +08:00
afc163
0e6f677ff9
Fix doc headings
2016-09-10 13:43:30 +08:00
然则
5d36e7e03f
fix #2748
2016-08-17 17:12:40 +08:00
然则
be553af441
fix #2657
2016-08-10 14:49:58 +08:00