afc163
1c736c38b3
tweak Input[addon] vertical align, close #6403
2017-06-08 11:32:47 +08:00
afc163
d086ee253e
update snapshots for #6347
2017-06-03 01:38:26 +08:00
afc163
920adb9a8a
props.style in wrapper for input with addons
2017-06-03 00:55:30 +08:00
afc163
2cde334cd5
update snapshot
2017-05-28 15:30:43 +08:00
afc163
14844eb0e0
Fix AutoComplete and Input Group vertical align issue
2017-05-28 15:27:55 +08:00
clinyong
2202648d6e
Input add autoFocus prop (for ts checking)
2017-05-27 16:37:15 +08:00
Panjie Setiawan Wicaksono
1abbc1c31b
chore: add name props to input-related interfaces ( #6276 )
2017-05-27 09:31:06 +08:00
Benjy Cui
0e5431d21b
deps: upgrade antd-tools and code style
2017-05-25 16:54:15 +08:00
Benjy Cui
4b8a291684
fix: broken style of Cascader in Input.Group ( #6208 )
...
* fix: broken hover style of Cascader, close : #6202
* test: update snapshot
2017-05-22 10:09:17 +08:00
afc163
7cde9c8ffe
fix affix input height, ref #6144
2017-05-18 15:08:30 +08:00
afc163
8703145d70
Fix prop-types and createClass warning, #5678
2017-05-18 14:22:47 +08:00
Benjy Cui
a86a3339fc
revert: #5990
2017-05-16 12:02:52 +08:00
afc163
1165200dcc
remove unused className, #6144
2017-05-15 18:20:31 +08:00
afc163
010860ae0f
Fix style.height issue of Input with addon and prefix, close #6144
2017-05-15 18:15:58 +08:00
偏右
0fdc3799b6
refactor: Extend Input types from HTMLInputProps, #5970 ( #5990 )
2017-05-15 10:28:13 +08:00
Graeme Yeates
e65dd692d2
Add a variable to control input addon's background ( #6040 )
2017-05-08 13:55:34 +08:00
Brook Shi
315f760ce2
Input component support spellCheck for TypeScript
2017-04-30 23:31:45 +08:00
乐仪
09e66db264
fix Input.Group style bug
2017-04-26 15:18:19 +08:00
乐仪
5dfe86e891
fix snap
2017-04-24 17:08:56 +08:00
ddcat1115
70b89e9316
fix AutoComplete style in Input.Group[compact] ( #5849 )
2017-04-22 09:28:44 +08:00
Graeme Yeates
89c37552a3
Set the color on input suffix
2017-04-19 14:22:06 -04:00
afc163
4310eb3b80
update input demo snapshot
2017-04-19 11:31:28 +08:00
afc163
1b42fbc728
Add Input range demo
2017-04-19 11:22:17 +08:00
afc163
9497a1f546
Fix InputGroup large and small size bug, close #5754
2017-04-14 11:43:56 +08:00
afc163
5be7dc6b90
Fix InputGroup style, close #5743
2017-04-13 10:56:19 +08:00
afc163
9daccc468a
update input number snapshots
2017-04-10 13:21:15 +08:00
Benjy Cui
07e2c5e9c5
docs: update docs for InputNumber, close : #5683
2017-04-10 11:16:41 +08:00
偏右
674255bd14
[WIP] upgrade deps ( #5455 )
...
* upgrade deps
* autofix some tslint problems
* Fix tslint problems manually
2017-03-23 21:15:49 +08:00
Qingrong Ke
8afc2e9e95
Fix 5322 ( #5379 )
...
* Input: fix #5322
* Refactor preSuffix to affix
* Update tests and demos
* Refactor preSuffix to affix
2017-03-18 21:26:42 +08:00
Wei Zhu
f6b1e942e3
Jest 19 ( #5361 )
...
* Upgeade to jest 19
* Use jest.spyOn
2017-03-17 18:56:30 +08:00
afc163
c537030dee
optimize for b7621c9
2017-03-10 17:04:52 +08:00
afc163
070ca82bc2
Fix hasFeedback of Input[addonBefore], close #5228
2017-03-09 15:20:10 +08:00
ddcat1115
7ab95b7eae
- fix ts error ( #5145 )
...
- typescript upgrade to 2.2.1
2017-03-06 15:48:03 +08:00
afc163
ab2376e8ed
Fix input prefix and suffix vertical alignment
2017-03-05 20:13:54 +08:00
afc163
b12d8e3d38
revert 5b20a5f
and fix #5091
2017-02-28 18:10:11 +08:00
afc163
27717483a7
should be only working on input ref, #4987
2017-02-22 21:28:53 +08:00
afc163
5b20a5fc3e
Fix slight vertical position difference in chrome, close #4987
2017-02-22 17:48:58 +08:00
afc163
7181e3c9e8
revert d9ec4bf
and ef0b708
, close #4997
2017-02-22 16:50:24 +08:00
afc163
ef0b7087f6
Fix slight difference placeholder between Input and Select
...
close #4987
2017-02-21 23:34:23 +08:00
afc163
9bb7e3d10c
site: improve responsive layout
2017-02-21 23:26:10 +08:00
afc163
173b8c46ad
Fix input demo tooltip
2017-02-19 15:21:46 +08:00
afc163
f5b0536d42
improve demo code style
2017-02-19 15:06:37 +08:00
Benjy Cui
200b88246f
docs: update docs format
2017-02-13 10:55:53 +08:00
偏右
75a4b06e44
Unified border radius, close #4772 ( #4773 )
2017-02-08 14:21:29 +08:00
Graeme Yeates
1006015ef0
Add border customization variables ( #4734 )
...
* Add border customization variables (#4712 )
* Make border styles customizable (fixes #4712 )
2017-01-31 16:05:10 +08:00
afc163
7381cc95fe
update input test case
2017-01-31 16:03:14 +08:00
afc163
3a3efc3e5a
test input auto calculate height
2017-01-30 20:05:47 +08:00
afc163
7518fde405
Fix align issue inside InputGroup, close #4680
2017-01-22 18:50:12 +08:00
Wei Zhu
77b78a9389
docs: Unify type naming ( #4636 )
...
* Unify name of ReactNode type in document
* Lowser all string type name
* Lowercase all number type name
* Lowercase all boolean type name
* Unify array type
* Lowercase all object type name
* Unify mutilple types
2017-01-20 20:10:50 +08:00
Benjy Cui
3e17551b7e
site: improve build speed
2017-01-19 15:22:53 +08:00
afc163
4654db312f
Fix some lesshint problems
2017-01-11 21:45:09 +08:00
afc163
dc00b9ee96
Fix Search block again, close #4540
2017-01-10 15:11:43 +08:00
afc163
01859fc581
update input doc
2017-01-09 22:03:10 +08:00
afc163
37541e3bfe
Fix Search block style
2017-01-09 14:24:08 +08:00
afc163
e2b8aee202
fix snapshot
2017-01-05 17:24:14 +08:00
afc163
41ff783868
Add name type for Input, close #4479
2017-01-05 17:19:50 +08:00
afc163
a53bb4bfe4
simplify Input.Search code
2017-01-05 15:53:04 +08:00
afc163
ec35121bae
update demo title
2017-01-05 15:35:43 +08:00
afc163
c4ac4d1eca
fix Input prefix and suffix vertical align style
2017-01-05 15:34:30 +08:00
ddcat1115
c5b154294e
add attribute compact
for InputGroup ( #4309 )
...
* add attribute `compact` for InputGroup
* improve
2017-01-02 00:12:41 +08:00
偏右
d811ebee5c
New color system ( #4426 )
...
* Add new color patterns algorithm
* Add color palettes
* update other colors
* fix gray color
* update more tint/shade to colorPalette
* new font color
* Update doc for new color system
* improve doc style
2017-01-01 22:20:06 +08:00
Rex
1b8a280614
support suffix ( #4283 )
...
* support suffix
* optimize prefix and suffix
* 1. Optimize prefix and suffix implementation
2. Improve the api document
3. Optimize `Input.Search` implementation
* update snapshots
2017-01-01 01:06:19 +08:00
afc163
2d19ea8344
Add comment
2016-12-22 11:54:03 +08:00
afc163
489d7cf997
Keep Search same default width as Input, close #4334
2016-12-22 11:53:53 +08:00
Benjy Cui
1351b5da5d
refactor: remove splitObject
2016-12-19 15:19:15 +08:00
Wei Zhu
07103b9fb6
Don't ignore test files.
2016-12-14 14:48:09 +08:00
Wei Zhu
17a0a33283
Restructure tests.
2016-12-14 14:41:39 +08:00
Jieraaa
abba1558c4
style:fix the bug of pseudo class ( #4210 )
2016-12-11 23:55:30 +08:00
Rex
bc937aceb8
<Input /> addon have spacing when in table ( #4201 )
2016-12-10 01:03:16 +08:00
Benjy Cui
d94f0ab09a
docs: update EditableTagGroup demo
2016-12-07 11:08:30 +08:00
afc163
03d6bdc942
update input API doc
2016-12-05 13:05:58 +08:00
afc163
f9bad27469
Fix DatePicker input style
2016-12-05 00:27:03 +08:00
afc163
ad911d8dfa
Change way to fix #4092
2016-12-04 16:42:49 +08:00
afc163
0bb71e6a6f
Fix Input[type=textarea] popover misalign bug, close #4092
2016-12-03 15:31:41 +08:00
afc163
2270598f2e
update doc
2016-12-02 15:12:01 +08:00
afc163
5370df346c
Add transition to input addon
2016-12-02 14:04:44 +08:00
Andrey G
a307a7acf7
refactor: remove unnecessary computed props for classNames ( #4055 )
...
* remove unnecessary computed props for classNames
* rollback autocomplete optimization for possible css style order issue
* update snapshots
* remove more unnecessary computed props at Input
2016-11-30 10:20:23 +08:00
afc163
2034126e00
keep old style for compatibility
2016-11-26 14:39:30 +08:00
afc163
13020b7737
fix style
2016-11-26 14:39:30 +08:00
afc163
87f230f57b
refactor Input.Search
2016-11-26 14:39:30 +08:00
ddcat1115
73c776e73d
feat: Input
add NumericInput demo & update searchInput demo ( #3861 )
...
* Input
add NumericInput demo
update searchInput
* Input
- add Input.Search
- update NumericInput
* snap update
2016-11-24 14:03:57 +08:00
afc163
34b4200220
adjust search input style for combobox change ( #3855 )
2016-11-15 21:59:29 +08:00
Benjy Cui
e2b6054cc4
style: update code style
2016-11-15 15:18:40 +08:00
afc163
88d470220b
Fix wrong error style for Form Validation
2016-11-09 22:25:39 +08:00
ddcat1115
0baef0627e
docs: 调整组件导航结构 ( #3758 )
...
- Layout 更名为 Grid
2016-11-09 14:43:32 +08:00
afc163
0ec4276eab
@font-size-lg ( #1752 )
2016-11-08 21:07:01 +08:00
afc163
9b81fe86d9
clear less variables and add @text-color-secondary
2016-11-08 20:48:03 +08:00
afc163
e6dd9a93d0
expand Input addon icon click area, close #3714
2016-11-08 11:46:41 +08:00
Benjy Cui
d70ff98f9f
fix: large size should be set by JS, not CSS, close : #3630
2016-10-28 14:25:09 +08:00
Benjy Cui
4878258f6c
refactor: ref: #3490
2016-10-24 12:04:26 +08:00
Benjy Cui
1ed434a695
fix: should support Input[addon] in Form[inline], close : #3524
2016-10-21 15:04:55 +08:00
yiminghe
8afe3965c1
upgrade ts 2.0
2016-10-19 17:52:23 +08:00
偏右
62a53e75b8
refactor: Downsize some style code ( #3421 )
...
* remove fieldset disabled style
* improve button style mixins
2016-10-14 09:12:10 +08:00
feng zhi hao
bb22f7864b
fix: improve declaration ( #3167 )
...
* improve declaration
* remove id props in row
2016-09-27 12:04:01 +08:00
Benjy Cui
bd7e9f00c0
style: update code style
2016-09-21 11:54:53 +08:00
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