Kamron Batman
3eb91cef47
docs: update start-end.md ( #8462 )
Fixes english and spelling in start-end.md.
7 years ago
Wei Zhu
e613dc9050
Remove debug flag
7 years ago
Wei Zhu
b44a0c93cd
Add focus() blur() and autoFocus to DatePicker ( #8345 )
7 years ago
niko
be1cbd4eae
upgrade rc-calendar dependency to 9.3.0 ( #8353 )
7 years ago
偏右
9053192ae9
Fix component style ( #7848 )
* fix components style
* fix snapshot
* update travis node version
* change upload action in ci
7 years ago
afc163
420c2666a9
docs: add chinese description for dateRender
7 years ago
Henri Normak
36a54a8a8c
Expose renderDate function for DatePicker ( #7710 )
* Expose renderDate function for Calendar dates
* Use the original prop name
7 years ago
偏右
f3911b3707
Feat week picker ( #7404 )
* New Component WeekPicker
close #212
* Add WeexPicker in API doc
* update snapshot
* Add test cases
* update snapshot
7 years ago
Benjy Cui
2620318172
feat: support controlled panels for DatePicker and RangePicker, close : #5190 ( #7049 )
7 years ago
Benjy Cui
950c321b25
fix: should generate showHour from format `k`
8 years ago
afc163
6790e80f3e
Add renderExtraFooter for DatePicker
close #6122 , close #5188
8 years ago
Benjy Cui
361df26f3a
fix: should support DatePicker|RangePicker[showTime.defaultValue], ( #6160 )
close : #5691 #2375
8 years ago
afc163
29e54c2339
fix lint in demo
8 years ago
Benjy Cui
555dbb9b29
docs: add MonthPicker disableDate demo
8 years ago
Benjy Cui
12a6060304
docs: fix code style
8 years ago
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