Commit Graph

490 Commits

Author SHA1 Message Date
Sam Lanning
af8a025aeb [chore] remove additional unused variable 2018-12-20 17:16:00 +08:00
Sam Lanning
e56e1a71c3 [chore] fix useless assignments to local variables
This commit addresses all the instances of useless assignments to
local variables, as found by LGTM.com
2018-12-20 17:16: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
afc163
83c192ea3e
💄 fix eslint problems 2018-11-28 15:11:02 +08:00
afc163
c0ba2eb456
💄 tweak tree switcher icon size 2018-11-26 13:42:49 +08:00
ztplz
f25757ef9d Add missing types for tree 2018-11-15 14:02:29 +08:00
ztplz
3130a9584d Delete extra blank line 2018-11-12 12:14:28 +08:00
afc163
a616f89a1b 🔥 update less code style 2018-11-12 12:02:30 +08:00
ztplz
6ad23c370e Fix CI 2018-11-10 22:09:29 +08:00
afc163
213693e333 🌐 site: transition component category, close #11629 2018-11-04 16:20:35 +08:00
zombiej
bc35582643 update tree draggable demo 2018-10-25 11:19:17 +08:00
zombiej
38fd268199 fix #12567
Use same expand logic in DirTree with switcher & selector
2018-10-10 11:51:34 +08:00
Wei Zhu
a3ce6678cb Update snapshot 2018-10-01 23:57:45 +08:00
zombiej
1c85bb3b62 fix #12396. Support expandedKeys when init 2018-09-25 15:29:07 +08:00
zombiej
e58273dccf fix #12269. Fix Tree onDrop ts type 2018-09-17 17:37:20 +08:00
HeskeyBaozi
976f6969f4 update test snapshot 2018-09-07 14:14:23 +08:00
zombiej
425e477c7f update rc-tree & testcase 2018-09-03 15:11:40 +08:00
HeskeyBaozi
24568f61ff use the whole svg icons 2018-09-02 23:39:58 +08:00
HeskeyBaozi
d5e55e365d test 2018-09-02 23:39:58 +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
c7069b27fe fix icon theme code style 2018-09-02 20:59:37 +08:00
HeskeyBaozi
359191abeb update 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
7f22efbfae update test sanpshot 2018-08-25 16:09:10 +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
ee1d2469a8 upgrade test snapshot 2018-08-24 18:36:08 +08:00
HeskeyBaozi
43e6621fb7 use correct icon 2018-08-24 18:11:02 +08:00
zombiej
500ef62638 fix https://github.com/ant-design/ant-design/issues/11423. TreeNode can accept custom prop 2018-08-23 20:38:56 +08:00
HeskeyBaozi
96b38dd3ec use svg icon in introduce 2018-08-21 18:33:52 +08:00
HeskeyBaozi
ea6656f734 Merge branch 'feature-3.9.0' of https://github.com/ant-design/ant-design into feature/svg-icon 2018-08-21 16:32:30 +08:00
HeskeyBaozi
65600c8a95 upgrade to 3.8.2 2018-08-20 14:00:51 +08:00
Alexey Yakovlev
3582f46347 Update TreeProps.onCheck callback signature. 2018-08-19 20:16:27 +08:00
HeskeyBaozi
33d270aaf2 tree dynamic icon 2018-08-17 16:36:33 +08:00
HeskeyBaozi
d185068c20 yarn upgrade rc-tree 2018-08-17 16:04:11 +08:00
HeskeyBaozi
796de6390b update test snapshot 2018-08-14 15:32:29 +08:00
HeskeyBaozi
b9a9c308c9 [breaking] remove iconfont-font class helper 2018-08-14 15:31:20 +08:00
HeskeyBaozi
35974d67b2 update test snap shot 2018-08-13 20:51:01 +08:00
Bartek
e107b03cc7 closing #11604, add selectable to AntTreeNodeProps (#11651) 2018-08-13 14:09:32 +08:00
HeskeyBaozi
6c42d711e8 Merge branch 'feature-3.8.0' of https://github.com/ant-design/ant-design into feature/svg-icon 2018-07-31 15:36:23 +08:00
afc163
56fa8629b5 Merge branch 'master' into feature-3.8.0 2018-07-30 17:58:21 +08:00
zombiej
6617f785fd fix #11458. Adjust treeNode draggable css 2018-07-30 13:56:49 +08:00
zombiej
17b82a251a update rc-tree 2018-07-30 12:05:29 +08:00
Ilan Hasanov
186496d840 💬 fix tree component typos 2018-07-29 01:15:02 +08:00
HeskeyBaozi
ee16585b6d update test cases 2018-07-25 11:51:19 +08:00
HeskeyBaozi
bab50e6bed Merge branch 'feature-3.8.0' of https://github.com/ant-design/ant-design into feature/svg-icon
# Conflicts:
#	components/locale-provider/__tests__/__snapshots__/demo.test.js.snap
#	components/locale-provider/__tests__/__snapshots__/index.test.js.snap
#	components/transfer/__tests__/__snapshots__/demo.test.js.snap
#	components/transfer/__tests__/__snapshots__/index.test.js.snap
2018-07-23 09:58:55 +08:00
zombiej
ed7630053e fix #11366. action trigger expand also trigger the onExpand 2018-07-20 10:50:20 +08:00
HeskeyBaozi
4a553a2006 upgrade test cases 2018-07-19 20:37:47 +08:00
HeskeyBaozi
8df086f022 update test cases 2018-07-18 13:39:02 +08:00
HeskeyBaozi
9338f33c1c update test cases 2018-07-18 10:33:54 +08:00
afc163
8eb8c686ce Merge branch 'master' into feature-3.7.0 2018-07-11 22:21:01 +08:00
Zhiqiang Gong
722b24b813 add disabled prop (#11188)
First of all, thank you for your contribution! :-)

