Commit Graph

291 Commits

Author SHA1 Message Date
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