Commit Graph

24 Commits

Author SHA1 Message Date
Jonathan Lee
a2cd6a5e7f types: complete monthCellContentRender property type definition on DatePicker.MonthPicker Component 2019-08-09 19:11:53 +08:00
haimrait
37d19cef3f
Fix issue #17949
Fix issue [#17949]
2019-07-29 16:58:38 +03:00
afc163
57c28def68
revert unknown to any 2019-06-24 11:29:58 +08:00
Zzzen
f1ee189bd2 eliminate any type in exported interfaces.#14044 2019-06-16 20:51:47 +08:00
Sebastian Busch
4af2b62cb5 fix: Add some missing TypeScript prop definititions and clean up date-picker definitions (#16342)
* Add some missing TypeScript prop definitition, clean up date-picker definitions

* use DatePickerMode instead of redundant enumeration of modes

* decade was  missing from the list of modes

See https://codesandbox.io/s/388xplj646
- activate DatePicker
- click on year in header
- click on years in header
- "decade" is printed on footer as mode for renderExtraFooter()

* add decade as possible value for mode prop
2019-05-03 21:55:18 +08:00
Sebastian Busch
7a514c1b94 Fix TypeScript def for RangePicker.renderExtraFooter(), gets no args 2019-04-26 14:31:38 +02:00
ztplz
298a86f601 Add separator prop for RangePicker (#15765)
* Add `separator` prop for RangePicker

* Update
2019-03-31 12:59:37 +08:00
yinjs
f602a9b153 fix #15035 datepicker onPanelChange ts declaration missing 2019-02-26 10:35:27 +08:00
zombieJ
fb6a493f11
support name prop (#15029) 2019-02-25 11:28:31 +08:00
zombieJ
aa5ed8c237
Continue works on #12667 (#14668)
* Update index.tsx

* add limitation on checking labelPlacement

* add type checking of 'mode' in DatePickerProps
2019-01-31 16:52:29 +08:00
kuitos
fc56fe9ce5 typing fix 2019-01-31 14:45:45 +08:00
Van Nguyen
1e14139610 Revise DatePicker callbacks with possibly null date 2018-12-29 17:42:34 +08:00
iugo
5681d6381a
fix RangePickerProps onOk type 2018-12-17 11:39:47 +08:00
陈帅
dca9715186 support prettier 2018-12-07 18:27:30 +08:00
zombiej
62810dbde6 datePicker support string[] format
close #13148
2018-11-30 14:34:58 +08:00
kuitos
2bb6369e3e typing correct 2018-11-09 19:31:47 +08:00
HeskeyBaozi
2b7bd92cf6 datepicker: suffix -> suffixIcon 2018-09-21 13:40:27 +08:00
HeskeyBaozi
160d34aeba add suffix icon to date-picker 2018-09-21 13:40:27 +08:00
zhuyue
ed70ba694e Merge branch 'feature-3.3.0' 2018-03-11 14:50:25 +08:00
Pierre
1259d703c7 Fix typo WeexPickerProps -> WeekPickerProps (#9564) 2018-03-07 23:56:24 +08:00
jim
50863acb1b datePicker add dropdownClassName prop fix #7211 2018-02-09 11:35:13 +08:00
Wei Zhu
bebed2c4ae
Allow function for preset range (#9195)
* Allow function for preset range

Close #8281

* Rename RangePickerRange to RangePickerPresetRange
2018-02-01 02:05:57 -06:00
mgrdevport
cfdb1cab4b Pass id prop to DatePicker input field (#8598) 2018-01-24 10:48:34 +08:00
Wei Zhu
0bb531aca6 Refactor DatePicker types 2018-01-19 19:07:18 +08:00