Benjy Cui
119d498935
chore: replace http with https, close : #6893
7 years ago
afc163
f414398fae
Fix disabledDate of Calendar, close #6074
8 years ago
Tyler
919cb22eb7
Use the prop-types package from npm instead of React.PropTypes ( #6057 )
* Use the prop-types package from npm instead of React.PropTypes
* Remove using of PropTypes from React in docs and site
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
偏右
9a9db14b4c
Feat calendar select ( #5127 )
* use less variables in calendar style
* Make calendar selectable
* Add test case
* fix test typo
* update demo title
8 years ago
wonyun
27e3f660b4
Add dateFullCellRender and monthFullCellRender for calendar component ( #5138 )
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
Benjy Cui
273faafaa2
fix: should use moment.isMoment, close : #4147
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
Benjy Cui
4878258f6c
refactor: ref: #3490
8 years ago
Benjy Cui
5d4d9f5cea
style: update code style
8 years ago
Benjy Cui
5705f72fb8
fix: make sure en|ru locale import after zh-CN ( #3246 )
* fix: make sure en|ru locale import after zh-CN
* refactor: simplify code
8 years ago
Benjy Cui
8db2b79505
chore: fix compile errors
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
3411765ce9
Refactor ts ( #2760 )
* refactor: add interface form Calendar
* refactor: add interface for layout
* refactor: add interface for DatePicker
* refactor: add interface for Icon
* refactor: add interface for InputNumber
* refactor: add interface for Input
8 years ago
偏右
de359d2cf7
fix tslint problems ( #2360 )
8 years ago
yiminghe
94706f1d2c
fix ts
9 years ago
yiminghe
9a0d751f94
refactor to typescript
9 years ago
Benjy Cui
2144349741
style: enable react/jsx-closing-bracket-location
9 years ago
Benjy Cui
ecaa6c56c3
style: enable comma-dangle
9 years ago
afc163
eba37c9ef7
Add LocaleProvider support for Calendar
9 years ago
Bruce Mitchener
273e527201
Use static class members for propTypes and friends.
9 years ago
Bruce Mitchener
71594b0e5c
Remove manual binding for 'this'.
Use ES7 style class members for event handlers so that 'this' is
automatically bound and each definition site doesn't need to manually
invoke 'bind'.
This makes all existing ES2015 class usages in components use the
same mechanism for binding.
9 years ago
Bruce Mitchener
50a2163518
Don't directly import Component, use React.Component.
This is another step towards making the code internally consistent.
9 years ago
Benjy Cui
c1659c2ce3
style: update code style to please lint
9 years ago
Benjy Cui
29825f20c8
style: update code style to please lint
9 years ago
Benjy Cui
41ed04e977
style: update code style to please lint
9 years ago
Benjy Cui
711d2d7413
style: update code style to please lint
9 years ago
afc163
1e001d2d82
upgrade eslint-config-airbnb
9 years ago
afc163
74036396fe
fix calendar switch, close #753
9 years ago
afc163
679d377e87
fix select error of calendar
9 years ago
yiminghe
697fb5d8f9
add locale for calendar
9 years ago
yiminghe
162bcf3aca
upgrade calendar
9 years ago
afc163
d907ce62da
better code style
9 years ago
血诺
d517a2d030
fix mode change when click month cell
9 years ago
afc163
652195c9f7
Fix calendar controlled value
9 years ago
afc163
e54cd51162
make calendar value can be changed from outside
9 years ago
afc163
081be0c842
Add notice calendar demo
9 years ago
afc163
077f7de4ba
improve calendar style
9 years ago
afc163
5540ac7c9c
type => mode
9 years ago
afc163
cf48526655
props.value is original Date object now
9 years ago
afc163
e8bc6f58ba
rm NoteList, it should be in demo
9 years ago
afc163
4b4b2dbe36
custom render demo
9 years ago
afc163
1dadd262b9
update calendar
9 years ago
血诺
62bc47300a
add onTypeChange
9 years ago
血诺
522c3fb0e7
remove selected cell style
9 years ago
血诺
1ec5bbb66f
fix details
9 years ago
血诺
d950c63c80
improve calendar
9 years ago
血诺
a2e7ff51fb
fix details
9 years ago