Commit Graph

4484 Commits

Author SHA1 Message Date
afc163
7645a77c44 Update iconfont url and docs 2017-03-03 14:42:00 +08:00
3d32a86547 refactor: improve modal static methods type definition (#5090)
* refactor: improve modal static methods type definition

* chore: add exports.

* chore: remove unused import
2017-03-03 11:40:54 +08:00
Graeme Yeates
7cd590b3b0 Use @input-color to set calendar's input color (#5147) 2017-03-03 10:46:51 +08:00
Graeme Yeates
9827b74156 Use @input-color to set InputNumber's color (#5148) 2017-03-03 10:43:44 +08:00
陆离
c3102995b3 AnchorLink iteration bug (#5143)
+ close #5129
2017-03-02 21:52:42 +08:00
Benjy Cui
04be276513 test: update snapshot 2017-03-02 18:04:39 +08:00
afc163
261a31aeea Fix Table title padding 2017-03-02 17:51:28 +08:00
afc163
c1cb365eca Fix missing API document of Menu[multiple] 2017-03-02 17:48:11 +08:00
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