zy410419243
f3611bf7bb
test: update snapshots
2018-12-05 19:46:06 +08:00
zy410419243
97367c0a80
test: update snapshots
2018-12-05 19:46:06 +08:00
zy410419243
c161d9c285
feat: Add Input.Password
2018-12-05 19:46:06 +08:00
amedora
0aeb9a356b
use color definitions insted of numbers
2018-12-05 19:45:22 +08:00
zombieJ
1a0a06fca9
ConfigProvider support prefixCls ( #13389 )
...
Basic support prefixCls.
2018-12-05 19:12:18 +08:00
Teng YANG
073cbdb6d2
Fix input component border width issues
2018-12-04 00:27:01 +08:00
zombiej
9f5d421cd6
merge master
2018-11-30 14:48:37 +08:00
afc163
83c192ea3e
💄 fix eslint problems
2018-11-28 15:11:02 +08:00
zombieJ
8d1d595d76
use resize observer to check textarea size ( #13295 )
...
fix : #10151
2018-11-27 13:46:42 +08:00
zombiej
df49b767b1
remove overflowY on TextArea autoSize since height transition has been removed for a long time
...
fix #10151
2018-11-27 11:25:21 +08:00
ztplz
7180f6be44
Add tests for Input.Search
2018-11-16 21:06:59 +08:00
ztplz
13ad9996f3
update
2018-11-16 16:23:38 +08:00
ztplz
8f64fd5fd8
update
2018-11-16 16:23:38 +08:00
ztplz
508bc719a7
Suppress warning message
2018-11-16 16:23:38 +08:00
afc163
a616f89a1b
🔥 update less code style
2018-11-12 12:02:30 +08:00
ztplz
6ad23c370e
Fix CI
2018-11-10 22:09:29 +08:00
ztplz
f27653158d
Remove extra spaces ( #13062 )
2018-11-10 00:17:02 +08:00
afc163
213693e333
🌐 site: transition component category, close #11629
2018-11-04 16:20:35 +08:00
zombiej
50b55f488e
fix #12493 . Adjust auto complete of input-group css
2018-10-09 11:52:58 +08:00
Wei Zhu
a3ce6678cb
Update snapshot
2018-10-01 23:57:45 +08:00
Tom Xu
ff4d803181
fix #12395 . input group hover style error ( #12407 )
...
First of all, thank you for your contribution! :-)
Please makes sure that these checkboxes are checked before submitting your PR, thank you!
* [x] Make sure that you propose PR to right branch: bugfix for `master`, feature for branch `feature`.
* [x] Make sure that you follow antd's [code convention](https://github.com/ant-design/ant-design/wiki/Code-convention-for-antd ).
* [x] Run `npm run lint` and fix those errors before submitting in order to keep consistent code style.
* [x] Rebase before creating a PR to keep commit history clear.
* [x] Add some descriptions and refer relative issues for you PR.
Extra checklist:
**if** *isBugFix* **:**
* [x] Make sure that you add at least one unit test for the bug which you had fixed.
**elif** *isNewFeature* **:**
* [ ] Update API docs for the component.
* [ ] Update/Add demo to demonstrate new feature.
* [ ] Update TypeScript definition for the component.
* [ ] Add unit tests for the feature.
2018-09-30 15:23:47 +08:00
afc163
05646e9459
doc: update input documentation
...
https://stackoverflow.com/questions/52378848/why-is-there-no-onchange-for-input-in-ant-design/52378880
2018-09-19 11:28:04 +08:00
HeskeyBaozi
976f6969f4
update test snapshot
2018-09-07 14:14:23 +08:00
HeskeyBaozi
2f8a56fa78
fix test case & update test snapshot
2018-09-02 20:59:37 +08:00
HeskeyBaozi
74798b8911
upgdate test snapshot
2018-09-02 20:59:37 +08:00
HeskeyBaozi
b8b64f92c8
remove prop 'svgStyle' and i think it's really good
2018-09-02 20:59:37 +08:00
HeskeyBaozi
d6131fe18d
update test snapshot
2018-09-02 20:59:37 +08:00
afc163
207bad7b47
Merge branch 'master' into feature-3.9.0
2018-09-01 13:22:06 +08:00
hongxuWei
278ad821a4
Fix issue #11908 missing right input border
2018-08-30 13:35:12 +08:00
陈帅
c73ad8021d
Merge pull request #11894 from ant-design/feature/svg-icon
...
Hotfix(Icon) fix SVG element style
2018-08-29 18:40:04 +08:00
Sebastian Busch
d47a5be712
Input: new method select(), passed to underlying input ( #11906 )
...
* Input: pass through method select() to underlying input
* add test for Input select()
2018-08-28 18:54:21 +08:00
HeskeyBaozi
0c9465aaf9
upgrade icons library
2018-08-27 20:40:11 +08:00
afc163
be78706364
Merge branch 'master' into feature-3.9.0
2018-08-25 18:55:32 +08:00
afc163
1ab61542e4
Fix Input[prefix|suffix] border in Input.Group, close #11863
2018-08-24 20:33:02 +08:00
HeskeyBaozi
ee1d2469a8
upgrade test snapshot
2018-08-24 18:36:08 +08:00
HeskeyBaozi
65600c8a95
upgrade to 3.8.2
2018-08-20 14:00:51 +08:00
Shuvalov Anton
b126b23b2d
fixed article
...
Just small grammar fix, nothing serious
2018-08-14 23:53:33 +08:00
HeskeyBaozi
796de6390b
update test snapshot
2018-08-14 15:32:29 +08:00
HeskeyBaozi
e57e19f354
fix Input.Search test case in react15
2018-08-14 11:45:30 +08:00
HeskeyBaozi
35974d67b2
update test snap shot
2018-08-13 20:51:01 +08:00
HeskeyBaozi
0a8f964935
update test snap shot
2018-08-13 14:46:55 +08:00
Wei Zhu
be74114d22
fix: Input 'autosize' is missing in type error
...
close #11697
`autosize` was used for `<Input type="textarea" />` which has been
separated to Input.Textarea
2018-08-13 14:04:27 +08:00
HeskeyBaozi
3baec95628
Merge branch 'feature-3.9.0' of https://github.com/ant-design/ant-design into feature/svg-icon
2018-08-13 09:26:33 +08:00
Wei Zhu
064bfaf554
Add @types/prop-types
2018-08-07 21:09:05 +08:00
HeskeyBaozi
b2ab727c89
resolve conflicts
2018-08-06 15:06:06 +08:00
afc163
e450ab64fa
Merge branch 'feature-3.8.0'
2018-08-04 17:00:17 +08:00
Evert Bouw
268a1817b7
remove blank line
2018-08-04 11:33:49 +08:00
Evert Bouw
cc6e1ba9d7
Clean up TextAreaProps type
...
The props for TextArea included React.TextareaHTMLAttributes twice
2018-08-04 11:33:49 +08:00
HeskeyBaozi
cc180e2605
resolve conflict.
2018-08-02 18:02:31 +08:00
Eden Wang
ed66395a12
export event for input.group
2018-08-02 12:14:21 +08:00
afc163
aa6b55be7e
clean up unused code
2018-07-31 16:40:48 +08:00
HeskeyBaozi
6c42d711e8
Merge branch 'feature-3.8.0' of https://github.com/ant-design/ant-design into feature/svg-icon
2018-07-31 15:36:23 +08:00
Ilan Hasanov
d0ca9ae05e
💬 input component blank spaces remove
2018-07-29 01:15:02 +08:00
HeskeyBaozi
ee16585b6d
update test cases
2018-07-25 11:51:19 +08:00
HeskeyBaozi
4a553a2006
upgrade test cases
2018-07-19 20:37:47 +08:00
HeskeyBaozi
8df086f022
update test cases
2018-07-18 13:39:02 +08:00
HeskeyBaozi
9338f33c1c
update test cases
2018-07-18 10:33:54 +08:00
afc163
56020cda39
Merge branch 'master' into feature-3.7.0
2018-06-27 16:14:14 +08:00
afc163
009ed08580
upgrade eslint-config-airbnb
2018-06-27 16:09:58 +08:00
afc163
c8a1442e38
Add event as second argument of onSearch
...
close #11015
2018-06-25 20:35:05 +08:00
Wei Zhu
b374297ca6
Merge branch 'master' into feature-3.7.0
2018-06-25 11:44:35 +08:00
愚道
653ec40b30
update test snapshot
2018-06-23 11:31:42 +08:00
afc163
9f16d066af
Fix lint problems from eslint-config-airbnb@17
2018-06-22 21:05:13 +08:00
Yuxuan Huo
9aea9ddf58
expose input box-shadow h and v offset in theme variables
2018-06-11 20:20:24 +08:00
zombiej
a6e2037c06
update test case
2018-05-26 23:18:18 +08:00
afc163
ac4a9086a0
test: press enter to search
2018-05-26 17:03:07 +08:00
afc163
36ffe7e1dc
Search icon could be clicked, close #10634
2018-05-26 16:52:33 +08:00
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