Commit Graph

286 Commits

Author SHA1 Message Date
二货机器人
793abf4284
fix: TextArea control with maxLenght (#30070)
* fix: Textarea control missing maxLength

* docs: Clean up
2021-04-09 13:11:18 +08:00
二货机器人
5f38753f6c
fix: align TextArea maxLength logic (#29867)
* fix composition

* fix input

* update doc

* fix tst

* more test case

* more test case
2021-03-23 15:03:47 +08:00
二货机器人
bec5a08368
feat: InputNumber support stringMode (#29373)
* add input-number demo

* update snapshot

* update demo

* docs: Update desc

* update doc

* clean up React useLayoutEffect warning

* fix ts definition

* re-trigger

* update rc-uitl version

* bump rc-input-number

* update

* update

* fix ts

* update demo snapshot

* update doc

* update demo
2021-02-22 22:07:19 +08:00
Homyee King
dd2cbe0336
fix: showCount (#29057)
* fix: showCount

* Update components/input/__tests__/textarea.test.js

Co-authored-by: 偏右 <afc163@gmail.com>

Co-authored-by: 偏右 <afc163@gmail.com>
2021-01-27 09:54:38 +08:00
Homyee King
20c49b7bbb
docs: fix demo-focus layout (#29028)
* fix: demo-focus layout

* fix: update snap

* fix: form noStyle test case

* fix: update snap

Co-authored-by: wanghongye <wanghongye@kuaishou.com>
2021-01-26 09:36:20 +08:00
07akioni
2549e8176b
docs: Input, use Space to refactor search-input demo (#28799)
* docs: Input, use Space to refactor search-input demo

* fix

* test: update snap
2021-01-10 21:42:44 +08:00
二货机器人
6ae70059c9
feat: Input focus support cursor (#28602)
* feat: Input focus support cursor

* docs: clean up

* test: Fix lint
2020-12-29 22:42:04 +08:00
afc163
f2188064b2 merge feature into master 2020-12-28 15:32:03 +08:00
Hossein Mohammadi
04bfa3c54f
chore: add prettier-plugin-jsdoc (#28551) 2020-12-28 15:30:18 +08:00
偏右
8f1466a30f
fix: TextArea value get cut if ime mode (#28456)
close #27686
close #28417
close #27116
2020-12-21 16:22:43 +08:00
He Linming
9d216d7cef
feat: add showCount.formatter for TextArea (#28145)
* feat: add countFormatter for TextArea

closing #28105

* test: add unit test

* refactor: update api

* docs: fix api docs
2020-12-03 20:33:34 +08:00
Tom Xu
d4e8ac4499 fix: texterea test 2020-11-20 11:01:10 +08:00
Tom Xu
a9602b6d71 Merge branch 'feature' into merge-feature 2020-11-20 10:15:53 +08:00
Tom Xu
30372ffad3
refactor(textarea): rewirte with hook (#27693)
* refactor(textarea): rewirte with hook

* Update TextArea.tsx

* Update TextArea.tsx

* Update TextArea.tsx

* Update ClearableLabeledInput.tsx

* fix

* improve

* Update TextArea.tsx
2020-11-18 11:27:58 +08:00
zombiej
7af0cb0d9f chore: Feature merge master 2020-11-16 16:17:42 +08:00
偏右
e7bed7cff7
perf(📦): upgrade @ant-design/colors and remove rc-trigger from deps (#27761)
* perf(📦): upgrade @ant-design/colors

* move rc-trigger to devDeps

* fix lint

* update snapshot

* update snapshot

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-11-14 00:43:12 +08:00
Tom Xu
5b7811f2ee Merge branch 'feature' into merge 2020-11-12 15:24:00 +08:00
jiang.he
9881be97fd
fix: update the slice rule when the TextArea component limits maxLength (#27679) 2020-11-11 00:56:57 +08:00
偏右
0e6e185da2
Merge pull request #27644 from ant-design/master
chore: merge master into feature
2020-11-09 12:47:52 +08:00
appleshell
8f18328aad
feat: add setSelectionRange for the ref of Input and TextArea (#27584)
Co-authored-by: lvpansen <pansen.lv@atzuche.com>
2020-11-06 11:48:50 +08:00
Davide Bianchi
72dbcfcfde
fix: prevent Search component to throw passing null as enterButton (#27591) 2020-11-06 10:41:51 +08:00
zombiej
0bf5a43e15 chore: feature merge master 2020-10-30 20:55:27 +08:00
偏右
39e37bf1b4
fix: Input[allowClear] className (#27462)
* fix: Input[allowClear] className missing

close #27444

* fix snapshot
2020-10-30 15:27:37 +08:00
二货机器人
c373710ce2
chore: Adjust collapse arrow position align with first line (#27363)
* fix: border style of Input.Search when allowClear (#27325)

* fix: border style of Input.Search when allowClear

* fix css

* update

* change name

* docs: 4.7.3 changelog (#27350)

* docs: 4.7.3 changelog

* docs: Patch 27325

* chore: improve useCombinedRefs (#27352)

* docs: 📝 update introduce

* chore: fix API table border

* chore: Adjust collapse arrow position align with first line

Co-authored-by: xrk <xrkffgg@gmail.com>
Co-authored-by: Tom Xu <ycxzhkx@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2020-10-26 10:56:09 +08:00
xrk
92f7f6dbb2
fix: border style of Input.Search when allowClear (#27325)
* fix: border style of Input.Search when allowClear

* fix css

* update

* change name
2020-10-24 23:28:24 +08:00
Tom Xu
7be4339806 Merge branch 'feature' into merge 2020-10-24 20:53:34 +08:00
骗你是小猫咪
6fba4d1136
test: demo -> ui test (#24475)
* test: demo -> ui test

* improve comment image width

* use argos-ci

* use by cicleci

* fix circle run

* rebase master

* try pipeline var

* use another branch var

* fix commit id

* ignore image test file

* remove useless report

* fix test coverage
2020-10-23 18:50:46 +08:00
Tom Xu
1f1956ccd9 Merge branch 'feature' into merge-into-feature 2020-10-21 14:31:16 +08:00
偏右
27e9926438
fix: duplicated className on Search[allowClear] (#27261)
* fix: duplicated className on Search[allowClear]

close #27258

* fix snapshot
2020-10-20 21:44:37 +08:00
二货机器人
8ea1e52d4d
fix: TextArea wrapper with div when !showCount (#27216)
* fix: TextArea layout

* test: Update snapshot

* fix: value logic

* fix: className & style logic

* chore: rm uesless code

* chore: Clean up
2020-10-19 14:03:19 +08:00
偏右
2788140d1a
Merge pull request #27137 from ant-design/master
chore: merge master into feature
2020-10-14 16:35:29 +08:00
偏右
3ef6ea3ead
refactor: 📦 some styles to reduce css bundle size (#27129)
* refactor: some styles to reduce css bundle size

* test: update snapshot

* fix snapshot

* fix test case

* fix addonAfter

* fix firefox style

* reduce riddon css size

* fix Input.Group border radius

* remove unused css selectors

* fix test cov

* fix search button hover border

* fix rtl textarea clear icon style

* update demos

* fix search rtl style

* fix input search style
2020-10-13 21:16:20 +08:00
zoomdong
e6cc0009c3
feat: Input.Textarea support size props (#27110)
* feat: Input.Textarea add size props

* update snapshot

* update snapshot

* add case

* fix code
2020-10-12 20:39:51 +08:00
zhangchen
138b953afd
feat: TextArea showCount (#26952)
* feat: TextArea showCount

* update: TextArea showCount test

* update: TextArea showCount test

* update: test

* update: test

* update: test

* update: interface

* revert: interface change
2020-10-10 11:30:58 +08:00
偏右
6fc11830d6
fix: Textarea value works differently as Input (#26652) 2020-09-09 14:41:00 +08:00
Alex
bf45c4c1b0
style: 💄 className prop ordering #26594 (#26602)
close #26594
2020-09-06 13:07:39 +08:00
偏右
a8dea916b2
fix: Search autocomplele list in Chrome (#26590)
* fix: 🆙 upgrade rc-select to 11.2.x

* style: fix input search clear button

* test: update snapshot
2020-09-05 00:38:39 +08:00
Kermit Xuan
63816fa6ba
🐛 fix(textarea): should display defaultValue when value is undefined (#26327)
close #26308
2020-08-21 22:14:28 +08:00
zombiej
aec0f4517c test: Fix resize related test case 2020-08-18 16:46:05 +08:00
07akioni
21e5fff467
chore: update rc-input-number 6.0.0 (#25843) 2020-07-27 22:32:21 +08:00
07akioni
f937a7fffe
feat: Input & Input.TextArea support bordered prop (#25617)
* feat: Input bordered prop

* fix: snapshot

* fix: borderless Input background-color -> transparent
2020-07-16 00:25:47 +08:00
偏右
9febbca3fe
docs: 📔 Update customize-theme.zh-CN.md (#25540)
* Update customize-theme.zh-CN.md

* test:  update snapshot
2020-07-09 15:16:49 +08:00
07akioni
0ba2f830ac
test: update snapshots (#25469) 2020-07-07 15:38:09 +08:00
07akioni
5c72186899
fix: InputNumber max prop has no default value (#25243)
* fix: InputNumber max prop has no default value

* docs: enUS ref links

* docs: typo fix

* test: snapshots
2020-06-29 11:07:56 +08:00
07akioni
cefcaac37d
Merge branch 'feature' into resolved-master-for-feature 2020-06-28 20:06:37 +08:00
二货机器人
67513cc71b
fix: Select icon interactive (#25212)
* fix: Select icon interactive

* updat snasphot
2020-06-24 23:28:54 +08:00
afc163
bbc95a12a4 merge feature into master-to-merge-feature 2020-06-19 13:22:11 +08:00
二货机器人
dc4b420d51
fix: Search crash in AutoComplete (#25049) 2020-06-17 13:35:12 +08:00
二手掉包工程师
39fe6fdcb6
refactor: refine some typos (#25036) 2020-06-17 10:58:24 +08:00
二手掉包工程师
e54df4a41e
refactor: rewrite Password with hooks (#25012)
* refactor: rewrite Password with hooks

* refactor: remove state

* refactor:fix lint

* refactor:fix lint

* test: add size case
2020-06-16 19:49:08 +08:00