afc163
8bc0e8ab9d
Remove used code and add test case for #5191
8 years ago
Benjy Cui
3aac9adc40
docs: remove some demo
8 years ago
Benjy Cui
4e59e9e769
docs: recommend to use LocaleProvider, ref: #5017
8 years ago
afc163
ec81fe4f1c
update MonthPicker demo
8 years ago
Benjy Cui
200b88246f
docs: update docs format
8 years ago
Benjy Cui
3e17551b7e
site: improve build speed
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
afc163
56bd431cc6
clean demo
8 years ago
afc163
11f509a972
clean demo
8 years ago
Benjy Cui
9d92066d1f
chore: update data-picker detail, ref: #4415
8 years ago
afc163
c3982b02aa
Fix monthCellContentRender and wrong documentation, close #4394
8 years ago
kdenz
aab32236c6
hours array should be from 0 to 23, not 0 to 59 ( #4157 )
8 years ago
afc163
3b8ac48e6b
update DatePicker demo format
8 years ago
Benjy Cui
38fd7f6feb
chore: improve detail
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
afc163
82fa3ed2a5
update DatePicker doc and demo
8 years ago
Benjy Cui
c073e78074
fix: should work with timepicker without minutes and so on, ref: #3793 ( #3799 )
8 years ago
Benjy Cui
4da0ae4f42
docs: update demos for DatePicker, ref: #3793
8 years ago
陆离
d051d94af4
feat: RangePicker disabledTime ( #3568 )
* RangePicker disabledTime
* update API document of RangePicker
8 years ago
Benjy Cui
6343e6b763
docs: update demo
8 years ago
afc163
9e322ea445
remove unused demo
8 years ago
Benjy Cui
3112b0d7ca
site: support debug mode for demo, close : #3506
8 years ago
Benjy Cui
2d383067ce
docs: should remove domain, close : #3215
8 years ago
Benjy Cui
76d43e8d1b
docs: update demo
8 years ago
afc163
2875d024f9
fix range picker style
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
7459be26aa
docs: update docs about timezone, ref: #3020
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
afc163
87e6ec8940
fix date-picker demo
8 years ago
ddcat1115
6289d1202b
docs: LocaleProvider, DatePicker 补充时区说明 ( #2761 )
8 years ago
RaoHai
7dd4a019d5
DatePicker 组件优化
+ DatePicker showTime: 面板上的日期展示输入框统一为一个,格式和外面的输入框同步,并且支持手动修改。
面板上的 TimePicker
+ DatePicker showTime: 输入框不再展示,改造为『选择时间』,点击后不再展开浮层,直接盖住日期区域。
+ RangePicker showTime : 只选中开始日期,“确定”和“选择时间”灰置。 如未选择日期直接选择时间,开始日期和结束日期默认选中当天。
+ RangePicker showTime : 点击框外和确定均为确定操作。
+ RangePicker showTime : 在时间页面,开始时间的默认状态为当前时间,结束时间的默认状态跟随开始时间。
+ RangePicker showTime : 开始时间的选择范围没有限制,结束时间的选择范围必须大于等于开始时间。
+ RangePicker showTime : 当开始时间选择了结束时间之后的时间(发生冲突),结束时间则自动切换到与开始时间相同的时间。
8 years ago
afc163
43d8c0a4a2
Fix DatePicker onChange and onOk when showTime
onChange should be triggered at clicking ok button
when showTime is true. You can use onChange replace onOk
anytime.
This commit revert a05b4e6, which break the behavious above.
close #2399 , also fix #2120
8 years ago
ddcat1115
88f77f85ca
docs: translation-DatePicker ( #1932 )
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
Benjy Cui
ecaa6c56c3
style: enable comma-dangle
9 years ago
afc163
03cb74ead5
upgrade eslint-config-airbnb version and fix some problems
9 years ago
Leon Shi
baac12d1c4
fix lint ( #1513 )
* fix lint `prefer-stateless-function`
* fix lint `arrow-body-style`
9 years ago
afc163
0805d4365d
update locale demo
9 years ago
afc163
8a422ba2cd
update demo
9 years ago
qubaoming
fc66d27042
change timepicker options to rctimepicker options
9 years ago
qubaoming
6b3a97b902
change timepicker options to rctimepicker options
9 years ago
Benjy Cui
df3ba36720
docs: remove useless newline in documentation
9 years ago
Benjy Cui
2a3febfe4c
deps: remove useless dependencies
9 years ago
Benjy Cui
03d09b66e8
docs: update demo format
9 years ago
Benjy Cui
fd3406bd03
style: enable react/jsx-no-bind
9 years ago
afc163
703cf31868
Add dateString to DatePicker & TimePicker onChange
close #1104
9 years ago
afc163
20211d448c
Add default width for showTime DatePicker
9 years ago
afc163
8070e05de1
update demo
9 years ago