afc163
f414398fae
Fix disabledDate of Calendar, close #6074
8 years ago
Benjy Cui
1dae0b65f2
chore: improve UX of RangePicker ( #6200 )
* chore: improve UX of RangePicker
* test: fix CI
8 years ago
Benjy Cui
361df26f3a
fix: should support DatePicker|RangePicker[showTime.defaultValue], ( #6160 )
close : #5691 #2375
8 years ago
Benjy Cui
8c06fc6527
test: update snapshot
8 years ago
afc163
29e54c2339
fix lint in demo
8 years ago
Benjy Cui
555dbb9b29
docs: add MonthPicker disableDate demo
8 years ago
Benjy Cui
12a6060304
docs: fix code style
8 years ago
Benjy Cui
61d6cf14ff
deps: upgrade eslint relative deps
8 years ago
afc163
ed17464a5f
Fix vertical align of RangePicker input in safari and 360, close #6061
8 years ago
Graeme Yeates
98ba816bfb
Add @time-picker-selected-bg to control the selected state of time-picker
8 years ago
Graeme Yeates
d8d17a6401
Seperate @active-item-bg into 2 variables
8 years ago
afc163
54f443a266
tweak clear icon position
8 years ago
Graeme Yeates
4eb2855871
Add @active-item-bg to control hover and active states
8 years ago
偏右
d3aa5f3cbf
fix: time picker layout ( #5983 )
* Add popupClassName
* Fix showTime panel width bug, close #5959
* Add test case
8 years ago
Graeme Yeates
5841746ec9
Decompose @background-color-base into several variables
8 years ago
Graeme Yeates
ede77a8aa7
Consistently use @background-color-base for disabled states
8 years ago
Graeme Yeates
e6d619b3cf
Fix calendar input background to use @input-bg
8 years ago
Tino D
5c25452de8
fix: update locale es_ES (Spanish) ( #5932 )
* Update locale es_ES (Spanish)
* Fix indent
8 years ago
Hai Phan Nguyen
c6832d1235
feat: add Vietnamese localization support ( #5927 )
* Add Vietnamese locale
* add Vietnamese locale
8 years ago
Benjy Cui
44c4d5c167
fix: should not reset showDate when value is empty array, close : #5872 ( #5898 )
8 years ago
Kimmo Saari
b6eecef255
Add locale fi_FI ( #5674 )
8 years ago
OAwan
1903b75d38
Traditional Chinese locale provider added ( #5665 )
8 years ago
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
Kimmo Saari
0d4b436eb2
Add locale fi_FI ( #5674 )
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
OAwan
967bfd79c3
Traditional Chinese locale provider added ( #5665 )
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