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
Wei Zhu
4b045fc43f
Revert "docs: update moment locale usage"
This reverts commit 89228118af
.
The original purpose to import locale from src is that some projects
adding `jsnext:main` to the `resolve.mainFields` config of webpack which leads
webpack load moment from `src/moment.js`. But import from `locale`
should works for most projects.
6 years ago
afc163
60ebb434c1
Fix form controls align issue in IE11
close #9827
close #11133
6 years ago
愚道
004561ba1f
fix style in range select
6 years ago
愚道
450a3142ee
fix: fix datepicker selected item style, close #9529
6 years ago
zombiej
11dba9c305
update snapshot
7 years ago
afc163
009ed08580
upgrade eslint-config-airbnb
7 years ago
Matt Lein
e63f9d4beb
Pass data and aria props to the date picker input.
Pass data and aria props to the alert div.
add wrapProps to ModalProps
7 years ago
Wei Zhu
aa580beb8b
docs: sort api table
7 years ago
afc163
9f16d066af
Fix lint problems from eslint-config-airbnb@17
7 years ago
afc163
7fc1483fe1
Fix style of RangePicker with preset ranges, close #10986
7 years ago