zombiej
782881e3ca
add test case for month picker
6 years ago
afc163
213693e333
🌐 site: transition component category, close #11629
6 years ago
zombiej
69a2a92864
adjust datepick reset logic
6 years ago
zombiej
81a7d11ba3
reset showDate when picker is closed
fix #12929
6 years ago
MuYu
72a6febcc4
fix: select type definition ( #12865 )
* fix: select type definition
* fix: wrapPicker type definition
* fix: select type definition
6 years ago
zombiej
c2e62c1910
fix doc
close #12806
6 years ago
Hieu Ho
ea25889f1a
Add VN locale for date picker component
6 years ago
afc163
436cbeed7b
fix DatePicker clear behavior bring by 3640754
6 years ago
zombiej
e5cfef565b
fix #12475 . Picker should get focus after selection.
6 years ago
zombiej
364075421b
fix #12536 . Adjust date-picker icon
6 years ago
HeskeyBaozi
2b7bd92cf6
datepicker: suffix -> suffixIcon
6 years ago
HeskeyBaozi
844a5a92d7
add suffix icon to tree-select
6 years ago
HeskeyBaozi
160d34aeba
add suffix icon to date-picker
6 years ago
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.
6 years ago
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 )
6 years ago
HeskeyBaozi
976f6969f4
update test snapshot
6 years ago
zombiej
0ea5d6af70
adjust time picker default width since font number to be laregr
6 years ago
digz6666
8f41d5f774
Added Mongolian locale provider and tested. Translated calender,
date-picker, time-picker.
6 years ago
afc163
06898a0619
Merge RangePicker extra and built-in footers
6 years ago
HeskeyBaozi
2f8a56fa78
fix test case & update test snapshot
6 years ago
HeskeyBaozi
74798b8911
upgdate test snapshot
6 years ago
HeskeyBaozi
c7069b27fe
fix icon theme code style
6 years ago
HeskeyBaozi
fd81e4575c
fix date-picker clear-icon size
6 years ago
HeskeyBaozi
3de0acabd1
use rc-calendar@~9.7.0
6 years ago
HeskeyBaozi
d6131fe18d
update test snapshot
6 years ago
HeskeyBaozi
0c9465aaf9
upgrade icons library
6 years ago
HeskeyBaozi
ee1d2469a8
upgrade test snapshot
6 years ago
afc163
c9901acb7f
Fix WeekPicker style, close #11738
6 years ago
HeskeyBaozi
796de6390b
update test snapshot
6 years ago
HeskeyBaozi
b9a9c308c9
[breaking] remove iconfont-font class helper
6 years ago
HeskeyBaozi
35974d67b2
update test snap shot
6 years ago
afc163
287d08890a
renew typescript typings
6 years ago
afc163
afeda4fe70
demo: update presetted-ranges description
6 years ago
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/ ).
6 years ago
Kian
6a28b44eca
add tagPrefixCls props
6 years ago
afc163
af03ae67f9
Fix TimePanel jump issue of hovering, close #11460
6 years ago
afc163
af4ed3988a
chore DatePicker and TimePicker font style
6 years ago
Eden Wang
6804094fa2
export mouse enter and mouse leave event for datepicker
6 years ago
Ilan Hasanov
86398d910a
💬 misc typos and blank spaces fixes
6 years ago
Wei Zhu
9f76f1c276
chore: add tests for b9992f4
6 years ago
Wei Zhu
b9992f4a08
fix: DatePicker can not change year/month when under control
React 16.4 call getDerivedStateFromProps on every render
close #11447
close #11440
close #11439
close #11416
close #11405
6 years ago
HeskeyBaozi
ee16585b6d
update test cases
6 years ago
HeskeyBaozi
ca644505be
replace date-picker font icon
6 years ago
Amumu
f728fbe5ab
getDerivedStateFromProp return null if not change
A valid state object (or null) must be returned. You have returned undefined.
6 years ago
HeskeyBaozi
4a553a2006
upgrade test cases
6 years ago
रोहन मल्होत्रा
12b99970f3
Migrated to new lifecycle method for datepiceker ( #10309 )
…picker
First of all, thank you for your contribution! :-)
Please makes sure that these checkboxes are checked before submitting your PR, thank you!
* [x] Make sure that you propose PR to right branch: bugfix for `master`, feature for latest active branch `feature-x.x`.
* [x] Make sure that you follow antd's [code convention](https://github.com/ant-design/ant-design/wiki/Code-convention-for-antd ).
* [x] Run `npm run lint` and fix those errors before submitting in order to keep consistent code style.
* [x] Rebase before creating a PR to keep commit history clear.
* [x] Add some descriptions and refer relative issues for you PR.
Extra checklist:
**if** *isBugFix* **:**
no
**elif** *isNewFeature* **:**
#9792
6 years ago
baozefeng
825d770254
bugfix: Chinese doc website date-picker demo link go to English website
6 years ago
HeskeyBaozi
9338f33c1c
update test cases
6 years ago
付引
31b2517261
mport -> import
6 years ago
afc163
00afce3a4b
Improve design of RangePicker presets link
6 years ago