Eden Wang
6804094fa2
export mouse enter and mouse leave event for datepicker
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
Amumu
f728fbe5ab
getDerivedStateFromProp return null if not change
A valid state object (or null) must be returned. You have returned undefined.
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
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
fe4d294c64
Fix moment require ( #9528 )
Fix #9502
7 years ago
Wei Zhu
ef55562deb
Attempt to fix #8885 again, add more tests ( #9164 )
7 years ago
Wei Zhu
fa14765695
Revert "Control Calendar value, fix #8885 ( #9141 )"
This reverts commit 98387ad819
.
7 years ago
Wei Zhu
98387ad819
Control Calendar value, fix #8885 ( #9141 )
If not control Calendar value, the internal value of Calendar will keep a
different date than parent component.
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
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
偏右
2bced36f0c
New component styles ( #7731 )
* Tweak button padding
* upgrade input and button size
* update form controls size
* update components size
* Add lemon color and update rate color
* Add new icons
* update layout style
* breadcrumb and dropdown
* update menu arrow width
* update layout and menu
* update steps
* fix var name
* update cascasder style
* Update DatePicker
* update InputNumber and Mention
* radio and switch
* select and transfer
* TimePicker & Upload
* more components
* calendar and list
* Tree Timeline Popover Tag
* divider modal popover
* update search input
* update card style
* update switch disabled opacity
* update shoadow and mask
* Add v2-compatible-reset.less
* Fix undefined className
* update snahshotssssssssssssssssss 👻
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
119d498935
chore: replace http with https, close : #6893
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
0a1c0712a2
Fix DatePicker panel position, close #6347
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
f5fa64c17b
fix: hack to fix ts compile errors
8 years ago
Benjy Cui
5fe3cb9318
refactor: to ES6 class style
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
偏右
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
afc163
8bc0e8ab9d
Remove used code and add test case for #5191
8 years ago
Graeme Yeates
18077894f2
Remove DatePicker temporary values [ fix #5189 ] ( #5191 )
8 years ago
Benjy Cui
69d9d1edda
chore: add warning for typo, close : #5044
8 years ago
afc163
626e0c9d1e
Fix DatePicker default width, close #4947 , ref #4920
8 years ago
Benjy Cui
0aabdb3d8b
fix: locale should follow LocaleProvider, close : #4495 ( #4503 )
* fix: locale should follow LocaleProvider, close : #4495
* test: update snapshot
* fix: fix some bugs
8 years ago
afc163
c3982b02aa
Fix monthCellContentRender and wrong documentation, close #4394
8 years ago
afc163
ecd2e57ef2
controlled DatePicker should not be clear
8 years ago
Benjy Cui
f3c55c6ef8
Revert "site: use cdn to improve performance, close: #3646"
This reverts commit 47f56eab23
.
8 years ago
Benjy Cui
47f56eab23
site: use cdn to improve performance, close : #3646
8 years ago
afc163
b912f1cea6
Fix DatePicker[showTime] default width
8 years ago
afc163
8df23e2d06
revert value undefined for resetFields, close #3846
8 years ago
afc163
edd57defa5
use moment.isMoment
http://momentjs.com/docs/#/query/is-a-moment/
8 years ago
Benjy Cui
c4d8c4770c
Add upgrade warning ( #4028 )
* chore: add upgrade warning for time related value
* chore: update warning
* chore: update demo url
8 years ago
Wei Zhu
bd55d21f83
style: Fix jsx-no-multiline-js ( #3994 )
* Fix jsx-no-multiline-js
* TimePicker addon test
* Transfer search test
8 years ago
Wei Zhu
ccbebe60cc
style: Fix jsx alignment, #3966 ( #3967 )
8 years ago
afc163
fc3d320872
much better way for #3748 and fix ok close animation
8 years ago
Benjy Cui
bbef274aae
feat: expose DatePicker[showToday], ref: #3793
8 years ago
afc163
8f01552e0f
better way to fixing #3748
8 years ago