Commit Graph

178 Commits

Author SHA1 Message Date
Benjy Cui
3f67fd3f9f docs: update docs details 2016-09-21 11:28:38 +08:00
ddcat1115
3958eb4771 fix #3076 (#3086)
fix demolint
2016-09-20 13:49:38 +08:00
feng zhi hao
cad2d19be2 fix: complete loss declaration (#3068)
* complete loss declaration

* fix error in ts-lint

* fix Icon name error
2016-09-19 10:17:07 +08:00
马斯特
a25ec29fb8 refactor: 保证所有的tsx和less都正确使用prefix (#3024)
* refactor: extract prefix cls as less variable

* refactor: apply ant icon prefix cls in less files

* refactor: all components support prefixCls props
2016-09-14 16:18:33 +08:00
Benjy Cui
8db2b79505 chore: fix compile errors 2016-09-13 15:31:29 +08:00
Marius Ileana
23d68cad19 input/demo/basic.md - placeholder translated (#3005)
placeholder value translated to english.
2016-09-11 21:22:53 +08:00
Benjy Cui
1dac1370de deps: replace obejct.omit with omit.js, close: #2988 (#2994) 2016-09-10 17:17:55 +08:00
afc163
0e6f677ff9 Fix doc headings 2016-09-10 13:43:30 +08:00
Benjy Cui
cb367f3f35 site: update site details 2016-09-08 16:53:50 +08:00
Benjy Cui
5a4ebe535f deps: update rc-form and form's docs (#2873) 2016-09-01 11:48:38 +08:00
Benjy Cui
92ab804815 feat: Cascader[showSearch] (#2776)
* feat: implement Cascader[showSearch] basicly

* feat: optimize Cascader[showSearch]

* feat: clear for input value

* feat: complete Cascader[showSearchf]

* docs: add docs for Cascader[search]

* fix: review

* fix: add key

* style: update code style to please lint

* refactor: update according to review

* docs: update docs
2016-09-01 11:08:41 +08:00
afc163
b798a228e6 Add less variables about outline 2016-08-31 17:04:24 +08:00
afc163
363f610d8b Fix tsc errors beside DatePicker 2016-08-24 16:09:55 +08:00
Benjy Cui
5dcce12c2c fix: some tsc errors (#2804) 2016-08-22 17:26:14 +08:00
Benjy Cui
18eea7f1ad docs: update input demos' format 2016-08-22 10:27:43 +08:00
Marius Ileana
52f7bf8ba5 docs: Translation of Input component and its demos. (#2789) 2016-08-22 09:53:39 +08:00
Benjy Cui
3411765ce9 Refactor ts (#2760)
* refactor: add interface form Calendar

* refactor: add interface for layout

* refactor: add interface for DatePicker

* refactor: add interface for Icon

* refactor: add interface for InputNumber

* refactor: add interface for Input
2016-08-19 17:11:06 +08:00
afc163
da6b65f7f0 Merge 1.x-stable 2016-08-12 14:47:01 +08:00
afc163
f2bb52e57b Fix autosize Input can not input chinese words
and lost cursor problems

close #2666, close #2239
2016-08-11 15:27:59 +08:00
afc163
0eeca99f02 Merge 1.x-stable 2016-07-26 22:20:33 +08:00
yeliex
f12bbdfdd0 修复了select组件placeholder溢出的问题 (#2480) 2016-07-24 15:15:13 +08:00
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