Benjy Cui
f5fa64c17b
fix: hack to fix ts compile errors
8 years ago
Benjy Cui
5fe3cb9318
refactor: to ES6 class style
8 years ago
Yiming
c9a09a1d01
Update index.zh-CN.md
fix typo
8 years ago
afc163
6b1cec2bf6
Use height over padding for button size, close #5256
8 years ago
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
8 years ago
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%就可以垂直居中对齐了。我不知道这个改动是否会影响其他代码。
8 years ago
Benjy Cui
d8e465d579
css: fix height of MonthPicker
8 years ago
Benjy Cui
360a657264
chore: improve ux of RangeCalendar, close : #4985
8 years ago
Wei Zhu
6dd3304976
Revert "Traditional Chinese locale provider added ( #5665 )"
This reverts commit 65bac17e58
.
8 years ago
OAwan
65bac17e58
Traditional Chinese locale provider added ( #5665 )
8 years ago
Benjy Cui
b643aa752f
fix: month/year panel of DatePicker[showToday=false], close : #5620 ( #5635 )
8 years ago
Wei Zhu
1a8e738142
Set snapshotSerializers
8 years ago
Benjy Cui
30f55b923a
deps: upgrade rc-calendar
8 years ago
乐仪
2bba8bee98
fix RangePicker placeholder color
8 years ago
Ayhan
2265a49dbf
Turkish locale provider added ( #5536 )
8 years ago
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
8 years ago
HJin.me
47589ba92c
fix get(Popup|Calendar|Suggestion|Tooltip)Container ts type ( #5528 )
8 years ago
afc163
8f286d6700
change comments to English
8 years ago
偏右
0308138974
[WIP] upgrade deps ( #5455 )
* upgrade deps
* autofix some tslint problems
* Fix tslint problems manually
8 years ago
afc163
849c5fbf75
Fix getPopupContainer ts type
8 years ago
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
8 years ago
Martin Litvaj
82b516c77f
feat: SK Localization ( #5304 )
8 years ago
afc163
4a396c4d7b
change comments to English
8 years ago
偏右
674255bd14
[WIP] upgrade deps ( #5455 )
* upgrade deps
* autofix some tslint problems
* Fix tslint problems manually
8 years ago
afc163
322e9efdc9
Fix getPopupContainer ts type
8 years ago
Wei Zhu
f6b1e942e3
Jest 19 ( #5361 )
* Upgeade to jest 19
* Use jest.spyOn
8 years ago
Benjy Cui
174c3b7d62
docs: MonthPicker doesn't support onOk, close : #5350
8 years ago
afc163
8bc0e8ab9d
Remove used code and add test case for #5191
8 years ago
Graeme Yeates
18077894f2
Remove DatePicker temporary values [ fix #5189 ] ( #5191 )
8 years ago
Minsung Ryu
914ee21a4d
Add locale ko_KR(Korean)
8 years ago
Martin Novák
e59bb6b609
cz translation ( #5169 )
8 years ago
Graeme Yeates
7cd590b3b0
Use @input-color to set calendar's input color ( #5147 )
8 years ago
afc163
b3a325dc29
Fix disabled DatePicker hover border color
8 years ago
Benjy Cui
758559f718
test: update snapshots
8 years ago
Benjy Cui
69d9d1edda
chore: add warning for typo, close : #5044
8 years ago
afc163
2bf6e22653
fix documentation for onOk, close #5044
8 years ago
Benjy Cui
3aac9adc40
docs: remove some demo
8 years ago
Graeme Yeates
19c11dd173
chore: RangePicker TimePicker component locking background to white ( #5031 )
8 years ago
Benjy Cui
4e59e9e769
docs: recommend to use LocaleProvider, ref: #5017
8 years ago
Benjy Cui
1c837963e2
chore: add warning for deprecated API
8 years ago
afc163
5068343b0c
fix tslint
8 years ago
afc163
a7c6c027ce
Fix ts definition of Table & RangePicker
close https://segmentfault.com/q/1010000008423156
8 years ago
afc163
7181e3c9e8
revert d9ec4bf and ef0b708, close #4997
8 years ago
Benjy Cui
e4d9e5af54
test: update snapshot
8 years ago
Benjy Cui
d9ec4bf732
fix: RangePicker style
8 years ago
afc163
3308bce9b9
fix snapshot test
8 years ago
afc163
626e0c9d1e
Fix DatePicker default width, close #4947 , ref #4920
8 years ago
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.
8 years ago
afc163
28dbdd17ed
fix for #4920
8 years ago
afc163
a87016ce54
Make sure DatePicker style.width can be effective, close #4920
8 years ago