Commit Graph

157 Commits

Author SHA1 Message Date
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
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
2e41e35cc6 Fix more tslint problems 2016-07-13 17:22:23 +08:00
偏右
de359d2cf7 fix tslint problems (#2360) 2016-07-13 11:14:24 +08:00
afc163
6dad2b2987 Merge branch '1.x-stable' 2016-07-11 14:57:38 +08:00
afc163
8ec15e4ad3 Fix Input value warning
close #2333, close #2332
2016-07-10 15:12:02 +08:00
yiminghe
94706f1d2c fix ts 2016-07-07 20:25:03 +08:00
afc163
487b40815f Merge 1.x-stable 2016-07-07 15:13:01 +08:00
afc163
7ba362f03c Fix react-unknown-prop warnings for Cascader,Input
ref #2258
2016-07-06 12:21:49 +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
yiminghe
9a0d751f94 refactor to typescript 2016-06-22 13:19:48 +08:00
afc163
2be1577b32 Improve demo code style 2016-06-16 22:18:00 +08:00
偏右
048e2be5d4 Fix focused select in addon (#2073) 2016-06-16 22:04:17 +08:00
ddcat1115
fade8d7017 fix #1927 addon support Select (#2070) 2016-06-16 21:15:59 +08:00
afc163
652af9584f Add autosize to Input API doc 2016-06-10 16:46:57 +08:00
afc163
06220f3319 Add autosize for Input of textarea type (#1951) 2016-06-10 16:44:01 +08:00
afc163
82a55adfc7 improve code style 2016-06-10 15:29:01 +08:00
afc163
0f5fe7bb21 fix FormItem height shake, close #1955 2016-06-08 17:31:27 +08:00
Benjy Cui
2144349741 style: enable react/jsx-closing-bracket-location 2016-06-06 13:54:10 +08:00
afc163
2e0c67f214 Add type="textarea" to Input doc 2016-06-03 15:09:58 +08:00
ddcat1115
c4454dea04 fix #1771 2016-05-25 18:34:36 +08:00
afc163
15bb865037 Fix form detail style 2016-05-24 20:08:13 +08:00
afc163
dd33cb8f60 Move InputGroup style from Form into Input, close #1812 2016-05-23 20:09:25 +08:00
afc163
a73e28ca6c InputGroup width 100%, close #1769 2016-05-19 14:43:01 +08:00
Benjy Cui
f15110e7c1 fix: Input[size] should be configurable, close: #1732 2016-05-18 11:41:57 +08:00
afc163
ca849c8ee3 Fix search-input with Select 2016-05-13 11:45:09 +08:00
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
2016-04-27 20:44:36 +08:00
yiminghe
eb7708c8db v15. Fixes #1252 2016-04-23 01:03:15 +08:00
Ma Tianxiao
be39bca93a fix input value/defaultValue prop (#1414)
Input elements must be either controlled or uncontrolled, specify either the value prop, or the defaultValue prop, but not both.
2016-04-14 11:58:01 +08:00
Benjy Cui
0e156385da fix: revert delete defaultValue 2016-04-14 11:43:26 +08:00
Benjy Cui
9d95313d03 chore: suppress warning 2016-04-14 11:22:53 +08:00
Benjy Cui
047bfc2574 style: enable react/prefer-stateless-function 2016-04-13 17:38:53 +08:00
afc163
fd850b9607 Add Input onPressEnter prop, ref #978 2016-04-06 18:12:41 +08:00
afc163
28b36d571c fix Input document undefined error, close #1321 2016-04-01 18:42:45 +08:00
Benjy Cui
794783d1c2 style: enable react/no-multi-comp 2016-03-31 17:46:35 +08:00
Bruce Mitchener
273e527201 Use static class members for propTypes and friends. 2016-03-29 13:01:10 +07:00
Benjy Cui
5e4786440d deps: remove object-assign 2016-03-25 18:16:48 +08:00
Bruce Mitchener
89561b0b3e Favor 'export default' over 'module.exports'. 2016-03-14 14:17:48 +07:00
afc163
a058ebc372 Fix Input className, close #1103 2016-03-02 17:11:12 +08:00
Benjy Cui
c1659c2ce3 style: update code style to please lint 2016-02-22 10:52:30 +08:00
Benjy Cui
29825f20c8 style: update code style to please lint 2016-02-17 18:04:42 +08:00
Benjy Cui
c8015c88c3 feat: scroll to invalid field automatically #993 2016-02-16 10:15:48 +08:00
afc163
69935c5bbf Add size for RadioButton, close #904 2016-01-21 22:45:21 +08:00
afc163
3eb57c1888 merge master 2016-01-20 15:14:49 +08:00
afc163
3337e6072b Fix indent 2016-01-19 16:32:12 +08:00
afc163
f4a7ed76f5 resolve package.json conflicat 2016-01-19 11:44:17 +08:00
Benjy Cui
b72d18fd44 style: update code style to please the fucking lint 2016-01-11 09:49:30 +08:00
Benjy Cui
711d2d7413 style: update code style to please lint 2016-01-11 09:49:30 +08:00
afc163
1e001d2d82 upgrade eslint-config-airbnb 2016-01-11 09:48:29 +08:00
afc163
31ee4bea30 Fix textarea not editable bug, close #646
Caused by #589 fix

and fix #586 via https://github.com/facebook/react/issues/2533#issuecomment-15150334
2015-12-08 19:18:04 +08:00
afc163
c3aa6ec367 Add search input style, ref #413 2015-12-02 19:33:26 +08:00
afc163
81209c70c3 Fix input & input-group wrapper tag 2015-12-02 15:55:02 +08:00
SimaQ
a86a3b9a5b fix: fixes #586. 2015-11-25 10:46:38 +08:00
afc163
184e378e79 move col row input into indepent dirctories, remove antd.ButtonGroup 2015-11-20 18:21:59 +08:00