Commit Graph

4526 Commits

Author SHA1 Message Date
afc163
27f3269623 Merge branch 'master' of github.com:ant-design/ant-design 2017-03-02 17:26:03 +08:00
Benjy Cui
64cbb95a34 docs: update docs for tree, close: #4932 2017-03-02 17:08:57 +08:00
afc163
34cfe5fd06 tweak less code 2017-03-02 16:11:58 +08:00
afc163
0fd4c92979 speed up collapse motion 2017-03-02 15:51:15 +08:00
afc163
06d351f968 fix warning in test case 2017-03-02 14:14:34 +08:00
wonyun
27e3f660b4 Add dateFullCellRender and monthFullCellRender for calendar component (#5138) 2017-03-02 13:35:07 +08:00
Wei Zhu
570e2ce1dc Check if Table[pagination] exist
When pagination is null, a error "Cannot use 'in' operator to search for 'current' in null"
will raise.
2017-03-02 11:31:56 +08:00
Wei Zhu
8bfbe9b6df update snapshot 2017-03-02 11:01:12 +08:00
feng zhi hao
dab5f3547d chore: improve ts definition of Form (#5134) 2017-03-02 10:53:47 +08:00
Benjy Cui
fb8f90c102 feat: form (#5063)
* feat: support Form[layout], close: #5056

* feat: Form should be responsive, close: #5055

* test: update snapshot

* fix: resolve conflict betwen layout defaultValue and inline & vertical
2017-03-02 10:49:06 +08:00
Kyle Rosenberg
aa84b826c1 chore: Added missing getFieldsError in WrappedFormUtils (#5133) 2017-03-02 09:33:46 +08:00
Wei Zhu
3d3abe8662 Add Tabs tests 2017-03-02 00:16:37 +08:00
afc163
ea7dc3e56c update docs 2017-03-01 18:44:59 +08:00
afc163
b3a325dc29 Fix disabled DatePicker hover border color 2017-03-01 15:26:12 +08:00
afc163
a7a2c54fa8 fix snap 2017-03-01 14:46:44 +08:00
afc163
5eef3fa467 fix snapshot test 2017-03-01 13:33:17 +08:00
Yogesh
0675acc3ef Typo/grammar change (#5117) 2017-03-01 12:45:24 +08:00
偏右
f29ff2f822 Add some new icons, ref #3674 (#5107) 2017-03-01 11:21:00 +08:00
Benjy Cui
ef2375885e feat: support Badge[showZero], close: #4251 (#5096) 2017-03-01 11:16:58 +08:00
Benjy Cui
00cdb7d888 feat: support Transfer[onScroll], close: #4188 (#5084) 2017-03-01 11:07:19 +08:00
feng zhi hao
4019ef4b0c chore: fix hideRequiredMark ts definition of Form (#5112) 2017-03-01 09:13:26 +08:00
afc163
35cc822e56 Fix tree-select not show bug, close #5092 2017-02-28 18:50:22 +08:00
Wei Zhu
6eca8b4ad1 Add locale support to Upload (#5094) 2017-02-28 18:43:22 +08:00
陆离
8eec86085b typo stopPreventDefault -> stopPropagation (#5093)
* typo stopPreventDefault -> stopPropagation

* remove
2017-02-28 18:43:06 +08:00
afc163
b12d8e3d38 revert 5b20a5f and fix #5091 2017-02-28 18:10:11 +08:00
Benjy Cui
758559f718 test: update snapshots 2017-02-28 16:14:53 +08:00
Benjy Cui
27def1e7dd fix: should not generate cls twice 2017-02-28 16:14:53 +08:00
Benjy Cui
7c564af6e4 Revert "css: adjust alignment in Select & AutoComplete, close: #5088"
This reverts commit c01f24750a.
2017-02-28 15:46:45 +08:00
afc163
bbfc131a85 Fix steps fixed width, close #5083 2017-02-28 15:13:23 +08:00
Benjy Cui
69d9d1edda chore: add warning for typo, close: #5044 2017-02-28 14:44:12 +08:00
Benjy Cui
c01f24750a css: adjust alignment in Select & AutoComplete, close: #5088 2017-02-28 14:30:00 +08:00
Benjy Cui
dd86e33283 deps: upgrade rc-checkbox to fix #2744 2017-02-28 11:38:54 +08:00
Wei Zhu
2fb52944e4 Setting table row hover bg on td (#5077)
Related issue #5067
2017-02-28 11:31:01 +08:00
Eden Wang
445c940af4 docs: Change Password Blur from password to confirm (#5076)
* Change Password Blur from password to confirm

If you type check password, then type password, the validation won't be changed

* rename variables and functions name

rename handlePasswordBlur to handleConfirmBlur
rename passwordDirty to confirmDirty
2017-02-28 11:30:04 +08:00
afc163
d0f31f39a3 fix cascader style selector priority, close #5078 2017-02-28 11:28:49 +08:00
afc163
f1a252768e Menu dark background should be same as layout header 2017-02-27 23:46:09 +08:00
afc163
6a5576d65f Add another layout demo of top-side 2017-02-27 23:46:09 +08:00
Graeme Yeates
10b99eead8 Remove inconsisent progress-bar-font (#5081) 2017-02-27 23:23:54 +08:00
bang
28b1692f1a doc: add message onClose callback close #5073 2017-02-27 20:50:08 +07:00
afc163
e008214f56 Make <Spin></Spin> loading inside viewport, close #4722 2017-02-27 15:53:36 +08:00
afc163
c64cf9f086 fix upload error item name color 2017-02-27 14:18:00 +08:00
偏右
c552b315bc Add getContainer for message and notification, close #5019 (#5066) 2017-02-27 13:39:37 +08:00
afc163
7fd08efbb7 Merge branch 'master' into feature-2.8 2017-02-27 12:14:57 +08:00
afc163
d4036d3cae fix button unknown prop 2017-02-27 11:18:48 +08:00
Benjy Cui
8b539c4971 chore: update type definition 2017-02-27 10:20:46 +08:00
afc163
d99778b605 Fix clicked effect when switch loading state 2017-02-26 19:21:22 +08:00
afc163
00fac07d9e refactor requestAnimationFrame 2017-02-26 19:08:36 +08:00
afc163
376806dab8 Merge from "master" 2017-02-26 18:45:16 +08:00
afc163
a9599b802c when labelCol is 24, it is a vertical form 2017-02-26 18:09:41 +08:00
afc163
3818f59a97 fix test case 2017-02-26 17:52:26 +08:00
afc163
30f2a1ed94 Add popup node snapshot test for Cascader 2017-02-26 16:48:42 +08:00
afc163
14d380f0f9 use old button animation 2017-02-26 02:18:20 +08:00
偏右
4650d20abf Update colorPalette.less 2017-02-26 00:35:02 +08:00
afc163
cf4ad5ddb8 fix test case 2017-02-26 00:23:46 +08:00
afc163
917ec5606e Tweak tree style 2017-02-25 19:17:54 +08:00
afc163
511db23fcd Add default title for form item label 2017-02-25 18:48:44 +08:00
afc163
68fde63ef7 refactor renderLabel 2017-02-25 18:47:40 +08:00
afc163
d2e178d215 update doc 2017-02-25 18:37:25 +08:00
afc163
f6715df3b5 closest => dom-closest, fix ssr 2017-02-25 02:09:18 +08:00
afc163
6ea75c4d85 Filter dropdown menu inside scroll body should never be shown, close #5010 2017-02-25 01:36:45 +08:00
afc163
5076b6045c fix snap 2017-02-25 00:17:44 +08:00
afc163
139d95022c prefer stateless function 2017-02-24 20:29:24 +08:00
tianli.zhao
85ca5ed5ea [WIP] filter the disabled options (#4981)
filter the disabled options
2017-02-24 19:08:02 +08:00
afc163
2bf6e22653 fix documentation for onOk, close #5044 2017-02-24 18:08:35 +08:00
ddcat1115
d0db3ce426 fix menu icon not centered in Layout.Sidere (#5039) 2017-02-24 18:04:16 +08:00
afc163
c163232deb fix snap 2017-02-24 17:43:40 +08:00
乐仪
55fca5cee4 Merge branch 'master' of https://github.com/ant-design/ant-design 2017-02-24 16:36:02 +08:00
乐仪
70ec413537 fix Layout demo, update documentation. 2017-02-24 16:34:10 +08:00
afc163
edaad09b67 update grid document for media queries rule, close #5030 2017-02-24 16:25:27 +08:00
Benjy Cui
3aac9adc40 docs: remove some demo 2017-02-24 16:17:52 +08:00
ddcat1115
e07cdf5387 add left out event parameters for Modal[onOk] Popconfirm[onConfirm] Popconfirm[onCancel] (#5042) 2017-02-24 16:07:39 +08:00
feng zhi hao
88100a29a3 chore: fix ts definition of Upload (#5041) 2017-02-24 16:06:57 +08:00
ddcat1115
e33bb82e62 change detect type of Layout.Sider (#5036)
* save

* change detect type of Layout.Sider
2017-02-24 16:06:15 +08:00
Graeme Yeates
19c11dd173 chore: RangePicker TimePicker component locking background to white (#5031) 2017-02-24 10:42:45 +08:00
Benjy Cui
4e59e9e769 docs: recommend to use LocaleProvider, ref: #5017 2017-02-24 10:22:21 +08:00
feng zhi hao
6d903a6ba5 add custom selection in Table (#4962)
* add custom selection in Table

* update snapshots

* update snapshots again

* optimize selection in Table

* update test

* update snapshots

* improve test

* fix test
2017-02-23 19:29:47 +08:00
Benjy Cui
1f844c1048 fix: Slider's Tooltip should not blink, close: #5003 2017-02-23 17:03:18 +08:00
Benjy Cui
1c837963e2 chore: add warning for deprecated API 2017-02-23 16:04:27 +08:00
Benjy Cui
ce0d4c39f2 docs: add missing info in Calendar, close: #5017 2017-02-23 15:58:02 +08:00
afc163
dded4bcde4 fix snap for rc-table@5.2.12 2017-02-23 14:57:48 +08:00
afc163
6fdb39038b Fix selected style of Dropdown menu, close #5013 2017-02-23 13:48:38 +08:00
afc163
9d0a06b657 add snap file 2017-02-23 13:45:16 +08:00
afc163
9c6a6d6175 Fix Breadcrumb falsy children, close #5015 2017-02-23 13:43:50 +08:00
afc163
5068343b0c fix tslint 2017-02-23 13:18:06 +08:00
afc163
a7c6c027ce Fix ts definition of Table & RangePicker
close https://segmentfault.com/q/1010000008423156
2017-02-23 12:51:40 +08:00
afc163
0f46eed370 fix lint 2017-02-23 11:45:48 +08:00
afc163
922a57dfde fix snap for react-component/table#125 2017-02-23 11:30:54 +08:00
Benjy Cui
29ebf22529 docs: update docs for AutoComplete, close: #5006 2017-02-23 10:02:10 +08:00
afc163
27717483a7 should be only working on input ref, #4987 2017-02-22 21:28:53 +08:00
afc163
d8fb282088 Adjust checkbox and radio vertical, close #5001 2017-02-22 21:22:42 +08:00
afc163
9228e7a01b update snap 2017-02-22 19:34:44 +08:00
afc163
39fd6b6a36 Define circle progress theme by css, close #5002 2017-02-22 19:33:15 +08:00
afc163
ff2d69ad21 update progress demo 2017-02-22 19:31:50 +08:00
afc163
1c4407b60c fix popup menu z-index problem 2017-02-22 18:30:50 +08:00
afc163
cdf786676c Fix popconfirm missing button styles 2017-02-22 18:10:02 +08:00
afc163
5b20a5fc3e Fix slight vertical position difference in chrome, close #4987 2017-02-22 17:48:58 +08:00
afc163
7181e3c9e8 revert d9ec4bf and ef0b708, close #4997 2017-02-22 16:50:24 +08:00
afc163
61a3d66a02 Add test case for upload 2017-02-22 16:07:31 +08:00
Benjy Cui
e4d9e5af54 test: update snapshot 2017-02-22 15:52:43 +08:00
Benjy Cui
d9ec4bf732 fix: RangePicker style 2017-02-22 15:33:21 +08:00
afc163
fbeccb7be5 fix inline submenu open style 2017-02-22 14:47:01 +08:00
afc163
90699b0c42 clean up document 2017-02-22 12:33:23 +08:00
afc163
ef0b7087f6 Fix slight difference placeholder between Input and Select
close #4987
2017-02-21 23:34:23 +08:00
afc163
9bb7e3d10c site: improve responsive layout 2017-02-21 23:26:10 +08:00
afc163
f0a4afd388 Fix slight difference placeholder between Input and Select
close #4987
2017-02-21 22:45:56 +08:00
陆离
7d982ddfd4 Calc width of Affix using getBoundingClientRect (#4989)
+ close #4986
2017-02-21 22:17:48 +08:00
afc163
79f222b86c fix snap, seems to be a jsdom bugfix 2017-02-21 22:17:35 +08:00
afc163
2fb0fb08d9 Fix Carousel autoplay not working after resizing, close #4984 & #2550 2017-02-21 22:12:11 +08:00
乔奕轩
030127e93c fix: Affix should not pass onChange to div (#4982) 2017-02-21 18:07:58 +08:00
afc163
9fff177bbc update table fixed column demo description 2017-02-21 17:11:30 +08:00
afc163
54dde4f5bc Hide yellow tag for no compatible with WCAG 2.0 on contrast ratio 2017-02-21 16:19:56 +08:00
afc163
fbb6cb007f max-height should not work on submenu filter, close #4975, ref #4916 2017-02-21 15:54:14 +08:00
afc163
7f404f1e20 Fix styoe of spin inside spin, close #4971 2017-02-21 15:15:30 +08:00
afc163
68f3641a90 update less code style 2017-02-21 15:15:29 +08:00
Benjy Cui
760a5ffc90 fix: add .focus for TimePicker, ref: #3790 2017-02-21 15:10:28 +08:00
陆离
36fd55c441 Anchor ink in fixed (#4960)
*  A config for displaying ink-balls of fixed Anchor

 + close #4930
 + add `inkInFixed` props to show ink-balls in fixed mode.

* rename
2017-02-21 14:44:20 +08:00
偏右
a80d6b7231 upgrade rc-rate to 2.x (#4955)
1. allow custom charactor
2. add className and onHoverChange

close #4870
2017-02-21 14:44:13 +08:00
陆离
21a0779692 Better loading of Button (#4964)
*  Better loading of Button

 + close #4925
 + add a default delay timer (200ms)

* update snapshot

* escape
2017-02-21 14:44:08 +08:00
偏右
0120008cbd Add tabBarStyle, close #4966 (#4970) 2017-02-21 14:43:48 +08:00
afc163
921f71a8bc revert fix ant-col-xx-0 not disappear as expected 2017-02-21 11:56:51 +08:00
afc163
c4a67a1bf5 fix ant-col-xx-0 not disappear as expected 2017-02-21 11:51:17 +08:00
afc163
b839c624e8 fix slider demo 2017-02-20 22:31:43 +08:00
afc163
d19453c4c3 fix lint 2017-02-20 22:21:14 +08:00
afc163
c30878d38f rewrite Slider demos to es6 component, #4878 2017-02-20 22:19:59 +08:00
afc163
580389ac15 rewrite Spin demos to es6 component, #4878 2017-02-20 22:16:57 +08:00
afc163
d576abc7b0 rewrite Switch demos to es6 component, #4878 2017-02-20 22:15:52 +08:00
afc163
6455bdf6e1 rewrite Pagination demos to es6 component, #4878 2017-02-20 22:14:47 +08:00
afc163
e68b54f902 rewrite Popconfirm demos to es6 component, #4878 2017-02-20 22:13:19 +08:00
afc163
176b9f9083 fix typo 2017-02-20 22:11:39 +08:00
afc163
c28020708f fix typo 2017-02-20 22:09:13 +08:00
afc163
a6547a392b rewrite Progress demos to es6 component, #4878 2017-02-20 22:07:45 +08:00
afc163
f27041342d rewrite Popover demos to es6 component, #4878 2017-02-20 22:06:12 +08:00
afc163
c8e49995cb rewrite Rate demos to es6 component, #4878 2017-02-20 22:05:06 +08:00
afc163
18203972a1 rewrite Radio demos to es6 component, #4878 2017-02-20 22:04:17 +08:00
afc163
5e0f5e1902 rewrite Modal demos to es6 component, #4878 2017-02-20 22:02:12 +08:00
afc163
3884ee3c5a rewrite Select demos to es6 component, #4878 2017-02-20 21:54:23 +08:00
afc163
c440a4d2b2 rewrite Menu demos to es6 component, #4878 2017-02-20 21:51:23 +08:00
afc163
f2d12306bd improve demo es6 class code style 2017-02-20 21:47:57 +08:00
afc163
2da59c3679 fix mention demo 2017-02-20 21:40:24 +08:00
afc163
ce877707bd rewrite LocaleProvider and Mention demos to es6 component, #4878 2017-02-20 21:39:07 +08:00
afc163
23cb11fef3 update document, ref #4965 2017-02-20 17:58:51 +08:00
陆离
01086d56e5 shoud not have border around button (#4967) 2017-02-20 17:47:26 +08:00
afc163
38c8360d1f Improve Menu[inline] and Collapse animation, ref #4898 2017-02-20 15:34:16 +08:00
afc163
3485529307 adjust message disappear animation setting 2017-02-20 14:44:27 +08:00
feng zhi hao
5303bd0a38 docs: rewrite Table demos to ES6 component (#4954) 2017-02-20 14:04:36 +08:00
afc163
18e554ff46 fix lint 2017-02-20 13:39:01 +08:00
afc163
f037f12523 fix demo code language 2017-02-20 13:32:48 +08:00
feng zhi hao
47dc4a81e4 docs: rewrite InputNumber demos to ES6 component (#4950) 2017-02-20 12:27:13 +08:00
afc163
a9a564779e Merge from "master" 2017-02-20 12:18:41 +08:00
feng zhi hao
62e80928d5 docs: rewrite Form demos to ES6 component (#4949) 2017-02-20 11:50:57 +08:00
afc163
3308bce9b9 fix snapshot test 2017-02-20 11:36:57 +08:00
afc163
c1f3b58b28 Fix table wrapper float layout, close #4945 2017-02-20 11:36:56 +08:00
afc163
626e0c9d1e Fix DatePicker default width, close #4947, ref #4920 2017-02-20 11:36:19 +08:00
Benjy Cui
b7519a65c0 fix: should clear float, close: #4945 2017-02-20 11:31:51 +08:00
feng zhi hao
e85c8a25f6 docs: rewrite Dropdown demos to ES6 component (#4946) 2017-02-20 10:35:47 +08:00
偏右
1c2c93fa81 fix: show muliple messages in vertical direction, close #3543 (#4939) 2017-02-20 10:30:24 +08:00
feng zhi hao
6eca407711 docs: rewrite Checkbox demos to ES6 component (#4944) 2017-02-20 10:09:37 +08:00
feng zhi hao
0d2da7ad3b docs: Rewrite Cascader demos to ES6 component (#4943) 2017-02-20 09:45:23 +08:00
陆离
7a4080ec40 Fix some problems of AutoCompelete demo (#4942)
+ close #4912
2017-02-20 00:09:07 +08:00
bang
b90237ee6f fix: Tabs snapshot tests 2017-02-19 21:23:31 +07:00
bang
6bcd88f5c0 docs: Rewrite Tabs demos to ES6 component 2017-02-19 21:07:45 +07:00
bang
a4acf1f66e docs: Rewrite Upload demos to ES6 component 2017-02-19 20:50:06 +07:00
bang
c10b051a92 docs: Rewrite TreeSelect demos to ES6 component 2017-02-19 20:41:54 +07:00
bang
eabe261648 docs: Rewrite Tree demos to ES6 component 2017-02-19 20:23:38 +07:00
Wei Zhu
a69a52f8b8 docs: Rewrite Button demos to ES6 component 2017-02-19 21:03:44 +08:00
bang
c9064fc494 Merge branches 'master' and 'master' of github.com:ant-design/ant-design
* 'master' of github.com:ant-design/ant-design:
  docs: Rewrite Badge demos to ES6 component

* 'master' of github.com:ant-design/ant-design:
  docs: Rewrite Badge demos to ES6 component
2017-02-19 19:54:32 +07:00
bang
fcf9bafb18 docs: Rewrite Transfer demos to ES6 component 2017-02-19 19:51:40 +07:00
Wei Zhu
1fc8990531 docs: Rewrite Badge demos to ES6 component 2017-02-19 20:27:06 +08:00
Wei Zhu
eb29fdada3 docs: Rewrite AutoComplete demos to ES6 component 2017-02-19 20:12:41 +08:00
afc163
18ec5933b7 fix old react documentation links 2017-02-19 17:02:58 +08:00
afc163
173b8c46ad Fix input demo tooltip 2017-02-19 15:21:46 +08:00
afc163
f5b0536d42 improve demo code style 2017-02-19 15:06:37 +08:00
Aaron Planell López
05fd5a6825 Add locale ca_ES (Catalan) (#4929)
* Add locale ca_ES (Catalan)

* Add locale ca_ES (Catalan). Modify global locale in local-provider.
2017-02-19 14:27:14 +08:00
afc163
e289ce8b31 Fix Table fixed column z-index issue, close #4937 2017-02-19 14:26:30 +08:00
afc163
673969d0ba fix table snapshot for react-component/table#121 2017-02-19 14:04:22 +08:00
afc163
6e4fae0e29 remove onChange functions in Table.onChange(pagination) 2017-02-19 13:55:36 +08:00
afc163
b34557ef17 Fix Table pagination.onChange arguments
react-component/pagination#58
2017-02-19 13:50:20 +08:00
afc163
b427adec21 docs: add instrunction about footer={null} 2017-02-19 01:42:58 +08:00
afc163
90daeb9a2b Adjust upload demo 2017-02-19 01:39:41 +08:00
afc163
e71807b732 Improve pagination demo 2017-02-18 18:12:38 +08:00
afc163
8194793f9b Update demo documentation 2017-02-18 16:49:34 +08:00
afc163
86981114a7 give up #4637 and fix #4936 2017-02-18 15:50:42 +08:00
afc163
ddcc284b43 Fix dark theme menu style of Dropdown, close #4903 2017-02-18 15:24:25 +08:00
afc163
bd6bc70302 Rollback #4869 for better loading animation, close #4934 2017-02-18 14:58:47 +08:00
afc163
8dc73f4601 Fix shake bug fo Button loading with icon, close #4913 2017-02-18 00:22:38 +08:00
afc163
2d02792da7 Add max-height for table filter dropdown menu, close #4916 2017-02-17 17:41:23 +08:00
afc163
28dbdd17ed fix for #4920 2017-02-17 14:11:10 +08:00
Benjy Cui
56995e2089 test: update snapshot 2017-02-17 13:59:13 +08:00
Benjy Cui
89d77b2354 deps: upgrade rc-slider, ref: #4719 2017-02-17 13:59:13 +08:00
afc163
bed59cf658 fix lint 2017-02-17 13:58:24 +08:00
afc163
a87016ce54 Make sure DatePicker style.width can be effective, close #4920 2017-02-17 12:05:22 +08:00
afc163
bc988f486b fix css rule should not be prefixed, close #4915 2017-02-17 11:32:02 +08:00
ddcat1115
7d3cbfd9d9 fix: menu[mode='vertical'] can not show submenu in Layout.Sider (#4904)
* fix menu[mode='vertical'] can not show submenu in Layout.Sider
close #4890

improve Layout demo

* del useless css
2017-02-17 11:12:52 +08:00
afc163
df3617dded docs: improve API table layout 2017-02-17 00:59:11 +08:00
afc163
94e8138639 adjust spin style 2017-02-16 21:55:03 +08:00
afc163
989792ed9b simplify less code 2017-02-16 21:24:17 +08:00
afc163
74028f6e48 Fix pop menu padding 2017-02-16 17:56:27 +08:00
afc163
477e150075 Fix some SubMenu style bug, close #4906 2017-02-16 17:31:08 +08:00
afc163
49b050ccc1 Improve button and badge[status] with pulse animation 2017-02-16 17:08:15 +08:00
Benjy Cui
c4ac919067 fix: Menu.Item border width should not show animation 2017-02-16 16:32:03 +08:00