HeskeyBaozi
2b7bd92cf6
datepicker: suffix -> suffixIcon
6 years ago
HeskeyBaozi
160d34aeba
add suffix icon to date-picker
6 years ago
zombiej
0ea5d6af70
adjust time picker default width since font number to be laregr
6 years ago
HeskeyBaozi
c7069b27fe
fix icon theme code style
6 years ago
HeskeyBaozi
3de0acabd1
use rc-calendar@~9.7.0
6 years ago
HeskeyBaozi
ee1d2469a8
upgrade test snapshot
6 years ago
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
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
रोहन मल्होत्रा
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