Commit Graph

4721 Commits

Author SHA1 Message Date
Graeme Yeates
297412b57c Add a less variable to opt out of form item colons 2017-04-21 14:34:56 -04:00
afc163
455a23f1bb should only affect notification without description and with icon, #5846 2017-04-22 01:28:54 +08:00
afc163
12a9f1e5b5 Auto adjust notification style for singleline message, close #5846 2017-04-22 01:11:18 +08:00
Benjy Cui
f5fa64c17b fix: hack to fix ts compile errors 2017-04-21 11:39:01 +08:00
Benjy Cui
5fe3cb9318 refactor: to ES6 class style 2017-04-20 17:12:14 +08:00
Graeme Yeates
89c37552a3 Set the color on input suffix 2017-04-19 14:22:06 -04:00
Min
dfad1f887c fix: pre/next's style of Tabs' vertical mode (#5784)
When tabPostition = 'left' | | 'right, slideButton should be on the up and down, but the actual in left and right

Signed-off-by: Min <dicklwm@163.com>
2017-04-19 11:42:32 +08:00
afc163
4310eb3b80 update input demo snapshot 2017-04-19 11:31:28 +08:00
afc163
1b42fbc728 Add Input range demo 2017-04-19 11:22:17 +08:00
afc163
b9ff7ed613 enlarge close area of Modal 2017-04-19 11:15:46 +08:00
Yiming
c9a09a1d01 Update index.zh-CN.md
fix typo
2017-04-19 10:39:42 +08:00
afc163
73ca5a9d0e Fix tabs snapshots 2017-04-17 12:01:21 +08:00
afc163
6b1cec2bf6 Use height over padding for button size, close #5256 2017-04-16 19:01:46 +08:00
afc163
03e9a97e2b typo 2017-04-16 00:03:47 +08:00
afc163
6e147b7a3d card type Tab should not have any animation 2017-04-15 15:26:35 +08:00
afc163
b9851f84c8 fix link focus style 2017-04-15 15:12:41 +08:00
afc163
fbdebd7692 Fix button loading transition 2017-04-15 14:57:20 +08:00
afc163
8605e84150 update button demo 2017-04-15 14:57:20 +08:00
afc163
f4413a6758 Fix Transfor moving item background 2017-04-15 14:57:20 +08:00
afc163
cb1815cfdf fix api doc 2017-04-15 14:57:20 +08:00
Benjy Cui
eb9e19be1f feat: make Checkbox work in Checkbox.Group, close: #5645 (#5714)
* refactor: simplify Radio's code

* feat: make Checkbox work in Checkbox.Group, close: #5645

* test: add snapshot
2017-04-14 16:20:09 +08:00
afc163
9497a1f546 Fix InputGroup large and small size bug, close #5754 2017-04-14 11:43:56 +08:00
Erwann Mest
73d7e816b1 Destructuring for the win. 2017-04-13 17:27:03 +02:00
afc163
335eb0c246 Fix style prop of Upload.Dragger 2017-04-13 17:33:08 +08:00
afc163
8a1c875123 update select doc 2017-04-13 16:46:46 +08:00
afc163
67c386494b fix tree demo css 2017-04-13 15:36:03 +08:00
afc163
d081ab6614 Hide tree demo for #4932 2017-04-13 15:31:38 +08:00
偏右
9319764eb8 Merge pull request #5663 from ant-design/ux-range-picker
chore: improve ux of RangeCalendar, close: #4985
2017-04-13 13:32:54 +08:00
afc163
fc199e47b8 fix snap 2017-04-13 11:18:31 +08:00
afc163
31273135e2 remove displayName 2017-04-13 11:10:40 +08:00
偏右
c1c261e081 Merge pull request #5643 from handycode/patch-1
fix: Icon add displayName
2017-04-13 11:05:36 +08:00
afc163
5be7dc6b90 Fix InputGroup style, close #5743 2017-04-13 10:56:19 +08:00
afc163
a8808c45ac react-addons-test-utils => react-dom/test-utils 2017-04-12 20:49:02 +08:00
afc163
1be0936cb8 fix snapshots 2017-04-12 20:44:57 +08:00
afc163
04af6d5c7f improve table demo style, close #5697 2017-04-12 20:31:31 +08:00
afc163
1083f82c5d Fix icon transtion delay problem in Chrome 2017-04-12 15:30:35 +08:00
pinggod
01f0e07835 fix issue 5707: override the default a:focus style when it nested in the menu component 2017-04-12 14:42:07 +08:00
偏右
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