Please makes sure that these checkboxes are checked before submitting your PR, thank you!

* [x] Make sure that you propose PR to right branch: bugfix for `master`, feature for latest active branch `feature-x.x`.
* [x] Make sure that you follow antd's [code convention](https://github.com/ant-design/ant-design/wiki/Code-convention-for-antd).
* [x] Run `npm run lint` and fix those errors before submitting in order to keep consistent code style.
* [x] Rebase before creating a PR to keep commit history clear.
* [x] Add some descriptions and refer relative issues for you PR.

Extra checklist:

**if** *isBugFix* **:**

  * [x] Make sure that you add at least one unit test for the bug which you had fixed.

**elif** *isNewFeature* **:**

  * [ ] Update API docs for the component.
  * [ ] Update/Add demo to demonstrate new feature.
  * [ ] Update TypeScript definition for the component.
  * [ ] Add unit tests for the feature.

tslint检测时报错
类型“IntrinsicAttributes & IntrinsicClassAttributes<Tree> & Readonly<{ children?: ReactNode; }> & Read...”上不存在属性“disabled”。
2018-07-11 19:39:41 +08:00
afc163
0981ef06a4 fix demo lint 2018-06-27 16:14:47 +08:00
afc163
56020cda39 Merge branch 'master' into feature-3.7.0 2018-06-27 16:14:14 +08:00
afc163
009ed08580 upgrade eslint-config-airbnb 2018-06-27 16:09:58 +08:00
Wei Zhu
b374297ca6 Merge branch 'master' into feature-3.7.0 2018-06-25 11:44:35 +08:00
愚指导
d11d44e413
Bump 3.6.4 and fix some lint issue. 2018-06-23 16:35:42 +08:00
Wei Zhu
3fb478e743 Update Tree types 2018-06-21 14:38:44 +08:00
zombiej
ac9368298f miss ? for TreeNode className prop 2018-06-20 17:41:12 +08:00
zombiej
17da353575 close #10950. Add className in TreeNode prop 2018-06-20 09:47:24 +08:00
Wei Zhu
b7879e909f docs: use title instead of key
Address #10949
2018-06-19 17:30:06 +08:00
afc163
99d6e4c96c Merge branch 'master' into feature-3.7.0 2018-06-12 15:34:51 +08:00
Wei Zhu
99cad890ef Fix Tree types, TreeNode is a ComponentClass
Close #10868
2018-06-12 10:57:19 +08:00
zombiej
c488aca05e close #10666 #10821.Update tree support loadedKeys 2018-06-08 16:55:17 +08:00
afc163
89f3b253a4 Merge branch 'master' into feature-3.7.0 2018-06-08 16:22:15 +08:00
Kirill Alexander Khalitov
0ca1a990be Makes TreeNode component more type safe
Makes TreeNode component more type safe
2018-06-08 10:32:00 +08:00
Kirill Alexander Khalitov
74755fef99 Fix #10838
Fix [#10838](https://github.com/ant-design/ant-design/issues/10838)
2018-06-08 10:32:00 +08:00
zombieJ
a825ed4e66
Directory Tree (#10139)
Support DirTree. close #7749
2018-06-04 11:20:17 +08:00
zombiej
06ffd9ca04 Adjust Tree icon vertical-align, fix #10603 2018-05-21 21:24:16 +08:00
Wei Zhu
bf03d954d4 docs: Fix indent 2018-05-14 12:29:04 +08:00
Xiping.wang
413479a5b9 修改案例title值,原title值容易产生误导
修改案例title值,原title值容易产生误导
2018-05-14 12:08:50 +08:00
zombiej
0437d858f2 update testcase sync with Tree 1.8.12. Ref: https://github.com/ant-design/ant-design/issues/9899 2018-04-10 19:29:18 +08:00
jim
a5e2020908 add icon prop in .d.ts 2018-04-09 14:22:06 +08:00
zombieJ
49719b20d8
update tree doc for customize icon (#9893)
* update doc for customize icon
* add test case
2018-04-04 16:39:50 +08:00
zombiej
c135572730 Fix conduct logic on node disabled, update test snapshot 2018-03-29 19:46:01 +08:00
zombiej
08b6011ed7 update deps of rc-tree 2018-03-29 18:09:54 +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
偏右
8226ede38e
Fix test case for new jsdom (#9527)
* Fix test case for new jsdom

* use setTimeout as raf in jest jsdom

* Fix cancelAnimationFrame

* Add comment for facebook/jest#5147

* longer timeout

* fix snap

* upgrade antd-tools
2018-03-06 21:21:01 +08:00
Wei Zhu
5c00985fed Add children to AntTreeNodeProps 2018-01-30 16:50:49 +08:00
luyiming
e511c2ac33 fix tree demo drag&drop bug (#9131) 2018-01-26 13:30:44 +08:00
Wei Zhu
999d6184ad docs: Sort api table 2017-12-29 20:22:58 +08:00
Wei Zhu
01f4b4e713 Merge branch 'master' into antd-3.0 2017-12-01 11:50:07 +08:00
Wei Zhu
8e907cebde Fix tree draggable demo
Close #8246
2017-11-24 15:29:36 +08:00
Wei Zhu
6837aedf69 Imporve tree and tree-select type definitions 2017-11-20 17:11:13 +08:00
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports (#8218) 2017-11-17 14:38:54 +08:00
偏右
bdceb5f083
Review fix (#8125)
* Fix style

* Fix style

* fix lint

* Fix more styles

* Fix more styles

* update snap
2017-11-06 21:28:51 +08:00
翁润雨
58fe3277d8 add the 'selectable' attribute (#8048) 2017-10-31 13:57:45 +08:00
翁润雨
f64e24af8c add the 'selectable' attribute (#8048) 2017-10-28 19:39:33 +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
偏右
ffffd0f4c5 Fix styles (#7924)
* update demo

* Fix styles

* fix snap

* Fix back-top ci
2017-10-18 17:16:14 +08:00
Wei Zhu
c5487ad1eb React 16 + Enzyme 3 2017-10-09 19:18:04 +08:00
偏右
2bced36f0c New component styles (#7731)
* Tweak button padding

* upgrade input and button size

* update form controls size

* update components size

* Add lemon color and update rate color

* Add new icons

* update layout style

* breadcrumb and dropdown

* update menu arrow width

* update layout and menu

* update steps

* fix var name

* update cascasder style

* Update DatePicker

* update InputNumber and Mention

* radio and switch

* select and transfer

* TimePicker & Upload

* more components

* calendar and list

* Tree Timeline Popover Tag

* divider modal popover

* update search input

* update card style

* update switch disabled opacity

* update shoadow and mask

* Add v2-compatible-reset.less

* Fix undefined className

* update snahshotssssssssssssssssss 👻
2017-09-27 22:32:49 +08:00
afc163
caec11c03a Fix snapshot 2017-09-27 20:21:28 +08:00
nikogu
7899dcf299 update snapshots 2017-09-27 15:03:22 +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
afc163
3cdb06fe70 Fix Tree showLine style 2017-09-21 18:16:53 +08:00
afc163
27e4f1b658 Fix Tree showLine style 2017-09-21 18:15:10 +08:00
afc163
acc4061eeb Tweak align problems 2017-09-21 18:13:36 +08:00
afc163
ea5ccce90d Merge branch 'master' into antd-3.0 2017-09-15 11:16:19 +08:00
afc163
9df6e06d70 fix lint 2017-09-15 11:14:22 +08:00
afc163
b36df9da2b update tree controlled demo 2017-09-15 10:57:07 +08:00
afc163
ae87b663bf Tweak tree demo 2017-09-13 22:18:44 +08:00
afc163
89ce2254af Improve tree node loading icon position, close #7584 2017-09-13 22:17:13 +08:00
afc163
77d64971e5 Refactor tree loadData demo 2017-09-13 22:06:53 +08:00
Benjy Cui
070b2696ba chore: remove hacks for IE8-, close: #7447 (#7512) 2017-09-08 13:08:46 +08:00
nikogu
e4860bfac0 update snapshots again 2017-08-30 13:51:27 +08:00
nikogu
0a9e28226b update snapshots 2017-08-30 11:53:46 +08:00
afc163
8f6c0d8fc9 Fix snapshot 2017-08-27 14:12:42 +08:00
afc163
53ffc83d23 Fix snapshot 2017-08-27 14:10:29 +08:00
afc163
988e12f54b tweak some font weight 2017-08-17 22:10:40 +08:00
afc163
6a17efcbf1 upgrade some devDeps and fix stylelint 2017-08-04 18:01:40 +08:00
Flynn
8e8c0b4db3 update docoument for #7026 (#7039) 2017-08-01 11:26:18 +08:00
afc163
d00871acdd upgrade snapshot 2017-07-29 14:20:48 +08:00
Benjy Cui
fff756ff5f deps: upgrade rc-tree 2017-07-28 11:38:39 +08:00
Benjy Cui
c63c8b6c04 test: update snapshot 2017-07-28 09:59:30 +08:00
Benjy Cui
7582ab7481 test: update snapshot 2017-07-27 17:51:07 +08:00
Wei Zhu
90511c3261 docs: use indexOf instead of search
fix #6962
2017-07-26 13:24:58 +08:00
afc163
c2e7d18663 Make tree select item wider 2017-07-20 17:17:56 +08:00
afc163
ca89227568 test: fix snapshot 2017-07-12 21:44:46 +08:00
afc163
b0aef6cad5 Fix Tree and TreeSelect disabled style, close #6320 2017-06-01 16:54:47 +08:00
Wei Zhu
c962705f03 Increase click area of Tree icons
Close #6120
2017-05-18 14:28:48 +08:00
Benjy Cui
12a6060304 docs: fix code style 2017-05-15 14:37:22 +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
Wei Zhu
2190f63959 docs: Fix Tree drag demo
close #5837
2017-05-02 16:47:40 +08:00
Wei Zhu
5b21e591c3 deps: upgrade rc-tree@1.5.0 (#5917) 2017-04-27 15:25:08 +08:00
ko
e85708d16a docs: grammatical changes and improve sentence flow (#5882)
* Fixed some grammatical issues
* Prop descriptions are now more consistent
* Sentences flow better; they aren't as disjoint or terse
2017-04-25 16:37:18 +08:00
afc163
cad727323b Fix snapshot 2017-04-25 15:31:47 +08:00
afc163
67c386494b fix tree demo css 2017-04-13 15:36:03 +08:00
afc163
d081ab6614 Hide tree demo for #4932 2017-04-13 15:31:38 +08:00
afc163
d6af3a7a1c tweak tree styles 2017-03-28 20:20:29 +08:00
afc163
0fd88acc93 Improve tree showLine styles 2017-03-28 17:51:45 +08:00
afc163
7e8e883019 css code style 2017-03-28 17:17:56 +08:00
afc163
4f89e54cb2 Merge from branch "master" 2017-03-28 15:58:41 +08:00
Benjy Cui
8409cff8db style: update code style to please lint 2017-03-27 11:00:11 +08:00
偏右
674255bd14 [WIP] upgrade deps (#5455)
* upgrade deps

* autofix some tslint problems

* Fix tslint problems manually
2017-03-23 21:15:49 +08:00
乐仪
5d348ec1b2 add snap for new demos of Tree 2017-03-21 11:01:37 +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
Qingrong Ke
8afc2e9e95 Fix 5322 (#5379)
* Input: fix #5322

* Refactor preSuffix to affix

* Update tests and demos

* Refactor preSuffix to affix
2017-03-18 21:26:42 +08:00
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