afc163
1566011720
continue to fix #3312 & #3307
8 years ago
afc163
f1d0223b66
Fix conflict less var, fix #3312
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
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
247757f63f
css: fix RangePicker's style
8 years ago
feng zhi hao
cad2d19be2
fix: complete loss declaration ( #3068 )
* complete loss declaration
* fix error in ts-lint
* fix Icon name error
8 years ago
afc163
483b9e4888
Fix hover bounce style in DatePicker time panel
8 years ago
Benjy Cui
af7635a73c
fix: should work with rc-form, close : #3046
8 years ago
偏右
354759cb17
Redesigned icons ( #3041 )
* redesigned icons
* change iconfont content
* use same icons
* fix missing icons
* improve icon size
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
2a57a4af27
fix: css of DatePicker
8 years ago
Benjy Cui
7459be26aa
docs: update docs about timezone, ref: #3020
8 years ago
Benjy Cui
8db2b79505
chore: fix compile errors
8 years ago
Benjy Cui
58745edecf
docs: update
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
afc163
10862b30a2
Add missing prop `open` into document, close #2792
8 years ago
afc163
903bb1aa82
fix lesshint
8 years ago
afc163
1dd810ebcb
update doc
8 years ago
Benjy Cui
a6d7cc0035
style: update code style to please lint
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
ddcat1115
6289d1202b
docs: LocaleProvider, DatePicker 补充时区说明 ( #2761 )
8 years ago
Benjy Cui
a4d91fb99a
fix: should hide close button if not hover, close : #2584
8 years ago
afc163
ca57794ae7
better implement for a2804cb
8 years ago
afc163
45c0a6e38f
blank line
8 years ago
afc163
2face80716
Click todayButton should trigger onChange, close #1902
8 years ago
afc163
a2804cbff5
Make clear icon more clear
8 years ago
afc163
92d127d8a5
Fix DatePicker style
8 years ago
afc163
5eb52885d6
@background-color-base
8 years ago
RaoHai
8c739abeb5
style lint
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
e2cc2838fd
Fix lesshint
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
偏右
de359d2cf7
fix tslint problems ( #2360 )
8 years ago
yiminghe
94706f1d2c
fix ts
9 years ago
afc163
842b55128f
Fix clear icon in RangePicker, close #2252
9 years ago
afc163
089f1ae512
update components category name
9 years ago
afc163
6dcc1bc915
fix clear icon style, close #2182
9 years ago
afc163
c7da69036d
revert mistake of DatePicker time changed
9 years ago
afc163
619ceffd7e
fix createPicker.tsx
9 years ago
yiminghe
9a0d751f94
refactor to typescript
9 years ago
ddcat1115
88f77f85ca
docs: translation-DatePicker ( #1932 )
9 years ago
afc163
94423f60f2
use readOnly
9 years ago
afc163
bec5d311a0
Improve DatePicker start-end demo expierence
9 years ago
afc163
a2d435aad7
Fix range cell background
9 years ago
Benjy Cui
2144349741
style: enable react/jsx-closing-bracket-location
9 years ago