Commit Graph

254 Commits

Author SHA1 Message Date
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
ddcat1115
c9e26ecab9 docs: treeSelect translation (#2582) 2016-08-05 11:47:31 +08:00
afc163
77fa03240b Merge branch '1.x-stable' 2016-08-03 11:43:43 +08:00
afc163
9cee9f103a Fix TreeSelect not found style 2016-08-03 11:33:23 +08:00
afc163
25b3517cc3 Add types for tree-select and upload (#1846) 2016-08-01 16:35:01 +08:00
afc163
0eeca99f02 Merge 1.x-stable 2016-07-26 22:20:33 +08:00
然则
a7eea77637 up tree-select 2016-07-25 20:17:52 +08:00
afc163
ca57794ae7 better implement for a2804cb 2016-07-25 14:03:56 +08:00
afc163
1b001c7672 Merge 1.x-stable 2016-07-24 15:07:50 +08:00
然则
77b0952e36 fix #2393 #2459 #2401
Conflicts:
	package.json
2016-07-24 14:26:19 +08:00
偏右
de359d2cf7 fix tslint problems (#2360) 2016-07-13 11:14:24 +08:00
yiminghe
94706f1d2c fix ts 2016-07-07 20:25:03 +08:00
afc163
95351bfffa Merge branch '1.x-stable' 2016-06-27 19:31:38 +08:00
afc163
089f1ae512 update components category name 2016-06-27 18:21:12 +08:00
yiminghe
9a0d751f94 refactor to typescript 2016-06-22 13:19:48 +08:00
Benjy Cui
2144349741 style: enable react/jsx-closing-bracket-location 2016-06-06 13:54:10 +08:00
然则
edc9014d13 up tree-select doc 2016-05-24 12:17:32 +08:00
Benjy Cui
8842d9342a site: update components' type 2016-05-16 15:41:55 +08:00
然则
f3ba4f5ef1 improve tree-select doc 2016-05-11 15:43:27 +08:00
Benjy Cui
ecaa6c56c3 style: enable comma-dangle 2016-05-11 09:32:33 +08:00
然则
ffd886f6b8 up tree-select api 2016-05-09 16:27:58 +08:00
afc163
1864ab3175 Fix locale not found content (#1604)
* Add notFoundContent to LocaleProvider, close #1488

* Fix TreeSelect notFoundContent style
2016-05-08 16:05:36 +08:00
afc163
0ca6a1c24a css modularize (#1448)
* css modularize

* Add alert style

* Move more component style

* Move iconfont to common style

* Move layout style

* Move more component style

* Move all components

* Fix lots of mixin deps

* remove css-prefix from less

* fix a button icon style bug

* restructure

* fix index

* add dist

* fix jest

* fix some components style

* clean webpack config

* check more components style

* update tabs

* update scripts

* update scripts

* fix form style

* fix more style

* Fix select width

* Fix form and tabs style
2016-04-27 20:44:36 +08:00
afc163
728c3c2d6a Merge branch master into develop-1.0.0 2016-04-15 23:45:28 +08:00
afc163
278b5d83e1 update docs 2016-04-15 23:40:01 +08:00
然则
6eefc065a1 correct api 2016-04-15 11:41:22 +08:00
afc163
ef5ac96b49 update tree-select doc 2016-04-15 11:17:30 +08:00
然则
72f8e1f5dc correct tree-select doc 2016-04-14 18:47:37 +08:00
然则
9b847b896f correct filterTreeNode api description 2016-04-13 20:46:54 +08:00
然则
06403c560d change tree,tree-select api 2016-04-10 16:26:31 +08:00
然则
f7652fa504 improve tree, tree-select 2016-04-07 18:16:49 +08:00
Benjy Cui
df3ba36720 docs: remove useless newline in documentation 2016-04-01 10:08:19 +08:00
Benjy Cui
d5a6932c15 docs: update documentation format 2016-03-31 14:17:09 +08:00
Benjy Cui
03d09b66e8 docs: update demo format 2016-03-31 09:40:55 +08:00
Bruce Mitchener
273e527201 Use static class members for propTypes and friends. 2016-03-29 13:01:10 +07:00
Bruce Mitchener
eaae43abdd More ES2015 classes.
This covers Carousel, InputNumber, Select, Slider, Switch, TreeSelect
and Tree.
2016-03-21 08:26:05 +07:00
然则
e1f27bbe4d upgrade treeSelect 2016-03-14 16:18:30 +08:00
然则
a3c6a70996 up rc-tree-select version 2016-03-03 13:23:22 +08:00
ecofe
5f8baf1bfd modify md file (dropdownStyle) 2016-02-29 16:52:53 +08:00
afc163
052d0ac122 Fix tree select size style 2016-02-26 18:13:16 +08:00
afc163
d2cf85b87b Fix allowClear of TreeSelect, close #1084 2016-02-26 17:12:56 +08:00
afc163
19c5b29c07 update tree-select demo 2016-02-22 23:57:02 +08:00
yiminghe
a2ec91a545 fix tree-select style 2016-02-22 21:38:24 +08:00
yiminghe
86f36af78e update tree-select style 2016-02-22 21:12:00 +08:00
Benjy Cui
415a3d995b style: update code style to please lint 2016-02-16 14:07:09 +08:00
afc163
4393caa267 make TreeSelect demo more readable 2016-02-01 17:06:54 +08:00
然则
b1780a0947 up tree-select 2016-02-01 14:36:41 +08:00
afc163
ed2e038250 style(tree & treeSelect): better style 2016-01-30 16:53:49 +08:00
Benjy Cui
cd1391e6a2 style: update code style for object-curly-spacing 2016-01-27 17:00:58 +08:00
Benjy Cui
d06935528e feat: customized size first 2016-01-27 12:00:27 +08:00
afc163
96d99e6c0a update demos 2016-01-23 15:30:14 +08:00
afc163
ae1cdbbb93 update tree-select demos 2016-01-21 17:14:39 +08:00
afc163
e765b4bcee Style: small size control border-radius is 4px now 2016-01-21 17:12:25 +08:00
yiminghe
fa7bc2629d upgrade tree 2016-01-15 20:10:46 +08:00
afc163
1514d28dc4 update tree select doc 2016-01-14 21:42:02 +08:00
Benjy Cui
aa5c4f9595 style: update code style to please lint 2016-01-11 09:49:31 +08:00
然则
0c9afc8561 change treeNodeLabelProp defaultValue 2016-01-08 19:46:57 +08:00
然则
40a7cbf96f fix lint 2016-01-07 19:05:55 +08:00