Commit Graph

4880 Commits

Author SHA1 Message Date
liekkas
7ee1e79841 extract new variable @tabs-card-head-background from tabs's card-style.less 2017-05-01 21:58:37 +08:00
liekkas
4cd95d5723 use @card-head-background 2017-05-01 21:40:38 +08:00
afc163
ebd66d0082 fix missing less variable 2017-05-01 14:18:16 +08:00
偏右
5fde1e7550 Merge branch 'master' into background-color-base 2017-05-01 13:51:11 +08:00
afc163
d7d18be1f5 revert collapse active background, ref #5881 2017-05-01 13:42:07 +08:00
偏右
6787e41257 Merge pull request #5962 from megawac/fix-calendar-input-background
Fix calendar input background to use @input-bg
2017-05-01 13:38:52 +08:00
偏右
da0365f23a Merge pull request #5963 from megawac/alert-text-color
Add variables for customizing alert text and heading colors
2017-05-01 13:38:33 +08:00
偏右
66b354efcf Merge pull request #5965 from megawac/less-variable-documentation
Add some basic less variable documentation
2017-05-01 13:37:27 +08:00
Brook Shi
315f760ce2 Input component support spellCheck for TypeScript 2017-04-30 23:31:45 +08:00
afc163
224c46ded9 fix typo 2017-04-30 18:47:15 +08:00
afc163
6caa92057b Fix cascader line-height, close #5952 2017-04-30 16:59:53 +08:00
Graeme Yeates
5841746ec9 Decompose @background-color-base into several variables 2017-04-28 16:04:41 -04:00
Graeme Yeates
ede77a8aa7 Consistently use @background-color-base for disabled states 2017-04-28 15:43:02 -04:00
Graeme Yeates
10aab49686 Add some basic documentation for some of the confusing less variables 2017-04-28 15:24:45 -04:00
Graeme Yeates
f2a8fe9299 Add variables for customizing alert text and heading colors 2017-04-28 13:42:01 -04:00
Graeme Yeates
e6d619b3cf Fix calendar input background to use @input-bg 2017-04-28 13:24:12 -04:00
afc163
7ec314d793 Merge branch 'master' of github.com:ant-design/ant-design 2017-04-28 10:20:56 +08:00
Benjy Cui
f434772466 docs: fix typo 2017-04-28 09:50:10 +08:00
Benjy Cui
5f80e50d31 Merge branch 'feature-2.10' 2017-04-28 09:41:34 +08:00
Benjy Cui
d48c2084d5 feat: expose TimePicker[open], close: #5775 & #5829 (#5913) 2017-04-28 09:40:20 +08:00
Tino D
5c25452de8 fix: update locale es_ES (Spanish) (#5932)
* Update locale es_ES (Spanish)

* Fix indent
2017-04-28 09:39:35 +08:00
afc163
dbbf09ae95 fix createClass in test 2017-04-27 21:12:23 +08:00
afc163
4951df182b Fix loading Table paginaition style, close #5937 2017-04-27 20:58:47 +08:00
afc163
45e7c86067 Fix Checkbox and Radio disabled cursor, close #5935 2017-04-27 20:58:46 +08:00
Hai Phan Nguyen
c6832d1235 feat: add Vietnamese localization support (#5927)
* Add Vietnamese locale

* add Vietnamese locale
2017-04-27 16:39:46 +08:00
偏右
97762a9361 Merge pull request #5920 from ant-design/refactor-enable-noImplicitAny
refactor(button): enable noImplicitAny #5627
2017-04-27 16:29:23 +08:00
偏右
339e60bf86 Merge pull request #5911 from ddcat1115/fix-5832
fix Input.Group style bug
2017-04-27 16:18:51 +08:00
Wei Zhu
5b21e591c3 deps: upgrade rc-tree@1.5.0 (#5917) 2017-04-27 15:25:08 +08:00
偏右
74a12f189c Merge pull request #5881 from megawac/collapse-active-color
Use @primary-1 for collapse active state
2017-04-27 10:10:29 +08:00
Graeme Yeates
fb4bafba6f Change collapse-hover-bg to collapse-active-bg 2017-04-26 22:08:44 -04:00
bang
ae631c7190 refactor(button): enable noImplicitAny #5627 2017-04-26 23:30:51 +07:00
Graeme Yeates
5cba6317b5 Add variable for collapse hover background 2017-04-26 10:16:04 -04:00
乐仪
09e66db264 fix Input.Group style bug 2017-04-26 15:18:19 +08:00
Benjy Cui
44c4d5c167 fix: should not reset showDate when value is empty array, close: #5872 (#5898) 2017-04-26 14:44:07 +08:00
绯一
80de0127f4 feat: add table padding parameters for customizing (#5795) 2017-04-26 10:16:26 +08:00
Brook Shi
286fc964e6 fix: support inlineIndent property of Menu for TypeScript (#5903) 2017-04-26 10:11:03 +08:00
e7053c1b39 refactor: support noImplicitAny in Alert (#5836)
* refactor(alert): Enable noImplicitAny

* refactor(anchor): enable noImplicitAny #5627

* chore: coding style
2017-04-26 09:51:35 +08:00
leadream
d783c26263 css: add background color variable for modal mask. (#5890) 2017-04-25 16:43:42 +08:00
Min
6cd05d8be5 fix: the breaking change #5877 (#5886)
* Fix the bug
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>

* fix the break change #5877

Signed-off-by: Min <dicklwm@163.com>
2017-04-25 16:39:37 +08:00
ko
e85708d16a docs: grammatical changes and improve sentence flow (#5882)
* Fixed some grammatical issues
* Prop descriptions are now more consistent
* Sentences flow better; they aren't as disjoint or terse
2017-04-25 16:37:18 +08:00
afc163
cad727323b Fix snapshot 2017-04-25 15:31:47 +08:00
afc163
cfae24084b Fix table content layout, close #5888 2017-04-25 12:52:59 +08:00
Graeme Yeates
8250cb21f4 Use @primary-1 for collapse active state 2017-04-24 15:58:27 -04:00
乐仪
5dfe86e891 fix snap 2017-04-24 17:08:56 +08:00
乐仪
bf755f8daa fix notification can't close after 4.5s 2017-04-24 16:12:50 +08:00
Hugo LEHMANN
6d627a9295 Add transition for the ant-tabs-ink-bar width
Currently when Tabs titles have very different width, the ink-bar width change without transition.
2017-04-22 17:59:04 +02:00
Wei Zhu
07072fc3b1 docs: Document AutoComplete[onSearch]
Related: #5610
2017-04-22 22:52:37 +08:00
afc163
b5c5466732 update locale-provider test case 2017-04-22 22:52:37 +08:00
Kimmo Saari
b6eecef255 Add locale fi_FI (#5674) 2017-04-22 22:52:37 +08:00
OAwan
1903b75d38 Traditional Chinese locale provider added (#5665) 2017-04-22 22:52:01 +08:00
Graeme Yeates
1790642e98 Allow styling of radio button backgrounds (#5791) 2017-04-22 14:09:25 +08:00
偏右
aa0c29dfc0 Merge pull request #5855 from megawac/optional-form-colon
Add a less variable to opt out of form item colons
2017-04-22 13:30:14 +08:00
乐仪
50b7ce55fe fix indent of AutoComplete 2017-04-22 10:57:28 +08:00
陆离
b694608af4 onKeyDown bug fix (#5766)
+ close #5487
2017-04-22 10:48:21 +08:00
ddcat1115
75e9e44a2f new style of danger button (#5815)
* new style for danger button

* improve
2017-04-22 10:44:17 +08:00
ddcat1115
b236d73348 fix firefox Layout.Sider can't collapse to zero width (#5833) 2017-04-22 10:38:44 +08:00
ddcat1115
c0125ff1ce allow user to override showIcon type of Alert[banner] (#5818) 2017-04-22 10:37:00 +08:00
Benjy Cui
0a2fb1817f fix: vertical tab bar height should follow tabs height (#5809)
* fix: vertical tab bar height should follow tabs height

* docs: update demo for Tabs
2017-04-22 09:43:32 +08:00
ddcat1115
70b89e9316 fix AutoComplete style in Input.Group[compact] (#5849) 2017-04-22 09:28:44 +08:00
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
乐仪
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
360a657264 chore: improve ux of RangeCalendar, close: #4985 2017-04-10 11:33:00 +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
handycode
4b6c5643e7 Update index.tsx 2017-04-06 11:51:48 +08:00
handycode
4736a1b990 Update index.tsx 2017-04-06 03:41:03 +08:00
handycode
fb837ea9a8 Update index.tsx 2017-04-06 03:36:54 +08:00
handycode
99639bf5de Update index.tsx 2017-04-06 03:24:47 +08:00
handycode
93cc6d5cbc Icon组件增加displayName 2017-04-06 02:50:12 +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