afc163
95bd4d6903
🐛 Fix col element missing relative style
...
close #15626
2019-03-31 20:25:41 +08:00
afc163
e3559ffb32
🐛 Fix clear icon style in Input/Input.Search
...
close #15237
2019-03-26 22:40:10 +08:00
afc163
9f3ef09717
✅ Fix demo snapshot
2019-03-26 22:40:10 +08:00
afc163
3a26573394
📝 Optimize prefix/suffix demo
2019-03-26 22:40:10 +08:00
杨小事er
a6a5e068eb
fix(Input): fix password prop action ( #15598 )
...
* fix(Input): fix password prop action
* fix(InputPassword): add assert action is non-null
2019-03-24 16:21:48 +08:00
melchior voidwolf
906f722ea8
Correct suffix icon in Input.Password ( #15381 )
...
fix #15369
2019-03-14 15:34:09 +08:00
vthinkxie
057d58ebce
style(module:input): add disabled selector style in ant input
2019-03-11 18:09:14 +08:00
zombieJ
dd435afadb
fix warning check logic ( #15251 )
2019-03-07 15:47:43 +08:00
Yangzhedi
bfbadabd52
fix(Input): fix search style with allowClear or suffix/prefix
2019-03-07 10:06:18 +08:00
afc163
881dce9a3e
💄 prettier codes
2019-03-06 13:45:40 +08:00
偏右
5dec4960df
Merge pull request #15184 from ant-design/fix-input-focus-state
...
Fix Input Password focus state
2019-03-05 11:32:05 +08:00
afc163
216c85211b
✅ Add test cases
2019-03-05 11:16:13 +08:00
afc163
1b713c94e6
🐛 Focus input after clear input content
2019-03-04 22:19:40 +08:00
afc163
5cd5d1ff00
📝 Opatimize Input demo
2019-03-04 21:57:30 +08:00
afc163
eaadf94861
🐛 Fix Input.Password lost focused state issue
...
close #15173
2019-03-04 21:54:51 +08:00
afc163
6f22eaa2c4
🎨 Improve code style of Input.Password
2019-03-04 21:54:10 +08:00
zy410419243
74a5a10bee
test: update aria-label for TextArea, to fix accesslint problems
2019-03-04 11:35:08 +08:00
zy410419243
9867e6f4cc
test: update cases for TextArea
2019-03-04 11:34:01 +08:00
zy410419243
b4146854d6
test: update cases for calculateNodeHeight
2019-03-04 11:29:15 +08:00
陈帅
5e298dba51
3.14.0 Changelog ( #15145 )
...
* add responsive property to carousel (#15071 )
* add responsive property to carousel #15065
* extend carousel props from Slick type definitions #15065
* rm key in OptionProps (#15104 )
* update doc
* fix cascader should tab twice to exist (#15117 )
* fix cascader should tab twice to exist
* update snapshot
* Drawer Body padding should be variable
* fix DatePicker to support an array of formats (#15116 )
ref #13148
* table reader mobile friendly
* up
* up
* doc: add 3.14.0 changelog
* doc: fix ci warning
* doc: fix ci warning
* doc: fix typo
* doc: fix ci warning
* doc: fix ci warning
* doc: fix cr warring
* doc: fix cr warring
* doc: fix cr warring
* doc: fix cr warring
* doc: fix cr warring
* doc: fix cr warring
* doc: fix cr warring
* -m
* -m
* doc: fix cr warning
2019-03-04 10:45:15 +08:00
zombiej
6f95995faa
merge master
2019-02-27 19:57:48 +08:00
zombieJ
4d1a998246
add component param in warning ( #15078 )
...
* add component param in warning
* update snapshot
2019-02-27 15:32:29 +08:00
zombiej
8bf08cdf81
adjust css
2019-02-26 15:45:08 +08:00
Jason Yin
b30e90ba31
fix #15037 ( #15042 )
2019-02-26 10:37:00 +08:00
zombiej
440408a1dd
update style
2019-02-21 12:13:47 +08:00
ztplz
e3eec8f2b6
Update snapshots
2019-02-20 16:58:30 +08:00
ztplz
45dc160701
Update
2019-02-20 16:58:30 +08:00
ztplz
f2ac516c87
Update
2019-02-20 16:58:30 +08:00
ztplz
b74038a4da
Correct Input demo style
2019-02-20 16:58:30 +08:00
zombieJ
48900955f8
Warning Input by: add or remove prefix / suffix when Input is focused ( #14948 )
...
* todo
* add warning
* add FAQ
* fix typo
2019-02-20 15:12:29 +08:00
zombieJ
c80136a9a7
New Component: Typography ( #14250 )
...
* text with prefix
* add edit style
* support editable
* enhance accessibility & type experience
* optimize IME case
* support copy
* add locale
* add secondary & disabled
* add ellipsis shadow text
* split to 3 components
* update snapshot
* update desc
* change lines also need update ellipsis
* skip aria when is in ellipsis
* add ResizeObserver in _util
* update snapshot
* move TestBase into test file
* update test case
* update doc
* fix typo
* important => level
* use rows
* update demo cols to 1
* fix cssText not work in firefox
* update doc
* add miss point
* support extendable
* update snapshot
* fix doc
* copyable support string
* update snapshot
* update doc
* update doc desc
* adjust style
* full test
* reset after test
* rename
* update snapshot
* fix compile
* adjust style
* update desc
* update prefixCls
* update margin
* adjust
* nest wrap of tag content
* adjust style
* update comment
* rm %
* one more thing
* tmp of measure
* merge string as children
* update snapshot
* update testcase
* remove comment
* use internal variable for configProvider passing
* update snapshot
* use expandable instead of extendable
* less variable it
* update demo
* update less
* adjust code & mark style
* remove mark padding
* update measure logic
* support nest element style
* use childNode.textContent to fix react 15 error
* update css
* popout Typography
* add link style
* adjust doc
* use ellipsis instead of rows & expandable
* update doc
* update doc
* update doc & style
* fix typo
* add css ellipsis support
* client render
* update snapshot
* enhance copyable
* support onExpand
* update test case
* add test of css ellipsis
* fix logic in react 15
* rename onChange -> onSave
* use tagName of article
* fix lint
2019-02-19 11:42:05 +08:00
zombiej
eddfbd5f51
only affect addon & suffix
2019-02-19 11:38:26 +08:00
zombiej
fcc3820545
adjust input style
2019-02-19 11:38:26 +08:00
米老朱
6936599aef
Enhance stylelint rules ( #14803 )
...
* rename .stylelintrc to .stylelintrc.json for explicit file type
* add new npm script lint-fix:style
* fix pseudo-element with double colon
* function name should be lower except ignored functions
* support stylelint declaration-block-no-ignored-properties rule
* support sorted CSS properties order for readability and consistency
* autofix order of all styles by lint-fix:style script
* remove double slash comments after selector
* replace .stylelintignore with ignoreFiles in .stylelintrc.json
2019-02-15 10:48:07 +08:00
zombieJ
47e53ab0fe
Fix Input.Search not support addonAfter ( #14799 )
...
* fix addonAfter
* update snapshot
2019-02-12 21:39:36 +08:00
zy410419243
bf4560cf37
docs: fix wrong usage of comma
2019-02-07 13:59:32 +08:00
thilo-behnke
a9a6da47ed
Input: Clear icon doesn't disappear if value is null (vs undefined or empy string) ( #14733 )
...
* fixed issue with allowClear if value is null
* added test cases for allowClear fix
2019-02-07 11:39:16 +08:00
afc163
5de5f4c458
🐛 Fix errors in lgtm.com
...
https://lgtm.com/projects/g/ant-design/ant-design/alerts/?mode=list
2019-01-28 14:02:32 +08:00
zombiej
b835110f79
merge master
2019-01-26 12:02:56 +08:00
zombieJ
5ac80c8e55
Use addonAfter
instead of suffix
when use enterButton
in Input.Search ( #14461 )
...
fix #14450
2019-01-25 11:06:05 +08:00
afc163
d3d5a3e18d
Merge branch 'master' into feature-for-resolve-conflict
...
* master: (45 commits)
Add type definitions for Steps.Step (#14468 )
add select check to fix edge wave issue (#14469 )
Fix for Pagination ellipsis misalignment (#14473 )
change sentry id
✅ Add sentry in ant.design
💄 New Sketch resources!
fix transfer ref (#14441 )
Add onMouseEnter and onMouseLeave for Menu Item (#14454 )
update snapshot (#14467 )
📝 beautify code style in documentation (#14457 )
Updating type: TreeSelectProps.getPopupContainer (#14443 )
change error version
3.12.4 changelog (#14436 )
Format
Fix the bug that radio onchange will be ovrride by radioGroup onchange (#14364 )
docs: updated doc for create-react-app
fix prefixCls of empty go to div (#14404 )
update snapshot (#14406 )
add radius on table-placeholder to fix table small size border clip (#14398 )
fix style of Input.Search with enterButton (#14397 )
...
2019-01-22 17:34:10 +08:00
zombieJ
321117c5e8
fix style of Input.Search with enterButton ( #14397 )
...
fix #14396
2019-01-17 16:52:12 +08:00
zombieJ
4ea65d36da
add missing style copy ( #14375 )
2019-01-16 17:28:02 +08:00
afc163
766eafbb5f
🐛 Revert #14157 to resolve input icon missing
...
close #14310
2019-01-13 22:02:38 +08:00
诸岳
307c877a02
Merge master branch
2019-01-13 21:18:38 +08:00
Simo Aleksandrov
462819c5d9
Translate Input.Password properties
2019-01-11 14:07:03 +02:00
zombiej
0a67272ae4
add locale update
2019-01-10 21:55:21 +08:00
zombiej
12af9a9dca
icon add aria-label support
2019-01-10 21:55:21 +08:00
诸岳
7b15f3ca03
docs: Add version description about Input.Password
2019-01-09 15:32:50 +08:00
wwwxy80s
fe12172321
hide Input clearIcon when it is not focused
2019-01-07 22:51:28 +08:00
ztplz
08ce714db2
update dep ( #14131 )
2019-01-07 09:40:55 +08:00
Junbin Huang
d78c0f2707
Chore/fix master conflict ( #14126 )
...
* adjust table fixed column z-index (#14036 )
fix #13930
* 📝 Add instruction for one column without width left in fixed table
* Add full PR template link in template (#14061 )
* add full tmpl link
* adjust
* simplify it
* add cn link
* Fix Affix flickering when scrolling
* update
* fix: top border disappeared under some ie9
* fix calendar month range display (#14049 )
* Fix tslint warning
* Correct typescript usage (#14074 )
* 🐛 Fix steps style under IE9
close #14001
* 🐛 tweak style for not affecting vertical steps
* 📝 enhance upload documentation
* Input.Group with TimePicker disappear icon: https://codepen.io/mraiguo/pen/QzvvvE?editors=0010
* 🐛 Fix disabled button style in DatePicker panel
https://user-images.githubusercontent.com/507615/50693143-17505400-1071-11e9-9114-b150bef8f7f6.png
* 📝 site: fix BackTop been covered by footer
close #14093
* Update PULL_REQUEST_TEMPLATE.md
* Update pr_cn.md
* 🐛 Fix nested Timeline last item missing line (#14110 )
close #14108
* init Spin should also support delay trigger (#14105 )
fix #14100
* Update table docs
* bugfix
* Format
* update snapshot
* test: fix spin test
2019-01-06 13:25:59 +08:00
afc163
a86b760f85
📝 Add doc about Input[allowClear]
2018-12-28 23:00:34 +08:00
afc163
b0df3c1225
Fix input defaultValue and value
2018-12-28 23:00:34 +08:00
afc163
a7786267a7
🐛 Fix review problems
2018-12-28 23:00:34 +08:00
afc163
fab24bf38c
🐛 Fix review problems
2018-12-28 23:00:34 +08:00
afc163
d19f406f86
✅ fix onChange e.target.value when clear
2018-12-28 23:00:34 +08:00
afc163
cb57ff103b
🐛 Fix review problems
2018-12-28 23:00:34 +08:00
afc163
e6bdd3d656
✅ fix snapshot and defaultValue warning
2018-12-28 23:00:34 +08:00
afc163
f10cb764e4
fix defaultValue
2018-12-28 23:00:34 +08:00
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
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