Commit Graph

104 Commits

Author SHA1 Message Date
zombieJ
5ce7e71007
RangePicker support customize separator (#15055)
* support separator

* add version

* fix css
2019-02-28 16:11:10 +08:00
zombieJ
4d1a998246
add component param in warning (#15078)
* add component param in warning

* update snapshot
2019-02-27 15:32:29 +08:00
Yangzhedi
319949ee1a fix(date-picker): fix open judgement 2019-01-10 21:56:13 +08:00
Yangzhedi
ee1beaa459 fix(date-picker): fix open prop 2019-01-10 21:56:13 +08:00
Yangzhedi
f52b087194 fix(date-picker): fix focus 2019-01-10 21:56:13 +08:00
陈帅
8e11f0bdb9 merge support prettier 2018-12-07 20:02:01 +08:00
陈帅
df356a586c Merge branch 'master' into feature 2018-12-07 18:52:13 +08:00
afc163
d81364c7a9
🐛 Should focus date picker after select date value
close #12475

revert e5cfef5 to fix #7443 again

also fix #13424
2018-12-06 17:37:52 +08:00
zombieJ
1a0a06fca9
ConfigProvider support prefixCls (#13389)
Basic support prefixCls.
2018-12-05 19:12:18 +08:00
afc163
cc6402aec6
Upgrade TypeScript version to 3.2 2018-12-04 20:18:16 +08:00
ztplz
6ad23c370e Fix CI 2018-11-10 22:09:29 +08:00
zombiej
e5cfef565b fix #12475. Picker should get focus after selection. 2018-10-09 17:44:22 +08:00
HeskeyBaozi
2b7bd92cf6 datepicker: suffix -> suffixIcon 2018-09-21 13:40:27 +08:00
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
afc163
06898a0619 Merge RangePicker extra and built-in footers 2018-09-02 21:45:27 +08:00
HeskeyBaozi
c7069b27fe fix icon theme code style 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
ee1d2469a8 upgrade test snapshot 2018-08-24 18:36:08 +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
Eden Wang
6804094fa2 export mouse enter and mouse leave event for datepicker 2018-07-29 12:41:46 +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
ca644505be replace date-picker font icon 2018-07-23 12:06:38 +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
afc163
00afce3a4b Improve design of RangePicker presets link 2018-07-11 20:09:58 +08:00
Wei Zhu
fe4d294c64 Fix moment require (#9528)
Fix #9502
2018-03-09 15:04:21 +08:00
Wei Zhu
e992682aa8 Ignore invalid end date
Fix #9267
2018-02-07 14:23:17 +08:00
Wei Zhu
49c2a6220b Merge branch 'feature-3.2' 2018-02-04 17:24:16 +08:00
Wei Zhu
70f30ef065
Trigger onOk when click on preset range (#9213)
Close #7747
2018-02-04 02:41:02 -06:00
Wei Zhu
3b0a704df8 Only clear hoverValue when picker is open
Fix #6364
2018-02-02 12:20:26 +08:00
Wei Zhu
bebed2c4ae
Allow function for preset range (#9195)
* Allow function for preset range

Close #8281

* Rename RangePickerRange to RangePickerPresetRange
2018-02-01 02:05:57 -06:00
Wei Zhu
842c7f21d9
Fix RangePicker input (#9009)
fix #6999
fix https://github.com/react-component/calendar/issues/286
2018-01-30 22:01:27 -06:00
Wei Zhu
5afb1a28b6 Merge branch 'master' into feature-3.2 2018-01-26 17:14:44 +08:00
Wei Zhu
d47325bf51 Convert RangePicker showDate locale
Fix #8970
2018-01-25 18:00:07 +08:00
mgrdevport
cfdb1cab4b Pass id prop to DatePicker input field (#8598) 2018-01-24 10:48:34 +08:00
Wei Zhu
4332613633 Revert "Pass id prop to DatePicker input field (#8598)"
This reverts commit 38bf0be4ab.
2018-01-24 10:48:03 +08:00
mgrdevport
38bf0be4ab Pass id prop to DatePicker input field (#8598) 2018-01-23 20:45:46 -06:00
Wei Zhu
a8a4152c65 Clear RangePicker hover value after panel close (#9029)
Fix #8839
2018-01-21 01:03:51 +08:00
Wei Zhu
0bb531aca6 Refactor DatePicker types 2018-01-19 19:07:18 +08:00
Wei Zhu
974809e6f2 export RangePickerValue 2017-12-21 17:50:12 +08:00
Wei Zhu
e22fbe70e5 Add RangePickerState interface 2017-12-21 17:06:59 +08:00
afc163
7a98f6236f Fix ts error 2017-12-16 21:10:15 +08:00
Flynn
071149cfbb feature:add onCalendarChange for RangePicker (#8355)
* feature:add onCalendarChange for RangePicker

The event trigger when start time or end time is changing, which is useful for districting range user can select.

* Update index.zh-CN.md

update doc

* Update index.zh-CN.md

* Update index.zh-CN.md
2017-12-01 10:50:25 +08:00
Wei Zhu
b44a0c93cd
Add focus() blur() and autoFocus to DatePicker (#8345) 2017-11-30 09:54:31 +08:00
Wei Zhu
9fd3588ac4 Fix implicit any error for DatePicker 2017-11-21 21:09:24 +08:00
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports (#8218) 2017-11-17 14:38:54 +08:00
Benjy Cui
7ea572bfc8 refactor: extract common locale logic (#7915) 2017-10-20 14:54:38 +08:00