Commit Graph

4678 Commits

Author SHA1 Message Date
偏右
01b87171e2 Merge pull request #5723 from manjitkumar/master
use PropTypes from 'prop-types' mdoule instead of React
2017-04-12 10:39:59 +08:00
Manjit Kumar
4e055ed5d0 use PropTypes from 'prop-types' mdoule instead of React
- as React.PropTypes is being deprecated
 - Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.
 - Solution: https://facebook.github.io/react/blog/2017/04/07/react-v15.5.0.html#migrating-from-react.proptypes
2017-04-12 02:22:05 +05:30
whtang906
851f8a8756 Add missing props(parser) into InputNumberProps 2017-04-11 21:16:02 +08:00
leadream
193b2b7684 not aligned after customizing the size of input
For some reasons I customized the size of <Input/>. Now the default height of <Input> is 40px. But there's a problem in <RangePicker/> after doing that: the texts and icon inside it are not aligned vertically at center.

When I look into the code I found the height of `ant-calendar-range-picker-input` is 18px. I modified it to 100% and it aligned. I'm not sure if it can affect the other code.

----------------------------------------
因为某些原因我自定义了 <Input/> 的尺寸,现在它的默认高度是40px。但是当我使用 <RangePicker/> 组件时,我发现了一个问题:输入框里面的文字和图标在垂直方向不能居中对齐。我看了一下 css 代码,发现里面的 `ant-calendar-range-picker-input` 高度是固定的18px,我把它改成100%就可以垂直居中对齐了。我不知道这个改动是否会影响其他代码。
2017-04-11 18:48:03 +08:00
afc163
92b8e8534e change variable names #5711 2017-04-11 17:56:38 +08:00
偏右
0745f8b231 Merge pull request #5711 from kappa-gooner/master
Adding less variables for table head background color and table row h…
2017-04-11 17:54:13 +08:00
偏右
861de2823f Merge pull request #5713 from lionkeng/master
Fix for issue #5712
2017-04-11 17:53:48 +08:00
Sanjay Kumar
692ccf85e7 Adding less variables for table head background color and table row hover 2017-04-11 17:08:09 +08:00
Wei Zhu
5ddd7f847f docs: Document customized form control
Related: #5700
2017-04-10 22:42:56 +08:00
afc163
5ed4919131 Fix tree select arrow rotate bug, close #5693 2017-04-10 16:51:12 +08:00
偏右
318258d5d8 Merge pull request #5660 from ddcat1115/fixed-Layout.Sider
add fixed sider
2017-04-10 15:56:58 +08:00
Benjy Cui
d8e465d579 css: fix height of MonthPicker 2017-04-10 15:30:24 +08:00
keng
681a160e35 If you use locale-provider, specify the ant-design theme as the default theme. This will automatically add all the less variables defined by ant-design. This is useful if you want to create custom themes with less and you are referencing less variables defined by ant-design. 2017-04-10 14:33:18 +08:00
乐仪
686cff965c undate 2017-04-10 14:02:00 +08:00
乐仪
69f7cf0c55 add fixed sider 2017-04-10 14:02:00 +08:00
偏右
191b9f3f79 Merge pull request #5687 from Syzmex/master
add `min-width`
2017-04-10 14:00:12 +08:00
afc163
9daccc468a update input number snapshots 2017-04-10 13:21:15 +08:00
mArker
cb67059dd0 add min-width
selection-column and expand-icon-th
if the width total of your columns >= 100%, must have `min-width`.
2017-04-10 13:03:24 +08:00
Benjy Cui
07e2c5e9c5 docs: update docs for InputNumber, close: #5683 2017-04-10 11:16:41 +08:00
Wei Zhu
6dd3304976 Revert "Traditional Chinese locale provider added (#5665)"
This reverts commit 65bac17e58.
2017-04-09 03:37:49 +08:00
Wei Zhu
8e8c9eda7c Skip Breadcrumb test temporarily 2017-04-09 03:36:03 +08:00
LeeHarlan
d8ebd398df fix Select component notFoundContent locale. (#5661)
* fix Select component notFoundContent locale.

* Update index.tsx
2017-04-07 19:21:18 +08:00
OAwan
65bac17e58 Traditional Chinese locale provider added (#5665) 2017-04-07 19:19:38 +08:00
afc163
11852b815a Add instruction for setting iconfont size and color, ref #2125 2017-04-06 20:52:43 +08:00
Benjy Cui
b643aa752f fix: month/year panel of DatePicker[showToday=false], close: #5620 (#5635) 2017-04-06 18:44:11 +08:00
陆离
fda4e8414d Autocomplete clear icon bug (#5636)
+ close #5634
2017-04-05 17:51:51 +08:00
afc163
d50085a407 tweak pagination alignment, close #5632 2017-04-05 17:10:42 +08:00
Benjy Cui
71495e71d2 test: fix warning, close: #5628 2017-04-05 16:21:21 +08:00
afc163
0dc2c1771f fix snapshot 2017-04-05 14:59:56 +08:00
afc163
352e0f7ce4 tweak link text-decoration style 2017-04-05 14:58:41 +08:00
偏右
accb6cbfeb Merge pull request #5597 from kenaniah/accessibility
Improves link + button focusing
2017-04-05 14:56:33 +08:00
afc163
c5059e5fb7 Fix steps tail style bug, close #5623 2017-04-05 11:55:16 +08:00
afc163
aaf28299ce fix table column align in demo 2017-04-05 11:51:21 +08:00
afc163
139eedf87c update radio group demo 2017-04-05 11:32:35 +08:00
afc163
3f1714bb0c Fix placement not working in Dropdown.Button, close #5594 2017-04-05 11:17:07 +08:00
偏右
429539ecf4 Merge pull request #5624 from megawac/step-customization-less-variables
Add @steps-background and @process-icon-text-color variables for customizing step theme
2017-04-05 10:32:37 +08:00
Mitchell Demler
0e806bbec5 Fixed muckup (#5621) 2017-04-05 10:14:03 +08:00
Graeme Yeates
18d0a4d1fb Add @steps-background and @process-icon-text-color variables for customizing step theme 2017-04-04 16:38:25 -04:00
mitchell.demler
1febbbc2c9 Added type for click event 2017-04-04 16:36:40 +12:00
Kenneth Truong
31ec5b7ad3 Add selectable option into Menu documentation
I had to read the source code to figure out that there was a property called selectable. So hopefully this will help save someone time. (Though this is an option in the rc-menu I made a PR there to add it in the doc also https://github.com/react-component/menu/pull/79)

(I was trying to make a contextmenu out of this menu component which is why I needed to turn selectable off)
2017-04-02 23:42:28 -07:00
Wei Zhu
1a8e738142 Set snapshotSerializers 2017-04-02 18:09:23 +08:00
afc163
6864fea0cb Improve inline menu active style 2017-04-02 14:43:34 +08:00
afc163
b72626d19c update tag demo 2017-04-02 13:56:45 +08:00
Kenaniah Cerny
ed434c57e9 improves link navigation 2017-04-01 04:06:34 -07:00
afc163
ec87110482 Fix Unknown prop placement warning of Dropdown.Button, close #5594 2017-04-01 18:06:40 +08:00
afc163
58e521de71 Optimize pagination item block style, close #5557 2017-04-01 18:03:57 +08:00
Kenaniah Cerny
8ec86a6b1f buttons should not blur after click 2017-04-01 02:57:01 -07:00
Benjy Cui
30f55b923a deps: upgrade rc-calendar 2017-04-01 14:43:36 +08:00
afc163
e70bd5320d fix snapshot 2017-04-01 13:17:02 +08:00
afc163
21763c5da9 update progress demo 2017-04-01 11:30:44 +08:00