Commit Graph

4721 Commits

Author SHA1 Message Date
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