Graeme Yeates
e6d619b3cf
Fix calendar input background to use @input-bg
2017-04-28 13:24:12 -04:00
Benjy Cui
44c4d5c167
fix: should not reset showDate when value is empty array, close : #5872 ( #5898 )
2017-04-26 14:44:07 +08:00
Benjy Cui
f5fa64c17b
fix: hack to fix ts compile errors
2017-04-21 11:39:01 +08:00
Benjy Cui
5fe3cb9318
refactor: to ES6 class style
2017-04-20 17:12:14 +08:00
Yiming
c9a09a1d01
Update index.zh-CN.md
...
fix typo
2017-04-19 10:39:42 +08:00
afc163
6b1cec2bf6
Use height over padding for button size, close #5256
2017-04-16 19:01:46 +08:00
偏右
9319764eb8
Merge pull request #5663 from ant-design/ux-range-picker
...
chore: improve ux of RangeCalendar, close : #4985
2017-04-13 13:32:54 +08:00
Manjit Kumar
4e055ed5d0
use PropTypes from 'prop-types' mdoule instead of React
...
- as React.PropTypes is being deprecated
- Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.
- Solution: https://facebook.github.io/react/blog/2017/04/07/react-v15.5.0.html#migrating-from-react.proptypes
2017-04-12 02:22:05 +05:30
leadream
193b2b7684
not aligned after customizing the size of input
...
For some reasons I customized the size of <Input/>. Now the default height of <Input> is 40px. But there's a problem in <RangePicker/> after doing that: the texts and icon inside it are not aligned vertically at center.
When I look into the code I found the height of `ant-calendar-range-picker-input` is 18px. I modified it to 100% and it aligned. I'm not sure if it can affect the other code.
----------------------------------------
因为某些原因我自定义了 <Input/> 的尺寸,现在它的默认高度是40px。但是当我使用 <RangePicker/> 组件时,我发现了一个问题:输入框里面的文字和图标在垂直方向不能居中对齐。我看了一下 css 代码,发现里面的 `ant-calendar-range-picker-input` 高度是固定的18px,我把它改成100%就可以垂直居中对齐了。我不知道这个改动是否会影响其他代码。
2017-04-11 18:48:03 +08:00
Benjy Cui
d8e465d579
css: fix height of MonthPicker
2017-04-10 15:30:24 +08:00
Benjy Cui
360a657264
chore: improve ux of RangeCalendar, close : #4985
2017-04-10 11:33:00 +08:00
Wei Zhu
6dd3304976
Revert "Traditional Chinese locale provider added ( #5665 )"
...
This reverts commit 65bac17e58
.
2017-04-09 03:37:49 +08:00
OAwan
65bac17e58
Traditional Chinese locale provider added ( #5665 )
2017-04-07 19:19:38 +08:00
Benjy Cui
b643aa752f
fix: month/year panel of DatePicker[showToday=false], close : #5620 ( #5635 )
2017-04-06 18:44:11 +08:00
Wei Zhu
1a8e738142
Set snapshotSerializers
2017-04-02 18:09:23 +08:00
Benjy Cui
30f55b923a
deps: upgrade rc-calendar
2017-04-01 14:43:36 +08:00
乐仪
2bba8bee98
fix RangePicker placeholder color
2017-03-31 17:10:40 +08:00
Ayhan
2265a49dbf
Turkish locale provider added ( #5536 )
2017-03-28 21:26:07 +08:00
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