orzyyyy
63b33d4020
fix: unexpected changes of snapshots
5 years ago
jiang.an
180ed017f8
fix: prop headerRender should be optional for component Calendar
6 years ago
Harut
982871522b
feat: New calendar apis, headerRender method ( #16535 )
* added new calendar api, renderHeader now we can customize calendar header
* fixed typo for tests
* error handling for renderHeader
* covering all cases with tests
* fixed tests and change console error to warning
* fixed feedbacks and code optimization
* cleanup callback function arguments
* removed unused changes
* fixed tests
* added extra classes
* fixed some comments
* tying to fix test for remote
* tying to fix test for remote in my local machin it works fine
* tying to fix test for remote in my local machin it works fine
* tying to fix test for remote in my local machin it works fine
* updated test snapshots
* fixed comment
* fixed linting
* fixed some texts
* added header for CN and added argument types
* removed extra row
6 years ago
zy410419243
c1d58f43bf
refactor: unify type => mode
6 years ago
zy410419243
d53e003b62
fix: Calendar select can't switch
6 years ago
afc163
da6662562b
⚡ refactor some code after #15254
6 years ago
zy410419243
4601144f3f
refactor: update lifecycle method for Calendar
6 years ago
zombieJ
ed1872fe08
fix calendar-onPanelChange some time not trigger ( #15063 )
6 years ago
frezc
5f9b376456
[type] make type of components compatible with ComponentType<P>
6 years ago
陈帅
8e11f0bdb9
merge support prettier
6 years ago
陈帅
dca9715186
support prettier
6 years ago
zombieJ
1a0a06fca9
ConfigProvider support prefixCls ( #13389 )
Basic support prefixCls.
6 years ago
afc163
fb2e355f14
Calendar locale prop should have priority
close #12706
6 years ago
afc163
2c5366603c
chore: fix code indent
6 years ago
Wei Zhu
064bfaf554
Add @types/prop-types
6 years ago
tangjinzhou
92dc0dc2b0
feat: add onChange for Calendar
6 years ago
Rohan Malhotra
71f65a0be8
Added validRange props in calendar to control date range
7 years ago
Wei Zhu
fe4d294c64
Fix moment require ( #9528 )
Fix #9502
7 years ago
mgrdevport
b87f76e64a
Change Calendar mode via property ( #9243 )
7 years ago
Wei Zhu
46b45acb12
Remove babel-plugin-add-module-exports ( #8888 )
7 years ago
Wei Zhu
f4dc69f5f0
Fix implicit any error for Calendar
7 years ago
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
7 years ago
Benjy Cui
67be1eafa9
test: fix CI
7 years ago
Benjy Cui
7ea572bfc8
refactor: extract common locale logic ( #7915 )
7 years ago
Benjy Cui
829b5f87bf
feat: make default locale to enUS ( #7553 )
* feat: make default locale to enUS
* test: fix CI
* docs: update getting started
7 years ago
ChaXinyu
14e2a56b75
export components interface ( #7654 )
* export components interface
* export specific props
* fix formItem missed import
7 years ago
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