Commit Graph

5214 Commits

Author SHA1 Message Date
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
Benjy Cui
581040fc5d fix: Breadcrumb should work with react-router@4 2017-04-06 14:38:40 +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
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
ndrshn
92f7df48a8 chore: fixed some typos (#5589) 2017-04-01 10:34:52 +08:00
乐仪
2bba8bee98 fix RangePicker placeholder color 2017-03-31 17:10:40 +08:00
afc163
3499dbc88e Update Carousel ts definitions
close #5543

http://npmjs.com/@types/react-slick
2017-03-31 14:35:25 +08:00
afc163
b526083fa6 set monospaced font-family for number 2017-03-31 13:45:16 +08:00
afc163
e030d10e99 Merge branch 'master' into feature-2.9 2017-03-31 11:22:33 +08:00
Benjy Cui
ce2fe2aa45 test: add test for Modal[footer=null] 2017-03-30 16:06:03 +08:00
afc163
5460d29db0 Merge branch 'feature-2.9' of github.com:ant-design/ant-design into feature-2.9 2017-03-30 14:34:24 +08:00
afc163
3bf3013239 fix warning in test 2017-03-30 14:34:12 +08:00
afc163
0bfb35c562 fix snapshot 2017-03-30 14:29:30 +08:00
afc163
ef27e6d200 Merge branch 'master' into feature-2.9 2017-03-30 14:26:15 +08:00
afc163
9414a9cbea docs: fix target API of Affix and Badge 2017-03-30 14:23:25 +08:00
afc163
5ba4014386 Fix scroll transition of BackTop, close #5564 2017-03-30 14:20:06 +08:00
afc163
51f1403e14 align table head in demo 2017-03-30 13:52:42 +08:00
Wei Zhu
b8fca87461 Fix some form type definition issues (#5560)
Close #5515
2017-03-30 13:46:38 +08:00
afc163
de8e598ef1 upgrade normalize.css to 6.0.0 manually, close #5561 2017-03-30 10:29:05 +08:00
Wei Zhu
aa23606166 Update snapshot 2017-03-30 00:24:41 +08:00
afc163
f77f020517 update table filter demo, close #5439 2017-03-29 20:37:20 +08:00
afc163
8f7fdb8489 use less strict console.warn 2017-03-29 16:42:52 +08:00
Benjy Cui
bb13746400 docs: add note in demo, close: #5547 2017-03-29 15:39:10 +08:00
afc163
17aa47b8cb when there is no breadcrumbName, do not show breadcrumb item, close #5542 2017-03-29 15:13:40 +08:00
afc163
4a20dfcf2f Fix checkbox hover border color 2017-03-29 11:24:35 +08:00
Mitchell Demler
65d62cd17c Fix up which props are optional/required for Anchor and AnchorLink components (#5539) 2017-03-29 10:29:43 +08:00
Kyle Rosenberg
84baa310e2 fix: isFieldTouched and isFieldsTouched types to WrappedFormUtils (#5537)
* Added missing getFieldsError in WrappedFormUtils

* Added isFieldTouched and isFieldsTouched types to WrappedFormUtils interface in Form.tsx
2017-03-29 09:36:54 +08:00
Benjy Cui
50f46d0919 feat: merge Select[multiple|tags|combobox] to Select[mode], close: #5471 (#5534) 2017-03-28 21:27:58 +08:00
Ayhan
2265a49dbf Turkish locale provider added (#5536) 2017-03-28 21:26:07 +08:00
afc163
035e28f75e Merge branch 'master' into feature-2.9 2017-03-28 20:42:36 +08:00
afc163
d6af3a7a1c tweak tree styles 2017-03-28 20:20:29 +08:00
afc163
0fd88acc93 Improve tree showLine styles 2017-03-28 17:51:45 +08:00
afc163
7e8e883019 css code style 2017-03-28 17:17:56 +08:00
Wei Zhu
675e037e7a Remove only... 2017-03-28 17:16:15 +08:00
afc163
4f89e54cb2 Merge from branch "master" 2017-03-28 15:58:41 +08:00
偏右
66cafb95b0 Refactor button loading default delay (#5530)
* Remove delay loading button demo

* Button loading support like { delay: number }, close #5365

* update loading delay
2017-03-28 15:50:46 +08:00
Benjy Cui
fb278395f3 refactor: simplify TreeSelect's code 2017-03-28 15:44:55 +08:00
Yusuke Ito
b342dbefa2 Japanese locale (#5529)
* add ja_JP translation

* fix Japanese locale

* fix i18n docs

* update rc-pagination version

* add locale test for ja_JP
2017-03-28 15:11:33 +08:00
Benjy Cui
84d65b3f66 refactor: simplify Select relative components' code 2017-03-28 15:11:14 +08:00
afc163
03c5689db6 tweak code style 2017-03-28 15:00:19 +08:00
Benjy Cui
59f805d323 fix: backspace should delete character in Cascader[showSearch], close: #5340 (#5513) 2017-03-28 13:51:58 +08:00
afc163
ae9e02a6c3 Fix treeDefaultExpandedKeys ts define, close #5349 2017-03-28 13:49:28 +08:00
HJin.me
47589ba92c fix get(Popup|Calendar|Suggestion|Tooltip)Container ts type (#5528) 2017-03-28 13:20:05 +08:00
黄子毅
0648172973 fix jslint (#5514) 2017-03-28 11:56:38 +08:00
William Yang
8c8a1797e9 docs:fix api table (#5524) 2017-03-28 10:41:14 +08:00
Andrey G
b816ae9cfd ... (#5518) 2017-03-28 00:26:25 +08:00
afc163
37744a073d Fix InputNumber cursor style in safari 2017-03-27 21:09:31 +08:00
陆离
15e6133867 Filter Icon of Table (#5293)
*  Filter Icon of Table

+ close #5287
+ add `isFiltered` props for mark dataSource is filterd
+ improve CustomFilter Demo

* fix doc

* update

* custome filter icon

* custome filter icon
2017-03-27 17:38:14 +08:00
Benjy Cui
cb555fc30d fix: Select[multiple|tags] should support allowClear, close: #4843 (#5478) 2017-03-27 17:37:39 +08:00
ddcat1115
c004001a5f fix InputNumber plcaeholder style (#5508) 2017-03-27 15:20:07 +08:00
afc163
4393fcf1fe Add test case for #5494 2017-03-27 12:08:48 +08:00
Hubert Argasinski
6530e76758 update Modal.confirm locale on LocaleProvider componentWillMount (#5494) 2017-03-27 12:08:15 +08:00
Benjy Cui
8409cff8db style: update code style to please lint 2017-03-27 11:00:11 +08:00
Benjy Cui
0beb892971 fix: injectLocale should work in IE<=10 (#5488) 2017-03-27 10:09:38 +08:00
afc163
f0ec7b749a tweak menu style code 2017-03-27 10:09:38 +08:00
afc163
1e83c0c940 Fix menu icon transition delay in Chrome, close #5495 2017-03-27 10:09:38 +08:00
ddcat1115
0049fdda23 fix Layout.Content scrolling style issue (#5480) 2017-03-27 10:09:38 +08:00
afc163
4723173c33 update Radio demo description 2017-03-27 10:09:38 +08:00
afc163
23212aea5c fix badge snap 2017-03-27 10:09:38 +08:00
Benjy Cui
43b155e7f6 fix: Modal[footer] could be set to null to hide totally, close: #5462 2017-03-27 10:09:38 +08:00
afc163
ee2f025585 Fix badge style in Maxthon, close #5477 2017-03-27 10:09:38 +08:00
Sebastian Blade
041bbee2c0 Fix button render with null or undefined child. (#5473)
* Fix button render with null or undefined child.

Fix bug #5472

* Add missing semicolon

* Make if statement braced.

......
2017-03-27 10:09:38 +08:00
Benjy Cui
9b8ef5a0b7 docs: update demo for Select[size] 2017-03-27 10:09:38 +08:00
afc163
d0114d8d9f fix tslint 2017-03-27 10:09:38 +08:00
feng zhi hao
8dfdce50f9 fix: improve rowSelection.selections of Table (#5409)
* improve rowSelection.selections of Table

* fix classNames spell error

* update class name
2017-03-27 10:09:38 +08:00
feng zhi hao
18fced672a chore: improve Form.create ts definition of Form (#5420)
* improve Form.create ts definition of Form

* use function<T>() instead of arrow function
2017-03-27 10:09:38 +08:00
William Yang
3f6a4172ce fix: #5456(Cannot display feed back icon and prefix icon together) (#5457)
* fix #5456

* remove demo and set z-index to 1
2017-03-27 10:09:38 +08:00
afc163
8f286d6700 change comments to English 2017-03-27 10:09:38 +08:00
偏右
0308138974 [WIP] upgrade deps (#5455)
* upgrade deps

* autofix some tslint problems

* Fix tslint problems manually
2017-03-27 10:09:38 +08:00
Wei Zhu
68cdfc550d refactor: RadioGroup's cloneElement to context (#5453) 2017-03-27 10:09:06 +08:00
afc163
901a1e6769 use @info-color over @primary-color, close #5442 2017-03-27 10:09:06 +08:00
Wei Zhu
4ff6eafe12 Add new select demo snapshot 2017-03-27 10:09:06 +08:00
afc163
4f1811a3cc itemRender do not rely on route.breadcrumbName 2017-03-27 10:09:06 +08:00
afc163
77b382fb1c update table demo 2017-03-27 10:09:06 +08:00
afc163
9cb7d1338b update alert banner demo 2017-03-27 10:09:06 +08:00
afc163
0c58fda707 Add select users demo, close #2765 2017-03-27 10:09:06 +08:00
afc163
e410662133 fix carousel demo 2017-03-27 10:09:06 +08:00
afc163
849c5fbf75 Fix getPopupContainer ts type 2017-03-27 10:09:06 +08:00
afc163
8eb472a466 Fix Table selectAll behavious inside Popover, close #5407 2017-03-27 10:09:06 +08:00
afc163
0be0843ef0 fix whitespace required, close #5418 2017-03-27 10:09:06 +08:00
Andrey G
26c436987f *updates for RU locale (#5406) 2017-03-27 10:09:06 +08:00
Benjy Cui
fcd4669fb1 fix: injectLocale should work in IE<=10 (#5488) 2017-03-26 10:02:34 +08:00
afc163
0cb3259570 tweak menu style code 2017-03-25 20:31:53 +08:00
afc163
85a32c79f4 Fix menu icon transition delay in Chrome, close #5495 2017-03-25 20:30:35 +08:00
ddcat1115
b24f9cf1e0 fix Layout.Content scrolling style issue (#5480) 2017-03-24 20:07:59 +08:00
afc163
052a73081a update Radio demo description 2017-03-24 19:54:00 +08:00
afc163
56775e5ed7 fix badge snap 2017-03-24 14:58:00 +08:00
Benjy Cui
af12ca7434 fix: Modal[footer] could be set to null to hide totally, close: #5462 2017-03-24 14:41:41 +08:00
afc163
b090dec8e0 Fix badge style in Maxthon, close #5477 2017-03-24 14:34:37 +08:00
Xie Guanglei
b054a0c2b8 feat: allow disable tabs inkBar animation (#5450)
* fix issue [5089](https://github.com/ant-design/ant-design/issues/5089)

* tabs doc
2017-03-24 14:28:11 +08:00
Sebastian Blade
83f85a371a Fix button render with null or undefined child. (#5473)
* Fix button render with null or undefined child.

Fix bug #5472

* Add missing semicolon

* Make if statement braced.

......
2017-03-24 13:10:27 +08:00
Benjy Cui
d6d62f6754 docs: update demo for Select[size] 2017-03-24 12:14:00 +08:00
afc163
a19845c1bb fix tslint 2017-03-24 11:56:18 +08:00
feng zhi hao
78bdbbfe93 fix: improve rowSelection.selections of Table (#5409)
* improve rowSelection.selections of Table

* fix classNames spell error

* update class name
2017-03-24 11:44:36 +08:00
feng zhi hao
637d9243ea chore: improve Form.create ts definition of Form (#5420)
* improve Form.create ts definition of Form

* use function<T>() instead of arrow function
2017-03-24 11:43:38 +08:00
Benjy Cui
583ed547e9 fix: code syntax 2017-03-24 11:29:38 +08:00
Madis Väin
7696c1cd05 feat: Add et_EE locale (Estonian) (#5266)
* add Estonian translations

* add other translations except pagination for Estonian

* add to tests

* linting fixes

* remove comments
2017-03-24 10:54:36 +08:00
Martin Litvaj
82b516c77f feat: SK Localization (#5304) 2017-03-24 10:30:37 +08:00
William Yang
6b8eeb79d1 fix: #5456(Cannot display feed back icon and prefix icon together) (#5457)
* fix #5456

* remove demo and set z-index to 1
2017-03-24 09:59:31 +08:00
afc163
4a396c4d7b change comments to English 2017-03-23 21:32:29 +08:00
偏右
674255bd14 [WIP] upgrade deps (#5455)
* upgrade deps

* autofix some tslint problems

* Fix tslint problems manually
2017-03-23 21:15:49 +08:00
Wei Zhu
ab6e521ea2 refactor: RadioGroup's cloneElement to context (#5453) 2017-03-23 17:19:50 +08:00
afc163
6b2f6af85d use @info-color over @primary-color, close #5442 2017-03-23 13:57:30 +08:00
Wei Zhu
21ee247253 Add new select demo snapshot 2017-03-23 13:48:19 +08:00
afc163
ac1c7f312b itemRender do not rely on route.breadcrumbName 2017-03-23 13:28:01 +08:00
afc163
106d9a70e2 update table demo 2017-03-22 20:24:48 +08:00
偏右
9a0b9adc1e feat: 12 hours time picker (#5434)
* TimePicker support 12 hours format, close #4063

* Add new demo snapshot
2017-03-22 17:53:37 +08:00
afc163
df9a75f33d update alert banner demo 2017-03-22 17:32:52 +08:00
afc163
a42a507e2b percise modal document 2017-03-22 15:25:28 +08:00
afc163
19bebebc60 percise modal document 2017-03-22 15:25:12 +08:00
afc163
f5350fcd7e Add InputNumber[parser] which works with formatter 2017-03-22 15:10:03 +08:00
afc163
4442f71d31 Add select users demo, close #2765 2017-03-22 14:21:24 +08:00
Benjy Cui
d24a647392 feat: Tabs[onNextClick] Tabs[onPrevClick], close: #4395 (#5412) 2017-03-21 23:42:16 +08:00
afc163
48b9055605 fix carousel demo 2017-03-21 19:16:50 +08:00
Aaron Planell López
45b0693bae Feat spin wrapper className. (#5425) 2017-03-21 17:12:43 +08:00
afc163
322e9efdc9 Fix getPopupContainer ts type 2017-03-21 16:35:31 +08:00
afc163
fd7b5bdcf4 Fix Table selectAll behavious inside Popover, close #5407 2017-03-21 16:31:45 +08:00
afc163
93ec71ea58 fix whitespace required, close #5418 2017-03-21 15:21:40 +08:00
乐仪
5d348ec1b2 add snap for new demos of Tree 2017-03-21 11:01:37 +08:00
ddcat1115
27b099e58e feat: Tree with line & Tree customize icon demo (#5261)
* Tree with line & Tree customize icon demo

* improve
2017-03-21 09:41:02 +08:00
Andrey G
b093d9d8b0 *updates for RU locale (#5406) 2017-03-20 19:02:39 +08:00
afc163
4c8297d39d Merge branch 'master' into feature-2.9 2017-03-20 17:13:36 +08:00
jiang
1be1d41cc9 update upload (#5401) 2017-03-20 16:44:29 +08:00
Mitchell Demler
e968b575a2 fix: move filterOption to AbstractSelectProps so that AutoComplete component types do not break. (#5393) 2017-03-20 16:13:53 +08:00
Benjy Cui
36a7ffc0d6 fix: Switch should not warning with size=large, close: #5368 2017-03-20 16:08:24 +08:00
Benjy Cui
129308ceb5 fix: suppress warning while testing, close: #5345 (#5397) 2017-03-20 15:34:34 +08:00
natergj
c2cb111f7b fix: Upload should work with LocaleProvider (#5388) 2017-03-20 15:20:15 +08:00
Benjy Cui
22f5f6a18b test: update snapshot 2017-03-20 11:40:24 +08:00
Benjy Cui
c097d5a9f5 Merge branch 'master' into feature-2.9 2017-03-20 11:29:36 +08:00
Knacktus
038453e581 chore: update de_DE.tsx (#5387)
Added locale for selectAll and selectInvert
2017-03-20 11:08:27 +08:00
afc163
e88f08b1cb update doc 2017-03-19 14:21:16 +08:00
afc163
140f3fb3de update message docs 2017-03-19 14:16:39 +08:00
afc163
9a72f94027 update documentation of icon 2017-03-19 14:12:58 +08:00
偏右
81c1a77686 Fix get container (#5381)
* Fix message getContainer, close #5380

* Add test for message getContainer

* Add test for message config top

* more test for message destroy
2017-03-19 02:07:39 +08:00
afc163
d09b7638b8 Add test case for notification destroy 2017-03-19 02:04:32 +08:00
afc163
402a5cce4c update message demo code style 2017-03-19 01:29:21 +08:00
afc163
240a93cee2 Fix mention active style 2017-03-19 01:29:21 +08:00
Qingrong Ke
8afc2e9e95 Fix 5322 (#5379)
* Input: fix #5322

* Refactor preSuffix to affix

* Update tests and demos

* Refactor preSuffix to affix
2017-03-18 21:26:42 +08:00
afc163
69dff0fa2d Fix danger button ghost style 2017-03-18 16:33:55 +08:00
afc163
491b0a199e fix snapshot 2017-03-18 15:44:40 +08:00
afc163
a10704bc44 Tweak steps animation style 2017-03-18 15:32:29 +08:00
kossel
f5da1b6b16 Adjust card head style property from background to background-color (#5374)
* fix color variable naming

* card head  background-color => background, this adds more flexibility for the mixin
2017-03-18 15:16:03 +08:00
afc163
3740fb7f3c Improve iframe demo look 2017-03-18 15:15:00 +08:00
afc163
c361165352 Improve Layout fixed demo 2017-03-18 14:52:23 +08:00
afc163
27ccd4afd5 update back-top demo 2017-03-18 14:38:21 +08:00
afc163
432e5c615b Update spin API documatation 2017-03-18 14:30:51 +08:00
Joe
6e8e8db248 Upgrade rc-progress to 2.1.0. Support dashboard. (#5372)
* Upgrade `rc-progress` to `2.1.0`. Support dashboard.

Progress dashboard type (half circle)[#5225]

* restore removed code, it is for compatibility

* format code
2017-03-17 23:57:34 +08:00
afc163
46b344eabe tweak icons 2017-03-17 19:11:36 +08:00
偏右
84e3aa2a37 New design docs (#5370)
* refactor design documentations

* update color document

* Add icon

* Fix images in documentation

* fix some documentation style

* Finish icon doc

* Add copywriting doc

* Add layout.md and navigation.md

* Add more docs

* Fix error color

* improve markdown doc width

* update some details

* fix doc detail

* Add motion.md
2017-03-17 18:56:37 +08:00
Wei Zhu
f6b1e942e3 Jest 19 (#5361)
* Upgeade to jest 19

* Use jest.spyOn
2017-03-17 18:56:30 +08:00
afc163
0ed66cf20b put css code inside demo, close #5364 2017-03-17 18:47:19 +08:00
Wei Zhu
54b49afd32 Use a special static property for type detecting
close #5359
2017-03-17 17:54:02 +08:00
Benjy Cui
8f81594f91 Refactor: introduce injectLocale (#5289)
* refactor: extract injectLocale and refactor Pagination, ref: #5103

* refactor: use injectLocale in Popconfirm, ref: #5103

* refactor: use injectLocale in TimePicker

* refactor: use injectLocale in Transfer

* refactor: use injectLocale in TreeSelect

* refactor: remove useless code in AutoComplete

* test: update snapshot
2017-03-17 15:23:25 +08:00
Benjy Cui
983474f81c fix: rename uploadList to UploadList 2017-03-17 12:07:26 +08:00
ddcat1115
24e6fb4ba6 fix Modal.confirm error when onCancel not set (#5294)
* fix Modal.confirm error when onCancel not set

* add test case
2017-03-17 11:47:36 +08:00
Benjy Cui
be13831d92 Fix upload (#5358)
* docs: add demo to re-produce bug

* fix: dragger should work with form decorator, close: #5334

* test: update snapshot
2017-03-17 11:47:05 +08:00
kossel
621f44e79c added card header style mixins (#5354)
* added card header style mixins

* fix color variable naming
2017-03-17 11:46:50 +08:00
Benjy Cui
174c3b7d62 docs: MonthPicker doesn't support onOk, close: #5350 2017-03-17 10:24:32 +08:00
一喵呜
5bf0552691 Radio组件的一个样式问题 (#5336)
box-shadow
2017-03-16 23:37:10 +08:00
一喵呜
e72cc5e742 Update index.less (#5341) 2017-03-16 23:36:35 +08:00
Tan Shaohui
804efbfbde code optimize (#5314) 2017-03-16 23:03:06 +08:00
Wei Zhu
fee429909f Change to correct page when table data changes (#5277)
Fix #5259
2017-03-16 23:01:13 +08:00
Wei Zhu
ae021260dd Revert "docs: Document argument order swap in sorter function. (#5343)"
This reverts commit ac2e611168.
2017-03-16 22:35:52 +08:00
Jesper We
ac2e611168 docs: Document argument order swap in sorter function. (#5343) 2017-03-16 20:31:55 +08:00
Wei Zhu
80043581c5 docs: Add a link to Array.sort 2017-03-16 20:07:40 +08:00
Benjy Cui
bb16e5fe32 docs: improve docs for InputNumber 2017-03-16 16:59:06 +08:00
afc163
b271a94e0a Fix Upload progress not showing, close #5323 2017-03-16 13:30:09 +08:00
afc163
ee6f7c4563 Tweak spin blur style 2017-03-15 18:25:26 +08:00
Benjy Cui
15c3656a6d test: update test for Radio className 2017-03-15 14:25:43 +08:00
Benjy Cui
aa4606cd9f feat: make Form.Item work with responsive layout, ref: #5296 (#5306) 2017-03-15 11:25:58 +08:00
Benjy Cui
4579d8c419 fix: should not generate className twice, close: #5295 2017-03-15 11:01:06 +08:00
Wei Zhu
557f40aec4 Use a constant to avoid creating new object
Ref #5300
2017-03-14 19:52:59 +08:00
afc163
c61b47f782 update tree-select doc 2017-03-14 19:22:13 +08:00
afc163
09fd82def3 trigger click do not need wrap span, #5301 2017-03-14 19:04:18 +08:00
afc163
83df2c98af pagination in demo should be immuatable, ref #5300 2017-03-14 18:51:11 +08:00
afc163
fa1e031a73 Tweak spin animation 2017-03-14 15:32:24 +08:00
afc163
89ace33480 Upload onChang(file) argument should be immutable, close #5280 2017-03-14 14:21:01 +08:00
afc163
7290e1070b update code style 2017-03-14 14:04:40 +08:00
afc163
06b17fd553 lift className from Button[disabled] in Tooltip, fix #5270 2017-03-14 11:43:49 +08:00
afc163
7bc2b1dbff fix AutoComplete extra box-shadow 2017-03-14 11:24:38 +08:00
afc163
696a3c0e34 fix Checkbox and Radio text alignment with form label, close #5276 2017-03-13 12:43:33 +08:00
afc163
f44220d91b Fix upload mask style, close #5275 2017-03-13 11:16:22 +08:00
afc163
d0353eeb1b tweak docs style 2017-03-13 11:13:12 +08:00
Benjy Cui
b567c99074 docs: update docs for LocaleProvider, close: #5271 2017-03-13 10:51:37 +08:00
Benjy Cui
0042ac1c0a fix: recursive dependencies, close: #5264 2017-03-13 10:20:25 +08:00
Igor G
0df0659a9d docs: Update index.en-US.md (#5267) 2017-03-12 12:44:27 +08:00
afc163
a5b47f9e49 update form docs 2017-03-10 19:26:43 +08:00
afc163
a0cdce4d00 fix test case 2017-03-10 19:22:18 +08:00
Benjy Cui
228e9c0747 fix: remove Form auto-responsive layout (#5253)
* fix: remove Form auto-responsive layout

* test: update snapshot
2017-03-10 19:19:36 +08:00
Minwe LUO
bbe294e96c feat: allow override onProgress on Upload (#5260)
@see https://github.com/react-component/upload/issues/33#issuecomment-284644039
2017-03-10 19:18:05 +08:00
afc163
928126e3b3 fix formatter types 2017-03-10 18:20:28 +08:00
Hugo LEHMANN
a73d7d6f22 Add InputNumber typings for props formatter (#5241)
* Add InputNumber typings for props formatter

https://github.com/ant-design/ant-design/issues/5240

* InputNumber: Correct typings for formatter prop
2017-03-10 18:19:40 +08:00
afc163
b3982ad210 site: improve copy icon and color 2017-03-10 18:04:14 +08:00
afc163
c537030dee optimize for b7621c9 2017-03-10 17:04:52 +08:00
afc163
23415a062f fix upload progressTimer 2017-03-10 15:14:37 +08:00
Jesper We
8fe13f9113 Make <Rate> colors available in theme. (#5238)
* Make <Rate> colors available in theme.

* Add <Rate> color values
2017-03-10 14:58:01 +08:00
Wei Zhu
f567342d95 Fix grouping column table sort and filter in controlled mode (#5211)
Close #5158
2017-03-10 14:52:28 +08:00
afc163
5a2ed79d25 Fix Tooltip layout style on disabled Button, close #5254 2017-03-10 14:13:12 +08:00
Wei Zhu
d4a52b14ce docs: fix InputNumber api table
close #5251
2017-03-10 11:19:14 +08:00
elios
f3cc8dfe0d + call onCancel when pressing esc key (#5209)
* + call onCancel when pressing esc key

* + call onCancel when press esc corrections
2017-03-10 10:55:47 +08:00
afc163
82b54ad42a update table th text color 2017-03-09 22:41:45 +08:00
afc163
977aa62d94 Fix small table border, close #5237 2017-03-09 21:49:10 +08:00
afc163
c06db5ce60 docs: update cascader 2017-03-09 20:19:18 +08:00
afc163
070ca82bc2 Fix hasFeedback of Input[addonBefore], close #5228 2017-03-09 15:20:10 +08:00
afc163
54984d6d4c Fix td hover bg transition 2017-03-09 14:44:06 +08:00
afc163
941782f7ec Add iconfont shake and android-o 2017-03-09 14:33:58 +08:00
afc163
4f845afa46 tweak table select all style 2017-03-09 12:09:39 +08:00
jiang
8ca2bfd12a upload (#5210)
* fix upload firefox delete anim, update list animate

* update picture cssName

* remove note

* update animate Name

* refactor upload animation code

* refactor upload dom structure

* update upload demo snapshots
2017-03-08 18:02:15 +08:00
Colton Pierson
47d107bb2a fix implicit type any in checkbox props by item values getCheckboxPropsByItem and getRecordKey (#5207) 2017-03-08 16:12:33 +08:00
afc163
35642ec2a9 update upload demo 2017-03-08 14:42:34 +08:00
afc163
29adc0a85e fix upload snapshot 2017-03-08 12:20:16 +08:00
afc163
d502f089dd use jsonplaceholder, close #5202 2017-03-08 12:17:46 +08:00
afc163
0a35197a35 Fix long name of upload item style 2017-03-08 12:11:31 +08:00
afc163
6bca3ba87f clean up document 2017-03-07 22:38:01 +08:00
afc163
cd2c027d89 docs: Add API document for Form validation rule
close #5201, ref #5155
2017-03-07 22:35:45 +08:00
afc163
8bc0e8ab9d Remove used code and add test case for #5191 2017-03-07 18:49:22 +08:00
Graeme Yeates
18077894f2 Remove DatePicker temporary values [fix #5189] (#5191) 2017-03-07 18:00:51 +08:00
afc163
4e51fd942b fix disabled dropdown menu item pointer events 2017-03-07 15:59:04 +08:00
afc163
0b62f77630 Tweak title color 2017-03-07 14:29:02 +08:00
afc163
a274f44a5a darken heading-color 2017-03-07 14:00:15 +08:00
Wei Zhu
5b1a4dabaf Tweak Table style
1. Fix expand cell width to 50px;
2. Fix select all cell width in different size.
2017-03-06 18:13:05 +08:00
afc163
24f9c24f48 Improve AutoComplete demo 2017-03-06 17:56:50 +08:00
Wei Zhu
aefdfb9458 docs: use new Form[layout] prop 2017-03-06 17:51:45 +08:00
Wei Zhu
c037abab6a Align table checkbox (#5183)
* Align table checkbox

* Don't select Item

* I18n selection text

* Update snapshot
2017-03-06 17:14:34 +08:00
afc163
bae042b29f Fix small table fixed header border, close #5182 2017-03-06 16:09:02 +08:00
ddcat1115
7ab95b7eae - fix ts error (#5145)
- typescript upgrade to 2.2.1
2017-03-06 15:48:03 +08:00
afc163
a7a4d672f5 update form login demo, close #5172 2017-03-06 15:15:50 +08:00
Wei Zhu
9ed9568cd7 Rename charactor to character 2017-03-06 14:43:48 +08:00
afc163
df7dc8511c charactor => character 2017-03-06 14:23:38 +08:00
偏右
43280ea790 Add formatter prop for InputNumber (#5178) 2017-03-06 11:40:23 +08:00
afc163
d09d6672b8 fix test case 2017-03-06 11:21:26 +08:00
afc163
d1483c16c8 Fix AutoComplete children typescript type, close #5170 2017-03-06 11:18:41 +08:00
Robert Wilkinson
910199613d Update Breadcrumb.tsx (#5174)
spelling in comment
2017-03-06 11:06:46 +08:00
Wei Zhu
67bbae9ea8 Merge branch 'feature-2.8' 2017-03-05 21:34:57 +08:00
ddcat1115
29fa65fcc9 Layout.Sider support responsive display (#4931)
* save

* Layout.Sider support responsive display

* improve

* fix wrong spelling
2017-03-05 21:10:34 +08:00
Minsung Ryu
5af5a48fa2 add translate en_US.tsx#L39-L44 2017-03-05 20:15:04 +08:00
Minsung Ryu
914ee21a4d Add locale ko_KR(Korean) 2017-03-05 20:15:04 +08:00
afc163
a16636cafd Fix Button text shifts when click it 2017-03-05 20:13:54 +08:00
afc163
ab2376e8ed Fix input prefix and suffix vertical alignment 2017-03-05 20:13:54 +08:00
Martin Novák
e59bb6b609 cz translation (#5169) 2017-03-05 20:11:24 +08:00
ddcat1115
00aa253a26 add fixed-header demo for Layout (#5119) 2017-03-05 20:02:53 +08:00
Wei Zhu
e8ff1f25c4 Add snapshot 2017-03-05 19:29:33 +08:00
偏右
3cf056b010 percise the rowKey warning message 2017-03-05 18:35:49 +08:00
afc163
70e135ceb4 Fix AutoComplete alignment and height style in form item, close #5139 2017-03-05 14:43:14 +08:00
陆离
63ddf2fc8d Add Demo for Certain Category (#5105)
+ close #5095
 + close #5135
 + support OptGroup of AutoComplete
2017-03-03 22:10:21 +08:00
afc163
a82ab5fc4b Fix setState on unmounted Upload, close #5162 2017-03-03 20:19:56 +08:00
afc163
d3a967f346 clean up tree demo 2017-03-03 17:39:26 +08:00
偏右
9a9db14b4c Feat calendar select (#5127)
* use less variables in calendar style

* Make calendar selectable

* Add test case

* fix test typo

* update demo title
2017-03-03 15:26:23 +08:00
afc163
7645a77c44 Update iconfont url and docs 2017-03-03 14:42:00 +08:00
3d32a86547 refactor: improve modal static methods type definition (#5090)
* refactor: improve modal static methods type definition

* chore: add exports.

* chore: remove unused import
2017-03-03 11:40:54 +08:00
Graeme Yeates
7cd590b3b0 Use @input-color to set calendar's input color (#5147) 2017-03-03 10:46:51 +08:00
Graeme Yeates
9827b74156 Use @input-color to set InputNumber's color (#5148) 2017-03-03 10:43:44 +08:00
陆离
c3102995b3 AnchorLink iteration bug (#5143)
+ close #5129
2017-03-02 21:52:42 +08:00
Benjy Cui
04be276513 test: update snapshot 2017-03-02 18:04:39 +08:00
afc163
261a31aeea Fix Table title padding 2017-03-02 17:51:28 +08:00
afc163
c1cb365eca Fix missing API document of Menu[multiple] 2017-03-02 17:48:11 +08:00
afc163
27f3269623 Merge branch 'master' of github.com:ant-design/ant-design 2017-03-02 17:26:03 +08:00
Benjy Cui
64cbb95a34 docs: update docs for tree, close: #4932 2017-03-02 17:08:57 +08:00
afc163
34cfe5fd06 tweak less code 2017-03-02 16:11:58 +08:00
afc163
0fd4c92979 speed up collapse motion 2017-03-02 15:51:15 +08:00
afc163
06d351f968 fix warning in test case 2017-03-02 14:14:34 +08:00
wonyun
27e3f660b4 Add dateFullCellRender and monthFullCellRender for calendar component (#5138) 2017-03-02 13:35:07 +08:00
Wei Zhu
570e2ce1dc Check if Table[pagination] exist
When pagination is null, a error "Cannot use 'in' operator to search for 'current' in null"
will raise.
2017-03-02 11:31:56 +08:00
Wei Zhu
8bfbe9b6df update snapshot 2017-03-02 11:01:12 +08:00
feng zhi hao
dab5f3547d chore: improve ts definition of Form (#5134) 2017-03-02 10:53:47 +08:00
Benjy Cui
fb8f90c102 feat: form (#5063)
* feat: support Form[layout], close: #5056

* feat: Form should be responsive, close: #5055

* test: update snapshot

* fix: resolve conflict betwen layout defaultValue and inline & vertical
2017-03-02 10:49:06 +08:00
Kyle Rosenberg
aa84b826c1 chore: Added missing getFieldsError in WrappedFormUtils (#5133) 2017-03-02 09:33:46 +08:00
Wei Zhu
3d3abe8662 Add Tabs tests 2017-03-02 00:16:37 +08:00
afc163
ea7dc3e56c update docs 2017-03-01 18:44:59 +08:00
afc163
b3a325dc29 Fix disabled DatePicker hover border color 2017-03-01 15:26:12 +08:00
afc163
a7a2c54fa8 fix snap 2017-03-01 14:46:44 +08:00
afc163
5eef3fa467 fix snapshot test 2017-03-01 13:33:17 +08:00
Yogesh
0675acc3ef Typo/grammar change (#5117) 2017-03-01 12:45:24 +08:00
偏右
f29ff2f822 Add some new icons, ref #3674 (#5107) 2017-03-01 11:21:00 +08:00
Benjy Cui
ef2375885e feat: support Badge[showZero], close: #4251 (#5096) 2017-03-01 11:16:58 +08:00
Benjy Cui
00cdb7d888 feat: support Transfer[onScroll], close: #4188 (#5084) 2017-03-01 11:07:19 +08:00
feng zhi hao
4019ef4b0c chore: fix hideRequiredMark ts definition of Form (#5112) 2017-03-01 09:13:26 +08:00
afc163
35cc822e56 Fix tree-select not show bug, close #5092 2017-02-28 18:50:22 +08:00
Wei Zhu
6eca8b4ad1 Add locale support to Upload (#5094) 2017-02-28 18:43:22 +08:00
陆离
8eec86085b typo stopPreventDefault -> stopPropagation (#5093)
* typo stopPreventDefault -> stopPropagation

* remove
2017-02-28 18:43:06 +08:00
afc163
b12d8e3d38 revert 5b20a5f and fix #5091 2017-02-28 18:10:11 +08:00
Benjy Cui
758559f718 test: update snapshots 2017-02-28 16:14:53 +08:00
Benjy Cui
27def1e7dd fix: should not generate cls twice 2017-02-28 16:14:53 +08:00
Benjy Cui
7c564af6e4 Revert "css: adjust alignment in Select & AutoComplete, close: #5088"
This reverts commit c01f24750a.
2017-02-28 15:46:45 +08:00
afc163
bbfc131a85 Fix steps fixed width, close #5083 2017-02-28 15:13:23 +08:00
Benjy Cui
69d9d1edda chore: add warning for typo, close: #5044 2017-02-28 14:44:12 +08:00
Benjy Cui
c01f24750a css: adjust alignment in Select & AutoComplete, close: #5088 2017-02-28 14:30:00 +08:00
Benjy Cui
dd86e33283 deps: upgrade rc-checkbox to fix #2744 2017-02-28 11:38:54 +08:00
Wei Zhu
2fb52944e4 Setting table row hover bg on td (#5077)
Related issue #5067
2017-02-28 11:31:01 +08:00
Eden Wang
445c940af4 docs: Change Password Blur from password to confirm (#5076)
* Change Password Blur from password to confirm

If you type check password, then type password, the validation won't be changed

* rename variables and functions name

rename handlePasswordBlur to handleConfirmBlur
rename passwordDirty to confirmDirty
2017-02-28 11:30:04 +08:00
afc163
d0f31f39a3 fix cascader style selector priority, close #5078 2017-02-28 11:28:49 +08:00
afc163
f1a252768e Menu dark background should be same as layout header 2017-02-27 23:46:09 +08:00
afc163
6a5576d65f Add another layout demo of top-side 2017-02-27 23:46:09 +08:00
Graeme Yeates
10b99eead8 Remove inconsisent progress-bar-font (#5081) 2017-02-27 23:23:54 +08:00
bang
28b1692f1a doc: add message onClose callback close #5073 2017-02-27 20:50:08 +07:00
afc163
e008214f56 Make <Spin></Spin> loading inside viewport, close #4722 2017-02-27 15:53:36 +08:00
afc163
c64cf9f086 fix upload error item name color 2017-02-27 14:18:00 +08:00
偏右
c552b315bc Add getContainer for message and notification, close #5019 (#5066) 2017-02-27 13:39:37 +08:00
afc163
7fd08efbb7 Merge branch 'master' into feature-2.8 2017-02-27 12:14:57 +08:00
afc163
d4036d3cae fix button unknown prop 2017-02-27 11:18:48 +08:00
Benjy Cui
8b539c4971 chore: update type definition 2017-02-27 10:20:46 +08:00
afc163
d99778b605 Fix clicked effect when switch loading state 2017-02-26 19:21:22 +08:00
afc163
00fac07d9e refactor requestAnimationFrame 2017-02-26 19:08:36 +08:00
afc163
376806dab8 Merge from "master" 2017-02-26 18:45:16 +08:00
afc163
a9599b802c when labelCol is 24, it is a vertical form 2017-02-26 18:09:41 +08:00
afc163
3818f59a97 fix test case 2017-02-26 17:52:26 +08:00
afc163
30f2a1ed94 Add popup node snapshot test for Cascader 2017-02-26 16:48:42 +08:00
afc163
14d380f0f9 use old button animation 2017-02-26 02:18:20 +08:00
偏右
4650d20abf Update colorPalette.less 2017-02-26 00:35:02 +08:00
afc163
cf4ad5ddb8 fix test case 2017-02-26 00:23:46 +08:00
afc163
917ec5606e Tweak tree style 2017-02-25 19:17:54 +08:00
afc163
511db23fcd Add default title for form item label 2017-02-25 18:48:44 +08:00
afc163
68fde63ef7 refactor renderLabel 2017-02-25 18:47:40 +08:00
afc163
d2e178d215 update doc 2017-02-25 18:37:25 +08:00
afc163
f6715df3b5 closest => dom-closest, fix ssr 2017-02-25 02:09:18 +08:00
afc163
6ea75c4d85 Filter dropdown menu inside scroll body should never be shown, close #5010 2017-02-25 01:36:45 +08:00
afc163
5076b6045c fix snap 2017-02-25 00:17:44 +08:00
afc163
139d95022c prefer stateless function 2017-02-24 20:29:24 +08:00
tianli.zhao
85ca5ed5ea [WIP] filter the disabled options (#4981)
filter the disabled options
2017-02-24 19:08:02 +08:00
afc163
2bf6e22653 fix documentation for onOk, close #5044 2017-02-24 18:08:35 +08:00
ddcat1115
d0db3ce426 fix menu icon not centered in Layout.Sidere (#5039) 2017-02-24 18:04:16 +08:00
afc163
c163232deb fix snap 2017-02-24 17:43:40 +08:00
乐仪
55fca5cee4 Merge branch 'master' of https://github.com/ant-design/ant-design 2017-02-24 16:36:02 +08:00
乐仪
70ec413537 fix Layout demo, update documentation. 2017-02-24 16:34:10 +08:00
afc163
edaad09b67 update grid document for media queries rule, close #5030 2017-02-24 16:25:27 +08:00
Benjy Cui
3aac9adc40 docs: remove some demo 2017-02-24 16:17:52 +08:00
ddcat1115
e07cdf5387 add left out event parameters for Modal[onOk] Popconfirm[onConfirm] Popconfirm[onCancel] (#5042) 2017-02-24 16:07:39 +08:00
feng zhi hao
88100a29a3 chore: fix ts definition of Upload (#5041) 2017-02-24 16:06:57 +08:00
ddcat1115
e33bb82e62 change detect type of Layout.Sider (#5036)
* save

* change detect type of Layout.Sider
2017-02-24 16:06:15 +08:00
Graeme Yeates
19c11dd173 chore: RangePicker TimePicker component locking background to white (#5031) 2017-02-24 10:42:45 +08:00
Benjy Cui
4e59e9e769 docs: recommend to use LocaleProvider, ref: #5017 2017-02-24 10:22:21 +08:00
feng zhi hao
6d903a6ba5 add custom selection in Table (#4962)
* add custom selection in Table

* update snapshots

* update snapshots again

* optimize selection in Table

* update test

* update snapshots

* improve test

* fix test
2017-02-23 19:29:47 +08:00
Benjy Cui
1f844c1048 fix: Slider's Tooltip should not blink, close: #5003 2017-02-23 17:03:18 +08:00
Benjy Cui
1c837963e2 chore: add warning for deprecated API 2017-02-23 16:04:27 +08:00
Benjy Cui
ce0d4c39f2 docs: add missing info in Calendar, close: #5017 2017-02-23 15:58:02 +08:00
afc163
dded4bcde4 fix snap for rc-table@5.2.12 2017-02-23 14:57:48 +08:00
afc163
6fdb39038b Fix selected style of Dropdown menu, close #5013 2017-02-23 13:48:38 +08:00
afc163
9d0a06b657 add snap file 2017-02-23 13:45:16 +08:00
afc163
9c6a6d6175 Fix Breadcrumb falsy children, close #5015 2017-02-23 13:43:50 +08:00
afc163
5068343b0c fix tslint 2017-02-23 13:18:06 +08:00
afc163
a7c6c027ce Fix ts definition of Table & RangePicker
close https://segmentfault.com/q/1010000008423156
2017-02-23 12:51:40 +08:00
afc163
0f46eed370 fix lint 2017-02-23 11:45:48 +08:00
afc163
922a57dfde fix snap for react-component/table#125 2017-02-23 11:30:54 +08:00
Benjy Cui
29ebf22529 docs: update docs for AutoComplete, close: #5006 2017-02-23 10:02:10 +08:00
afc163
27717483a7 should be only working on input ref, #4987 2017-02-22 21:28:53 +08:00
afc163
d8fb282088 Adjust checkbox and radio vertical, close #5001 2017-02-22 21:22:42 +08:00
afc163
9228e7a01b update snap 2017-02-22 19:34:44 +08:00
afc163
39fd6b6a36 Define circle progress theme by css, close #5002 2017-02-22 19:33:15 +08:00
afc163
ff2d69ad21 update progress demo 2017-02-22 19:31:50 +08:00
afc163
1c4407b60c fix popup menu z-index problem 2017-02-22 18:30:50 +08:00
afc163
cdf786676c Fix popconfirm missing button styles 2017-02-22 18:10:02 +08:00
afc163
5b20a5fc3e Fix slight vertical position difference in chrome, close #4987 2017-02-22 17:48:58 +08:00
afc163
7181e3c9e8 revert d9ec4bf and ef0b708, close #4997 2017-02-22 16:50:24 +08:00
afc163
61a3d66a02 Add test case for upload 2017-02-22 16:07:31 +08:00
Benjy Cui
e4d9e5af54 test: update snapshot 2017-02-22 15:52:43 +08:00
Benjy Cui
d9ec4bf732 fix: RangePicker style 2017-02-22 15:33:21 +08:00
afc163
fbeccb7be5 fix inline submenu open style 2017-02-22 14:47:01 +08:00
afc163
90699b0c42 clean up document 2017-02-22 12:33:23 +08:00
afc163
ef0b7087f6 Fix slight difference placeholder between Input and Select
close #4987
2017-02-21 23:34:23 +08:00
afc163
9bb7e3d10c site: improve responsive layout 2017-02-21 23:26:10 +08:00
afc163
f0a4afd388 Fix slight difference placeholder between Input and Select
close #4987
2017-02-21 22:45:56 +08:00
陆离
7d982ddfd4 Calc width of Affix using getBoundingClientRect (#4989)
+ close #4986
2017-02-21 22:17:48 +08:00
afc163
79f222b86c fix snap, seems to be a jsdom bugfix 2017-02-21 22:17:35 +08:00
afc163
2fb0fb08d9 Fix Carousel autoplay not working after resizing, close #4984 & #2550 2017-02-21 22:12:11 +08:00
乔奕轩
030127e93c fix: Affix should not pass onChange to div (#4982) 2017-02-21 18:07:58 +08:00
afc163
9fff177bbc update table fixed column demo description 2017-02-21 17:11:30 +08:00
afc163
54dde4f5bc Hide yellow tag for no compatible with WCAG 2.0 on contrast ratio 2017-02-21 16:19:56 +08:00
afc163
fbb6cb007f max-height should not work on submenu filter, close #4975, ref #4916 2017-02-21 15:54:14 +08:00
afc163
7f404f1e20 Fix styoe of spin inside spin, close #4971 2017-02-21 15:15:30 +08:00
afc163
68f3641a90 update less code style 2017-02-21 15:15:29 +08:00
Benjy Cui
760a5ffc90 fix: add .focus for TimePicker, ref: #3790 2017-02-21 15:10:28 +08:00
陆离
36fd55c441 Anchor ink in fixed (#4960)
*  A config for displaying ink-balls of fixed Anchor

 + close #4930
 + add `inkInFixed` props to show ink-balls in fixed mode.

* rename
2017-02-21 14:44:20 +08:00
偏右
a80d6b7231 upgrade rc-rate to 2.x (#4955)
1. allow custom charactor
2. add className and onHoverChange

close #4870
2017-02-21 14:44:13 +08:00
陆离
21a0779692 Better loading of Button (#4964)
*  Better loading of Button

 + close #4925
 + add a default delay timer (200ms)

* update snapshot

* escape
2017-02-21 14:44:08 +08:00
偏右
0120008cbd Add tabBarStyle, close #4966 (#4970) 2017-02-21 14:43:48 +08:00
afc163
921f71a8bc revert fix ant-col-xx-0 not disappear as expected 2017-02-21 11:56:51 +08:00
afc163
c4a67a1bf5 fix ant-col-xx-0 not disappear as expected 2017-02-21 11:51:17 +08:00
afc163
b839c624e8 fix slider demo 2017-02-20 22:31:43 +08:00
afc163
d19453c4c3 fix lint 2017-02-20 22:21:14 +08:00
afc163
c30878d38f rewrite Slider demos to es6 component, #4878 2017-02-20 22:19:59 +08:00
afc163
580389ac15 rewrite Spin demos to es6 component, #4878 2017-02-20 22:16:57 +08:00
afc163
d576abc7b0 rewrite Switch demos to es6 component, #4878 2017-02-20 22:15:52 +08:00
afc163
6455bdf6e1 rewrite Pagination demos to es6 component, #4878 2017-02-20 22:14:47 +08:00
afc163
e68b54f902 rewrite Popconfirm demos to es6 component, #4878 2017-02-20 22:13:19 +08:00
afc163
176b9f9083 fix typo 2017-02-20 22:11:39 +08:00
afc163
c28020708f fix typo 2017-02-20 22:09:13 +08:00
afc163
a6547a392b rewrite Progress demos to es6 component, #4878 2017-02-20 22:07:45 +08:00
afc163
f27041342d rewrite Popover demos to es6 component, #4878 2017-02-20 22:06:12 +08:00
afc163
c8e49995cb rewrite Rate demos to es6 component, #4878 2017-02-20 22:05:06 +08:00
afc163
18203972a1 rewrite Radio demos to es6 component, #4878 2017-02-20 22:04:17 +08:00
afc163
5e0f5e1902 rewrite Modal demos to es6 component, #4878 2017-02-20 22:02:12 +08:00
afc163
3884ee3c5a rewrite Select demos to es6 component, #4878 2017-02-20 21:54:23 +08:00
afc163
c440a4d2b2 rewrite Menu demos to es6 component, #4878 2017-02-20 21:51:23 +08:00
afc163
f2d12306bd improve demo es6 class code style 2017-02-20 21:47:57 +08:00
afc163
2da59c3679 fix mention demo 2017-02-20 21:40:24 +08:00
afc163
ce877707bd rewrite LocaleProvider and Mention demos to es6 component, #4878 2017-02-20 21:39:07 +08:00
afc163
23cb11fef3 update document, ref #4965 2017-02-20 17:58:51 +08:00
陆离
01086d56e5 shoud not have border around button (#4967) 2017-02-20 17:47:26 +08:00
afc163
38c8360d1f Improve Menu[inline] and Collapse animation, ref #4898 2017-02-20 15:34:16 +08:00
afc163
3485529307 adjust message disappear animation setting 2017-02-20 14:44:27 +08:00
feng zhi hao
5303bd0a38 docs: rewrite Table demos to ES6 component (#4954) 2017-02-20 14:04:36 +08:00
afc163
18e554ff46 fix lint 2017-02-20 13:39:01 +08:00
afc163
f037f12523 fix demo code language 2017-02-20 13:32:48 +08:00
feng zhi hao
47dc4a81e4 docs: rewrite InputNumber demos to ES6 component (#4950) 2017-02-20 12:27:13 +08:00
afc163
a9a564779e Merge from "master" 2017-02-20 12:18:41 +08:00
feng zhi hao
62e80928d5 docs: rewrite Form demos to ES6 component (#4949) 2017-02-20 11:50:57 +08:00
afc163
3308bce9b9 fix snapshot test 2017-02-20 11:36:57 +08:00
afc163
c1f3b58b28 Fix table wrapper float layout, close #4945 2017-02-20 11:36:56 +08:00
afc163
626e0c9d1e Fix DatePicker default width, close #4947, ref #4920 2017-02-20 11:36:19 +08:00
Benjy Cui
b7519a65c0 fix: should clear float, close: #4945 2017-02-20 11:31:51 +08:00
feng zhi hao
e85c8a25f6 docs: rewrite Dropdown demos to ES6 component (#4946) 2017-02-20 10:35:47 +08:00
偏右
1c2c93fa81 fix: show muliple messages in vertical direction, close #3543 (#4939) 2017-02-20 10:30:24 +08:00
feng zhi hao
6eca407711 docs: rewrite Checkbox demos to ES6 component (#4944) 2017-02-20 10:09:37 +08:00
feng zhi hao
0d2da7ad3b docs: Rewrite Cascader demos to ES6 component (#4943) 2017-02-20 09:45:23 +08:00
陆离
7a4080ec40 Fix some problems of AutoCompelete demo (#4942)
+ close #4912
2017-02-20 00:09:07 +08:00
bang
b90237ee6f fix: Tabs snapshot tests 2017-02-19 21:23:31 +07:00
bang
6bcd88f5c0 docs: Rewrite Tabs demos to ES6 component 2017-02-19 21:07:45 +07:00
bang
a4acf1f66e docs: Rewrite Upload demos to ES6 component 2017-02-19 20:50:06 +07:00
bang
c10b051a92 docs: Rewrite TreeSelect demos to ES6 component 2017-02-19 20:41:54 +07:00
bang
eabe261648 docs: Rewrite Tree demos to ES6 component 2017-02-19 20:23:38 +07:00
Wei Zhu
a69a52f8b8 docs: Rewrite Button demos to ES6 component 2017-02-19 21:03:44 +08:00
bang
c9064fc494 Merge branches 'master' and 'master' of github.com:ant-design/ant-design
* 'master' of github.com:ant-design/ant-design:
  docs: Rewrite Badge demos to ES6 component

* 'master' of github.com:ant-design/ant-design:
  docs: Rewrite Badge demos to ES6 component
2017-02-19 19:54:32 +07:00
bang
fcf9bafb18 docs: Rewrite Transfer demos to ES6 component 2017-02-19 19:51:40 +07:00
Wei Zhu
1fc8990531 docs: Rewrite Badge demos to ES6 component 2017-02-19 20:27:06 +08:00
Wei Zhu
eb29fdada3 docs: Rewrite AutoComplete demos to ES6 component 2017-02-19 20:12:41 +08:00
afc163
18ec5933b7 fix old react documentation links 2017-02-19 17:02:58 +08:00
afc163
173b8c46ad Fix input demo tooltip 2017-02-19 15:21:46 +08:00
afc163
f5b0536d42 improve demo code style 2017-02-19 15:06:37 +08:00
Aaron Planell López
05fd5a6825 Add locale ca_ES (Catalan) (#4929)
* Add locale ca_ES (Catalan)

* Add locale ca_ES (Catalan). Modify global locale in local-provider.
2017-02-19 14:27:14 +08:00
afc163
e289ce8b31 Fix Table fixed column z-index issue, close #4937 2017-02-19 14:26:30 +08:00
afc163
673969d0ba fix table snapshot for react-component/table#121 2017-02-19 14:04:22 +08:00
afc163
6e4fae0e29 remove onChange functions in Table.onChange(pagination) 2017-02-19 13:55:36 +08:00
afc163
b34557ef17 Fix Table pagination.onChange arguments
react-component/pagination#58
2017-02-19 13:50:20 +08:00
afc163
b427adec21 docs: add instrunction about footer={null} 2017-02-19 01:42:58 +08:00
afc163
90daeb9a2b Adjust upload demo 2017-02-19 01:39:41 +08:00
afc163
e71807b732 Improve pagination demo 2017-02-18 18:12:38 +08:00
afc163
8194793f9b Update demo documentation 2017-02-18 16:49:34 +08:00
afc163
86981114a7 give up #4637 and fix #4936 2017-02-18 15:50:42 +08:00
afc163
ddcc284b43 Fix dark theme menu style of Dropdown, close #4903 2017-02-18 15:24:25 +08:00
afc163
bd6bc70302 Rollback #4869 for better loading animation, close #4934 2017-02-18 14:58:47 +08:00
afc163
8dc73f4601 Fix shake bug fo Button loading with icon, close #4913 2017-02-18 00:22:38 +08:00
afc163
2d02792da7 Add max-height for table filter dropdown menu, close #4916 2017-02-17 17:41:23 +08:00
afc163
28dbdd17ed fix for #4920 2017-02-17 14:11:10 +08:00
Benjy Cui
56995e2089 test: update snapshot 2017-02-17 13:59:13 +08:00
Benjy Cui
89d77b2354 deps: upgrade rc-slider, ref: #4719 2017-02-17 13:59:13 +08:00
afc163
bed59cf658 fix lint 2017-02-17 13:58:24 +08:00
afc163
a87016ce54 Make sure DatePicker style.width can be effective, close #4920 2017-02-17 12:05:22 +08:00
afc163
bc988f486b fix css rule should not be prefixed, close #4915 2017-02-17 11:32:02 +08:00
ddcat1115
7d3cbfd9d9 fix: menu[mode='vertical'] can not show submenu in Layout.Sider (#4904)
* fix menu[mode='vertical'] can not show submenu in Layout.Sider
close #4890

improve Layout demo

* del useless css
2017-02-17 11:12:52 +08:00
afc163
df3617dded docs: improve API table layout 2017-02-17 00:59:11 +08:00
afc163
94e8138639 adjust spin style 2017-02-16 21:55:03 +08:00
afc163
989792ed9b simplify less code 2017-02-16 21:24:17 +08:00
afc163
74028f6e48 Fix pop menu padding 2017-02-16 17:56:27 +08:00
afc163
477e150075 Fix some SubMenu style bug, close #4906 2017-02-16 17:31:08 +08:00
afc163
49b050ccc1 Improve button and badge[status] with pulse animation 2017-02-16 17:08:15 +08:00
Benjy Cui
c4ac919067 fix: Menu.Item border width should not show animation 2017-02-16 16:32:03 +08:00
afc163
d22ce9cd50 Improve menu and collapse style details 2017-02-16 15:38:24 +08:00
afc163
144393c48a demo: update menu sider demo 2017-02-16 15:38:24 +08:00
偏右
4c0af2ba1f refactor: reduce table nested level (#4869)
* reduce table nested level, #4868

* update table snapshot
2017-02-16 15:36:34 +08:00
陆离
1c24600f8f fix: tree DragOver Gap fix (#4867)
*  Tree DragOver Gap fix

 + close #4858

* rewrite
2017-02-16 15:35:22 +08:00
偏右
f5d697988a fix: Tooltip should work with disabled button (#4865)
* Fix Tooltip won't hide at disabled button

close react-component/tooltip#18

* change button text in test case

* Add comments for display attribute

* correct test case
2017-02-16 14:03:05 +08:00
afc163
af62254597 fix #4637 again 2017-02-16 13:27:43 +08:00
afc163
8941990e74 revert 1490a40, ref #4637, close #4899 2017-02-16 12:00:00 +08:00
Wei Zhu
2258f41f6b docs: add nested Table demo (#4887)
* Remove Table pagination demo

* Add nested table
2017-02-16 10:04:55 +08:00
HQidea
7471780ffe fix: fix Radio children === 0 (#4882) 2017-02-16 10:00:00 +08:00
Cordaro
168c576d4a docs: fix getFieldDecorator param (#4896)
close #4894
2017-02-15 22:58:24 +08:00
afc163
5603fa0088 Fix upload error file style, close #4810 2017-02-15 20:58:40 +08:00
afc163
d8403718f9 Add test case for #4876 2017-02-15 18:00:20 +08:00