Commit Graph

7214 Commits

Author SHA1 Message Date
afc163
754a22ca24 Fix radio align problem in safari 2018-08-11 20:57:43 +08:00
afc163
589415ed95 Fix Tag with wave effect 2018-08-11 15:46:45 +08:00
afc163
4d7f1b191f remove console 2018-08-11 15:34:14 +08:00
afc163
7b719ce457 simplicy Anchor test 2018-08-11 15:16:33 +08:00
afc163
9cf6ae6010 Refactor and apply wave click animation to more components
now support Button, Tag, Radio.Button and switch
2018-08-11 15:14:34 +08:00
afc163
d8fd521f92 fix BackTop test fails a lot again 2018-08-11 12:07:14 +08:00
afc163
fbab93fbd6 fix anchor test fails a lot again 2018-08-11 11:23:42 +08:00
afc163
0e2c58e42e Fix card width in List.Grid, close #11712 2018-08-11 00:56:16 +08:00
董天成
6203298f32 Fix typescript compile error (#11709) 2018-08-10 22:03:59 +08:00
张聪
8a9fbcb5e4 Migrate lifecycle method: Upload, CheckboxGroup, Layout.Sider, Tooltip, Popconfirm (#11682)
* Upload lifecycle method migrate

* CheckboxGroup lifecycle method migrate

* Layout.Sider lifecycle method migrate

* Tooltip lifecycle method migrate

* Popconfirm lifecycle method migrate

* test Spin as a controlled component
2018-08-10 17:04:40 +08:00
Vitaliy Mazurenko
a14e476eeb Anchor component with affix=true doesn't work inside inner scrollable… (#11688)
close #11687
2018-08-10 13:37:17 +08:00
afc163
c2319f0998 fix test fails a lot 2018-08-10 00:11:12 +08:00
afc163
f2ce60cb6c fix test case failed often 2018-08-09 21:03:14 +08:00
Havin
2c4c5fc6e3 move getPopupContainer from SelectProps to AbstractSelectProps (#11690) 2018-08-09 20:48:37 +08:00
JamesYin
583abe8dbb compatible with thumbnail which url has no extension (#11684)
* compatible with thumbnail which url has no extension

* restore newline #11684
2018-08-09 20:30:02 +08:00
HeskeyBaozi
bda65ddb1e update select snapshot 2018-08-09 16:07:57 +08:00
HeskeyBaozi
4945d66084 update select 2018-08-09 12:07:27 +08:00
afc163
7f78cc9753 Fix detete x missing in Upload, close #10454 2018-08-08 20:00:26 +08:00
Cong Zhang
52cb4fe9cb TimePicker #9792 peer with react@15 2018-08-08 16:19:23 +08:00
afc163
b4d95f7e20 Refactor button click effect implementation
for better perfermance
2018-08-08 16:18:45 +08:00
afc163
45fb83d64c simplify style code 2018-08-08 16:18:45 +08:00
偏右
070e340958 Revert "TimePicker #9792"
This reverts commit 5b37e09ea1.
2018-08-08 14:03:15 +08:00
afc163
e2534681c4 update snapshot 2018-08-08 11:05:07 +08:00
Cong Zhang
5b37e09ea1 TimePicker #9792 2018-08-08 10:38:39 +08:00
João Paquim
363a29c942 Fix typo, filed => field 2018-08-08 10:37:42 +08:00
Dmitriy Mironov
a270597d63 Fix a typo 2018-08-08 10:36:07 +08:00
afc163
287d08890a renew typescript typings 2018-08-07 23:52:59 +08:00
Wei Zhu
064bfaf554 Add @types/prop-types 2018-08-07 21:09:05 +08:00
tangjinzhou
257f3ec35d fix: badge offset x y axis order error 2018-08-07 20:45:58 +08:00
Zheeeng
c3326a5bff Add missing prop signature destroyInactivePanel 2018-08-07 17:31:35 +08:00
HeskeyBaozi
9657f4f3a5 update Switch test snapshot 2018-08-07 16:36:38 +08:00
HeskeyBaozi
4afd19ef5f use svg loading icon in Switch component 2018-08-07 16:35:56 +08:00
HeskeyBaozi
15bc92dd3c remove useless jsx prop 2018-08-07 16:35:26 +08:00
HeskeyBaozi
f90d32a0ef fix lint 2018-08-06 20:16:32 +08:00
afc163
b6e9646a6a Fix that focusable element in inactive panel cause tabs disappear
close #11261
2018-08-06 18:40:46 +08:00
HeskeyBaozi
bcfbf1f46a update docs & support svg-sprite-loader 2018-08-06 18:10:30 +08:00
HeskeyBaozi
b2ab727c89 resolve conflicts 2018-08-06 15:06:06 +08:00
afc163
80f82674fb Fix TimePicker unexpected long width 2018-08-05 20:15:54 +08:00
afc163
76afe5037d demo: improve drawer demo and test case code 2018-08-05 14:28:39 +08:00
afc163
1b3d063990 test: fix drawer test case 2018-08-05 14:16:08 +08:00
afc163
bead75021b change and undocument onSelectMultiple cause it need more disscuss 2018-08-05 13:58:54 +08:00
afc163
510add6305 Drawer wrapClassName => className 2018-08-05 11:56:40 +08:00
Fernando Giarritiello
5cac2fab4a Added className prop to Drawer 2018-08-05 11:48:51 +08:00
HeskeyBaozi
535f68dbd0 add icon features 2018-08-04 18:42:41 +08:00
afc163
e450ab64fa Merge branch 'feature-3.8.0' 2018-08-04 17:00:17 +08:00
afc163
80a4581a79 Fix progress demo 2018-08-04 16:59:25 +08:00
Benoît Latinier
2b72149a50 Add strokeLinecap attribute to progress component 2018-08-04 16:58:50 +08:00
afc163
afeda4fe70 demo: update presetted-ranges description 2018-08-04 12:04:07 +08:00
Evert Bouw
268a1817b7 remove blank line 2018-08-04 11:33:49 +08:00
Evert Bouw
cc6e1ba9d7 Clean up TextAreaProps type
The props for TextArea included React.TextareaHTMLAttributes twice
2018-08-04 11:33:49 +08:00
Thibault Derousseaux
43abea3212 Use tabular-nums font variant instead of switching to Tahoma for figures
Using a completely different font for figures leads to inconsistencies: https://github.com/ant-design/ant-design/issues/9422.
Most modern font systems defaults to [tabular figures](https://www.fonts.com/content/learning/fontology/level-3/numbers/proportional-vs-tabular-figures).
One exception to this is Apple's San Francisco which defaults to [proportional figures](http://martiancraft.com/blog/2015/10/san-francisco-part-2/#special-features-numerals).
There is, however, an official and clean way to switch to tabular figures. It's the [`font-variant` CSS property](https://developer.mozilla.org/en-US/docs/Web/CSS/font-variant-numeric) that can be set to `tabular-nums`.

This commit removes the "Monospaced Number" font altogether and use `font-variant: tabular-nums` instead where it was used.
It also moves closer to the sans-serif and monospace [system font stacks used by GitHub](http://markdotto.com/2018/02/07/github-system-fonts/).
2018-08-04 11:28:14 +08:00
afc163
aa2b1a4352 Merge branch 'master' into feature-3.8.0 2018-08-03 23:16:08 +08:00
Jackie.Ls
9b150d9246 update (#11597) 2018-08-03 17:13:50 +08:00
Bartek
b9c248f313 changing the interface of TreeSelect, updating docs (#11538) 2018-08-03 17:12:51 +08:00
HeskeyBaozi
ccdff565de Merge branch 'feature-3.8.0' of https://github.com/ant-design/ant-design into feature/svg-icon 2018-08-03 15:54:57 +08:00
NumanHassan
a14ba62a07 Update index.en-US.md (#11587) 2018-08-02 21:00:53 +08:00
Emerson Laurentino
0f9da43522 Avatar custom size (#11419)
* add avatar support custom size

* me added to author list and sorting alphabetically

* fix avatar sizeChildrenStyle preference

* fix authors

* fix snapshots
2018-08-02 20:25:14 +08:00
Wu Haotian
57646f24db fix: correct typing of RcFile. close #10331 2018-08-02 18:05:31 +08:00
HeskeyBaozi
46cb1c8cde resolve conflict. 2018-08-02 18:02:43 +08:00
HeskeyBaozi
cc180e2605 resolve conflict. 2018-08-02 18:02:31 +08:00
afc163
e397c094bb site: Add ErrorBoundary for live demo, ref #11553 2018-08-02 16:34:04 +08:00
afc163
8dad311df0 Fix Slider demo error when input non-number string, close #11553 2018-08-02 16:24:13 +08:00
afc163
471f9409f9 chore demo code style 2018-08-02 16:23:08 +08:00
Eden Wang
f01d436dd5 add test case for input.group in tooltip 2018-08-02 12:14:21 +08:00
Eden Wang
ed66395a12 export event for input.group 2018-08-02 12:14:21 +08:00
Chandler Moisen
10f1c6ceaa Modal.confirm title overflow:hidden 2018-08-02 11:27:32 +08:00
Alexander Anpleenko
ac924d9443 fixed a word mistake 2018-08-02 11:16:19 +08:00
17073025
c31371e5a6 fix(auto-complete): add missing autoFocus prop in type 2018-08-02 10:48:38 +08:00
afc163
2f81349c21 fix error in typescript@3.x 2018-08-01 15:43:47 +08:00
afc163
a06afee8b6 Merge branch 'master' into feature-3.8.0 2018-08-01 15:33:55 +08:00
yoyo837
eab74fa693 For #11537, Centered style should be applied to the wrap element. 2018-08-01 11:16:17 +08:00
Juan Rodrigo Venegas Boesch
f4d631ddc2 CH md translation applied. 2018-08-01 00:09:50 +08:00
Juan Rodrigo Venegas Boesch
73d708f1fa Fixed the prefix oops. 2018-08-01 00:09:50 +08:00
Juan Rodrigo Venegas Boesch
4ab281a494 snapshot updated 2018-08-01 00:09:50 +08:00
Juan Rodrigo Venegas Boesch
dd3f520129 Translation added in CH. and pre-fix added to class 2018-08-01 00:09:50 +08:00
Juan Rodrigo Venegas Boesch
04a1808fc3 overflow fix
Preventing from text to overflow the designed area.
2018-08-01 00:09:50 +08:00
Juan Rodrigo Venegas Boesch
121efd1f4c Timeline design change feature
added a new prop to timeline called mode where you can send 'alternate' to change the timeline design and 'right' to flip horizontally.
2018-08-01 00:09:50 +08:00
Kian
6a28b44eca add tagPrefixCls props 2018-07-31 21:15:10 +08:00
yoyo837
f14e207912 Boolean 2018-07-31 21:14:48 +08:00
yoyo837
45e9b2a937 fix prefixCls is missing in restProps 2018-07-31 21:14:48 +08:00
yoyo837
ef31697d26 Support centered settings 2018-07-31 21:14:48 +08:00
Ilan
d7a9783299 update button snapshots 2018-07-31 18:42:12 +08:00
Ilan
b5ed207902 🚚 fitContainer -> block name conversion 2018-07-31 18:42:12 +08:00
Ilan
8fab1e1d1b 🐛 update fitContainer order 2018-07-31 18:42:12 +08:00
Ilan
5536a4ca3b 📝 update chinese button api doc 2018-07-31 18:42:12 +08:00
Ilan
9742be40a7 📝 update button api docs 2018-07-31 18:42:12 +08:00
Ilan
623cf1eaff introducing fitContainer prop for button 2018-07-31 18:42:12 +08:00
afc163
aa6b55be7e clean up unused code 2018-07-31 16:40:48 +08:00
HeskeyBaozi
35e56a41cd resolve conflict. 2018-07-31 16:33:20 +08:00
HeskeyBaozi
c28c30d124 use rc-dialog@3.2.0, use svg close icon in Modal component. 2018-07-31 16:19:10 +08:00
HeskeyBaozi
34e658d70b use rc-notification@3.2.0, use svg close icon in Notification component. 2018-07-31 15:59:51 +08:00
afc163
0156fef165 fix tabs ci in React 15 2018-07-31 15:50:27 +08:00
HeskeyBaozi
6c42d711e8 Merge branch 'feature-3.8.0' of https://github.com/ant-design/ant-design into feature/svg-icon 2018-07-31 15:36:23 +08:00
Lucien Lee
7c43bc553f change message type to React.ReactNode 2018-07-31 13:58:26 +08:00
Lucien Lee
6606aad391 allow validator message as ReactChild 2018-07-31 13:58:26 +08:00
Ooi Yee Wei
c849a73f4e First commit 2018-07-30 21:29:26 +08:00
afc163
56fa8629b5 Merge branch 'master' into feature-3.8.0 2018-07-30 17:58:21 +08:00
tangjinzhou
92dc0dc2b0 feat: add onChange for Calendar 2018-07-30 17:57:34 +08:00
Wei Zhu
d7ca64b95c docs: add resizable column table demo 2018-07-30 17:47:31 +08:00
zombiej
6617f785fd fix #11458. Adjust treeNode draggable css 2018-07-30 13:56:49 +08:00