paranoidjk
b09e03d82a
doc(Input): fix wrong desc about input size in form.
2018-05-22 06:50:14 +00: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
Winter Zhong
f09c799bba
add the border-right-width to fix the Input.Group component covered box-shadow effect ( #10492 )
2018-05-14 17:11:11 +08:00
afc163
d93cfdef09
clean up unnecessary z-index
...
close #9840
close #10385
2018-05-06 21:50:50 +08:00
Junbin Huang
3a3d550b54
chore: upgrade menu ( #10305 )
...
* chore: upgrade menu and select
* Add test case for coverage percent
2018-04-29 23:01:58 +08:00
诸岳
b52053051c
Input.Search should disable enter button when disabled prop is true ( #10051 )
...
* Input Search should disable enter button when disabled prop is true, close #10040
* test: Add test case for commit bd21722
2018-04-15 13:14:26 +08:00
afc163
b28b394bf8
Fix test case for #9639
2018-03-12 21:02:20 +08:00
afc163
66c3108565
should support custom button node in Search[enterButton]
...
close #9639
2018-03-12 20:51:04 +08:00
Sam Chen
fd147deb75
Update input group demo ( #9482 )
2018-03-02 15:26:05 +08:00
YuChao Liang
75c365aa2c
fix(TextArea): calculateNodeHeight ( #9107 ) ( #9108 )
2018-02-04 02:18:20 -06: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
afc163
d4158f6855
Fix snapshot
2018-01-10 17:07:54 +08:00
Wei Zhu
d8a9c7c068
docs: Update group demo
2018-01-10 15:34:38 +08:00
afc163
5d3b461867
Fix missing style of Input.Search, close #8700
2018-01-01 15:23:40 +08:00
afc163
abf9717eab
Large component should has larger font size
...
14px => 16px
2017-12-28 15:41:48 +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
afc163
4f19fc0ee4
Improve input addon size, close #8680
2017-12-20 22:40:36 +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
2299ad41aa
Add focus() and blur() to Input.Search
2017-12-01 19:39:32 +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
09aaa56243
Update snapshot
2017-11-19 21:07:08 +08:00
Wei Zhu
9678d3fcfd
Focus && blur support ( #8204 )
...
* Add test for select
* Add focus() and blur() for AutoComplete
* Add focus() and blur() to Cascader
* Add focus test for input
* Add focus() and blur() for Checkbox
* Add focus() and blur() for Radio
* Add focus() and blur() for Switch
* Add blur() for TimePicker
* Add focus() and blur() to TreeSelect
2017-11-19 01:41:40 +08:00
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
2017-11-17 14:38:54 +08:00
afc163
1e1c6d1c72
Merge branch 'master' into antd-3.0
2017-11-16 19:58:20 +08:00
afc163
46d1296045
Fix async test cases
2017-11-16 17:12:36 +08:00
afc163
856ecd4ae3
Merge branch 'master' into antd-3.0
2017-11-09 19:45:06 +08:00
afc163
72aa5e0763
Fix input group align bug in Chrome 62
...
close ant-design/ant-design-pro#139
2017-11-08 19:53:03 +08:00
afc163
a99c8c7175
Fix snapshot
2017-11-07 11:12:10 +08:00
afc163
42e219389d
Fix key warning
2017-11-07 10:48:05 +08:00
偏右
bdceb5f083
Review fix ( #8125 )
...
* Fix style
* Fix style
* fix lint
* Fix more styles
* Fix more styles
* update snap
2017-11-06 21:28:51 +08:00
Wei Zhu
d6ace6663b
Update snapshot
2017-11-06 19:00:36 +08:00
afc163
714b4ae06a
Merge branch 'master' into antd-3.0
2017-11-06 10:35:41 +08:00
afc163
bf82b4c49b
Fix suffix of Input.Search
...
close #7970
2017-11-01 12:12:16 +08:00
Benjy Cui
51785aa6eb
deps: upgrade TypeScript to 2.6, close #8018
2017-11-01 11:47:22 +08:00
Wei Zhu
bbb1a3a828
Merge branch 'master' into antd-3.0
2017-10-25 10:27:38 +08:00
Wei Zhu
36227a10db
docs: sort api table
2017-10-25 10:25:44 +08:00
Wei Zhu
7776cf62a7
Merge branch 'master' into antd-3.0
2017-10-25 10:25:02 +08:00
For177
6d68d5d8fc
Update index.zh-CN.md ( #8002 )
2017-10-24 04:31:12 -05:00
afc163
ef443ad047
Merge branch 'master' into antd-3.0
2017-10-20 15:47:42 +08:00
syssam
f8b7aad53d
less variable @form-vertical-label-padding, @form-vertical-label-margin, @input-padding-horizontal-base, @input-padding-horizontal-sm, @input-padding-horizontal-lg ( #7886 ) ( #7919 )
2017-10-20 15:11:44 +08:00
偏右
ffffd0f4c5
Fix styles ( #7924 )
...
* update demo
* Fix styles
* fix snap
* Fix back-top ci
2017-10-18 17:16:14 +08:00
afc163
6aa4138c00
Fix test warning
2017-10-10 20:01:23 +08:00
Wei Zhu
c5487ad1eb
React 16 + Enzyme 3
2017-10-09 19:18:04 +08:00
afc163
4eb9d5ef56
Merge branch 'master' into antd-3.0
2017-10-09 13:33:59 +08:00
afc163
942ea41b02
update snapshot for new jest
2017-10-09 13:32:11 +08:00
afc163
7a8a1a8ee3
Merge branch 'master' into antd-3.0
2017-09-30 21:31:29 +08:00
Jeffrey Carl Faden
9ab9e62308
Add inputPrefixCls for Search component ( #7770 )
2017-09-30 00:04:19 +08:00
偏右
2bced36f0c
New component styles ( #7731 )
...
* Tweak button padding
* upgrade input and button size
* update form controls size
* update components size
* Add lemon color and update rate color
* Add new icons
* update layout style
* breadcrumb and dropdown
* update menu arrow width
* update layout and menu
* update steps
* fix var name
* update cascasder style
* Update DatePicker
* update InputNumber and Mention
* radio and switch
* select and transfer
* TimePicker & Upload
* more components
* calendar and list
* Tree Timeline Popover Tag
* divider modal popover
* update search input
* update card style
* update switch disabled opacity
* update shoadow and mask
* Add v2-compatible-reset.less
* Fix undefined className
* update snahshotssssssssssssssssss 👻
2017-09-27 22:32:49 +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
Benjy Cui
829b5f87bf
feat: make default locale to enUS ( #7553 )
...
* feat: make default locale to enUS
* test: fix CI
* docs: update getting started
2017-09-26 23:12:47 +08:00
ChaXinyu
14e2a56b75
export components interface ( #7654 )
...
* export components interface
* export specific props
* fix formItem missed import
2017-09-25 22:14:49 +08:00
afc163
af7f0c3777
Merge branch 'master' into antd-3.0
2017-09-22 20:36:13 +08:00
afc163
c66062edb4
Fix input compact style
2017-09-22 20:35:30 +08:00
偏右
759b0bb821
seperate reset styles ( #7682 )
...
* seperate reset styles
* not reset ul/ol/p/heading
* revert reset.less idea
* move label style into ant-form-item, #5851
* revert reset.less idea
* update base.less
* Better typography from bootstrap@4
use reboot replace normalize
ref:
b4d84b9cdf/scss/_reboot.scss
close #6162
2017-09-22 18:33:29 +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
afc163
2f7b75562c
Merge branch 'master' into antd-3.0
2017-09-20 17:13:32 +08:00
afc163
635a0548de
Tweak input compact layout, close #7662
2017-09-20 16:46:37 +08:00
nikogu
abf18b9ec4
merge master
2017-09-18 10:13:48 +08:00
Wei Zhu
047f62e9b4
Mark refs to private ( #7600 )
2017-09-17 15:48:44 +08:00
afc163
c5f56b9db3
optimize TextArea autosize animation
2017-09-17 13:48:16 +08:00
偏右
dab6f43c02
Feat search enter button ( #7620 )
...
* Add enterButton for Input.Search
close #7596
* update snapshot
2017-09-15 17:03:43 +08:00
Wei Zhu
250c7a9c68
Revert "Mock rc-trigger"
...
This reverts commit 9d2c91598b
.
2017-09-15 16:42:25 +08:00
Wei Zhu
9d2c91598b
Mock rc-trigger
...
Ref #5522
2017-09-15 16:14:26 +08:00
Wei Zhu
4664e36fa4
refactor: input string refs to callback ( #7489 )
2017-09-08 09:43:21 +08:00
Khalifa Lame
5510d12ce8
docs: update Input English doc ( #7439 )
...
Fixed some typos
2017-09-04 15:24:08 +08:00
afc163
a204c0afa2
restore default cursor, close #7410
2017-09-01 10:04:25 +08:00
Ricardo Raphael Joson
bedfb180a8
Update index.en-US.md ( #7403 )
2017-08-31 17:13:28 +08:00
afc163
f77c38bddf
fix snap
2017-08-18 12:17:07 +08:00
afc163
e00bfdc150
Make Input with addons same default width 100% with Input
2017-08-18 12:09:17 +08:00
afc163
b687a32044
Fix safari input text align, close #7135
2017-08-08 20:27:05 +08:00
afc163
b3979885e4
fix demo snapshot
2017-08-04 21:29:30 +08:00
D & R
4bfd076cb8
fix: InputGroup demo ( #7089 )
2017-08-04 21:23:34 +08:00
afc163
0f63c7186e
Fix input outline covered by addon again
2017-08-03 21:48:26 +08:00
afc163
483491d0d8
treak input style for text align
2017-08-03 21:45:56 +08:00
afc163
50b9839bb3
Fix input outline covered by addon
2017-08-02 21:37:15 +08:00
afc163
eb69e0a0f8
Fix scroll bar flash in TextArea[autosize]
2017-08-01 16:37:57 +08:00
Benjy Cui
d2aca99190
refactor: simplify TextArea's code
2017-07-24 09:36:27 +08:00
afc163
f505ebd188
Add snapshot test for textarea disabled
2017-07-21 20:23:50 +08:00
infeng
d19bfcbf74
fix onChange ts definition of Input
2017-07-19 13:52:55 +08:00
偏右
09c8addae1
Merge pull request #6858 from lyz810/master
...
fix: TextArea disabled style
2017-07-17 15:58:07 +08:00
neekey
7e522291c8
add unit px
to all less value, make them explicit
2017-07-17 17:44:40 +10:00
liuyanzhe
bbfdc46aa2
Fix TextArea disabled style
2017-07-17 15:10:53 +08:00
afc163
b112948130
TextArea should be resetable in form, close #6776
2017-07-16 15:39:21 +08:00
newraina
e94b110a46
fix SearchProps
2017-07-14 17:47:11 +08:00
afc163
ab41503343
doc: update input demo description
2017-07-14 15:47:07 +08:00
afc163
ca89227568
test: fix snapshot
2017-07-12 21:44:46 +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
afc163
69b5acb45f
More test cases
2017-07-07 20:26:08 +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