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
5dcce12c2c
fix: some tsc errors ( #2804 )
8 years ago
yiminghe
94706f1d2c
fix ts
9 years ago
afc163
619ceffd7e
fix createPicker.tsx
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
a05b4e6747
remove unused compatibility code, fix #1902
9 years ago
RaoHai
c65f201d51
DatePicker improvement
close #1701
9 years ago
Benjy Cui
ecaa6c56c3
style: enable comma-dangle
9 years ago
afc163
fcf3242570
upgrade eslint-config-airbnb and fix lints
9 years ago
Benjy Cui
0ebf6c2ecc
style: enable react/prefer-es6-class
9 years ago
afc163
b155ba15cb
fix react@15 warning, ref #1340
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
yiminghe
f99bbf5c2e
add month picker
9 years ago
afc163
d1d3329674
fix boolean attribute lint errors
9 years ago
afc163
62b50c76d7
adjust datepicker and timepicker style to fit each other
9 years ago
Benjy Cui
bbadcc34c1
refactor: cache the result of `getLocale()`
9 years ago
afc163
bb897c17ec
fix datepicker placeholder
9 years ago
afc163
c416d40b81
Fix datepicker style prop, close #564
9 years ago
afc163
5b65625a3b
fix placeholder again
9 years ago
afc163
c10e7e2a49
keep placeholder can be set
9 years ago
Benjy Cui
f51fa42353
fix: the placeholder of `Datepicker`
9 years ago
yiminghe
697fb5d8f9
add locale for calendar
9 years ago