afc163
4f89e54cb2
Merge from branch "master"
2017-03-28 15:58:41 +08:00
Yusuke Ito
b342dbefa2
Japanese locale ( #5529 )
...
* add ja_JP translation
* fix Japanese locale
* fix i18n docs
* update rc-pagination version
* add locale test for ja_JP
2017-03-28 15:11:33 +08:00
HJin.me
47589ba92c
fix get(Popup|Calendar|Suggestion|Tooltip)Container ts type ( #5528 )
2017-03-28 13:20:05 +08:00
afc163
8f286d6700
change comments to English
2017-03-27 10:09:38 +08:00
偏右
0308138974
[WIP] upgrade deps ( #5455 )
...
* upgrade deps
* autofix some tslint problems
* Fix tslint problems manually
2017-03-27 10:09:38 +08:00
afc163
849c5fbf75
Fix getPopupContainer ts type
2017-03-27 10:09:06 +08:00
Madis Väin
7696c1cd05
feat: Add et_EE locale (Estonian) ( #5266 )
...
* add Estonian translations
* add other translations except pagination for Estonian
* add to tests
* linting fixes
* remove comments
2017-03-24 10:54:36 +08:00
Martin Litvaj
82b516c77f
feat: SK Localization ( #5304 )
2017-03-24 10:30:37 +08:00
afc163
4a396c4d7b
change comments to English
2017-03-23 21:32:29 +08:00
偏右
674255bd14
[WIP] upgrade deps ( #5455 )
...
* upgrade deps
* autofix some tslint problems
* Fix tslint problems manually
2017-03-23 21:15:49 +08:00
afc163
322e9efdc9
Fix getPopupContainer ts type
2017-03-21 16:35:31 +08:00
Wei Zhu
f6b1e942e3
Jest 19 ( #5361 )
...
* Upgeade to jest 19
* Use jest.spyOn
2017-03-17 18:56:30 +08:00
Benjy Cui
174c3b7d62
docs: MonthPicker doesn't support onOk, close : #5350
2017-03-17 10:24:32 +08:00
afc163
8bc0e8ab9d
Remove used code and add test case for #5191
2017-03-07 18:49:22 +08:00
Graeme Yeates
18077894f2
Remove DatePicker temporary values [ fix #5189 ] ( #5191 )
2017-03-07 18:00:51 +08:00
Wei Zhu
67bbae9ea8
Merge branch 'feature-2.8'
2017-03-05 21:34:57 +08:00
Minsung Ryu
914ee21a4d
Add locale ko_KR(Korean)
2017-03-05 20:15:04 +08:00
Martin Novák
e59bb6b609
cz translation ( #5169 )
2017-03-05 20:11:24 +08:00
Graeme Yeates
7cd590b3b0
Use @input-color to set calendar's input color ( #5147 )
2017-03-03 10:46:51 +08:00
afc163
b3a325dc29
Fix disabled DatePicker hover border color
2017-03-01 15:26:12 +08:00
Benjy Cui
758559f718
test: update snapshots
2017-02-28 16:14:53 +08:00
Benjy Cui
69d9d1edda
chore: add warning for typo, close : #5044
2017-02-28 14:44:12 +08:00
afc163
376806dab8
Merge from "master"
2017-02-26 18:45:16 +08:00
afc163
2bf6e22653
fix documentation for onOk, close #5044
2017-02-24 18:08:35 +08:00
Benjy Cui
3aac9adc40
docs: remove some demo
2017-02-24 16:17:52 +08:00
Graeme Yeates
19c11dd173
chore: RangePicker TimePicker component locking background to white ( #5031 )
2017-02-24 10:42:45 +08:00
Benjy Cui
4e59e9e769
docs: recommend to use LocaleProvider, ref: #5017
2017-02-24 10:22:21 +08:00
Benjy Cui
1c837963e2
chore: add warning for deprecated API
2017-02-23 16:04:27 +08:00
afc163
5068343b0c
fix tslint
2017-02-23 13:18:06 +08:00
afc163
a7c6c027ce
Fix ts definition of Table & RangePicker
...
close https://segmentfault.com/q/1010000008423156
2017-02-23 12:51:40 +08:00
afc163
7181e3c9e8
revert d9ec4bf
and ef0b708
, close #4997
2017-02-22 16:50:24 +08:00
Benjy Cui
e4d9e5af54
test: update snapshot
2017-02-22 15:52:43 +08:00
Benjy Cui
d9ec4bf732
fix: RangePicker style
2017-02-22 15:33:21 +08:00
afc163
a9a564779e
Merge from "master"
2017-02-20 12:18:41 +08:00
afc163
3308bce9b9
fix snapshot test
2017-02-20 11:36:57 +08:00
afc163
626e0c9d1e
Fix DatePicker default width, close #4947 , ref #4920
2017-02-20 11:36:19 +08:00
Aaron Planell López
05fd5a6825
Add locale ca_ES (Catalan) ( #4929 )
...
* Add locale ca_ES (Catalan)
* Add locale ca_ES (Catalan). Modify global locale in local-provider.
2017-02-19 14:27:14 +08:00
afc163
28dbdd17ed
fix for #4920
2017-02-17 14:11:10 +08:00
afc163
a87016ce54
Make sure DatePicker style.width can be effective, close #4920
2017-02-17 12:05:22 +08:00
afc163
e801cd022e
fix snapshot
2017-02-15 16:40:26 +08:00
afc163
ec81fe4f1c
update MonthPicker demo
2017-02-15 16:32:20 +08:00
Benjy Cui
63476d0bc0
Merge branch 'master' into feature-2.8
2017-02-14 10:56:33 +08:00
corneyl
28961856aa
feat: Added Dutch locale and bumped dep versions so they include Dutch locales ( #4785 )
...
* Added Dutch locale and bumped dep versions so they include Dutch locales
Bumped versions so they include Dutch locales
- rc-calendar to ~7.6.2
- rc-pagination to ~1.6.6
* Added dutch locale to LocaleProvider test
2017-02-13 15:46:13 +08:00
Benjy Cui
200b88246f
docs: update docs format
2017-02-13 10:55:53 +08:00
Benjy Cui
251930f183
docs: fix some link
2017-02-09 17:55:26 +08:00
偏右
75a4b06e44
Unified border radius, close #4772 ( #4773 )
2017-02-08 14:21:29 +08:00
Benjy Cui
5d7fc8c2b8
chore: add comment for tricky code
2017-02-07 12:10:20 +08:00
Benjy Cui
c565d42847
Revert "chore: remove useless code, close : #4402 "
...
This reverts commit 9b77a21a16
.
2017-02-07 12:05:12 +08:00
Benjy Cui
9b77a21a16
chore: remove useless code, close : #4402
2017-02-06 18:04:37 +08:00
Graeme Yeates
1006015ef0
Add border customization variables ( #4734 )
...
* Add border customization variables (#4712 )
* Make border styles customizable (fixes #4712 )
2017-01-31 16:05:10 +08:00
afc163
f2bb4afd4d
Merge from master
2017-01-27 17:23:51 +08:00
Simon Waloschek
fd233cf430
Added German locale ( #4686 )
...
* Added German locale
* Added German locale for pagination
2017-01-25 21:12:27 +08:00
Wei Zhu
77b78a9389
docs: Unify type naming ( #4636 )
...
* Unify name of ReactNode type in document
* Lowser all string type name
* Lowercase all number type name
* Lowercase all boolean type name
* Unify array type
* Lowercase all object type name
* Unify mutilple types
2017-01-20 20:10:50 +08:00
afc163
35523be6e9
Merge from master
2017-01-20 18:28:09 +08:00
afc163
9c6ce3fe48
fix RangePicker snapshot
2017-01-20 14:12:06 +08:00
Benjy Cui
3e17551b7e
site: improve build speed
2017-01-19 15:22:53 +08:00
Benjy Cui
e3758168e4
fix: should switch to right panels, close : #4561 ( #4614 )
...
* fix: should switch to right panels, close : #4561
* docs: update demo
2017-01-19 13:55:04 +08:00
afc163
784915e55b
Fix DatePicker time scroll issue, close #4412
2017-01-15 14:10:20 +08:00
Benjy Cui
97221a6f63
css: fix style issue, close : #4415
2017-01-12 10:35:17 +08:00
bokzor
47fcd7651f
feat: Add french locale ( #4538 )
...
* add french locale
* Add french locale
2017-01-11 10:28:47 +08:00
Benjy Cui
3fa5d10da3
Merge branch 'master' into feature-2.7
2017-01-10 10:50:40 +08:00
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
2017-01-09 16:25:58 +08:00
afc163
7d75a2673a
components/date-picker/locale/sv_SE.jsx
2017-01-08 19:24:55 +08:00
Jesper We
c6f6de3605
feat: Add support for Swedish locale ( #4455 )
...
* Swedish locale
* Create sv_SE.tsx
* Create sv_SE.tsx
* Create sv_SE.tsx
2017-01-08 19:14:28 +08:00
Benjy Cui
df18edda79
chore: update link to locale format
2017-01-08 19:14:02 +08:00
Jesper We
11ebc915eb
feat: Add support for Swedish locale ( #4455 )
...
* Swedish locale
* Create sv_SE.tsx
* Create sv_SE.tsx
* Create sv_SE.tsx
2017-01-08 19:14:01 +08:00
afc163
56bd431cc6
clean demo
2017-01-04 11:07:49 +08:00
afc163
11f509a972
clean demo
2017-01-04 11:00:58 +08:00
Benjy Cui
9d92066d1f
chore: update data-picker detail, ref: #4415
2017-01-04 10:48:40 +08:00
偏右
d811ebee5c
New color system ( #4426 )
...
* Add new color patterns algorithm
* Add color palettes
* update other colors
* fix gray color
* update more tint/shade to colorPalette
* new font color
* Update doc for new color system
* improve doc style
2017-01-01 22:20:06 +08:00
afc163
c3982b02aa
Fix monthCellContentRender and wrong documentation, close #4394
2016-12-30 15:04:13 +08:00
afc163
ecd2e57ef2
controlled DatePicker should not be clear
2016-12-20 11:01:10 +08:00
Benjy Cui
f3c55c6ef8
Revert "site: use cdn to improve performance, close : #3646 "
...
This reverts commit 47f56eab23
.
2016-12-20 10:19:06 +08:00
Benjy Cui
47f56eab23
site: use cdn to improve performance, close : #3646
2016-12-19 20:22:29 +08:00
Wei Zhu
666e80a1ba
tests: Fix table import
2016-12-14 15:38:26 +08:00
Wei Zhu
07103b9fb6
Don't ignore test files.
2016-12-14 14:48:09 +08:00
Wei Zhu
17a0a33283
Restructure tests.
2016-12-14 14:41:39 +08:00
afc163
b912f1cea6
Fix DatePicker[showTime] default width
2016-12-11 13:59:06 +08:00
Benjy Cui
904be38493
docs: update locale format ( #4150 )
2016-12-07 10:45:20 +08:00
kdenz
aab32236c6
hours array should be from 0 to 23, not 0 to 59 ( #4157 )
2016-12-07 10:05:31 +08:00
Benjy Cui
273faafaa2
fix: should use moment.isMoment, close : #4147
2016-12-06 14:21:17 +08:00
afc163
f9bad27469
Fix DatePicker input style
2016-12-05 00:27:03 +08:00
afc163
8df23e2d06
revert value undefined for resetFields, close #3846
2016-12-03 15:50:36 +08:00
afc163
edd57defa5
use moment.isMoment
...
http://momentjs.com/docs/#/query/is-a-moment/
2016-12-03 14:48:44 +08:00
Benjy Cui
c4d8c4770c
Add upgrade warning ( #4028 )
...
* chore: add upgrade warning for time related value
* chore: update warning
* chore: update demo url
2016-12-02 15:07:33 +08:00
Benjy Cui
932443099a
css: use @component-background, ref: #4040
2016-11-29 11:56:10 +08:00
cathayandy
addb6e44dc
Fix #4039 . Replace background-color: #fff with background: @body-background ( #4040 )
2016-11-29 09:54:54 +08:00
Wei Zhu
bd55d21f83
style: Fix jsx-no-multiline-js ( #3994 )
...
* Fix jsx-no-multiline-js
* TimePicker addon test
* Transfer search test
2016-11-25 12:03:39 +08:00
Nathan Tavares Nascimento
c97e687edd
feature: add pt_BR locale support ( #4004 )
2016-11-25 09:44:28 +08:00
afc163
f3df6205a4
fix RangePicker placeholder not working bug
2016-11-23 20:35:34 +08:00
Wei Zhu
ccbebe60cc
style: Fix jsx alignment, #3966 ( #3967 )
2016-11-23 17:53:10 +08:00
afc163
7b61b84145
Add missing doc for DatePicker[placeholder]
2016-11-23 11:30:05 +08:00
afc163
3b8ac48e6b
update DatePicker demo format
2016-11-23 11:23:18 +08:00
Benjy Cui
1ae5bb9845
chore: remove quick selector label, ref: #3753
2016-11-21 11:41:33 +08:00
Benjy Cui
38fd7f6feb
chore: improve detail
2016-11-18 10:22:11 +08:00
Benjy Cui
e5deba620d
css: improve style according to design, ref: #1418
2016-11-18 10:22:11 +08:00
Benjy Cui
f499a026ce
feat: basic impl of RangePicker[ranges], ref: #1418
2016-11-18 10:22:11 +08:00
RaoHai
d4269f8f30
fix format
props of RangePicker
...
+ close #3808
2016-11-14 20:27:51 +08:00
afc163
fc3d320872
much better way for #3748 and fix ok close animation
2016-11-14 19:38:24 +08:00
afc163
82fa3ed2a5
update DatePicker doc and demo
2016-11-14 19:13:37 +08:00
afc163
1850e4b7cf
fix disabled today style
2016-11-14 19:00:17 +08:00
Benjy Cui
bbef274aae
feat: expose DatePicker[showToday], ref: #3793
2016-11-14 11:57:12 +08:00
feng zhi hao
b6fbc266c5
add declaration in DatePicker ( #3829 )
2016-11-14 10:57:52 +08:00
Benjy Cui
26c5c8e11c
fix: should work with latest rc-time-picker ( #3810 )
2016-11-11 18:23:11 +08:00
Benjy Cui
c073e78074
fix: should work with timepicker without minutes and so on, ref: #3793 ( #3799 )
2016-11-11 17:50:48 +08:00
Benjy Cui
d4b5b701bd
docs: update demos for TimePicker
2016-11-11 16:06:11 +08:00
Benjy Cui
4da0ae4f42
docs: update demos for DatePicker, ref: #3793
2016-11-11 12:08:18 +08:00
ddcat1115
0baef0627e
docs: 调整组件导航结构 ( #3758 )
...
- Layout 更名为 Grid
2016-11-09 14:43:32 +08:00
afc163
e4974ac72a
use @font-size-base ( #1752 )
2016-11-08 20:57:07 +08:00
afc163
0a48c62dcb
use @text-color
2016-11-08 20:50:59 +08:00
afc163
9b81fe86d9
clear less variables and add @text-color-secondary
2016-11-08 20:48:03 +08:00
afc163
8f01552e0f
better way to fixing #3748
2016-11-07 15:41:03 +08:00
afc163
0acbba9838
fix DatePicker[showTime] now link, close #3748
2016-11-07 14:52:57 +08:00
Wei Zhu
caf09cd99e
Release 2.3.0 ( #3735 )
...
* docs: add change log for 2.3.0
* Update dependencies.
* Add TimePicker addon demo
2016-11-06 14:32:47 +08:00
afc163
d0c34380d4
simplify form demo code
2016-11-02 18:08:48 +08:00
afc163
4ae2467668
Merge branch 'master' of github.com:ant-design/ant-design
2016-11-02 16:55:50 +08:00
afc163
137299f4c8
blur DatePicker[showTime] will trigger onChange
2016-11-02 15:02:21 +08:00
Benjy Cui
168370fb82
docs: remove documentation about timezone
2016-11-02 13:59:28 +08:00
Benjy Cui
2dc5b11c43
docs: update docs about timezone
2016-11-02 13:47:05 +08:00
afc163
82c816fbc9
Fix controlled DatePicker[showTime] not working, close #3665
2016-11-02 12:03:13 +08:00
Benjy Cui
60ecb3c628
refactor: each message should warn just once
2016-11-01 11:10:11 +08:00
Benjy Cui
0b7856b712
fix: should check undefined value, close : #3665
2016-11-01 10:12:34 +08:00
Benjy Cui
eeb6ab5a01
docs: update docs for DatePicker and so on
2016-10-28 10:32:09 +08:00
Benjy Cui
f7e480ad53
feat: add DatePicker[allowClear], close : #3618
2016-10-28 10:10:02 +08:00
陆离
d051d94af4
feat: RangePicker disabledTime ( #3568 )
...
* RangePicker disabledTime
* update API document of RangePicker
2016-10-25 17:39:17 +08:00
Benjy Cui
4878258f6c
refactor: ref: #3490
2016-10-24 12:04:26 +08:00
feng zhi hao
0257e02e65
optimize declaration ( #3531 )
2016-10-21 16:27:26 +08:00
Benjy Cui
6343e6b763
docs: update demo
2016-10-21 15:18:13 +08:00
afc163
9e322ea445
remove unused demo
2016-10-21 12:20:14 +08:00
afc163
1700ae6078
better way to fix #3523
2016-10-21 12:19:34 +08:00
afc163
a0c96783c0
fix DatePicker align
2016-10-21 11:45:57 +08:00
afc163
ea6a84d9cf
fix DatePicker[showTime] onChange, close #3523
2016-10-20 22:11:55 +08:00
yiminghe
c2d3f16dfb
update tslint
2016-10-20 19:19:16 +08:00
Benjy Cui
3112b0d7ca
site: support debug mode for demo, close : #3506
2016-10-20 17:45:38 +08:00
Benjy Cui
5d4d9f5cea
style: update code style
2016-10-20 14:48:13 +08:00
Benjy Cui
39cf0899f5
fix: DatePicker should be vertical-align: middle, close : #3481
2016-10-19 11:22:10 +08:00
feng zhi hao
6bcd489c50
chore: optimize DatePicker`s declaration ( #3468 )
2016-10-18 15:20:26 +08:00
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
2016-10-18 11:55:00 +08:00
afc163
d92a24d477
Improve overlay border design
2016-10-14 15:40:39 +08:00
afc163
c4665a78e2
remove strange margin-right of DatePicker confirm button in safari
2016-10-14 11:39:21 +08:00
Wei Zhu
26921cf234
fix: Pass format to Calendar ( #3407 )
2016-10-13 16:13:05 +08:00
陆离
24a68a8961
fix again: Datepicker 触发两次 onChange ( #3417 )
...
* fix again
* fix lint
2016-10-13 14:48:09 +08:00
陆离
2232c6b647
fix ( #3391 )
2016-10-12 11:47:34 +08:00
afc163
1566011720
continue to fix #3312 & #3307
2016-10-07 16:04:11 +08:00
afc163
f1d0223b66
Fix conflict less var, fix #3312
2016-10-07 15:41:11 +08:00
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
2016-10-01 00:17:31 +08:00
Benjy Cui
2d383067ce
docs: should remove domain, close : #3215
2016-09-29 15:08:57 +08:00
Benjy Cui
76d43e8d1b
docs: update demo
2016-09-29 14:36:18 +08:00
afc163
2875d024f9
fix range picker style
2016-09-29 12:20:21 +08:00
Benjy Cui
d8e9fff5ba
deps: upgrade dependencies, close : #3161 ( #3162 )
...
* deps: upgrade dependencies, close : #3161
* css: update style for DatePicker[showTime]
2016-09-27 13:42:30 +08:00
Benjy Cui
247757f63f
css: fix RangePicker's style
2016-09-21 16:43:09 +08:00
feng zhi hao
cad2d19be2
fix: complete loss declaration ( #3068 )
...
* complete loss declaration
* fix error in ts-lint
* fix Icon name error
2016-09-19 10:17:07 +08:00
afc163
483b9e4888
Fix hover bounce style in DatePicker time panel
2016-09-18 14:21:45 +08:00
Benjy Cui
af7635a73c
fix: should work with rc-form, close : #3046
2016-09-18 10:20:35 +08:00
偏右
354759cb17
Redesigned icons ( #3041 )
...
* redesigned icons
* change iconfont content
* use same icons
* fix missing icons
* improve icon size
2016-09-18 09:54:47 +08:00
马斯特
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
2016-09-14 16:18:33 +08:00
Benjy Cui
2a57a4af27
fix: css of DatePicker
2016-09-14 14:22:27 +08:00
Benjy Cui
7459be26aa
docs: update docs about timezone, ref: #3020
2016-09-14 09:42:16 +08:00
Benjy Cui
8db2b79505
chore: fix compile errors
2016-09-13 15:31:29 +08:00
Benjy Cui
58745edecf
docs: update
2016-09-13 11:51:34 +08:00
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
2016-09-09 13:55:21 +08:00
afc163
bab669d17d
Merge branch "1.x-stable"
2016-09-08 15:17:39 +08:00
afc163
87e6ec8940
fix date-picker demo
2016-09-08 14:09:36 +08:00
afc163
10862b30a2
Add missing prop open
into document, close #2792
2016-09-08 14:07:38 +08:00
afc163
903bb1aa82
fix lesshint
2016-09-08 11:14:39 +08:00
afc163
1dd810ebcb
update doc
2016-09-01 14:25:05 +08:00
Benjy Cui
a6d7cc0035
style: update code style to please lint
2016-08-24 16:56:29 +08:00
Benjy Cui
5dcce12c2c
fix: some tsc errors ( #2804 )
2016-08-22 17:26:14 +08:00
Benjy Cui
e6280a7ea6
Merge branch '1.x-stable'
2016-08-22 17:05:37 +08:00
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
2016-08-19 17:11:06 +08:00
ddcat1115
6289d1202b
docs: LocaleProvider, DatePicker 补充时区说明 ( #2761 )
2016-08-18 15:39:57 +08:00
afc163
77fa03240b
Merge branch '1.x-stable'
2016-08-03 11:43:43 +08:00
Benjy Cui
a4d91fb99a
fix: should hide close button if not hover, close : #2584
2016-08-03 09:48:53 +08:00
afc163
0eeca99f02
Merge 1.x-stable
2016-07-26 22:20:33 +08:00
afc163
ca57794ae7
better implement for a2804cb
2016-07-25 14:03:56 +08:00
afc163
45c0a6e38f
blank line
2016-07-25 11:28:19 +08:00
afc163
32ab285886
Merge branch '1.x-stable'
2016-07-24 13:49:42 +08:00
afc163
2face80716
Click todayButton should trigger onChange, close #1902
2016-07-22 16:14:50 +08:00
afc163
a2804cbff5
Make clear icon more clear
2016-07-21 20:57:44 +08:00
afc163
92d127d8a5
Fix DatePicker style
2016-07-21 15:20:01 +08:00
afc163
5eb52885d6
@background-color-base
2016-07-21 15:02:24 +08:00
afc163
db4cbabf0c
Merge
2016-07-21 14:39:28 +08:00
afc163
42d34a5db3
Merge branch '1.x-stable'
2016-07-21 14:34:37 +08:00
RaoHai
8c739abeb5
style lint
2016-07-19 16:00:19 +08:00
RaoHai
7dd4a019d5
DatePicker 组件优化
...
+ DatePicker showTime: 面板上的日期展示输入框统一为一个,格式和外面的输入框同步,并且支持手动修改。
面板上的 TimePicker
+ DatePicker showTime: 输入框不再展示,改造为『选择时间』,点击后不再展开浮层,直接盖住日期区域。
+ RangePicker showTime : 只选中开始日期,“确定”和“选择时间”灰置。 如未选择日期直接选择时间,开始日期和结束日期默认选中当天。
+ RangePicker showTime : 点击框外和确定均为确定操作。
+ RangePicker showTime : 在时间页面,开始时间的默认状态为当前时间,结束时间的默认状态跟随开始时间。
+ RangePicker showTime : 开始时间的选择范围没有限制,结束时间的选择范围必须大于等于开始时间。
+ RangePicker showTime : 当开始时间选择了结束时间之后的时间(发生冲突),结束时间则自动切换到与开始时间相同的时间。
2016-07-19 16:00:19 +08:00
afc163
e2cc2838fd
Fix lesshint
2016-07-18 22:24:53 +08:00
afc163
f0995bd1e3
Merge 1.x-stable
2016-07-15 16:42:58 +08:00
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
2016-07-15 16:26:14 +08:00
偏右
de359d2cf7
fix tslint problems ( #2360 )
2016-07-13 11:14:24 +08:00
yiminghe
94706f1d2c
fix ts
2016-07-07 20:25:03 +08:00
afc163
d68d42f69b
Merge 1.x-stable
2016-07-07 17:26:16 +08:00
afc163
842b55128f
Fix clear icon in RangePicker, close #2252
2016-07-07 16:28:00 +08:00
afc163
95351bfffa
Merge branch '1.x-stable'
2016-06-27 19:31:38 +08:00
afc163
089f1ae512
update components category name
2016-06-27 18:21:12 +08:00
afc163
a24634f3ec
Merge 1.x-stable
2016-06-27 14:36:19 +08:00
afc163
6dcc1bc915
fix clear icon style, close #2182
2016-06-27 14:13:30 +08:00
afc163
c7da69036d
revert mistake of DatePicker time changed
2016-06-24 17:48:50 +08:00
afc163
619ceffd7e
fix createPicker.tsx
2016-06-24 14:43:46 +08:00
afc163
cc4cab5b1e
Merge 1.x-stable
2016-06-23 23:11:14 +08:00
afc163
7f8cb3f5cf
improve DatePicker clear icon
...
close #1707 , close #1708
ref #1817
2016-06-23 15:40:42 +08:00