Commit Graph

5573 Commits

Author SHA1 Message Date
afc163
c3f1d0bba6 Add test case for upload 2017-10-10 15:59:13 +08:00
Wei Zhu
0d572c72a9 Add test for 9a5894c
9a5894c46e
2017-10-10 14:45:18 +08:00
afc163
712451acf7 Fix codepen demo 2017-10-10 11:35:50 +08:00
Bastian Sieker
d4c75d43a1 Fix notification ArgsProps typing (#7834)
* Fix notification ArgsProps typing

close #7832

* Improve notification ArgsProps typing

see #7832

* Improve notification ArgsProps typing

see #7832
2017-10-09 19:58:30 +08:00
afc163
9a5894c46e data should be call when beforeUpload promise resolved, close #7833 2017-10-09 19:41:52 +08:00
afc163
73a4873e78 Fix focused cascader error style 2017-10-09 13:46:56 +08:00
afc163
942ea41b02 update snapshot for new jest 2017-10-09 13:32:11 +08:00
afc163
475e4ff23d upgrade eslint-config-airbnb 2017-10-09 13:27:35 +08:00
ravirambles
8ccd02139c update row to remove implicit any (#7803) 2017-10-08 22:14:31 +08:00
afc163
a4a0816e5a code indent 2017-10-08 17:58:42 +08:00
afc163
cf788d7b4d Fix TransferProps targetKeys inside Form decorator, close #7807 2017-10-08 15:25:13 +08:00
afc163
95c72958ca Fix AutoCompelete layout, close #7800 2017-10-08 15:22:24 +08:00
afc163
31d0c3a49d Fix @link-hover-decoration, close #7821 & #7531 2017-10-07 15:31:25 +08:00
Graeme Yeates
2e2acb5be9 Support customizing layout footer background (#7818) 2017-10-06 16:09:33 +08:00
Ffloriel
873c85cec8 Add missing disabled property (#7805)
- add missing disabled property on the switch documentation page
2017-10-06 16:09:19 +08:00
Remo Zumsteg
40b18343c7 Add missing forceRender to TabPaneProps (#7801) 2017-10-03 11:02:45 +08:00
OuYancey
88220df0fb docs: update render result in Button (#7802) 2017-10-03 11:02:35 +08:00
Ffloriel
6d4e531775 form typo (#7794)
- remove to from 'shouldn't to use' and 'shouldn't to call'
2017-10-01 19:37:37 +08:00
afc163
185b3b1e9a Fix FormItem error with react-hot-loader, close #7775 2017-10-01 13:29:17 +08:00
afc163
76a972e062 Fix AutoComplete snapshot 2017-09-30 21:22:11 +08:00
afc163
76a30a7686 Fix props passing of AutoComplete, ref #7742 2017-09-30 21:17:49 +08:00
afc163
1a505e8fb0 Merge branch 'master' of github.com:ant-design/ant-design 2017-09-30 00:04:50 +08:00
Jeffrey Carl Faden
9ab9e62308 Add inputPrefixCls for Search component (#7770) 2017-09-30 00:04:19 +08:00
afc163
819e55e968 update snap 2017-09-29 23:10:27 +08:00
niko
9dc4102cdd fix: should trigger onChange before beforeUpload 2017-09-29 03:52:16 -05:00
Graeme Yeates
47e3cedf86 Minor fixes for select and form en docs (#7769)
* Fix headers on form validateFields [ci skip]

* Include default as an option for select sizes [ci skip]
2017-09-29 10:54:37 +08:00
ddcat1115
3b6dc3f3c4 revert wrong code removing fd40643c2d 2017-09-28 17:28:49 +08:00
Wei Zhu
9b68ce020c docs: fix table 2017-09-28 14:26:01 +08:00
Amorites
e17c8e093e Update index.zh-CN.md (#7755) 2017-09-27 21:15:05 +08:00
afc163
caec11c03a Fix snapshot 2017-09-27 20:21:28 +08:00
afc163
ca255cc547 Tweak AutoComplete input line height 2017-09-27 20:13:01 +08:00
jayberg
4acadc47b5 Avoid circular reference with infinite children (#7742)
Because {element} is a child of <InputElement>, we get a circular reference when also adding "element.props" to <InputElement>, as <InputElement> will be cloned to <{element}> within InputElement.tsx. As a consequence, we get an infinitive circular loop of Element->Props->Children->Element->Props->Children->Element->Props->Children->…

React seems to detect and automatically fix this infinitive loop. But when using the smaller and faster Inferno as a replacement library of React, we get a "RangeError: Maximum call stack size exceeded".

This commit fixes this bug by not attaching {...element.props} to <InputElement>.

All tests did pass and I did not notice any changes in the behaviour of the AutoComplete component. But now, AutoComplete works also with Inferno and not only with React.
2017-09-27 20:09:04 +08:00
afc163
d7eca4e151 Fix table's filter dropdown style 2017-09-27 20:03:26 +08:00
delesseps
a8cab96c13 Add maxLength attribute to Input (#7744) 2017-09-27 09:57:23 +08:00
778758944
4e726fdfd7 修复disabledTime interface定义错误 (#7740) 2017-09-26 16:11:28 +08:00
afc163
9f017bc5ae Fix mention error style 2017-09-25 22:53:11 +08:00
afc163
ccf507b603 update mention demos 2017-09-25 22:42:07 +08:00
afc163
f545e52ec5 Fix dropdown menu group title style 2017-09-25 21:28:00 +08:00
afc163
8026020dd4 Fix column sorter icons style 2017-09-25 21:24:43 +08:00
afc163
463a5db9ba Fix transfer checkbox padding 2017-09-25 20:03:04 +08:00
thegatheringstorm
10f6907da4 Fix: Upload Use object destructuring instead of creating temporary references for onRemove. (#7726) 2017-09-25 18:15:36 +08:00
afc163
3118e2898e Fix broken small pagination via #7634's fix 2017-09-25 16:59:56 +08:00
afc163
fd40643c2d Remove unused code 2017-09-25 11:12:59 +08:00
Zheeeng
d8c1bdb3ab Fix: setting 'heigh: 100%' on Sider and the wrapped element can't take the desired effects (#7716) 2017-09-23 18:33:26 +08:00
afc163
89a6aa96ed Tweak input placeholder color, close #7365 2017-09-23 18:21:33 +08:00
afc163
df1b1f5a47 Add @checkbox-size, close #7368 2017-09-23 18:18:47 +08:00
afc163
dd22bae0fc Fix button loading style with icon, close #7709 2017-09-23 16:08:30 +08:00
Sanjay Kumar
1dc4e45bce Bugfix: Handle defaultSearchChange when suggestions contain ‘Nav’ items (#7701) 2017-09-22 23:51:59 -05:00
afc163
8b1a4f80a9 Fix TreeSelect extra input text, close #7703 2017-09-23 12:11:17 +08:00
afc163
91bbcd6f2c Fix broken anchor, close #7712 2017-09-23 12:06:23 +08:00