afc163
2ee2cc3303
🐛 Fix DatePicker throw onEsc error
close #19461
5 years ago
orzyyyy
63b33d4020
fix: unexpected changes of snapshots
5 years ago
zombieJ
7db67ae8f1
add interopDefault ( #16110 )
6 years ago
zombieJ
100ebc9795
warning DatePicker of invalidate time ( #15920 )
6 years ago
zombiej
0af6bded1d
fix configProvider getPopupContainer not work with DatePicker
6 years ago
zombieJ
a379c47162
add missing defaultFormat ( #14593 )
6 years ago
zombieJ
04111fb40e
Support date format in locale ( #14340 )
* use locale format
* remove monthFormat
* use locale format
* add test case
6 years ago
陈帅
8e11f0bdb9
merge support prettier
6 years ago
陈帅
dca9715186
support prettier
6 years ago
zombieJ
1a0a06fca9
ConfigProvider support prefixCls ( #13389 )
Basic support prefixCls.
6 years ago
MuYu
72a6febcc4
fix: select type definition ( #12865 )
* fix: select type definition
* fix: wrapPicker type definition
* fix: select type definition
6 years ago
Eden Wang
6804094fa2
export mouse enter and mouse leave event for datepicker
6 years ago
Wei Zhu
46b45acb12
Remove babel-plugin-add-module-exports ( #8888 )
7 years ago
afc163
0ecb6ad45f
Fix prop locale not working in DatePicker/RangePicker
close #8635
7 years ago
Wei Zhu
b44a0c93cd
Add focus() blur() and autoFocus to DatePicker ( #8345 )
7 years ago
Wei Zhu
4aeb811b72
Remove deprecations ( #8351 )
7 years ago
Wei Zhu
9fd3588ac4
Fix implicit any error for DatePicker
7 years ago
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
7 years ago
Benjy Cui
67be1eafa9
test: fix CI
7 years ago
Benjy Cui
7ea572bfc8
refactor: extract common locale logic ( #7915 )
7 years ago
偏右
2bced36f0c
New component styles ( #7731 )
* Tweak button padding
* upgrade input and button size
* update form controls size
* update components size
* Add lemon color and update rate color
* Add new icons
* update layout style
* breadcrumb and dropdown
* update menu arrow width
* update layout and menu
* update steps
* fix var name
* update cascasder style
* Update DatePicker
* update InputNumber and Mention
* radio and switch
* select and transfer
* TimePicker & Upload
* more components
* calendar and list
* Tree Timeline Popover Tag
* divider modal popover
* update search input
* update card style
* update switch disabled opacity
* update shoadow and mask
* Add v2-compatible-reset.less
* Fix undefined className
* update snahshotssssssssssssssssss 👻
7 years ago
Benjy Cui
829b5f87bf
feat: make default locale to enUS ( #7553 )
* feat: make default locale to enUS
* test: fix CI
* docs: update getting started
7 years ago
Benjy Cui
119d498935
chore: replace http with https, close : #6893
7 years ago
Benjy Cui
9c7cec3e39
refactor: remove span[disabled]
7 years ago
Benjy Cui
950c321b25
fix: should generate showHour from format `k`
8 years ago
Benjy Cui
9b025806b8
fix: remove align.offset, ref: 0a1c0712
8 years ago
偏右
d3aa5f3cbf
fix: time picker layout ( #5983 )
* Add popupClassName
* Fix showTime panel width bug, close #5959
* Add test case
8 years ago
Benjy Cui
5fe3cb9318
refactor: to ES6 class style
8 years ago
偏右
0308138974
[WIP] upgrade deps ( #5455 )
* upgrade deps
* autofix some tslint problems
* Fix tslint problems manually
8 years ago
偏右
674255bd14
[WIP] upgrade deps ( #5455 )
* upgrade deps
* autofix some tslint problems
* Fix tslint problems manually
8 years ago
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