Commit Graph

4229 Commits

Author SHA1 Message Date
陆离
9711c6bbf6 Anchor position with offsetTop bug (#4817)
+ close #4706
 + `<Anchor offset={x} />` will calculate target position correctly.
2017-02-10 16:34:10 +08:00
afc163
948edb227f fix tabs border radius 2017-02-10 13:24:24 +08:00
Benjy Cui
34edd91207 chore: remove useless code 2017-02-10 09:43:33 +08:00
Warren Seymour
7010dd018d Add 'middle' as a valid value for Table.props.size (#4819) 2017-02-09 22:43:58 +08:00
Benjy Cui
251930f183 docs: fix some link 2017-02-09 17:55:26 +08:00
afc163
ac23cca8b3 Fix missing ts types for TabPane, close #4776 2017-02-09 16:25:16 +08:00
afc163
d1b91bcc99 Fix direction of pop animation for Dropdown, ref #4811 2017-02-09 15:45:51 +08:00
ddcat1115
d71252ea12 improve Layout.Sider's animation effect (#4812) 2017-02-09 15:20:06 +08:00
afc163
5a643418d2 docs: Add missing demo and document fo Dropdown[placement], close #4811 2017-02-09 15:09:32 +08:00
Benjy Cui
c88cdc60ce docs: update docs for form, close: #4802 2017-02-09 14:50:25 +08:00
afc163
4ec6bf3bcd Fix a strange cover bug with Affix, close #4800 2017-02-09 11:43:41 +08:00
zhenzong
fdaf15d16c fix issue #4783 (#4788) 2017-02-09 11:09:22 +08:00
陆离
fc3f4e1922 fix AutoComplete size (#4768)
*  fix AutoComplete size

 + close #4766

* use input mixin

* use css variables

*  use children directly instead of React.Children.toArray

 + close #4778
2017-02-09 10:45:42 +08:00
afc163
637c479c4c Fix Tabs in IE9, close #4795 2017-02-08 17:16:48 +08:00
afc163
5b14b4f1eb docs: update Col missing API in english doc 2017-02-08 15:22:33 +08:00
陆离
3789e0cbbb Affix listener bug fix (#4756)
*  Affix listener bug fix

 + close #4755
 + close #4760
 + clearScrollEventListeners before setTargetEventListeners
 + add tests for throttle
 + append affix test case

*  genMockFn -> fn()
2017-02-08 14:44:43 +08:00
Wei Zhu
f84dfbbaa9 Fix table filter in JSX (#4765)
Fix #4759
2017-02-08 14:43:00 +08:00
afc163
a07c71165a demo: update table demo code style 2017-02-08 14:42:33 +08:00
偏右
75a4b06e44 Unified border radius, close #4772 (#4773) 2017-02-08 14:21:29 +08:00
afc163
f9ee19ae05 Improve breadcrumb separator color for darker background 2017-02-08 14:09:27 +08:00
Benjy Cui
9ed06dea8a docs: remove outdated warning, ref: #4783 2017-02-08 09:40:25 +08:00
Chikara Chan
64f6a71cc9 fix: should not render useless className when type is undefined (#4784) 2017-02-08 09:31:09 +08:00
zerob4wl
a39d435925 Update without-form-create.md (#4781)
typo
2017-02-07 21:38:14 +08:00
afc163
93e152268c remove it.only, ref #4779 2017-02-07 21:21:51 +08:00
afc163
a585f603d0 Fix Table selection page-jumping issue, close #4779 2017-02-07 21:09:51 +08:00
afc163
ef5df24936 fix InputNumber onChange argument type 2017-02-07 17:27:28 +08:00
afc163
d8f6accbba docs: update input number api 2017-02-07 17:26:40 +08:00
afc163
94f5a07f68 Add rowKey link into console warning message 2017-02-07 15:32:44 +08:00
Benjy Cui
5d7fc8c2b8 chore: add comment for tricky code 2017-02-07 12:10:20 +08:00
Benjy Cui
c565d42847 Revert "chore: remove useless code, close: #4402"
This reverts commit 9b77a21a16.
2017-02-07 12:05:12 +08:00
Benjy Cui
9b77a21a16 chore: remove useless code, close: #4402 2017-02-06 18:04:37 +08:00
Benjy Cui
0408c8c133 style: update code style to fix lint 2017-02-06 15:12:02 +08:00
Benjy Cui
d2b8d65c87 style: update code style to please lint, close: #2179 2017-02-06 12:09:58 +08:00
afc163
2196774b7f update less code style 2017-02-06 10:54:59 +08:00
Benjy Cui
766cded638 docs: update docs for Grid, close: #4744 2017-02-06 10:28:59 +08:00
Jesper We
f7aaa0d399 Fix issues with the new Swedish locale provider. (#4762) 2017-02-05 22:18:10 +08:00
afc163
0eb5c689a3 remove type="ghost" from demo 2017-02-04 22:35:33 +08:00
afc163
a67264d68c Add aliases for icon naming style, close #4758 2017-02-04 18:10:25 +08:00
afc163
8775e7de5e Fix scroll Table lagging issue in IE, close #4522 2017-02-04 17:58:48 +08:00
afc163
70a0cc0940 fix badge borderColor 2017-02-04 01:14:10 +08:00
afc163
1a5f0f9fa7 remove whitespaces 2017-02-04 01:13:35 +08:00
afc163
fb421f10e0 Change another approach to fix #4637
avoid issues like #4750 and #4753 caused by old way
2017-02-03 19:01:06 +08:00
偏右
f786f607cf Fix misplace Badge when browser zoom above 100% (#4749)
close #4747 #4290 #4176
2017-02-03 14:20:42 +08:00
afc163
5f8988a266 fix ghost primary button hover border color 2017-01-31 21:27:23 +08:00
Graeme Yeates
1006015ef0 Add border customization variables (#4734)
* Add border customization variables (#4712)

* Make border styles customizable (fixes #4712)
2017-01-31 16:05:10 +08:00
afc163
7381cc95fe update input test case 2017-01-31 16:03:14 +08:00
afc163
767c4ab70d docs: update LocalProvider doc 2017-01-31 15:08:35 +08:00
afc163
99e7139634 docs: update LocalProvider doc 2017-01-31 15:08:07 +08:00
afc163
3a3efc3e5a test input auto calculate height 2017-01-30 20:05:47 +08:00
afc163
30b2fa2c37 Move locale files 2017-01-30 18:20:57 +08:00
afc163
dda37d873b update LocaleProvider documentation 2017-01-27 17:54:57 +08:00
afc163
490a90b46f Add localProvider test for more language 2017-01-27 17:49:20 +08:00
afc163
95a74044b0 fix eslint warning 2017-01-27 17:26:52 +08:00
afc163
f2bb4afd4d Merge from master 2017-01-27 17:23:51 +08:00
Rex
aadf623dc6 support notification pop up from topLeft or bottomRight or bottomLeft (#4700)
* update snapshots

* update snapshots

* support notification pop up from topLeft or bottomRight or bottomLeft

* update snapshots

* 1. add test
2. update doc
3. support `placement` arguments in `open` method

* update doc

* update doc.
2017-01-27 17:12:25 +08:00
paranoidjk
f2e19c16be fix(transfer): checkall should response to filter result; fix #4654 (#4665) 2017-01-27 17:08:12 +08:00
Wei Zhu
85086f14b6 Using a special static property for type detecting (#4673)
Related issue: #4655
2017-01-27 17:08:05 +08:00
afc163
1a3ea43ebe Fix style prop of spin 2017-01-27 14:27:18 +08:00
Penghan Wang
29081542e6 doc: fix checkbox description error (#4731) 2017-01-27 13:54:15 +08:00
Penghan Wang
8a412ae260 doc: improve document for Form validateFields (#4730) 2017-01-27 10:39:09 +08:00
Valentin Vichnal
6c0dba60e7 Create reverseArrow prop for Sider (#4611)
Create reverseArrow prop for Sider
2017-01-26 12:30:37 +08:00
陆离
e270fa87af Mention in controlled mode suggestions bug fix (#4718)
*  Mention in controlled mode suggestions bug fix

 + close #4716
2017-01-26 12:09:26 +08:00
陆离
340385d34d pass style props to Affix (#4715)
+ close #4701
2017-01-26 12:08:40 +08:00
陆离
5cd111d486 recalculate width while resize (#4676)
+ close #4645
 + throttleByAnimationFrameDecorator as a function decorator
2017-01-26 11:23:54 +08:00
Benjy Cui
879bc9320c docs: update docs for Tooltip, close: #4724 2017-01-26 10:56:24 +08:00
Walter Barbagallo
5e3618c26d Fix Popover demo typo (#4703) 2017-01-25 21:27:14 +08:00
afc163
1ce6f7fc35 remove unused varable @layout-content-margin, close #4714 2017-01-25 21:18:06 +08:00
Simon Waloschek
fd233cf430 Added German locale (#4686)
* Added German locale

* Added German locale for pagination
2017-01-25 21:12:27 +08:00
Wei Zhu
6a83118597 Upgrade rc-tree-select to 1.9.0 (#4698) 2017-01-25 11:15:41 +08:00
偏右
0dfdace923 Keep bundle size warning out of server side 2017-01-24 21:38:43 +08:00
afc163
edf9ebb0ef Fix Button font size inside Dropdown, close #4705 2017-01-24 17:59:17 +08:00
afc163
f4e887b784 remove steps demo 2017-01-24 16:07:03 +08:00
afc163
f3b2e155b5 style: Select height should flex with @input-height variable, close #4694 2017-01-24 15:20:06 +08:00
afc163
70188ae40e Merge branch 'feature-2.7' of github.com:ant-design/ant-design into feature-2.7 2017-01-24 15:10:34 +08:00
afc163
75128c8e22 fix ts error, ref #4675 2017-01-24 15:10:25 +08:00
afc163
e5a735e888 fix ts error, ref #4675 2017-01-24 15:10:04 +08:00
afc163
f4021d5255 Fix default locale in Upload, close #4697 2017-01-24 15:02:54 +08:00
afc163
a81bf8f73e use file.thumbUrl for <img /> in priority, close #4653 2017-01-24 14:59:39 +08:00
偏右
f850993fda More types of Button (#4679)
* Add Button[ghost] property, close #4625

* Add danger button

close #1308

* update API doc about ghost and danger property
2017-01-23 22:24:36 +08:00
偏右
273c089aad Add test case for LocalProvider (#4693) 2017-01-23 21:08:16 +08:00
afc163
bb54dce712 Add test case for Menu openKeys undefined bug
ref #4677 and #4692
2017-01-23 19:10:50 +08:00
afc163
720ea3690a expand dot responsive area 2017-01-23 16:18:49 +08:00
afc163
eb2a02618f update steps API 2017-01-23 16:09:34 +08:00
afc163
179f030d45 Remove labelPlacement 2017-01-23 16:04:05 +08:00
afc163
cd9c85c969 fix code demo type 2017-01-23 15:52:03 +08:00
ddcat1115
09397187ac Steps support progressDot and labelPlacement (#4659) 2017-01-23 14:37:40 +08:00
afc163
5b9d8f0e5a Fix style of Tabs[tabPosition&type="card"], close #4669 2017-01-23 14:11:14 +08:00
kacjay
1ed890c095 fix Menu selected change error (#4677)
protect none parameter[openKeys, defaultOpenKeys] Menu
2017-01-23 13:55:39 +08:00
caoyi
cebf3a4c9e docs: fix Mention props API (#4683) 2017-01-22 19:49:08 +08:00
afc163
7518fde405 Fix align issue inside InputGroup, close #4680 2017-01-22 18:50:12 +08:00
afc163
bcd3b63c50 update tag colorful demo 2017-01-22 16:23:11 +08:00
afc163
9598169f90 fix tag snapshot test 2017-01-22 16:21:18 +08:00
afc163
f343d6c606 fix tag snapshot test 2017-01-22 16:20:20 +08:00
afc163
a183ee8ede Adjust Tag vertical-align and margin 2017-01-22 16:09:13 +08:00
afc163
b2ee5b2319 Adjust Tag vertical-align and margin 2017-01-22 16:08:54 +08:00
Wei Zhu
f91ac37ad3 docs: Oops, no onHover event. 2017-01-22 15:05:32 +08:00
Wei Zhu
774b778474 docs: Add note to Popconfirm, Popover and tooltip about child node.
Related issue: #4672
2017-01-22 14:29:24 +08:00
afc163
2d2534321a Fix Table fixed header align issue, close #4637 2017-01-22 11:15:14 +08:00
Wei Zhu
c681e8acf2 docs: Add backquote to default value 2017-01-21 22:35:42 +08:00
Wei Zhu
77b78a9389 docs: Unify type naming (#4636)
* Unify name of ReactNode type in document

* Lowser all string type name

* Lowercase all number type name

* Lowercase all boolean type name

* Unify array type

* Lowercase all object type name

* Unify mutilple types
2017-01-20 20:10:50 +08:00
ddcat1115
d2c00fae4b fix Layout demo (#4661)
* fix Layout demo

* update snapshot
2017-01-20 20:09:59 +08:00
afc163
67da059874 fix demo language 2017-01-20 18:39:13 +08:00
afc163
35523be6e9 Merge from master 2017-01-20 18:28:09 +08:00
陆离
bee522133e docs: Autocomplete optionLabelProp document (#4663)
close #4656
2017-01-20 16:16:31 +08:00
Wei Zhu
823ac6c139 fix TableColumnConfig exporting, #4660 2017-01-20 16:08:20 +08:00
afc163
9c6ce3fe48 fix RangePicker snapshot 2017-01-20 14:12:06 +08:00
afc163
e245facb48 Fix table snapshots 2017-01-20 13:43:39 +08:00
afc163
fae7fd1658 Fix default value of Table showHeader, close #4658 2017-01-20 11:34:08 +08:00
Wei Zhu
fd861d6c0d Tweak empty table border (#4650) 2017-01-19 22:40:30 +08:00
afc163
ddc7054751 Fix fixed column table border radius 2017-01-19 21:51:53 +08:00
afc163
1db0e06bc4 Fix Table[small]'s title and footer border, close #4647 2017-01-19 21:49:03 +08:00
afc163
5203cabb8f update comment 2017-01-19 17:36:02 +08:00
afc163
fe5f8910dd Hide scroll bar in fixed header of table, close #4637 2017-01-19 16:08:21 +08:00
Benjy Cui
3e17551b7e site: improve build speed 2017-01-19 15:22:53 +08:00
afc163
df0426b2c9 workaround for table loading style in safari, close #4622 2017-01-19 15:08:28 +08:00
afc163
9189d3cc5d Fix Cascader[disabled] style with defaultValue, close #4648 2017-01-19 14:25:44 +08:00
Benjy Cui
e3758168e4 fix: should switch to right panels, close: #4561 (#4614)
* fix: should switch to right panels, close: #4561

* docs: update demo
2017-01-19 13:55:04 +08:00
afc163
8f57451d8c fix snap test for cascader upgrade 2017-01-17 13:45:26 +08:00
afc163
3a5d08383a upgrade rc-cascader and support keyboard, close #4411 2017-01-17 12:10:17 +08:00
afc163
ebc6d9d2c2 Merge branch 'master' of github.com:ant-design/ant-design 2017-01-17 11:47:44 +08:00
偏右
0a68959207 Fix openKeys and defaultOpenKeys of Menu, close #3783 (#4609) 2017-01-16 21:13:59 +08:00
afc163
75abadac84 Add doc about clearing Modal old state 2017-01-16 14:30:07 +08:00
afc163
efd1d1e89d Improve carousel default style 2017-01-15 22:48:57 +08:00
afc163
abd264ebf0 fix test case name 2017-01-15 14:37:22 +08:00
afc163
784915e55b Fix DatePicker time scroll issue, close #4412 2017-01-15 14:10:20 +08:00
afc163
041457fa5e fix typo 2017-01-15 13:39:44 +08:00
afc163
55da11db22 Fix Popconfirm not response, close #4606 2017-01-15 00:27:02 +08:00
afc163
fd6fc86b21 improve form validating style 2017-01-14 20:59:37 +08:00
paranoidjk
4d3f574d05 fix: typo; caused by #4435 2017-01-14 17:07:17 +08:00
kun sam
b6217e62df add warning when using Breadcrumb without its Item (#4435)
* add warning when using Breadcrumb without its Item

fix issue ' Warning: Unknown prop `separator` on <div> tag. When I using Breadcrumb #4403'

ps: 我是个前端beginner, - ( ゜- ゜)つロ, 这是我第一个PR welcome, 如果写错或者还有更好的写法请大神指正。thanks

* remove compatible and use type as condition

按照 @benjycui 的意见去掉了兼容项,并使用type判断
2017-01-14 15:25:37 +08:00
Rex
6e33285890 fix onVisibleChange arguments error (#4589)
* fix onVisibleChange arguments error

* add test

* trigger travis
2017-01-14 15:23:02 +08:00
Wei Zhu
c09cf95daa Fix Table filter test 2017-01-13 23:30:39 +08:00
偏右
6e3565b983 Add Form[hideRequiredMark] (#4500)
* Add Form[hideRequiredMark]

* omit hideRequiredMark

* Add test case for Form[hideRequiredMark]
2017-01-13 21:52:48 +08:00
偏右
10396419b5 Add preset color Tag (#4571)
* Add preset color Tag, close #4528

* Use color back over presetColor

* fix snap

* simplify isPresetColor
2017-01-13 21:25:55 +08:00
陆离
46c200896f Customize Input Component of AutoComplete (#4483)
* cherry-pick

* remove useless files

* remove useless files

* Group ts

* update interface

* ReactElement
2017-01-13 21:19:23 +08:00
Wei Zhu
65d1f721d3 Fix Table multiple levels filter menu (#4548)
fix #4541
2017-01-13 21:13:31 +08:00
Brett Lamy
78fe0a686f Update index.tsx (#4537) 2017-01-13 21:13:22 +08:00
偏右
3423d27493 When form layout is vertical, keep the colon inside label, close #4593 (#4599) 2017-01-13 21:12:31 +08:00
afc163
6a073c8c6e fix snap test 2017-01-13 19:03:59 +08:00
Hans Chan
3d58a3f608 docs: add property colon for Form.Item (#4505)
* docs: 修改错别字

* docs: add property `colon` for Form.Item

`colon` is available since 2.0.0-beta.1
2017-01-13 19:03:59 +08:00
Hans Chan
927581bb84 docs: add property colon for Form.Item (#4505)
* docs: 修改错别字

* docs: add property `colon` for Form.Item

`colon` is available since 2.0.0-beta.1
2017-01-13 18:05:24 +08:00
偏右
e032fa6a62 adjust entry file (#4594) 2017-01-13 17:48:30 +08:00
Benjy Cui
c4c1078f2d docs: update demos for Calendar 2017-01-13 17:11:26 +08:00
Benjy Cui
eeae03d681 docs: remove useless code 2017-01-13 15:14:06 +08:00
afc163
de544ad21b fix useless className 2017-01-12 20:38:20 +08:00
Benjy Cui
75c0ade1ce test: update snapshot 2017-01-12 10:38:14 +08:00
Benjy Cui
97221a6f63 css: fix style issue, close: #4415 2017-01-12 10:35:17 +08:00
wallverb
c01ee02758 chore: Change AutoCompleteProps to extend SelectProps (#4565)
* Change AutoCompleteProps to extend SelectProps

* Extract common props into AbstractSelectProps
2017-01-12 09:23:56 +08:00
Tao Zhang
477fde8b7f docs: Updated form description (#4574) 2017-01-12 09:09:59 +08:00
Wei Zhu
0ff50fc79d docs: Update Table JSX api note 2017-01-12 00:03:35 +08:00