afc163
aa6b55be7e
clean up unused code
2018-07-31 16:40:48 +08:00
Wei Zhu
ff458a2c3f
Improve Input type definitions
...
Close #10166
2018-05-21 21:31:59 +08:00
afc163
29229ebee7
fix: input onDoubleClick type, close #10518
2018-05-19 20:01:47 +08:00
Walter Barbagallo
963120f702
Improved Form component typings ( #10564 )
...
* Improved Form component typings
With this fix you can use HTMLFormElement attributes on Form component
without getting TypeScript errors.
For example this code does not longer produce error for the additional
`autoComplete` prop:
```
const myForm = (
<Form autoComplete="off">
...
</Form>
)
```
* Fix onBlur / onChange typings with Input component
This improvement fix a typing issue incompatibility with
`react-final-form`
The incompatibility involve [this
line](https://github.com/final-form/react-final-form/blob/v3.4.2/src/index.d.ts#L20 )
where the handler argument is a more specific SyntheticEvent
2018-05-17 23:45:13 +08:00
曾凯
d868c5a58e
fix Input type error ( #9046 )
2018-01-20 19:35:14 +08:00
Yury Kozyrev
88e0c9b436
More tabIndex properties ( #8936 )
...
* Update Checkbox.tsx
* Update Input.tsx
* Update index.tsx
2018-01-12 00:09:23 +08:00
Wei Zhu
98ec9100c3
Update Input types
2017-12-28 10:51:12 +08:00
delesseps
8cdf9ea97a
Add onKeyUp TypeScript definition to Input component ( #8705 )
...
* Add onKeyUp support to Input component
* Update snapshot
* Allow other pros to handle onKeyUp
2017-12-28 09:27:11 +08:00
ddcat1115
f780759f91
fix large size formItem vertical align ( #8495 )
...
* - fix large size input with prefix/suffix vertical align
- fix large size button vertical align
* use large size for formItem default line-height
* improve
2017-12-08 20:57:30 +08:00
Wei Zhu
01f4b4e713
Merge branch 'master' into antd-3.0
2017-12-01 11:50:07 +08:00
Wei Zhu
4aeb811b72
Remove deprecations ( #8351 )
2017-11-30 09:53:32 +08:00
ddcat1115
91fc059c9d
fix input with addon(in form) vertical align issue ( #8325 )
2017-11-29 11:20:38 +08:00
Wei Zhu
05c702838d
Fix implicit any error for Input
2017-11-21 20:38:30 +08:00
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
2017-11-17 14:38:54 +08:00
delesseps
a8cab96c13
Add maxLength attribute to Input ( #7744 )
2017-09-27 09:57:23 +08:00
delesseps
2730344ff7
Add maxLength attribute to Input ( #7744 )
2017-09-27 09:56:30 +08:00
delesseps
c419a1ddef
Remove autoComplete restriction to allow more complex auto-filling behaviour ( #7699 )
2017-09-22 13:35:26 +08:00
delesseps
bb411517cf
Remove autoComplete restriction to allow more complex auto-filling behaviour ( #7699 )
2017-09-22 13:31:48 +08:00
Wei Zhu
4664e36fa4
refactor: input string refs to callback ( #7489 )
2017-09-08 09:43:21 +08:00
infeng
d19bfcbf74
fix onChange ts definition of Input
2017-07-19 13:52:55 +08:00
afc163
81a8d71ec3
Fix Input className to wrapper, close #6809
2017-07-12 21:43:06 +08:00
Benjy Cui
9c7cec3e39
refactor: remove span[disabled]
2017-07-12 14:23:47 +08:00
偏右
b653a2c055
Merge branch 'master' into feature-2.12
2017-07-07 19:41:37 +08:00
团结
625673486e
I guess nextFrameActionId should be reset after textarea resized.
2017-07-06 20:42:54 +08:00
Benjy Cui
fe33e76479
refactor: extract Input.TextArea
2017-07-03 17:26:29 +08:00
paranoidjk
ba168b826f
refactor: use spread operator replace object-assign ( #6677 )
2017-07-03 16:57:11 +08:00
afc163
920adb9a8a
props.style in wrapper for input with addons
2017-06-03 00:55:30 +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
Benjy Cui
0e5431d21b
deps: upgrade antd-tools and code style
2017-05-25 16:54:15 +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
Brook Shi
315f760ce2
Input component support spellCheck for TypeScript
2017-04-30 23:31:45 +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
afc163
c537030dee
optimize for b7621c9
2017-03-10 17:04:52 +08:00
afc163
dc00b9ee96
Fix Search block again, close #4540
2017-01-10 15:11:43 +08:00
afc163
41ff783868
Add name type for Input, close #4479
2017-01-05 17:19:50 +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
Benjy Cui
d94f0ab09a
docs: update EditableTagGroup demo
2016-12-07 11:08:30 +08:00
afc163
ad911d8dfa
Change way to fix #4092
2016-12-04 16:42:49 +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
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
Benjy Cui
e2b6054cc4
style: update code style
2016-11-15 15:18:40 +08:00
Benjy Cui
4878258f6c
refactor: ref: #3490
2016-10-24 12:04:26 +08:00
yiminghe
8afe3965c1
upgrade ts 2.0
2016-10-19 17:52:23 +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