Wei Zhu
ff458a2c3f
Improve Input type definitions
Close #10166
7 years ago
afc163
29229ebee7
fix: input onDoubleClick type, close #10518
7 years ago
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
7 years ago
曾凯
d868c5a58e
fix Input type error ( #9046 )
7 years ago
Yury Kozyrev
88e0c9b436
More tabIndex properties ( #8936 )
* Update Checkbox.tsx
* Update Input.tsx
* Update index.tsx
7 years ago
Wei Zhu
98ec9100c3
Update Input types
7 years ago
delesseps
8cdf9ea97a
Add onKeyUp TypeScript definition to Input component ( #8705 )
* Add onKeyUp support to Input component
* Update snapshot
* Allow other pros to handle onKeyUp
7 years ago
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
7 years ago
Wei Zhu
4aeb811b72
Remove deprecations ( #8351 )
7 years ago
ddcat1115
91fc059c9d
fix input with addon(in form) vertical align issue ( #8325 )
7 years ago
Wei Zhu
05c702838d
Fix implicit any error for Input
7 years ago
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
7 years ago
delesseps
a8cab96c13
Add maxLength attribute to Input ( #7744 )
7 years ago
delesseps
2730344ff7
Add maxLength attribute to Input ( #7744 )
7 years ago
delesseps
c419a1ddef
Remove autoComplete restriction to allow more complex auto-filling behaviour ( #7699 )
7 years ago
delesseps
bb411517cf
Remove autoComplete restriction to allow more complex auto-filling behaviour ( #7699 )
7 years ago
Wei Zhu
4664e36fa4
refactor: input string refs to callback ( #7489 )
7 years ago
infeng
d19bfcbf74
fix onChange ts definition of Input
7 years ago
afc163
81a8d71ec3
Fix Input className to wrapper, close #6809
7 years ago
Benjy Cui
9c7cec3e39
refactor: remove span[disabled]
7 years ago
团结
625673486e
I guess nextFrameActionId should be reset after textarea resized.
7 years ago
Benjy Cui
fe33e76479
refactor: extract Input.TextArea
8 years ago
paranoidjk
ba168b826f
refactor: use spread operator replace object-assign ( #6677 )
8 years ago
afc163
920adb9a8a
props.style in wrapper for input with addons
8 years ago
afc163
14844eb0e0
Fix AutoComplete and Input Group vertical align issue
8 years ago
clinyong
2202648d6e
Input add autoFocus prop (for ts checking)
8 years ago
Benjy Cui
0e5431d21b
deps: upgrade antd-tools and code style
8 years ago
afc163
8703145d70
Fix prop-types and createClass warning, #5678
8 years ago
Benjy Cui
a86a3339fc
revert: #5990
8 years ago
afc163
1165200dcc
remove unused className, #6144
8 years ago
afc163
010860ae0f
Fix style.height issue of Input with addon and prefix, close #6144
8 years ago
偏右
0fdc3799b6
refactor: Extend Input types from HTMLInputProps, #5970 ( #5990 )
8 years ago
Brook Shi
315f760ce2
Input component support spellCheck for TypeScript
8 years ago
偏右
0308138974
[WIP] upgrade deps ( #5455 )
* upgrade deps
* autofix some tslint problems
* Fix tslint problems manually
8 years ago
偏右
674255bd14
[WIP] upgrade deps ( #5455 )
* upgrade deps
* autofix some tslint problems
* Fix tslint problems manually
8 years ago
Qingrong Ke
8afc2e9e95
Fix 5322 ( #5379 )
* Input: fix #5322
* Refactor preSuffix to affix
* Update tests and demos
* Refactor preSuffix to affix
8 years ago
afc163
c537030dee
optimize for b7621c9
8 years ago
afc163
dc00b9ee96
Fix Search block again, close #4540
8 years ago
afc163
41ff783868
Add name type for Input, close #4479
8 years ago
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
8 years ago
Benjy Cui
d94f0ab09a
docs: update EditableTagGroup demo
8 years ago
afc163
ad911d8dfa
Change way to fix #4092
8 years ago
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
8 years ago
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
8 years ago
Benjy Cui
e2b6054cc4
style: update code style
8 years ago
Benjy Cui
4878258f6c
refactor: ref: #3490
8 years ago
yiminghe
8afe3965c1
upgrade ts 2.0
8 years ago
feng zhi hao
bb22f7864b
fix: improve declaration ( #3167 )
* improve declaration
* remove id props in row
8 years ago
Benjy Cui
bd7e9f00c0
style: update code style
8 years ago
feng zhi hao
cad2d19be2
fix: complete loss declaration ( #3068 )
* complete loss declaration
* fix error in ts-lint
* fix Icon name error
8 years ago