Commit Graph

8384 Commits

Author SHA1 Message Date
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
偏右
aa7419a7ec Merge pull request #5718 from leadream/patch-1
not aligned after customizing the size of input
2017-04-11 19:46:58 +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
3ca3c178cc Add English gitter chat room 2017-04-11 18:13:58 +08:00
afc163
f311ff40ed Add English gitter chat room 2017-04-11 18:07:53 +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
e20965e1ee update scaffold page link 2017-04-10 17:31:58 +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
偏右
0edc84f7cb Merge pull request #5640 from kenaniah/icons-translation
Translates icon.md into English (completed)
2017-04-09 15:07:07 +08:00
Kenaniah Cerny
b2db440457 Adds native English translation for icons spec 2017-04-08 18:28:07 -07:00
Wei Zhu
85615771d5 Bump version 2017-04-09 04:05:39 +08:00
Wei Zhu
9973e26350 Add 2.9.1 CHANGELOG (#5671) 2017-04-09 03:56:14 +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
Benjy Cui
1e322b4206 deps: upgrade rc-slider 2017-04-07 16:38:43 +08:00
afc163
e93dd1e5af site: fix menu item 2017-04-07 15:14:14 +08:00
afc163
0793534665 Add ga event analytic code 2017-04-07 14:29:44 +08:00
Nishant Arora
0cd85da2b3 Fixed typo in docs/spec/feature(en_US) (#5655)
* Fixed typo in docs/spec/feature(en_US)

expirerence changed to experience

* Added sentences removed by mistake.

In the previous typo fix commit, a few sentences at the end were removed. This commit fixes that.
2017-04-07 00:05:39 +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
Benjy Cui
ebb3a7937a docs: fix typo 2017-04-06 10:16:46 +08:00
Benjy Cui
029289c6f5 docs: update categories' name, close internal: #189 2017-04-06 09:31:46 +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
Kenaniah Cerny
73dd2c08bd Adds English translation for colors.md (#5602) 2017-04-05 17:08:02 +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