Commit Graph

580 Commits

Author SHA1 Message Date
afc163
c7b9eee709 improve getDerivedStateFromProps return value 2018-11-13 18:03:57 +08:00
afc163
a616f89a1b 🔥 update less code style 2018-11-12 12:02:30 +08:00
ztplz
6ad23c370e Fix CI 2018-11-10 22:09:29 +08:00
kuitos
2bb6369e3e typing correct 2018-11-09 19:31:47 +08:00
zombiej
782881e3ca add test case for month picker 2018-11-04 19:49:20 +08:00
afc163
213693e333 🌐 site: transition component category, close #11629 2018-11-04 16:20:35 +08:00
zombiej
69a2a92864 adjust datepick reset logic 2018-11-04 14:54:06 +08:00
zombiej
81a7d11ba3 reset showDate when picker is closed
fix #12929
2018-11-03 23:19:33 +08:00
MuYu
72a6febcc4 fix: select type definition (#12865)
* fix: select type definition

* fix: wrapPicker type definition

* fix: select type definition
2018-10-30 10:52:27 +08:00
zombiej
c2e62c1910 fix doc
close #12806
2018-10-28 13:32:29 +08:00
Hieu Ho
ea25889f1a Add VN locale for date picker component 2018-10-16 12:09:17 +08:00
afc163
436cbeed7b fix DatePicker clear behavior bring by 3640754 2018-10-12 16:25:23 +08:00
zombiej
e5cfef565b fix #12475. Picker should get focus after selection. 2018-10-09 17:44:22 +08:00
zombiej
364075421b fix #12536. Adjust date-picker icon 2018-10-08 20:53:28 +08:00
afc163
74f36c6e69 Merge branch 'feature' of github.com:ant-design/ant-design into feature 2018-09-21 14:02:58 +08:00
HeskeyBaozi
2b7bd92cf6 datepicker: suffix -> suffixIcon 2018-09-21 13:40:27 +08:00
HeskeyBaozi
844a5a92d7 add suffix icon to tree-select 2018-09-21 13:40:27 +08:00
HeskeyBaozi
160d34aeba add suffix icon to date-picker 2018-09-21 13:40:27 +08:00
XuMM_12
0219aa259a fix demo in date-picker doc (#12290)
ref to https://ant.design/components/calendar-cn/ and moment doc, import locale file from moment/locale just defines the locale without use.
2018-09-18 16:57:04 +08:00
leijingdao
e157e313fa fix:onOpenChange handler not being called in RangePicker for preset r… (#12142)
* fix:onOpenChange handler not being called in RangePicker for preset ranges(#11631)
2018-09-10 00:26:26 +08:00
HeskeyBaozi
976f6969f4 update test snapshot 2018-09-07 14:14:23 +08:00
zombiej
0ea5d6af70 adjust time picker default width since font number to be laregr 2018-09-06 19:16:37 +08:00
digz6666
8f41d5f774 Added Mongolian locale provider and tested. Translated calender,
date-picker, time-picker.
2018-09-04 11:55:55 +08:00
afc163
06898a0619 Merge RangePicker extra and built-in footers 2018-09-02 21:45:27 +08:00
HeskeyBaozi
2f8a56fa78 fix test case & update test snapshot 2018-09-02 20:59:37 +08:00
HeskeyBaozi
74798b8911 upgdate test snapshot 2018-09-02 20:59:37 +08:00
HeskeyBaozi
c7069b27fe fix icon theme code style 2018-09-02 20:59:37 +08:00
HeskeyBaozi
fd81e4575c fix date-picker clear-icon size 2018-09-02 20:59:37 +08:00
HeskeyBaozi
3de0acabd1 use rc-calendar@~9.7.0 2018-09-02 20:59:37 +08:00
HeskeyBaozi
d6131fe18d update test snapshot 2018-09-02 20:59:37 +08:00
HeskeyBaozi
0c9465aaf9 upgrade icons library 2018-08-27 20:40:11 +08:00
HeskeyBaozi
d9b38aee4b Merge branch 'feature-3.9.0' of https://github.com/ant-design/ant-design into feature/svg-icon
# Conflicts:
#	package.json
2018-08-25 13:24:44 +08:00
HeskeyBaozi
ee1d2469a8 upgrade test snapshot 2018-08-24 18:36:08 +08:00
afc163
c9901acb7f Fix WeekPicker style, close #11738 2018-08-22 00:41:29 +08:00
HeskeyBaozi
796de6390b update test snapshot 2018-08-14 15:32:29 +08:00
HeskeyBaozi
b9a9c308c9 [breaking] remove iconfont-font class helper 2018-08-14 15:31:20 +08:00
HeskeyBaozi
35974d67b2 update test snap shot 2018-08-13 20:51:01 +08:00
HeskeyBaozi
3baec95628 Merge branch 'feature-3.9.0' of https://github.com/ant-design/ant-design into feature/svg-icon 2018-08-13 09:26:33 +08:00
afc163
287d08890a renew typescript typings 2018-08-07 23:52:59 +08:00
HeskeyBaozi
b2ab727c89 resolve conflicts 2018-08-06 15:06:06 +08:00
afc163
e450ab64fa Merge branch 'feature-3.8.0' 2018-08-04 17:00:17 +08:00
afc163
afeda4fe70 demo: update presetted-ranges description 2018-08-04 12:04:07 +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
HeskeyBaozi
cc180e2605 resolve conflict. 2018-08-02 18:02:31 +08:00
Kian
6a28b44eca add tagPrefixCls props 2018-07-31 21:15:10 +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
afc163
636c343b16 Merge branch 'master' into feature-3.8.0 2018-07-29 15:06:36 +08:00
afc163
af03ae67f9 Fix TimePanel jump issue of hovering, close #11460 2018-07-29 15:03:35 +08:00
afc163
af4ed3988a chore DatePicker and TimePicker font style 2018-07-29 15:02:34 +08:00
Eden Wang
6804094fa2 export mouse enter and mouse leave event for datepicker 2018-07-29 12:41:46 +08:00