HJin.me
47589ba92c
fix get(Popup|Calendar|Suggestion|Tooltip)Container ts type ( #5528 )
8 years ago
afc163
849c5fbf75
Fix getPopupContainer ts type
8 years ago
afc163
322e9efdc9
Fix getPopupContainer ts type
8 years ago
Benjy Cui
174c3b7d62
docs: MonthPicker doesn't support onOk, close : #5350
8 years ago
afc163
5068343b0c
fix tslint
8 years ago
afc163
a7c6c027ce
Fix ts definition of Table & RangePicker
close https://segmentfault.com/q/1010000008423156
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
Benjy Cui
bbef274aae
feat: expose DatePicker[showToday], ref: #3793
8 years ago
feng zhi hao
b6fbc266c5
add declaration in DatePicker ( #3829 )
8 years ago
Benjy Cui
f7e480ad53
feat: add DatePicker[allowClear], close : #3618
8 years ago
feng zhi hao
0257e02e65
optimize declaration ( #3531 )
8 years ago
feng zhi hao
6bcd489c50
chore: optimize DatePicker`s declaration ( #3468 )
8 years ago
Albert Zheng
23dd825afd
【Please review】Fixes for supporting TypeScript 2.0.3 ( #3439 )
* Fixes for supporting TypeScript 2.0.3
* Fixes for supporting TypeScript 2.0.3. Issue is #3358
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
马斯特
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
8db2b79505
chore: fix compile errors
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
a6d7cc0035
style: update code style to please lint
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
yiminghe
9a0d751f94
refactor to typescript
9 years ago
afc163
455d3654b8
Fix dateInput format of DatePicker, close #1403
9 years ago
afc163
f726979af9
fix(DatePicker): showTime locale problem
close #1356
9 years ago
Benjy Cui
2e86463a6a
refactor: remove mixin
9 years ago
Benjy Cui
6157d21089
refactor: DatePicker
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
afc163
20211d448c
Add default width for showTime DatePicker
9 years ago
Bruce Mitchener
11c0a6a203
Name classes without Ant* prefix.
Where necessary, prefix the classes imported from react-component
with 'Rc' rather than prefixing the Ant classes with 'Ant'.
The prefixing of Ant classes wasn't consistent and isn't necessary
in many cases.
9 years ago
afc163
56fb20b76d
Fix date-picker style prop
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
Benjy Cui
29825f20c8
style: update code style to please lint
9 years ago
afc163
411f529242
Add getCalendarContainer prop to DatePicker, close #991
9 years ago
afc163
11f6582235
Fix date-picker onOk
9 years ago
afc163
21eac259b6
fix dateInput format when contains time-picker, close #953
9 years ago
Benjy Cui
61df1eb1dc
fix: should pass formatter to rc-calendar #917
9 years ago
afc163
a479bc8fe3
Fix MonthPicker style, close #848
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
afc163
2ea1fb48a4
rm onSelect
9 years ago
afc163
cbf7d27664
improve rangepicker and add showTime prop
9 years ago
Benjy Cui
afa40dd919
feat: add RangePicker
9 years ago
afc163
41660c3814
fix value prop of DatePicker to controlled prop
9 years ago
afc163
d759d1f489
Datepicker => DatePicker, Timepicker => TimePicker
9 years ago