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
f9bad27469
Fix DatePicker input style
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
26c5c8e11c
fix: should work with latest rc-time-picker ( #3810 )
8 years ago
Benjy Cui
60ecb3c628
refactor: each message should warn just once
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
d8e9fff5ba
deps: upgrade dependencies, close : #3161 ( #3162 )
* deps: upgrade dependencies, close : #3161
* css: update style for DatePicker[showTime]
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
5dcce12c2c
fix: some tsc errors ( #2804 )
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
afc163
45c0a6e38f
blank line
8 years ago
RaoHai
7dd4a019d5
DatePicker 组件优化
+ DatePicker showTime: 面板上的日期展示输入框统一为一个,格式和外面的输入框同步,并且支持手动修改。
面板上的 TimePicker
+ DatePicker showTime: 输入框不再展示,改造为『选择时间』,点击后不再展开浮层,直接盖住日期区域。
+ RangePicker showTime : 只选中开始日期,“确定”和“选择时间”灰置。 如未选择日期直接选择时间,开始日期和结束日期默认选中当天。
+ RangePicker showTime : 点击框外和确定均为确定操作。
+ RangePicker showTime : 在时间页面,开始时间的默认状态为当前时间,结束时间的默认状态跟随开始时间。
+ RangePicker showTime : 开始时间的选择范围没有限制,结束时间的选择范围必须大于等于开始时间。
+ RangePicker showTime : 当开始时间选择了结束时间之后的时间(发生冲突),结束时间则自动切换到与开始时间相同的时间。
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
afc163
bec5d311a0
Improve DatePicker start-end demo expierence
9 years ago
Benjy Cui
2144349741
style: enable react/jsx-closing-bracket-location
9 years ago
afc163
5960ecab7a
fix code style
9 years ago
kaifei
e3ba415822
add callback toggleOpen
9 years ago
Benjy Cui
dd57b6d707
fix: should pass locale to TimePicker
9 years ago
Benjy Cui
ecaa6c56c3
style: enable comma-dangle
9 years ago
Benjy Cui
22e35544b6
fix: should not cache formatter, close #1509
9 years ago
qubaoming
2d72bc58d2
adjust props position & range-picker add showTime options
9 years ago
qubaoming
94e0488812
adjust props position
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
qubaoming
a674657287
data-picker extent options
9 years ago
qubaoming
fd57f4c12d
date-picker extend options
9 years ago
Benjy Cui
2e86463a6a
refactor: remove mixin
9 years ago