Commit Graph

425 Commits

Author SHA1 Message Date
afc163
d61ad7445a support allowClear for Input 2018-12-28 23:00:34 +08:00
afc163
990ab8833a
fix snapshots 2018-12-28 14:40:10 +08:00
afc163
3f1be96866
Merge branch 'master' into feature
* master: (23 commits)
   fix snapshots
  Add docs for the List rowKey prop
  💄 don't reset font-family in each component
  💄 chore card less variable
  Remove classNames from custom-typing file
  add collapsed faq ref: #13953
  feat: support define card border radius
  Fix dateRender not supported at WeekPicker
  📝 Add links in Home Page
  📝 Fix site responsive interaction, close #13954
  💄 chore Steps[labelPlacement="vertical"] style
   fix warning in test case
  📝 update tech antfin cases
  🐛 site menu open bug
  🐛 fix site defaultOpenKeys
  Correct docs
  💄 chore button code style
  fix spaces in curly brackets
  fix two more code style issues
  Fix method argument name
  ...
2018-12-28 12:11:18 +08:00
afc163
b2c7c53b4c
fix warning in test case 2018-12-27 11:48:42 +08:00
afc163
30fe9918d8
Merge branch 'master' into feature
* master:
  📝 Add bodyStyle and style of Drawer in documentation, #13850
  🐛 Fix Drawer style not working
  🐛 fix markStyle affset style
  Update Santa.jsx
  update changelog
  bump 3.11.6
  revert Christmas egg
  [type] make type of components compatible with ComponentType<P>
  bump 3.11.5
   site: make document side bar sticky
2018-12-25 16:28:50 +08:00
frezc
5f9b376456 [type] make type of components compatible with ComponentType<P> 2018-12-25 01:10:00 +08:00
zombiej
cdf4c1e6b8 merge origin/master 2018-12-18 19:18:08 +08:00
Teng YANG
c2d1d72675 Fix #13529 input group compact border color issues (#13550)
fix #13529
2018-12-18 16:53:45 +08:00
陈帅
daca08b6f1 merge master 2018-12-13 22:03:12 +08:00
陈帅
2c79d2a7c1
Revert "Use less @plugin" (#13613) 2018-12-13 18:07:49 +08:00
zombiej
2029762297 replace components colors 2018-12-11 22:45:03 +08:00
Teng YANG
6b94bd0bb4 Fix customize border-width problem in input group compact mode (#13534) 2018-12-10 10:42:23 +08:00
陈帅
8e11f0bdb9 merge support prettier 2018-12-07 20:02:01 +08:00
陈帅
df356a586c Merge branch 'master' into feature 2018-12-07 18:52:13 +08:00
陈帅
dca9715186 support prettier 2018-12-07 18:27:30 +08:00
zy410419243
434205d216 test: update snapshots 2018-12-05 19:46:06 +08:00
zy410419243
bcefe82ee4 test: update test case 2018-12-05 19:46:06 +08:00
zy410419243
1638a629f4 feat: add visibilityToggle to control whether Icon show 2018-12-05 19:46:06 +08:00
zy410419243
9b934e80c0 style: remove indent 2018-12-05 19:46:06 +08:00
zy410419243
6ee39b26a9 pref: fix codecov problem 2018-12-05 19:46:06 +08:00
zy410419243
113231c5df pref: fix codecov problem 2018-12-05 19:46:06 +08:00
zy410419243
3634fe1096 pref: fix Codacy problem 2018-12-05 19:46:06 +08:00
zy410419243
4620f7c186 pref: add Icon type to Password => eye-invisible 2018-12-05 19:46:06 +08:00
zy410419243
18b5c2fd7f pref: fix codecov problem 2018-12-05 19:46:06 +08:00
zy410419243
bcf03a83bb pref: fix Codacy problem 2018-12-05 19:46:06 +08:00
zy410419243
2ed17d0dbe pref: fix Codacy problem 2018-12-05 19:46:06 +08:00
zy410419243
2b07c0a730 test: update snapshots 2018-12-05 19:46:06 +08:00
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