Commit Graph

562 Commits

Author SHA1 Message Date
HeskeyBaozi
160d34aeba add suffix icon to date-picker 2018-09-21 13:40:27 +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
Ilan Hasanov
86398d910a 💬 misc typos and blank spaces fixes 2018-07-29 01:15:02 +08:00
Wei Zhu
9f76f1c276 chore: add tests for b9992f4 2018-07-25 16:31:18 +08:00
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
2018-07-25 15:42:48 +08:00
HeskeyBaozi
768af40c4c Merge branch 'feature-3.8.0' of https://github.com/ant-design/ant-design into feature/svg-icon
# Conflicts:
#	components/drawer/__tests__/__snapshots__/Drawer.test.js.snap
#	components/drawer/__tests__/__snapshots__/DrawerEvent.test.js.snap
#	components/drawer/index.tsx
2018-07-25 12:03:00 +08:00
HeskeyBaozi
ee16585b6d update test cases 2018-07-25 11:51:19 +08:00
HeskeyBaozi
ca644505be replace date-picker font icon 2018-07-23 12:06:38 +08:00
HeskeyBaozi
bab50e6bed Merge branch 'feature-3.8.0' of https://github.com/ant-design/ant-design into feature/svg-icon
# Conflicts:
#	components/locale-provider/__tests__/__snapshots__/demo.test.js.snap
#	components/locale-provider/__tests__/__snapshots__/index.test.js.snap
#	components/transfer/__tests__/__snapshots__/demo.test.js.snap
#	components/transfer/__tests__/__snapshots__/index.test.js.snap
2018-07-23 09:58:55 +08:00
Amumu
f728fbe5ab getDerivedStateFromProp return null if not change
A valid state object (or null) must be returned. You have returned undefined.
2018-07-22 11:59:40 +08:00
HeskeyBaozi
4a553a2006 upgrade test cases 2018-07-19 20:37:47 +08:00
रोहन मल्होत्रा
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
2018-07-19 11:26:47 +08:00
baozefeng
825d770254 bugfix: Chinese doc website date-picker demo link go to English website 2018-07-18 20:07:22 +08:00
HeskeyBaozi
9338f33c1c update test cases 2018-07-18 10:33:54 +08:00
付引
31b2517261 mport -> import 2018-07-15 12:54:23 +08:00
afc163
8eb8c686ce Merge branch 'master' into feature-3.7.0 2018-07-11 22:21:01 +08:00
afc163
00afce3a4b Improve design of RangePicker presets link 2018-07-11 20:09:58 +08:00
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.
2018-07-11 15:17:15 +08:00
afc163
0c4d356e54 Merge branch 'master' into feature-3.7.0 2018-07-03 19:54:48 +08:00
afc163
60ebb434c1 Fix form controls align issue in IE11
close #9827
close #11133
2018-07-03 14:04:46 +08:00