afc163
5eb52885d6
@background-color-base
8 years ago
RaoHai
8c739abeb5
style lint
8 years ago
RaoHai
7dd4a019d5
DatePicker 组件优化
+ DatePicker showTime: 面板上的日期展示输入框统一为一个,格式和外面的输入框同步,并且支持手动修改。
面板上的 TimePicker
+ DatePicker showTime: 输入框不再展示,改造为『选择时间』,点击后不再展开浮层,直接盖住日期区域。
+ RangePicker showTime : 只选中开始日期,“确定”和“选择时间”灰置。 如未选择日期直接选择时间,开始日期和结束日期默认选中当天。
+ RangePicker showTime : 点击框外和确定均为确定操作。
+ RangePicker showTime : 在时间页面,开始时间的默认状态为当前时间,结束时间的默认状态跟随开始时间。
+ RangePicker showTime : 开始时间的选择范围没有限制,结束时间的选择范围必须大于等于开始时间。
+ RangePicker showTime : 当开始时间选择了结束时间之后的时间(发生冲突),结束时间则自动切换到与开始时间相同的时间。
8 years ago
afc163
e2cc2838fd
Fix lesshint
8 years ago
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
8 years ago
偏右
de359d2cf7
fix tslint problems ( #2360 )
8 years ago
yiminghe
94706f1d2c
fix ts
9 years ago
afc163
842b55128f
Fix clear icon in RangePicker, close #2252
9 years ago
afc163
089f1ae512
update components category name
9 years ago
afc163
6dcc1bc915
fix clear icon style, close #2182
9 years ago
afc163
c7da69036d
revert mistake of DatePicker time changed
9 years ago
afc163
619ceffd7e
fix createPicker.tsx
9 years ago
yiminghe
9a0d751f94
refactor to typescript
9 years ago
ddcat1115
88f77f85ca
docs: translation-DatePicker ( #1932 )
9 years ago
afc163
94423f60f2
use readOnly
9 years ago
afc163
bec5d311a0
Improve DatePicker start-end demo expierence
9 years ago
afc163
a2d435aad7
Fix range cell background
9 years ago
Benjy Cui
2144349741
style: enable react/jsx-closing-bracket-location
9 years ago
afc163
81dad0452f
fix today link style
9 years ago
afc163
a05b4e6747
remove unused compatibility code, fix #1902
9 years ago
RaoHai
c65f201d51
DatePicker improvement
close #1701
9 years ago
afc163
5960ecab7a
fix code style
9 years ago
afc163
239eaca72c
fix doc, close #1761
9 years ago
kaifei
e3ba415822
add callback toggleOpen
9 years ago
Benjy Cui
8842d9342a
site: update components' type
9 years ago
Benjy Cui
dd57b6d707
fix: should pass locale to TimePicker
9 years ago
Benjy Cui
ecaa6c56c3
style: enable comma-dangle
9 years ago
afc163
4a3fe9e102
fix TimePicker style in DatePicker
9 years ago
afc163
fcf3242570
upgrade eslint-config-airbnb and fix lints
9 years ago
afc163
03cb74ead5
upgrade eslint-config-airbnb version and fix some problems
9 years ago
afc163
0ca6a1c24a
css modularize ( #1448 )
* css modularize
* Add alert style
* Move more component style
* Move iconfont to common style
* Move layout style
* Move more component style
* Move all components
* Fix lots of mixin deps
* remove css-prefix from less
* fix a button icon style bug
* restructure
* fix index
* add dist
* fix jest
* fix some components style
* clean webpack config
* check more components style
* update tabs
* update scripts
* update scripts
* fix form style
* fix more style
* Fix select width
* Fix form and tabs style
9 years ago
Benjy Cui
22e35544b6
fix: should not cache formatter, close #1509
9 years ago
Leon Shi
baac12d1c4
fix lint ( #1513 )
* fix lint `prefer-stateless-function`
* fix lint `arrow-body-style`
9 years ago
afc163
0805d4365d
update locale demo
9 years ago
afc163
8a422ba2cd
update demo
9 years ago
qubaoming
2d72bc58d2
adjust props position & range-picker add showTime options
9 years ago
qubaoming
94e0488812
adjust props position
9 years ago
qubaoming
fc66d27042
change timepicker options to rctimepicker options
9 years ago
qubaoming
6b3a97b902
change timepicker options to rctimepicker options
9 years ago
qubaoming
a674657287
data-picker extent options
9 years ago
qubaoming
fd57f4c12d
date-picker extend options
9 years ago
plandem
9af3e4fc55
ru locale ( #1411 )
9 years ago
Benjy Cui
0ebf6c2ecc
style: enable react/prefer-es6-class
9 years ago
afc163
455d3654b8
Fix dateInput format of DatePicker, close #1403
9 years ago
Benjy Cui
208ecf5081
docs: update docs for MonthPicker
9 years ago
afc163
b155ba15cb
fix react@15 warning, ref #1340
9 years ago
afc163
f726979af9
fix(DatePicker): showTime locale problem
close #1356
9 years ago
afc163
655e4d5a7d
Add LocaleProvider support for RangePicker
9 years ago
Benjy Cui
df3ba36720
docs: remove useless newline in documentation
9 years ago
Bruce Mitchener
fa65f25b1e
Switch RangePicker to ES6 class.
9 years ago