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
afc163
0acbba9838
fix DatePicker[showTime] now link, close #3748
8 years ago
afc163
d0c34380d4
simplify form demo code
8 years ago
afc163
137299f4c8
blur DatePicker[showTime] will trigger onChange
8 years ago
afc163
82c816fbc9
Fix controlled DatePicker[showTime] not working, close #3665
8 years ago
Benjy Cui
0b7856b712
fix: should check undefined value, close : #3665
8 years ago
Benjy Cui
f7e480ad53
feat: add DatePicker[allowClear], close : #3618
8 years ago
Benjy Cui
4878258f6c
refactor: ref: #3490
8 years ago
afc163
1700ae6078
better way to fix #3523
8 years ago
afc163
ea6a84d9cf
fix DatePicker[showTime] onChange, close #3523
8 years ago
yiminghe
c2d3f16dfb
update tslint
8 years ago
Wei Zhu
26921cf234
fix: Pass format to Calendar ( #3407 )
8 years ago
陆离
24a68a8961
fix again: Datepicker 触发两次 onChange ( #3417 )
* fix again
* fix lint
8 years ago
陆离
2232c6b647
fix ( #3391 )
8 years ago
Benjy Cui
d8e9fff5ba
deps: upgrade dependencies, close : #3161 ( #3162 )
* deps: upgrade dependencies, close : #3161
* css: update style for DatePicker[showTime]
8 years ago
马斯特
a25ec29fb8
refactor: 保证所有的tsx和less都正确使用prefix ( #3024 )
* refactor: extract prefix cls as less variable
* refactor: apply ant icon prefix cls in less files
* refactor: all components support prefixCls props
8 years ago
Benjy Cui
4026221d45
deps: hello moment ( #2887 )
* deps: upgrade TimePicker
* deps: upgrade DatePicker
* deps: upgrade Calendar
* fix: moment should work with LocaleProvider
* feat: update API of TimePicker
* feat: update Calendar's APIs
* feat: update DatePicker's APIs
* doc: update demo
* revert: add dateString and timeString and so on
* feat: add Calendar[defaultValue]
* feat: add defaultPickerValue
* docs: update docs about date picker
* feat: set moment locale to zh-cn automatically
8 years ago
Benjy Cui
a6d7cc0035
style: update code style to please lint
8 years ago
Benjy Cui
5dcce12c2c
fix: some tsc errors ( #2804 )
8 years ago
yiminghe
94706f1d2c
fix ts
9 years ago
afc163
619ceffd7e
fix createPicker.tsx
9 years ago
yiminghe
9a0d751f94
refactor to typescript
9 years ago
afc163
94423f60f2
use readOnly
9 years ago
afc163
bec5d311a0
Improve DatePicker start-end demo expierence
9 years ago
Benjy Cui
2144349741
style: enable react/jsx-closing-bracket-location
9 years ago
afc163
a05b4e6747
remove unused compatibility code, fix #1902
9 years ago
RaoHai
c65f201d51
DatePicker improvement
close #1701
9 years ago
Benjy Cui
ecaa6c56c3
style: enable comma-dangle
9 years ago