Commit Graph

9872 Commits

Author SHA1 Message Date
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
nikogu
7899dcf299 update snapshots 2017-09-27 15:03:22 +08:00
nikogu
83533660db bump 3.0.0-alpha.11 2017-09-27 14:48:37 +08:00
nikogu
ec59996ba6 Merge branch 'master' into antd-3.0 2017-09-27 14:36:49 +08:00
delesseps
a8cab96c13 Add maxLength attribute to Input (#7744) 2017-09-27 09:57:23 +08:00
delesseps
2730344ff7 Add maxLength attribute to Input (#7744) 2017-09-27 09:56:30 +08:00
afc163
7bfe6878dd fix snapshot 2017-09-27 09:56:03 +08:00
Benjy Cui
829b5f87bf feat: make default locale to enUS (#7553)
* feat: make default locale to enUS

* test: fix CI

* docs: update getting started
2017-09-26 23:12:47 +08:00
afc163
4719309bd7 Merge branch 'master' into antd-3.0 2017-09-26 16:29:57 +08:00
niko
c64f46c217 List optimize (#7736)
* add split props
* add size props
* add footer & header props
2017-09-26 16:11:35 +08:00
778758944
4e726fdfd7 修复disabledTime interface定义错误 (#7740) 2017-09-26 16:11:28 +08:00
转二
73000a226b Merge branch 'antd-3.0' of github.com:ant-design/ant-design into antd-3.0 2017-09-25 23:42:47 +08:00
转二
60feaebd54 docs: Update 's document. 2017-09-25 23:42:31 +08:00
afc163
8127d3b579 Fix Duplicated Animate 2017-09-25 23:12:16 +08:00
afc163
f9754c8a25 Merge branch 'master' into antd-3.0 2017-09-25 23:10:42 +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
420c2666a9 docs: add chinese description for dateRender 2017-09-25 22:16:30 +08:00
ChaXinyu
14e2a56b75 export components interface (#7654)
* export components interface

* export specific props

* fix formItem missed import
2017-09-25 22:14:49 +08:00
Henri Normak
36a54a8a8c Expose renderDate function for DatePicker (#7710)
* Expose renderDate function for Calendar dates

* Use the original prop name
2017-09-25 22:10:26 +08:00
afc163
b7aee09758 Fix dropdown menu group title style 2017-09-25 21:35:56 +08:00
afc163
ca8ff1c27a Fix column sorter icons style 2017-09-25 21:35:56 +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
转二
42fc8bc2a5 Merge branch 'antd-3.0' of github.com:ant-design/ant-design into antd-3.0 2017-09-25 21:13:35 +08:00
转二
20dae8f33e feat: Add option for component: 'mention' 2017-09-25 21:12:43 +08:00
afc163
2ebf70013b Merge branch 'master' into antd-3.0 2017-09-25 20:03:40 +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
7cc386df52 Merge branch 'master' into antd-3.0 2017-09-25 17:01:02 +08:00
afc163
3118e2898e Fix broken small pagination via #7634's fix 2017-09-25 16:59:56 +08:00
Miaow
6c38ca62c6 update get started doc port (#7729) 2017-09-25 16:59:40 +08:00
niko
91b97d7b25 List virtualized (#7692)
* add virtualized & infinite demo
* change `children render` to `renderItem`
2017-09-25 15:24:16 +08:00
偏右
14b44c880e Update utils.jsx 2017-09-25 14:15:06 +08:00
afc163
ca06211494 Fix small steps font size 2017-09-25 11:27:49 +08:00
afc163
306a5699a7 Better responsive Steps 2017-09-25 11:25:57 +08:00
afc163
7a7b18032c use @screen-md 2017-09-25 11:18:26 +08:00
afc163
40e43a80e7 Merge branch 'master' into antd-3.0 2017-09-25 11:14:46 +08:00
afc163
8bff515287 Merge branch 'master' of github.com:ant-design/ant-design 2017-09-25 11:13:09 +08:00
afc163
fd40643c2d Remove unused code 2017-09-25 11:12:59 +08:00
afc163
3eb4937fd4 Remove unused code 2017-09-25 11:12:38 +08:00
Guan Yu Pan (Jacky)
c30c156c56 upgrade rc-animate to 2.4.1 (#7724) 2017-09-25 11:06:25 +08:00
afc163
6507aefd8e Merge branch 'master' into antd-3.0 2017-09-25 10:54:49 +08:00
Benjy Cui
f433382180 site: fix tnpm run deploy 2017-09-25 10:39:45 +08:00
Wei Zhu
e672f41e1e Use promise 2017-09-25 10:00:19 +08:00
afc163
29c262ab36 Remove iview and atui from antd implementations 2017-09-23 19:59:04 +08:00
afc163
6ded879619 update changelog 2017-09-23 19:28:40 +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