रोहन मल्होत्रा
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
afc163
00afce3a4b
Improve design of RangePicker presets link
6 years ago
Wei Zhu
fe4d294c64
Fix moment require ( #9528 )
Fix #9502
7 years ago
Wei Zhu
e992682aa8
Ignore invalid end date
Fix #9267
7 years ago
Wei Zhu
70f30ef065
Trigger onOk when click on preset range ( #9213 )
Close #7747
7 years ago
Wei Zhu
3b0a704df8
Only clear hoverValue when picker is open
Fix #6364
7 years ago
Wei Zhu
bebed2c4ae
Allow function for preset range ( #9195 )
* Allow function for preset range
Close #8281
* Rename RangePickerRange to RangePickerPresetRange
7 years ago
Wei Zhu
842c7f21d9
Fix RangePicker input ( #9009 )
fix #6999
fix https://github.com/react-component/calendar/issues/286
7 years ago
Wei Zhu
d47325bf51
Convert RangePicker showDate locale
Fix #8970
7 years ago
mgrdevport
cfdb1cab4b
Pass id prop to DatePicker input field ( #8598 )
7 years ago
Wei Zhu
4332613633
Revert "Pass id prop to DatePicker input field ( #8598 )"
This reverts commit 38bf0be4ab
.
7 years ago
mgrdevport
38bf0be4ab
Pass id prop to DatePicker input field ( #8598 )
7 years ago
Wei Zhu
a8a4152c65
Clear RangePicker hover value after panel close ( #9029 )
Fix #8839
7 years ago
Wei Zhu
0bb531aca6
Refactor DatePicker types
7 years ago
Wei Zhu
974809e6f2
export RangePickerValue
7 years ago
Wei Zhu
e22fbe70e5
Add RangePickerState interface
7 years ago
afc163
7a98f6236f
Fix ts error
7 years ago
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
7 years ago
Wei Zhu
b44a0c93cd
Add focus() blur() and autoFocus to DatePicker ( #8345 )
7 years ago
Wei Zhu
9fd3588ac4
Fix implicit any error for DatePicker
7 years ago
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
7 years ago
Benjy Cui
7ea572bfc8
refactor: extract common locale logic ( #7915 )
7 years ago
afc163
e7eb8693b6
Fix snap
7 years ago
Benjy Cui
7841386fcd
fix: should close panel when click presetted ranges, close : #7747
7 years ago
偏右
9053192ae9
Fix component style ( #7848 )
* fix components style
* fix snapshot
* update travis node version
* change upload action in ci
7 years ago
Henri Normak
36a54a8a8c
Expose renderDate function for DatePicker ( #7710 )
* Expose renderDate function for Calendar dates
* Use the original prop name
7 years ago
Benjy Cui
2620318172
feat: support controlled panels for DatePicker and RangePicker, close : #5190 ( #7049 )
7 years ago
Benjy Cui
4880b6ec16
fix: should not throw error when select after clear, close : #7077
7 years ago
afc163
fb70e9d70b
code style
7 years ago
Benjy Cui
119d498935
chore: replace http with https, close : #6893
7 years ago
Benjy Cui
43bf6c4846
test: fix CI, ref: 27a1742
7 years ago
Benjy Cui
9c7cec3e39
refactor: remove span[disabled]
7 years ago
Benjy Cui
27a17428de
fix: should show correct panel, close : #6764 point 3
7 years ago
paranoidjk
ba168b826f
refactor: use spread operator replace object-assign ( #6677 )
8 years ago
Benjy Cui
1920d9af46
chore: update details for #6584
8 years ago
Alexander
9131a79377
chore: add className prop to DatePicker ( #6584 )
* Add className to DatePicker
* Add className to MonthPicker and RangePicker
8 years ago
afc163
6790e80f3e
Add renderExtraFooter for DatePicker
close #6122 , close #5188
8 years ago
afc163
fd625ef1a0
upgrade and fix tslint problems
8 years ago
Benjy Cui
0e5431d21b
deps: upgrade antd-tools and code style
8 years ago
Benjy Cui
1dae0b65f2
chore: improve UX of RangePicker ( #6200 )
* chore: improve UX of RangePicker
* test: fix CI
8 years ago
Benjy Cui
44c4d5c167
fix: should not reset showDate when value is empty array, close : #5872 ( #5898 )
8 years ago
Manjit Kumar
4e055ed5d0
use PropTypes from 'prop-types' mdoule instead of React
- as React.PropTypes is being deprecated
- Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.
- Solution: https://facebook.github.io/react/blog/2017/04/07/react-v15.5.0.html#migrating-from-react.proptypes
8 years ago
Benjy Cui
360a657264
chore: improve ux of RangeCalendar, close : #4985
8 years ago
偏右
0308138974
[WIP] upgrade deps ( #5455 )
* upgrade deps
* autofix some tslint problems
* Fix tslint problems manually
8 years ago
偏右
674255bd14
[WIP] upgrade deps ( #5455 )
* upgrade deps
* autofix some tslint problems
* Fix tslint problems manually
8 years ago
Benjy Cui
69d9d1edda
chore: add warning for typo, close : #5044
8 years ago
afc163
7181e3c9e8
revert d9ec4bf and ef0b708, close #4997
8 years ago
Benjy Cui
d9ec4bf732
fix: RangePicker style
8 years ago
afc163
28dbdd17ed
fix for #4920
8 years ago
afc163
a87016ce54
Make sure DatePicker style.width can be effective, close #4920
8 years ago