Commit Graph

344 Commits

Author SHA1 Message Date
Wei Zhu
f6b1e942e3 Jest 19 (#5361)
* Upgeade to jest 19

* Use jest.spyOn
2017-03-17 18:56:30 +08:00
afc163
d3a967f346 clean up tree demo 2017-03-03 17:39:26 +08:00
Benjy Cui
04be276513 test: update snapshot 2017-03-02 18:04:39 +08:00
Benjy Cui
64cbb95a34 docs: update docs for tree, close: #4932 2017-03-02 17:08:57 +08:00
afc163
917ec5606e Tweak tree style 2017-02-25 19:17:54 +08:00
bang
eabe261648 docs: Rewrite Tree demos to ES6 component 2017-02-19 20:23:38 +07:00
afc163
df3617dded docs: improve API table layout 2017-02-17 00:59:11 +08:00
陆离
1c24600f8f fix: tree DragOver Gap fix (#4867)
*  Tree DragOver Gap fix

 + close #4858

* rewrite
2017-02-16 15:35:22 +08:00
Benjy Cui
200b88246f docs: update docs format 2017-02-13 10:55:53 +08:00
Benjy Cui
d2b8d65c87 style: update code style to please lint, close: #2179 2017-02-06 12:09:58 +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
Benjy Cui
75c0ade1ce test: update snapshot 2017-01-12 10:38:14 +08:00
afc163
65f2d8eb71 shorter demo code 2017-01-11 20:20:38 +08:00
afc163
f978b52ce3 remove blanks 2017-01-11 20:08:52 +08:00
afc163
dc00b9ee96 Fix Search block again, close #4540 2017-01-10 15:11:43 +08:00
afc163
1b10733e47 Update tree doc 2017-01-06 10:46:25 +08:00
afc163
e2b8aee202 fix snapshot 2017-01-05 17:24:14 +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
Rex
1b8a280614 support suffix (#4283)
* support suffix

* optimize prefix and suffix

* 1. Optimize prefix and suffix implementation
2. Improve the api document
3. Optimize `Input.Search` implementation

* update snapshots
2017-01-01 01:06:19 +08:00
Wei Zhu
0a3e57a61e Using padding for node gaps, fix #4371 (#4398) 2016-12-30 14:32:34 +08:00
Wei Zhu
92edf23d4e docs: Fix search tree demo expand, close #4233 2016-12-15 21:45:56 +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
afc163
87f230f57b refactor Input.Search 2016-11-26 14:39:30 +08:00
afc163
7c79a1c294 Fix wrong loading icon in Tree, close #3993 2016-11-24 15:04:17 +08:00
Wei Zhu
52f6f992b3 style: Fix jsx self close, #3966 (#3968) 2016-11-24 14:09:43 +08:00
Wei Zhu
ccbebe60cc style: Fix jsx alignment, #3966 (#3967) 2016-11-23 17:53:10 +08:00
afc163
70e1e26771 bigger tree icon 2016-11-21 18:17:12 +08:00
Bruce Mitchener
36508ffabd Typo fixes. 2016-11-16 20:33:37 +07:00
afc163
b69fd4bf9f fix lints 2016-11-15 15:21:13 +08:00
afc163
5d2a2cc39b Add @highlight-color less variables 2016-11-09 21:30:02 +08:00
ddcat1115
c32256c204 docs: add searchable Tree demo (#3693) 2016-11-09 14:45:49 +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
Wei Zhu
caf09cd99e Release 2.3.0 (#3735)
* docs: add change log for 2.3.0

* Update dependencies.

* Add TimePicker addon demo
2016-11-06 14:32:47 +08:00
afc163
7f974877bc update Tree document (#3730) 2016-11-04 11:55:20 +08:00
yiminghe
8afe3965c1 upgrade ts 2.0 2016-10-19 17:52:23 +08:00
afc163
4ef54a6edb adjust tree style 2016-10-14 16:17:26 +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
偏右
354759cb17 Redesigned icons (#3041)
* redesigned icons

* change iconfont content

* use same icons

* fix missing icons

* improve icon size
2016-09-18 09:54:47 +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
afc163
0e6f677ff9 Fix doc headings 2016-09-10 13:43:30 +08:00
Andrew Murray
0d00c5fb6c docs: Fixed typos (#2921) 2016-09-01 18:12:12 +08:00
afc163
363f610d8b Fix tsc errors beside DatePicker 2016-08-24 16:09:55 +08:00
然则
5d36e7e03f fix #2748 2016-08-17 17:12:40 +08:00
然则
db0ac02321 fix show arrow when there is no children #2616 2016-08-07 20:38:20 +08:00
afc163
b8c64f8b6c Merge branch 'master' of github.com:ant-design/ant-design 2016-07-26 22:30:40 +08:00
afc163
0eeca99f02 Merge 1.x-stable 2016-07-26 22:20:33 +08:00
afc163
ca57794ae7 better implement for a2804cb 2016-07-25 14:03:56 +08:00
warmhug
408027b95d add tree's tips 2016-07-25 12:15:59 +08:00
warmhug
bc5f5d5ba4 add tree's tips 2016-07-25 12:08:43 +08:00
Benjy Cui
5bee7d2088 docs: fix translation 2016-07-21 10:15:00 +08:00
Gray Choi
b0bf2a5c0e docs: translate tree component (#2395) 2016-07-21 09:52:39 +08:00
afc163
2e41e35cc6 Fix more tslint problems 2016-07-13 17:22:23 +08:00
afc163
aee2b2c5ad Merge branch '1.x-stable' 2016-07-13 16:26:27 +08:00
afc163
8c9af24d72 fix some tree style 2016-07-13 16:12:44 +08:00
afc163
2d0b56a429 update tree demo 2016-07-13 16:08:10 +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
Gray Choi
fb9a6963a3 rewrite in typescript
#1846

- [x] Carousel
- [x] Cascader
- [x] Transfer
- [x] Tree

-Tree
 -checkable is boolean type, instead of assigning a ReactElement to it,
I use Ternary Operators.
2016-07-01 21:52:17 +09:00
warmhug
b748b4ed7d correct display error 2016-06-29 18:22:05 +08:00
warmhug
9eda0a65d1 correct display error 2016-06-29 18:01:52 +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
yiminghe
777692a207 fix index 2016-06-01 12:09:32 +08:00
yiminghe
56f4f0688d clean deps 2016-05-26 12:52:07 +08:00
Benjy Cui
8842d9342a site: update components' type 2016-05-16 15:41:55 +08:00
afc163
03cb74ead5 upgrade eslint-config-airbnb version and fix some problems 2016-04-29 12:13:27 +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
然则
5374095604 update tree api:autoExpandParent, checkedKeys, onExpand 2016-04-21 13:11:55 +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
Benjy Cui
c1659c2ce3 style: update code style to please lint 2016-02-22 10:52:30 +08:00
Benjy Cui
9d022ff84c style: update code style to please lint 2016-02-17 15:57:33 +08:00
然则
79d1fd4043 up tree draggable demo 2016-01-29 11:31:10 +08:00
afc163
be1bad307b simplify tree demos 2016-01-28 15:13:17 +08:00
Benjy Cui
cd1391e6a2 style: update code style for object-curly-spacing 2016-01-27 17:00:58 +08:00
yiminghe
fa7bc2629d upgrade tree 2016-01-15 20:10:46 +08:00
然则
696b3438b8 up tree, change drag api, fix drag state 2016-01-14 00:41:25 +08:00
Benjy Cui
aa5c4f9595 style: update code style to please lint 2016-01-11 09:49:31 +08:00
Benjy Cui
711d2d7413 style: update code style to please lint 2016-01-11 09:49:30 +08:00
然则
40a7cbf96f fix lint 2016-01-07 19:05:55 +08:00
leon.shi
98aa1a5997 Fix wrong description in Tree props table, checked should be selected and checkedKeys should be selectedKeys. 2016-01-04 15:22:00 +08:00
afc163
1a606524dd rm expandedKeys from tree API 2015-12-30 19:01:34 +08:00
lgmcolin
1087ec4501 fix tree doc 2015-12-30 17:54:07 +08:00
afc163
91bd7f22c0 use mountNode replace the long getElementById 2015-12-29 12:08:58 +08:00
afc163
c45c6877f8 fix lint problems 2015-12-27 16:20:59 +08:00
afc163
7cd8fb042f fix tree demo 2015-11-29 16:54:20 +08:00
afc163
820d9d7880 fix demo lint 2015-11-27 12:08:57 +08:00
afc163
d1d3329674 fix boolean attribute lint errors 2015-11-25 18:10:35 +08:00
afc163
16abf46071 Fix markdown eslint errors, update .eslintrc 2015-11-25 18:10:34 +08:00
ioldfish
a63360734c demo中去掉propTypes 2015-10-29 14:02:51 +08:00
ioldfish
97942c6f2d Merge branch 'develop-0.10.0' of https://github.com/ant-design/ant-design into develop-0.10.0
Conflicts:
	package.json
2015-10-29 13:42:40 +08:00
ioldfish
01bf42d712 Merge branch 'develop-0.10.0' of https://github.com/ant-design/ant-design into develop-0.10.0
Conflicts:
	package.json
2015-10-29 09:55:47 +08:00
ioldfish
2fefd5d103 Merge branch 'develop-0.10.0' of https://github.com/ant-design/ant-design into develop-0.10.0
Conflicts:
	package.json
2015-10-27 16:44:31 +08:00
ioldfish
49c019f86d Merge branch 'develop-0.10.0' of https://github.com/ant-design/ant-design into develop-0.10.0
Conflicts:
	package.json
2015-10-27 16:28:00 +08:00
ioldfish
8f887d3879 update ant-tree dynamic 2015-10-27 15:47:01 +08:00
afc163
cad3fdff45 lg => large, sm => small 2015-10-26 11:02:48 +08:00
yiminghe
76b0f673ec beta2 2015-10-20 16:47:55 +08:00
ioldfish
aca09cf191 update ant-tree 2015-10-15 10:38:14 +08:00
afc163
4e89f5002b Fix eslint problems 2015-08-28 00:11:56 +08:00
yiminghe
70d04d9d31 add open anim 2015-08-25 11:11:21 +08:00
yiminghe
afe77270c6 fix tree anim 2015-08-25 11:03:46 +08:00
afc163
217a43f2ad shorter duration 2015-08-24 19:47:20 +08:00
yiminghe
faf7aea2d5 add tree animation 2015-08-24 18:28:00 +08:00
然则
2df2310296 Merge branch '0.8.0' of github.com:ant-design/ant-design into 0.8.0 2015-08-24 18:14:02 +08:00
然则
d29a215e74 up tree and add velocity-animate 2015-08-24 18:12:07 +08:00
afc163
04cd5ff349 update tree demo 2015-08-24 16:54:42 +08:00
afc163
fdf19520d6 Add component type 2015-08-22 20:16:24 +08:00
afc163
6cfdca61a8 Only leave onCheck, remove onSelect from antd API 2015-08-19 13:50:26 +08:00
然则
5ae755a8ba up tree readme 2015-08-19 12:28:25 +08:00
然则
3bba2b7972 fix conflict 2015-08-19 12:23:00 +08:00
然则
011970fe38 up tree api 2015-08-19 12:18:10 +08:00
afc163
6e542e4972 update tree 2015-08-19 11:45:08 +08:00
afc163
cfaf31b47c update demo title 2015-08-19 11:41:44 +08:00
afc163
90deb00e06 update tree code and demo style, improve css 2015-08-18 16:03:13 +08:00
ioldfish
1b78c4fc90 merge from fortree 2015-08-17 17:32:59 +08:00
ioldfish
40e998f377 update api 2015-08-17 12:49:19 +08:00
然则
4b705d7c85 up less 2015-08-17 12:17:20 +08:00
然则
bf52026789 up tree and checkbox 2015-08-16 20:04:42 +08:00
然则
61f061b00f up api 2015-08-15 23:45:25 +08:00
然则
82bf118a73 up iconfont 2015-08-14 23:28:20 +08:00
afc163
3be09f62f5 disable tree link 2015-08-11 17:10:06 +08:00
然则
6da7db4ec2 up rc-tree version 2015-08-10 20:23:18 +08:00
afc163
43dbc2f24b code style fix 2015-08-07 11:10:46 +08:00
afc163
d82154825c typo 2015-08-06 14:11:02 +08:00
ioldfish
817e5ff72a upadte tree style 2015-08-06 09:17:40 +08:00
afc163
9a200ec782 update text 2015-08-05 21:18:34 +08:00
ioldfish
0065270e7f update ant-tree style 2015-08-05 17:38:02 +08:00
ioldfish
936e5e8369 包装rc-tree,样式待修改 2015-08-03 16:11:56 +08:00
ioldfish
c18af7db79 包装rc-tree,样式待修改 2015-08-03 16:07:21 +08:00
afc163
f62aa38ee8 Add components index.md 2015-08-01 14:08:04 +08:00
yiminghe
19e2c2700a stable 2015-07-30 21:55:16 +08:00
afc163
27353ca9b9 三期组件挖坑 2015-07-22 11:06:55 +08:00