afc163
28dbdd17ed
fix for #4920
8 years ago
afc163
a87016ce54
Make sure DatePicker style.width can be effective, close #4920
8 years ago
Benjy Cui
e3758168e4
fix: should switch to right panels, close : #4561 ( #4614 )
* fix: should switch to right panels, close : #4561
* docs: update demo
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
b912f1cea6
Fix DatePicker[showTime] default width
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
Wei Zhu
bd55d21f83
style: Fix jsx-no-multiline-js ( #3994 )
* Fix jsx-no-multiline-js
* TimePicker addon test
* Transfer search test
8 years ago
afc163
f3df6205a4
fix RangePicker placeholder not working bug
8 years ago
Benjy Cui
1ae5bb9845
chore: remove quick selector label, ref: #3753
8 years ago
Benjy Cui
38fd7f6feb
chore: improve detail
8 years ago
Benjy Cui
e5deba620d
css: improve style according to design, ref: #1418
8 years ago
Benjy Cui
f499a026ce
feat: basic impl of RangePicker[ranges], ref: #1418
8 years ago
RaoHai
d4269f8f30
fix `format` props of RangePicker
+ close #3808
8 years ago
Benjy Cui
f7e480ad53
feat: add DatePicker[allowClear], close : #3618
8 years ago
陆离
d051d94af4
feat: RangePicker disabledTime ( #3568 )
* RangePicker disabledTime
* update API document of RangePicker
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
Benjy Cui
af7635a73c
fix: should work with rc-form, close : #3046
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
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
RaoHai
7dd4a019d5
DatePicker 组件优化
+ DatePicker showTime: 面板上的日期展示输入框统一为一个,格式和外面的输入框同步,并且支持手动修改。
面板上的 TimePicker
+ DatePicker showTime: 输入框不再展示,改造为『选择时间』,点击后不再展开浮层,直接盖住日期区域。
+ RangePicker showTime : 只选中开始日期,“确定”和“选择时间”灰置。 如未选择日期直接选择时间,开始日期和结束日期默认选中当天。
+ RangePicker showTime : 点击框外和确定均为确定操作。
+ RangePicker showTime : 在时间页面,开始时间的默认状态为当前时间,结束时间的默认状态跟随开始时间。
+ RangePicker showTime : 开始时间的选择范围没有限制,结束时间的选择范围必须大于等于开始时间。
+ RangePicker showTime : 当开始时间选择了结束时间之后的时间(发生冲突),结束时间则自动切换到与开始时间相同的时间。
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
afc163
94423f60f2
use readOnly
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
fcf3242570
upgrade eslint-config-airbnb and fix lints
9 years ago
afc163
455d3654b8
Fix dateInput format of DatePicker, close #1403
9 years ago
afc163
b155ba15cb
fix react@15 warning, ref #1340
9 years ago
afc163
f726979af9
fix(DatePicker): showTime locale problem
close #1356
9 years ago
afc163
655e4d5a7d
Add LocaleProvider support for RangePicker
9 years ago
Bruce Mitchener
fa65f25b1e
Switch RangePicker to ES6 class.
9 years ago
Bruce Mitchener
50d61eb7de
Fix RangePicker handleChange callback.
There was a minor typo in 2e86463a6a
which broke the handleChange callback (this.props was replaced with
props.props rather than just props).
9 years ago
Benjy Cui
2e86463a6a
refactor: remove mixin
9 years ago
Benjy Cui
193ba74bff
style: update code style
9 years ago
afc163
703cf31868
Add dateString to DatePicker & TimePicker onChange
close #1104
9 years ago
Benjy Cui
c1659c2ce3
style: update code style to please lint
9 years ago
afc163
812225ea41
Fix DatePicker clear not work when showTime
9 years ago
afc163
c1bd0098d2
update code style
9 years ago
yiminghe
698ebb13b3
optimize calendar
9 years ago
afc163
411f529242
Add getCalendarContainer prop to DatePicker, close #991
9 years ago
afc163
11f6582235
Fix date-picker onOk
9 years ago
Benjy Cui
61df1eb1dc
fix: should pass formatter to rc-calendar #917
9 years ago
Benjy Cui
07cfe19095
fix: locale should be passed to timePicker #837
9 years ago
Benjy Cui
b72d18fd44
style: update code style to please the fucking 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
yiminghe
a5efd5d028
fix range picker
9 years ago