Commit Graph

6460 Commits

Author SHA1 Message Date
afc163
f005974c56 refactor list less code 2017-12-16 17:29:49 +08:00
愚指导-TZ
c30ac8d138 update rate to 2.4.0 for support allowClear (#8627) 2017-12-15 15:30:38 +08:00
afc163
754d330bae Hide menu when collapsedWidth is 0, close #8587 2017-12-15 15:15:30 +08:00
afc163
7521348606 breakpoints of Layout.Sider should be same as Grid
close #8620
2017-12-15 14:37:36 +08:00
afc163
f54d73617f Fix switch demo 2017-12-15 13:47:46 +08:00
afc163
b84bf85526 update pagination active item design 2017-12-15 10:30:19 +08:00
Benjy Cui
df1c56ee18 docs: update docs 2017-12-15 10:00:28 +08:00
GauravV-02
fffde2d836 Resolved type name collisions (#8605) 2017-12-13 20:49:44 -06:00
Bartek
28e9d1ee88 Add option for disabling arrow icon in collapse panel (#8536) 2017-12-13 23:23:38 +08:00
Dane David
e496fffbb5 Docs fix for Tree Select (#8589) 2017-12-13 18:49:11 +08:00
Wang Jun
d825e27667 fix loading (#8571) 2017-12-13 18:49:00 +08:00
Dane David
5a94236c30 Version fix for rc-select. Update docs to add onInputKeyDown (#8552) 2017-12-13 04:34:54 -06:00
afc163
8f1fd4d68b Fix notFoundContent not working in AutoComplete, close #8553 2017-12-13 17:05:36 +08:00
afc163
0eac8aa1c6 Fix table title/footer/size style, close #8577 2017-12-13 11:19:52 +08:00
afc163
cd5761ffe6 update form doc 2017-12-13 10:50:03 +08:00
afc163
d6e429cd70 Tweak RangePicker align 2017-12-12 10:14:38 +08:00
afc163
45559c84be Fix arrow position of Popover, close #8548 2017-12-11 16:02:53 +08:00
afc163
1db952b575 clear unused popover style code, close #8549 2017-12-11 15:28:44 +08:00
afc163
31a0654ef9 Avoid affix element is higher than view port 2017-12-10 16:50:39 +08:00
afc163
e13c6d87fa Fix mini Pagination background color 2017-12-10 16:42:40 +08:00
afc163
913daa2668 Tweak table head icons style 2017-12-10 16:36:59 +08:00
afc163
a3271d9a03 update demo code style 2017-12-10 16:20:31 +08:00
afc163
eae1a0044c Fix nested Table size style, close #8525 2017-12-10 16:20:02 +08:00
GauravV-02
b5f13b49ae Fixed typo in documentation (#8534) 2017-12-10 11:23:45 +08:00
afc163
edd592cb9d Fix broken animation of Menu and Collapse 2017-12-08 22:25:50 +08:00
ddcat1115
f780759f91 fix large size formItem vertical align (#8495)
* - fix large size input with prefix/suffix vertical align
- fix large size button vertical align

* use large size for formItem default line-height

* improve
2017-12-08 20:57:30 +08:00
Dane David
e8d3be5dc2 Make Table props optional (#8515) 2017-12-08 15:36:32 +08:00
Dane David
687b058dc0 Add missing type definitions for table #8507 (#8511) 2017-12-08 14:24:34 +08:00
Wei Zhu
18723a37ee Update snapshot 2017-12-08 11:36:43 +08:00
Chuang Yu
36831c7f1d Add style prop for Divider (#8504) 2017-12-07 23:16:25 +08:00
wangxiaolei
d7475f47cb Fix menu doc in english version. (#8503) 2017-12-07 21:39:27 +08:00
Wei Zhu
43628b9848 docs: document Table[expandRowByClick] 2017-12-07 15:14:41 +08:00
Dane David
a1ada4f4f6 Add expandRowByClick API to Table docs (#8490) 2017-12-07 15:11:39 +08:00
konakona
b77adb352f Fix wrong translate (#8488) 2017-12-07 11:28:53 +08:00
Taylor Sabell
0589b23693 docs: fixed grammatical error (#8484) 2017-12-07 09:24:09 +08:00
afc163
61ab3a4a9e update switch demo 2017-12-06 20:20:32 +08:00
afc163
dd3f7f2da1 Revert table responsive code, close #8465 2017-12-06 19:58:21 +08:00
Nidhi Agarwal
6d0b488d7f Select - Moving defaultActiveFirstOption to AbstractSelectProps (#8383)
defaultActiveFirstOption Prop should be exposed to components which are extending AbstractSelectProps, even according the documentation of auto-complete.
2017-12-06 15:37:12 +08:00
afc163
0402e0333d Fix Notification less compile error, close #8437 2017-12-06 10:19:50 +08:00
Kamron Batman
3eb91cef47 docs: update start-end.md (#8462)
Fixes english and spelling in start-end.md.
2017-12-06 09:35:34 +08:00
Wei Zhu
1b2a9550d9 ListItemMetaProps's description and title should be optional 2017-12-05 16:28:12 +08:00
Wei Zhu
e27061ea5b ListItemProps.extra should be optional 2017-12-05 16:16:09 +08:00
Wei Zhu
4d74d5c22e Update snapshot for 2e45074 2017-12-05 15:27:26 +08:00
Wei Zhu
427be4cff5 Remove unused style property 2017-12-05 15:16:14 +08:00
afc163
2e45074fab Remove extra wrapper of Card 2017-12-05 13:36:52 +08:00
Wei Zhu
4d7ce541cd docs: TableColumnConfig has been renamed to ColumnProps
Close #8438
2017-12-05 09:50:23 +08:00
Wei Zhu
44b529b0d5 Omit loading for Switch 2017-12-04 20:45:09 +08:00
afc163
c9b2efc9e8 Add more test cases for Upload 2017-12-04 15:59:39 +08:00
afc163
5f35a69858 update steps demo 2017-12-04 14:51:51 +08:00
ddcat1115
1f0ee08574 Form item vertical align (#8415)
* fix formItem vertical align

* fix formItem vertical align

* rebase master
2017-12-04 14:00:15 +08:00
afc163
cc43bd3f12 Improve advanced form style, close #8339 2017-12-04 10:47:01 +08:00
afc163
554d27e725 Improve switch style 2017-12-03 23:36:19 +08:00
afc163
59cb320a7b Fix searchInput undefined in demo 2017-12-03 19:10:18 +08:00
afc163
81472aaf3b Fix custom filter dropdown focus issue, close #8411 2017-12-03 19:09:39 +08:00
Wei Zhu
45815d1148
Refactor confirm (#8409)
* Refactor confirm

* Add okCancel test

* Only test React 16

* Upgrade rc-dialog
2017-12-02 22:10:27 +08:00
afc163
bbbdb9911d Tweak popover arrow style 2017-12-02 17:13:21 +08:00
Graeme Yeates
1e47a6c518 Control checkbox button size with btn-height base instead of input-height-base (#8340) 2017-12-02 16:05:51 +08:00
afc163
f26261de31 Support Switch[loading] 2017-12-02 16:00:27 +08:00
Wei Zhu
2299ad41aa Add focus() and blur() to Input.Search 2017-12-01 19:39:32 +08:00
Wei Zhu
e613dc9050 Remove debug flag 2017-12-01 19:29:51 +08:00
Wei Zhu
d2dc88c470 Add focus() and blur() document
Close #3790
2017-12-01 19:28:41 +08:00
Wei Zhu
25f51cdd64 Add focus() and blur() for Slider 2017-12-01 18:01:14 +08:00
Wei Zhu
01f4b4e713 Merge branch 'master' into antd-3.0 2017-12-01 11:50:07 +08:00
Flynn
071149cfbb feature:add onCalendarChange for RangePicker (#8355)
* feature:add onCalendarChange for RangePicker

The event trigger when start time or end time is changing, which is useful for districting range user can select.

* Update index.zh-CN.md

update doc

* Update index.zh-CN.md

* Update index.zh-CN.md
2017-12-01 10:50:25 +08:00
Mathew
6f37caefe7 Update de_DE.tsx to support Upload component (#8394)
- Added german translations
2017-12-01 10:30:31 +08:00
Nathan Griffin
51b6e4904a Adding missing type properties (#8395) 2017-12-01 10:29:48 +08:00
Benjy Cui
57dcc78989 fix: should not override default footer, close: #8379 2017-11-30 17:24:51 +08:00
Wei Zhu
b44a0c93cd
Add focus() blur() and autoFocus to DatePicker (#8345) 2017-11-30 09:54:31 +08:00
Wei Zhu
4aeb811b72
Remove deprecations (#8351) 2017-11-30 09:53:32 +08:00
afc163
927853a1f1 seperate dark style of menu 2017-11-29 21:08:44 +08:00
afc163
05200385ee improve form demo 2017-11-29 21:04:45 +08:00
偏右
b531de3fee
Upgrade dev deps and fix lints (#8358)
* upgrade devDeps and fix lint

* Fix stylelint problems
2017-11-29 21:00:16 +08:00
Wei Zhu
179528af50
Don't change fileList when beforeUpload returns false (#8299)
Close #8036
2017-11-29 20:28:19 +08:00
niko
be1cbd4eae upgrade rc-calendar dependency to 9.3.0 (#8353) 2017-11-29 11:23:15 +08:00
ddcat1115
91fc059c9d fix input with addon(in form) vertical align issue (#8325) 2017-11-29 11:20:38 +08:00
偏右
250eed0fc9
Link button (#8343)
* support link button

* Fix type
2017-11-29 11:20:22 +08:00
afc163
bd9fba9f45 Better responsive style of Table 2017-11-28 14:35:46 +08:00
Wei Zhu
6f312a716b Update snapshot 2017-11-28 11:12:51 +08:00
Wei Zhu
57d80c0c70 Upgrade rc-rate 2017-11-28 10:49:56 +08:00
Wei Zhu
c8a49c45fc Upgrade rc-select 2017-11-28 09:51:29 +08:00
afc163
72741db902 Fix margin of nested FormItem, close #8320 2017-11-27 22:14:15 +08:00
Cody Chan
086ecec310 docs(transfer): append description for render property (#8335) 2017-11-27 20:48:16 +08:00
afc163
c0b7bdb9f3 Tweak components style detail 2017-11-27 14:51:46 +08:00
afc163
bf70d30a60 no prevent label click default behavior 2017-11-27 11:02:47 +08:00
afc163
9a49a5c775 revert 61968b91 2017-11-27 11:01:06 +08:00
ChrisF
cd7a04a069 change children prop of TableProps to React.ReactNode (#8317)
* make children prop of RadioGroupProps optional

* change children prop of TableProps to React.ReactNode
2017-11-27 10:53:55 +08:00
afc163
539cca5cc4 update snapshot 2017-11-27 10:53:54 +08:00
afc163
7604495ab4 Fix RadioGroup id props 2017-11-27 10:49:17 +08:00
afc163
61968b91cf Fix link in form item label 2017-11-27 10:43:35 +08:00
afc163
1662710acd contextMenu Dropdown, close #7232 2017-11-26 14:02:38 +08:00
ChrisF
eb5d423ca7 make children prop of RadioGroupProps optional (#8307) 2017-11-24 15:36:59 +08:00
Wei Zhu
8e907cebde Fix tree draggable demo
Close #8246
2017-11-24 15:29:36 +08:00
ddcat1115
0865824b61 fix buttonSize type
close #8304
2017-11-24 14:46:55 +08:00
ddcat1115
da14cba722 add 3 icons 2017-11-22 18:11:24 +08:00
afc163
c23e24b0f0 Merge branch 'master' into antd-3.0 2017-11-22 17:30:31 +08:00
afc163
dada590d2d Fix dark menu popup animation 2017-11-22 17:29:58 +08:00
Wei Zhu
a64337748a Fix table row create on every render.
Fix #8283
2017-11-22 17:27:32 +08:00
潘晓升
8b2d7e3982 Update index.tsx (#8280)
add the “style” property for declare file
2017-11-22 14:46:40 +08:00
afc163
4a81e5584f Fix message destroy problem, close #8201 2017-11-22 14:44:06 +08:00
Wei Zhu
d2b59938b8 Fix code style 2017-11-22 12:16:19 +08:00
Wei Zhu
541b9d146a Fix implicit any error for _util 2017-11-22 12:14:43 +08:00
Wei Zhu
b8a08f6e1d Fix implicit any error for Affix 2017-11-22 11:49:35 +08:00
Wei Zhu
c0a42480ae Fix implicit any error for Anchor 2017-11-22 11:34:46 +08:00
Wei Zhu
c27d4deb72 Fix implicit any error for AutoComplete 2017-11-22 11:26:04 +08:00
Wei Zhu
db560bb10d Fix implicit any error for Badge 2017-11-22 11:25:05 +08:00
Wei Zhu
de340a83ba Fix implicit any error for Breadcrumb 2017-11-22 11:10:33 +08:00
Wei Zhu
ebce4b3599 Fix implicit any error for Card 2017-11-22 11:07:19 +08:00
Wei Zhu
f4dc69f5f0 Fix implicit any error for Calendar 2017-11-22 11:05:19 +08:00
Wei Zhu
50f85480d1 Fix implicit any error for Carousel 2017-11-22 10:54:27 +08:00
Wei Zhu
ecaf3a0883 Fix implicit any error for Cascader 2017-11-22 10:11:16 +08:00
Wei Zhu
2fe2e35a52 Fix implicit any error for Checkbox 2017-11-22 10:08:28 +08:00
Wei Zhu
9fd3588ac4 Fix implicit any error for DatePicker 2017-11-21 21:09:24 +08:00
Wei Zhu
93fcbdf334 Fix implicit any error for Divider 2017-11-21 20:48:22 +08:00
Wei Zhu
ad21c9837f Fix implicit any error for Form 2017-11-21 20:45:24 +08:00
Wei Zhu
bebc57978d Fix implicit any error for Grid 2017-11-21 20:38:30 +08:00
Wei Zhu
05c702838d Fix implicit any error for Input 2017-11-21 20:38:30 +08:00
Wei Zhu
bcbdd12ce1 Fix implicit any error for LocalProvider 2017-11-21 20:38:30 +08:00
Wei Zhu
f14d57dc14 Fix implicit any error for Mention 2017-11-21 20:38:30 +08:00
Wei Zhu
dc322a6a9c Fix implicit any error for Layout 2017-11-21 20:38:30 +08:00
Wei Zhu
e7042ae541 Fix implicit any error for List 2017-11-21 20:38:30 +08:00
Wei Zhu
b6c6ee8f3e Fix implicit any error for Modal and Menu 2017-11-21 17:38:51 +08:00
Wei Zhu
d8f6c3bd8c Fix implicit any error for Modal and Message 2017-11-21 17:20:25 +08:00
afc163
a8e5690805 Merge branch 'master' into antd-3.0 2017-11-21 15:59:48 +08:00
slientcloud
499b81f79d fix(tooltip): support defaultVisible for tooltip, close #8257 (#8258) 2017-11-21 15:53:03 +08:00
Wei Zhu
8292808292 Fix implicit any error for Notification 2017-11-21 15:48:53 +08:00
Wei Zhu
c4c3e74149 Fix implicit any error for Pagination PopConfirm Popover Progress 2017-11-21 15:37:39 +08:00
Wei Zhu
9b5a16ba93 Fix implicit any for Radio 2017-11-21 15:22:27 +08:00
Wei Zhu
b647078baa Fix implicit any for Select Slider Spin Switch 2017-11-21 14:58:08 +08:00
Wei Zhu
5cb5a2ae9d Fix implicit any error for Table 2017-11-21 14:22:35 +08:00
Nokecy
08d27b92ee inputNumber 添加onKeyDown属性声明 (#8253) 2017-11-21 11:15:38 +08:00
afc163
81fc6d613c Merge branch 'master' into antd-3.0 2017-11-21 10:19:39 +08:00
afc163
9dd858cc62 Fix selector priority, close #8245 2017-11-21 10:19:11 +08:00
Benjy Cui
00ff041d16 fix: submenu should work fine in dropdown, close: #8248 2017-11-21 10:06:26 +08:00
Wei Zhu
5e9daf08d7 Fix implicit any error for Tabs. 2017-11-20 22:06:01 +08:00
Wei Zhu
2cf3414d69 Improve TimePicker type definitions 2017-11-20 18:27:36 +08:00
Wei Zhu
ac7212eba8 Improve Tooltip type definitions 2017-11-20 18:20:16 +08:00
Wei Zhu
54b1715d2a Improve Transfer type definitions. 2017-11-20 17:54:19 +08:00
Wei Zhu
6837aedf69 Imporve tree and tree-select type definitions 2017-11-20 17:11:13 +08:00
Wei Zhu
cbaf54415e style: Use single quote 2017-11-20 16:53:56 +08:00
Wei Zhu
03e4411589 Improve upload type definition 2017-11-20 16:43:25 +08:00
Wei Zhu
45135e4ec8 Improve upload type definition. 2017-11-20 16:31:41 +08:00
Benjy Cui
e8b4892a70 site: fix demo, close: #8227 2017-11-20 15:19:43 +08:00
Wei Zhu
814f9a72de Set work-break explicitly form progress text 2017-11-20 14:59:13 +08:00
afc163
3406c6598a Fix submenu z-index 2017-11-20 14:58:03 +08:00
afc163
7049a45d8e Fix submenu width, close #8236 2017-11-20 14:37:14 +08:00
afc163
8e6e91b932 Fix menu active style
close ant-design/ant-design-pro#222
2017-11-20 10:56:56 +08:00
Benjy Cui
09fd564af9 feat: upgrade rc-menu (#8235) 2017-11-20 10:33:34 +08:00
Wei Zhu
2de0a6a522
Add use in TypeScript instruction (#8230) 2017-11-19 22:00:44 +08:00
Wei Zhu
09aaa56243 Update snapshot 2017-11-19 21:07:08 +08:00
Wei Zhu
bf4ad93f2c Update rc-select 2017-11-19 20:14:53 +08:00
Wei Zhu
9678d3fcfd
Focus && blur support (#8204)
* Add test for select

* Add focus() and blur() for AutoComplete

* Add focus() and blur() to Cascader

* Add focus test for input

* Add focus() and blur() for Checkbox

* Add focus() and blur() for Radio

* Add focus() and blur() for Switch

* Add blur() for TimePicker

* Add focus() and blur() to TreeSelect
2017-11-19 01:41:40 +08:00
Wei Zhu
22e5c0d954
Allow fix table selection column (#8195) 2017-11-18 23:46:24 +08:00
afc163
0627d9a3a0 Fix MenuItem margin 2017-11-18 17:49:33 +08:00
afc163
797754d3fd Fix message cannot hide bug, close #8201 2017-11-18 15:26:02 +08:00
afc163
8ca9c9513d Merge branch 'master' into antd-3.0 2017-11-18 14:29:56 +08:00
David Tsai
b3b3ee043e Update Select component documentation (#8229)
Providing clarity through reworking the description(s) on usage.
2017-11-18 13:13:55 +08:00
afc163
32d96e366b Refator to allow set color of Rate easily
now we can use `<Rate style={{ color: '#00c' }}>`

close #8197
2017-11-18 01:10:46 +08:00
Wei Zhu
633708fee9 export BodyRowClass 2017-11-18 00:54:54 +08:00
Wei Zhu
67336fca7b Rename TableRow to BodyRow 2017-11-18 00:36:22 +08:00
Wei Zhu
5970dbb1ec Fix table row selected className
Close #8074 #8075
2017-11-18 00:03:30 +08:00
Benjy Cui
ac463a10f2 deps: upgrade form to 2.0.0 (#8207) 2017-11-17 21:19:10 +08:00
Wei Zhu
f78d33ed59
Update rc-table (#8187)
* Update rc-table

* Add table drag sorting demo
2017-11-17 18:53:07 +08:00
Wei Zhu
4f1da98045 Merge branch 'master' into antd-3.0 2017-11-17 14:39:53 +08:00
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports (#8218) 2017-11-17 14:38:54 +08:00
afc163
b77e7ed554 Fix extra 0.5px height in chrome
close #8220
2017-11-17 12:13:07 +08:00
nikogu
fdf0c11ec7 Fixed List snapshots 2017-11-17 11:31:54 +08:00
niko
f6a730e2fe
List empty style (#8190) 2017-11-17 11:25:29 +08:00
afc163
1e1c6d1c72 Merge branch 'master' into antd-3.0 2017-11-16 19:58:20 +08:00
afc163
46d1296045 Fix async test cases 2017-11-16 17:12:36 +08:00
Benjy Cui
06a1b6ed23 fix: should not throw error when keydown in menu, close: #8089 (#8211) 2017-11-16 16:08:30 +08:00
afc163
9b552087cd Fix tag test case 2017-11-15 15:00:29 +08:00
Oleksandr Kovalchuk
fce6862696 Feature: uk_UA locale (#8169)
* Add uk-UA localization

Ukrainian localization for the following components:

- locale-provider
- DatePicker
- TimePicker
- Calendar

* Add uk_UA locale to test suite

* Add uk_UA locale to tests snapshot

Tests on CI are failing because there are no snapshot for uk_UA locale.
Generate a snapshot with `npm test -u` command and add it to the test
suite.
2017-11-14 16:10:54 +08:00
Wei Zhu
fbafe9eac1 Add table filter test 2017-11-13 22:36:50 +08:00
afc163
bf36ebdf5e Merge branch 'master' into antd-3.0 2017-11-13 21:24:32 +08:00
Wei Zhu
645be586f3 Run jest.useFakeTimers in beforeAll 2017-11-13 10:46:54 +08:00
Benjy Cui
16133aac65 docs: add validateMessage for createForm, close: #965 2017-11-13 10:36:16 +08:00
afc163
a4faaad810 Merge branch 'master' into antd-3.0 2017-11-13 10:24:58 +08:00
afc163
cad769af91 No more __ANT_LAYOUT_SIDER in favor of #8077 2017-11-12 15:22:02 +08:00
afc163
3c648820a0 Fix badge style 2017-11-12 14:10:41 +08:00
afc163
09af43c314 Allow Badge[status] usage with Badge[children], close #8164 2017-11-12 13:58:12 +08:00
Graeme Yeates
b46cb4b740 Add a variable to control processing colors (#8166) 2017-11-11 14:15:16 +08:00
Wei Zhu
55c85f77a1
Update dependendies (#8150)
* deps: upgrade rc-menu, and close: #2837

* test: update snapshots

* Update rc-calendar

* Update rc-cascader

* Update rc-dialog

* Update dropdown

* Update rc-select@7.1.0

* Update rc-slider

* Update rc-time-picker

* Update rc-tooltip

* Update rc-tree-select

* Mock rc-trigger and Portal

* Fix animation warning when inlineCollapsed changes

* fix: should use SubMenu[popupClassName]

* Fix typescript error

* Fix lint

* fix: style for menu

* Mock rc-trigger for React 15

* Remvoe allow_failures
2017-11-11 00:07:03 +08:00
afc163
4999a60643 update form demo 2017-11-10 17:19:47 +08:00
afc163
58e3743c6d Tweak cascader arrow style 2017-11-10 17:15:02 +08:00
afc163
2e126c1323 Fix Rate style under form item 2017-11-10 17:09:35 +08:00
Wei Zhu
0c7ce9db17 Use props
Related #7706
2017-11-10 09:48:07 +08:00
afc163
b53e76cbd5 Merge branch 'master' into antd-3.0 2017-11-09 20:37:30 +08:00
afc163
54188b8e97 Reset timer in test 2017-11-09 20:33:25 +08:00
afc163
148e5bd887 Fix super argument 2017-11-09 20:17:03 +08:00
afc163
ea185fe288 Fix code style 2017-11-09 20:14:51 +08:00
afc163
0eca38ba2f Add has sider test case, ref #8077 2017-11-09 20:13:59 +08:00
Yasin Uslu
b3e1192482 Detect Sider even if it's not first child of layout (#8077)
* Fix typo in layout

* Detect Sider even if it's not first child of layout
2017-11-09 20:04:34 +08:00
afc163
4022374f33 Fix snapshot 2017-11-09 19:49:40 +08:00
afc163
855e0ff78d Fix super argument 2017-11-09 19:45:55 +08:00
afc163
856ecd4ae3 Merge branch 'master' into antd-3.0 2017-11-09 19:45:06 +08:00
afc163
97a889da00 Fix snapshot 2017-11-09 19:38:04 +08:00
afc163
d30e398859 Fix upload.test.js 2017-11-09 19:34:48 +08:00
Graeme Yeates
8395de01a2 Add support for column defaultSortOrder (#6449) (#8111)
Fixes #6449
2017-11-09 19:30:24 +08:00
chaofeis
c168a92f18 docs: add missing key prop for controlled tag demo (#1) (#8147) 2017-11-08 23:46:24 -06:00
afc163
72aa5e0763 Fix input group align bug in Chrome 62
close ant-design/ant-design-pro#139
2017-11-08 19:53:03 +08:00
D & R
10ab3f5187 fix flattenTree in Cascader (#8130) (#8136) 2017-11-08 15:56:58 +08:00
afc163
4790f84657 Fix AutoComplete and Input affix style conflict, close #8081 2017-11-08 15:11:57 +08:00
afc163
2d17d8a768 refactor edit-row demo, close #8026 2017-11-07 21:03:14 +08:00
Wei Zhu
e5a57ff60a Improve Select type definition
Close #8128
2017-11-07 17:33:09 +08:00
afc163
a99c8c7175 Fix snapshot 2017-11-07 11:12:10 +08:00
Wei Zhu
67fee48c6a Run test against multiple react versions 2017-11-07 10:51:25 +08:00
afc163
42e219389d Fix key warning 2017-11-07 10:48:05 +08:00
afc163
5e7c735935 Fix ts compile error 2017-11-06 22:20:54 +08:00
偏右
bdceb5f083
Review fix (#8125)
* Fix style

* Fix style

* fix lint

* Fix more styles

* Fix more styles

* update snap
2017-11-06 21:28:51 +08:00
afc163
2f0197599f Merge branch 'master' into antd-3.0 2017-11-06 21:19:44 +08:00
afc163
ac96bad478 Improve demo details and update snapshot 2017-11-06 21:14:40 +08:00
Wei Zhu
d6ace6663b Update snapshot 2017-11-06 19:00:36 +08:00
afc163
714b4ae06a Merge branch 'master' into antd-3.0 2017-11-06 10:35:41 +08:00
Benjy Cui
ffe36725d6 docs: remove duplicated APIs 2017-11-06 10:01:39 +08:00
kossel
92aa34c1b5 Feature antd 3.0/spinning indicator (#7977)
* Added indicator props to Spin component

* Added indicator props to Spin component

* update snapshots

* fix defautl props

* revert some snapshot files
2017-11-04 12:05:25 +08:00
Benjy Cui
de0493d82b docs: translate, ref: #8100 2017-11-03 15:02:26 +08:00
Josué
c00a2aabe2 docs: add missed time picker props (#8100)
* Add missed time-picker props

* Update time picker docs for missed props
2017-11-03 01:55:06 -05:00
afc163
59db56e953 Fix popupVisible of Cascader not working, close #8088 2017-11-03 13:03:54 +08:00
afc163
ca1b79ad34 Add Badge[offset] 2017-11-03 11:37:35 +08:00
Kyle Kelley
43864988e3 correct spelling of progress (#8101)
`@process-default-color` --> `@progress-default-color`
2017-11-03 09:43:02 +08:00
David Schneider
a5c3a6c930 In SliderProps type definition, replace void types with null. (#8102)
With TypeScript compiler option ‘strictNullChecks’ enabled, the value `null` cannot be assigned to type `void`. This means, for instance, that it’s impossible to pass a `null` value for prop `step`. I don’t expect that substituting `null` for `void` in these type definitions should cause anyone difficulty; because these are optional props, a consumer of this component should be able to pass `null` or `undefined` safely, whether or not the compiler is using strict null checks.
2017-11-03 09:40:56 +08:00
afc163
9b2c40cdd7 avoid triggering unmatch when unregister 2017-11-01 22:10:11 +08:00
afc163
05c56553a2 Fix gutter PropTypes 2017-11-01 21:40:47 +08:00
afc163
b4bd906bf0 Fix responsive grid gutter 2017-11-01 20:31:26 +08:00
afc163
dd8b6347c7 Fix enquire in server render 2017-11-01 19:08:16 +08:00
afc163
09c2df4093 Fix test case 2017-11-01 18:51:55 +08:00
afc163
692efefe31 Support responsively grid gutter 2017-11-01 18:33:41 +08:00
afc163
1c8fbb8899 update code style 2017-11-01 15:46:41 +08:00
afc163
bf82b4c49b Fix suffix of Input.Search
close #7970
2017-11-01 12:12:16 +08:00
Benjy Cui
51785aa6eb deps: upgrade TypeScript to 2.6, close #8018 2017-11-01 11:47:22 +08:00
afc163
81cf43905d Fix Alert backgroun and border color 2017-10-31 19:39:55 +08:00
afc163
3072aff31f Merge branch 'master' into antd-3.0 2017-10-31 18:47:39 +08:00
afc163
296dfc7375 vertical progressDot Steps style 2017-10-31 15:15:51 +08:00
Benjy Cui
b38c9c11a8 test: simplify snapshots for LocaleProvider 2017-10-31 14:55:53 +08:00
Wei Zhu
8c904de7d4 Add form wrappedComponentRef test 2017-10-31 01:33:56 -05:00
Benjy Cui
7ff7519207 fix: upgrade rc-form and refactor to be compatible with react@16 2017-10-31 01:33:56 -05:00
afc163
2a14b4667d Fix progress dot step style 2017-10-31 14:04:07 +08:00
afc163
7cc3e2c1cd Fix input checkbox or radio disappeared, ref #7974 2017-10-31 13:57:45 +08:00
翁润雨
58fe3277d8 add the 'selectable' attribute (#8048) 2017-10-31 13:57:45 +08:00
afc163
7c3a483190 Fix input checkbox or radio disappeared, ref #7974 2017-10-30 13:19:53 +08:00
Benjy Cui
70291d5514 chore: update size props order, ref: d12f247 2017-10-30 10:52:05 +08:00
afc163
d12f247e63 Fix api order 2017-10-29 15:40:50 +08:00
afc163
b61cb8f99e update select group title style 2017-10-29 14:21:00 +08:00
翁润雨
f64e24af8c add the 'selectable' attribute (#8048) 2017-10-28 19:39:33 +08:00
afc163
25a013a84b Fix snapshot 2017-10-28 15:23:46 +08:00
afc163
7537aa11d0 Fix input shadow in iOS safari, ref #7974 2017-10-28 15:08:39 +08:00
afc163
0908293c42 update TimePicker demo snapshot 2017-10-28 15:02:33 +08:00
afc163
23caba1b65 Upgrade rc-time-picker to 3.0.0
Add `hourStep` `minuteStep` `secondStep`
2017-10-28 15:01:54 +08:00
afc163
d96284c798 Merge branch 'master' into antd-3.0 2017-10-27 20:22:17 +08:00
vgeyi
8bde0c0fee Rewrite the MenuItem to handle ref for react 16 (#8037)
* ReWrite MenuItem to remove ref warning for react 16

* unified coding style

* add removing semicolon
2017-10-27 07:21:34 -05:00
nikogu
9696739a36 update Menu snapshots 2017-10-27 18:24:07 +08:00
nikogu
c664d843fb fixed: https://github.com/ant-design/ant-design/issues/8040 2017-10-27 17:40:31 +08:00
ddcat1115
b7a7758f37 try to fix ci 2017-10-27 16:33:24 +08:00
nikogu
5db04b6d4b update list grid padding bottom 2017-10-27 15:24:11 +08:00
ddcat1115
7acf29bc9c tweak Card style 2017-10-27 15:08:10 +08:00
afc163
fce4860243 Add Divider[dashed] prop 2017-10-26 21:00:20 +08:00
afc163
091b84008f update demo 2017-10-26 20:39:58 +08:00
afc163
099d5a0822 Tweak select arrow style 2017-10-26 19:39:04 +08:00
afc163
8f50324a94 Merge branch 'master' into antd-3.0 2017-10-26 19:34:11 +08:00
afc163
ad9809ec2e Fix extra padding of loading Card when it is too wide 2017-10-26 19:20:12 +08:00
afc163
11c3abb3aa Fix list border 2017-10-26 15:36:48 +08:00
afc163
c44f9528be Tweak list style 2017-10-26 15:07:01 +08:00
afc163
cbcc073aca Fix menu style 2017-10-26 13:38:18 +08:00
afc163
0e5155567c Fix menu active border 2017-10-26 11:59:18 +08:00
afc163
e2bff100bd Fix upload style 2017-10-26 11:59:18 +08:00
Benjy Cui
e5699aff68 fix: should not import moment while useless, close: #8013 2017-10-26 10:50:18 +08:00
Wei Zhu
bbb1a3a828 Merge branch 'master' into antd-3.0 2017-10-25 10:27:38 +08:00
Wei Zhu
36227a10db docs: sort api table 2017-10-25 10:25:44 +08:00
Wei Zhu
7776cf62a7 Merge branch 'master' into antd-3.0 2017-10-25 10:25:02 +08:00
Wei Zhu
f28d0d4d82 docs: Document onRowContextMenu
close #7820
2017-10-25 10:00:44 +08:00
afc163
35f1bf5f94 Fix mini size pagination style 2017-10-24 20:39:38 +08:00
For177
6d68d5d8fc Update index.zh-CN.md (#8002) 2017-10-24 04:31:12 -05:00
afc163
89a3b22791 Fix menu style 2017-10-24 15:56:28 +08:00
afc163
d8c9b77468 fix snapshot 2017-10-24 15:44:11 +08:00
afc163
2ef2925c8e update card and tabs style 2017-10-24 15:29:10 +08:00
Benjy Cui
67be1eafa9 test: fix CI 2017-10-24 14:08:39 +08:00
afc163
3c1b4da51e Fix autoprefix warning 2017-10-23 20:53:59 +08:00
afc163
9181db8a01 Fix autoprefix warning 2017-10-23 20:52:41 +08:00
afc163
43f5ed30ac Fix snapshot 2017-10-23 20:43:31 +08:00
afc163
c472ed27f8 Merge branch 'master' into antd-3.0 2017-10-23 19:40:14 +08:00
Wei Zhu
d829f6c008 docs: expandedRowRender can not be boolean 2017-10-23 11:21:05 +08:00
afc163
3f57d5f56d Merge branch 'master' into antd-3.0 2017-10-23 10:41:51 +08:00
Benjy Cui
ff5d05129f docs: translate 1599686 2017-10-23 10:37:31 +08:00
kossel
1599686fc2 docs: update docs for Modal, close #7840 (#7952) 2017-10-22 21:35:47 -05:00
朮厃
8e1cb081db Remove the inner shadow on iOS inputs. (#7974) 2017-10-23 10:05:53 +08:00
ddcat1115
c9bc8d7095 fix Upload ci 2017-10-22 23:36:27 +08:00
ddcat1115
12819130ec fix Table filter can't show after remove fixed setting. (#7962)
* fix Table filter can't show after remove fixed setting.
close #7909

* improve
2017-10-22 02:54:12 -05:00
afc163
8e09745def Fix #7969 2017-10-22 15:23:34 +08:00
afc163
86da4a95ce Fix lint 2017-10-21 20:06:12 +08:00
afc163
7286e6d0d0 Fix extra margin in sider Layout
which is a margin collaspe problem

close #7967

ref: https://stackoverflow.com/a/33132624/3040605
2017-10-21 15:12:56 +08:00
afc163
529f9fa933 use @heading-color again 2017-10-20 15:49:28 +08:00
afc163
ef443ad047 Merge branch 'master' into antd-3.0 2017-10-20 15:47:42 +08:00
syssam
f8b7aad53d less variable @form-vertical-label-padding, @form-vertical-label-margin, @input-padding-horizontal-base, @input-padding-horizontal-sm, @input-padding-horizontal-lg (#7886) (#7919) 2017-10-20 15:11:44 +08:00
afc163
3d6b142621 fix notification ci 2017-10-20 15:10:53 +08:00
Stephen Esser
88ed97b63d doc: Fix spelling mistake in Select demo (#7932) 2017-10-20 14:54:57 +08:00
Benjy Cui
7ea572bfc8 refactor: extract common locale logic (#7915) 2017-10-20 14:54:38 +08:00
afc163
3bc8f1ce5a Tweak form nested form style 2017-10-20 11:35:05 +08:00
vgeyi
d64ab68adb Cascade add prefixCls for child Input (#7945) 2017-10-19 21:55:06 -05:00
Zhang Zhi
7bc6aad1fd Update button code to make it more clearer (#7929)
* remove unnecessary default value of 'size' prop

* `clicked` should be a state
2017-10-19 21:52:06 -05:00
memoryza
cf397a27f0 update Breadcrumb readme (#7947)
* update Breadcrumb readme

* update english
2017-10-19 22:36:49 +08:00
afc163
a5aba1fc51 Tweak style 2017-10-19 20:58:16 +08:00
afc163
3bf9c8c4c5 fix tabs style 2017-10-19 20:33:22 +08:00
afc163
7ef4771ddf update style 2017-10-19 16:38:12 +08:00
afc163
43bf7c5595 update dark menu color 2017-10-19 16:07:39 +08:00
afc163
7c8702ec61 Tweak popover arrow style 2017-10-19 16:00:24 +08:00
afc163
ca3835bf58 Tweak progress dot step style 2017-10-19 14:52:11 +08:00
afc163
b2e2a83662 rollback popconfirm padding 2017-10-19 11:45:56 +08:00
afc163
a68dd71cff Tweak card background 2017-10-19 10:01:59 +08:00
ddcat1115
712637907d fix #7930 2017-10-18 23:52:54 +08:00
afc163
4ab7c648ce Fix upload loading 2017-10-18 21:30:48 +08:00
afc163
b51bc4a63a update card demo 2017-10-18 21:20:11 +08:00
afc163
ca0504da35 Add size="large" Tabs 2017-10-18 21:17:18 +08:00
afc163
91ffaea060 fix tag radius 2017-10-18 21:01:09 +08:00
afc163
009ba523d7 update @layout-body-background 2017-10-18 20:59:48 +08:00
afc163
f33b1a279a update style 2017-10-18 19:45:41 +08:00
afc163
f87a64316a update style 2017-10-18 19:41:44 +08:00
afc163
90e82f1cff Tweak timeline style 2017-10-18 17:42:00 +08:00
afc163
914fec9ac4 Tweak badge padding 2017-10-18 17:19:42 +08:00
偏右
ffffd0f4c5 Fix styles (#7924)
* update demo

* Fix styles

* fix snap

* Fix back-top ci
2017-10-18 17:16:14 +08:00
Benjy Cui
d0b08cd2ea test: fix CI 2017-10-18 16:55:12 +08:00
afc163
a9073988ec Merge branch 'master' into antd-3.0 2017-10-18 14:07:53 +08:00
Nekron
5017234381 doc: fix spelling mistakes in dropdown demo (#7912) 2017-10-17 11:20:33 -05:00
niko
70491fe4ad fixed https://github.com/ant-design/ant-design/pull/7733 (#7914) 2017-10-18 00:05:10 +08:00
afc163
e7eb8693b6 Fix snap 2017-10-17 21:32:01 +08:00
afc163
c2e91d3b22 update some demo 2017-10-17 21:03:23 +08:00
afc163
ad4d5ce18a Fix dragger background 2017-10-17 20:56:29 +08:00
afc163
0b5f770fec fix card loading margin style 2017-10-17 17:01:26 +08:00
afc163
825e088d45 Fix switch text font size 2017-10-17 15:22:53 +08:00
afc163
f74252b9de Fix input height in AutoComplete 2017-10-17 15:21:35 +08:00
afc163
43d8c6ad37 Fix input height in AutoComplete 2017-10-17 15:19:38 +08:00
afc163
c5ffc3b4f0 Fix upload and badge styles 2017-10-17 15:01:21 +08:00
afc163
274985d320 fix button margin inside 2017-10-17 15:01:21 +08:00
afc163
31132d1b5b Tweak checkbox margin 2017-10-17 15:01:21 +08:00
afc163
5f37d9df24 doc: fix expandedRowRender type, close #7901 2017-10-17 15:01:21 +08:00
nikogu
f8f3e0f936 list update pagination margin top 2017-10-17 14:17:20 +08:00
Benjy Cui
7841386fcd fix: should close panel when click presetted ranges, close: #7747 2017-10-17 13:57:39 +08:00
afc163
f26217b36f Tweak checkbox margin 2017-10-17 11:06:25 +08:00
afc163
b80d705a2d Add @timepicker-item-height 2017-10-16 21:52:15 +08:00
afc163
161f0800d3 fix ci 2017-10-16 21:38:14 +08:00
afc163
fda3f6ddcd doc: fix expandedRowRender type, close #7901 2017-10-16 21:22:16 +08:00
afc163
dfb3b4136b Fix snap 2017-10-16 21:15:53 +08:00
afc163
91a64d0567 Tweak styles 2017-10-16 21:12:49 +08:00
afc163
00bfa49031 Merge branch 'master' into antd-3.0 2017-10-16 20:45:25 +08:00
afc163
2a34866e83 update layout demo 2017-10-16 20:39:53 +08:00
afc163
9dfde961f3 Fix time-picker demo 2017-10-16 20:29:49 +08:00
afc163
19324e3360 update calendar demo 2017-10-16 20:12:21 +08:00
afc163
26e416c364 Tweak style 2017-10-16 19:56:04 +08:00
afc163
fe44e33689 Tweak tag styles 2017-10-16 16:13:35 +08:00
afc163
e2c4ad3ba7 More preseted colors of tag 2017-10-16 15:38:34 +08:00
afc163
14a58c9960 Tweak input addon background 2017-10-16 14:49:32 +08:00
Wei Zhu
e6b1ba6a28 Mock requests 2017-10-15 17:34:03 +08:00
afc163
11ff9e0d6a Add snapshot for new locale 2017-10-14 14:49:44 +08:00
Mohamed Seada
fa315e9f6d Add new locale (ar-EG: Arabic Egypt) #3 (#7888)
* Add new locale (ar-EG: Arabic Egypt)

* resolve snapshot testing problem

* Add new locale (ar-EG: Arabic Egypt) to docs
2017-10-14 14:30:54 +08:00
vgeyi
0a6475cb0d Badge add scrollNumberPrefixCls (#7882)
* badge add scrollNumberPrefixCls

* badge add scrollNumberPrefixCls
2017-10-14 14:29:18 +08:00
Kiho · Cham
31d1ce91f7 feat: duration argument is optional (#7874) 2017-10-14 14:28:57 +08:00
niko
58089c7832 [WIP] List: update english docs (#7880)
List: update english docs
2017-10-12 22:40:49 -05:00
afc163
94c6c910ff Merge branch 'master' into antd-3.0 2017-10-12 20:07:31 +08:00
afc163
9ddbad1088 Unify menu item height 2017-10-12 18:14:23 +08:00
niko
57d5038d1c fixed: https://github.com/ant-design/ant-design/issues/4905#issuecomment-335710078 (#7875) 2017-10-12 05:09:37 -05:00
偏右
43362de756 Fix beforeUpload will stop uploading when return (#7870)
value is undefined

it should be same as rc-upload
2017-10-12 14:48:35 +08:00
niko
48847e14e0 fixed react-virtualized demo scroll position when other demo element has changed (#7866) 2017-10-12 14:09:38 +08:00
偏右
b77cc6392e Improve upload status test case (#7869)
* Add some companies

* test: generate snapshot in upload onChange

* change action

* upgrade travis node version

* fix ci
2017-10-12 14:09:17 +08:00
Alexander Suevalov
35b2c5e58f Adding missing optional Upload property to LocaleProviderProps (#7862) 2017-10-11 07:13:39 -05:00
afc163
efe0f3480a Merge branch 'master' into antd-3.0 2017-10-11 18:13:39 +08:00
afc163
3f54dbd3d2 document dropdown menu 2017-10-11 17:42:36 +08:00
afc163
1ef4cc277b Fix select item padding 2017-10-11 16:56:52 +08:00
Benjy Cui
0bce5c83f9 deps: upgrade rc-notification to support react@16 (#7844) 2017-10-11 12:03:19 +08:00
偏右
9053192ae9 Fix component style (#7848)
* fix components style

* fix snapshot

* update travis node version

* change upload action in ci
2017-10-11 12:01:27 +08:00
afc163
b0381a6ce4 fix icons, ref #7854 2017-10-11 10:44:26 +08:00
afc163
b174331be4 Fix hasFeedback icon overlap
close #7854
2017-10-11 10:44:26 +08:00
afc163
43659752d2 Fix hasFeedback icon overlap
close #7854
2017-10-11 10:37:45 +08:00
niko
b4ed4e6d3f Improve List Component
fixed: https://github.com/ant-design/ant-design/issues/4905#issuecomment-332442843
 (#7853)
2017-10-11 10:29:45 +08:00
afc163
278ae9b9c7 Fix upload ci 2017-10-11 10:18:02 +08:00
afc163
064afd9b85 fix upload ci 2017-10-11 09:54:13 +08:00
afc163
163366deeb Merge branch 'master' into antd-3.0 2017-10-10 21:52:48 +08:00
偏右
2b7a60224b Fix upload ci (#7849)
* Fix upload test case

* update delay time for uploading status
2017-10-10 21:48:21 +08:00
afc163
244a2fd2da update locale-provider snap 2017-10-10 20:15:41 +08:00
afc163
fd7c90fb5a update upload snap file 2017-10-10 20:02:35 +08:00
afc163
6aa4138c00 Fix test warning 2017-10-10 20:01:23 +08:00
afc163
8feaf83003 fix upload test 2017-10-10 19:54:52 +08:00
afc163
190bebd65f Fix upload snapshot 2017-10-10 19:54:38 +08:00
afc163
5a5bb9c3a0 Fix upload snapshot 2017-10-10 19:54:05 +08:00
afc163
87ec78ce2e Merge branch 'master' into antd-3.0 2017-10-10 17:11:26 +08:00
afc163
b437233467 Fix upload picture loading style 2017-10-10 16:23:25 +08:00
Benjy Cui
e5edb4ac0f test: update snapshot 2017-10-10 16:06:49 +08:00
afc163
c3f1d0bba6 Add test case for upload 2017-10-10 15:59:13 +08:00
Wei Zhu
0d572c72a9 Add test for 9a5894c
9a5894c46e
2017-10-10 14:45:18 +08:00
afc163
d3b98d311a Merge branch 'master' into antd-3.0 2017-10-10 14:09:03 +08:00
Wei Zhu
9f0091dcd3 Expose slick methods (#7759)
https://github.com/ant-design/ant-design/issues/7484
2017-10-10 13:41:04 +08:00
afc163
712451acf7 Fix codepen demo 2017-10-10 11:35:50 +08:00
Benjy Cui
91fc781b6c chore: update docs and code style, ref: #7553#issuecomment-335009581 2017-10-10 10:04:03 +08:00
Wei Zhu
a3c3ec8070 Fix types and lint 2017-10-09 21:03:00 +08:00
Bastian Sieker
d4c75d43a1 Fix notification ArgsProps typing (#7834)
* Fix notification ArgsProps typing

close #7832

* Improve notification ArgsProps typing

see #7832

* Improve notification ArgsProps typing

see #7832
2017-10-09 19:58:30 +08:00
afc163
9a5894c46e data should be call when beforeUpload promise resolved, close #7833 2017-10-09 19:41:52 +08:00
Wei Zhu
c5487ad1eb React 16 + Enzyme 3 2017-10-09 19:18:04 +08:00
afc163
89c507c4ba pink => magenta 2017-10-09 18:26:11 +08:00
afc163
934c4c0de1 finish whole color pallate 2017-10-09 18:24:12 +08:00
afc163
a1c17f3006 update colors 2017-10-09 16:17:30 +08:00
afc163
9c3c88d3cc Fix focused cascader error style 2017-10-09 13:47:24 +08:00
afc163
73a4873e78 Fix focused cascader error style 2017-10-09 13:46:56 +08:00