Commit Graph

749 Commits

Author SHA1 Message Date
偏右
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
Tom Xu
3493b4f7da
docs(input): add showCount version (#27246) 2020-10-20 09:47:21 +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
偏右
c72ee71d6f
fix: clear Password value attribute in controlled mode (#27191)
close #27171
2020-10-16 18:05:13 +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
afc163
288f0caf48 merge feature 2020-10-13 11:47:11 +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
xrk
f0f39895b5
style: optimize Input.TextArea count style in rtl (#27098) 2020-10-12 12:43:04 +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
Tom Xu
5f2588ffd1
docs: improve api type docs (#27038) 2020-10-09 10:08:52 +08:00
forl
f6c2ffcc8f
docs: update the Chinese doc of the Search component (#26937) 2020-09-29 13:37:04 +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
xrkffgg
a4e7e184c2
fix: input search rtl style (#26156) 2020-08-12 14:00:06 +08:00
xrkffgg
50a0678f35
fix: addonBefore Input rtl style (#26153) 2020-08-12 13:08:43 +08:00
07akioni
21e5fff467
chore: update rc-input-number 6.0.0 (#25843) 2020-07-27 22:32:21 +08:00
07akioni
9951e583b6
Merge branch 'master' into resolve-conflict-1 2020-07-26 20:14:11 +08:00
二货机器人
2803ccf658
docs: Update DatePicker docs and add legacy notice (#25768)
* docs: Update DatePicker docs and add legacy notice

* clean up

* only warning for QuarterPicker

* update docs

* fix lint

* note to warning
2020-07-23 11:25:17 +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
xrk
96eec53cae
docs: add input.password iconRender (#25635) 2020-07-15 16:53:26 +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
xrkffgg
382b8a78be
docs: format api input/inputnumber/mentions (#25339) 2020-07-01 15:14:31 +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
xrkffgg
a5f3ac8348
docs: unite boolean in site (#25058)
* docs: unite boolean in site

* fix demo

* fix boolean

* add

* add

* add
2020-06-17 23:18:14 +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
偏右
65355a3855
Merge pull request #25016 from ant-design/master
chore: Feature merge master
2020-06-16 13:06:51 +08:00
二手掉包工程师
50401d0c4d
test(Search): remove useless async (#25017) 2020-06-16 11:51:01 +08:00
偏右
b6cf00aded
Merge pull request #24985 from ant-design/master
chore: merge master into feature
2020-06-14 23:29:07 +08:00
Kermit Xuan
294fc8a7ea
chore: replace textarea with rc-textarea (#24966) 2020-06-13 14:24:56 +08:00
二手掉包工程师
544f407dd1
chore: add displayName Search name (#24965) 2020-06-12 23:32:06 +08:00
Kermit Xuan
e5348e77c2
feat: Mentions support autoSize (#24961)
close #17746
2020-06-12 23:26:30 +08:00
二手掉包工程师
f7934f5df2
refactor: rewrite Search with hook (#24901)
* wip: rewrite Search with hook

* fix: use forwardRef

* fix: use forwardRef

* test: add prevent test

* test: refine code
2020-06-12 18:50:36 +08:00
二手掉包工程师
57190f197b
refactor: clean up some deprecated APIs (#24881) 2020-06-10 11:12:31 +08:00
偏右
637aa09bc5
chore: fix some eslint problems (#24836)
* 💄 fix lint

* 💄 fix lint
2020-06-08 18:01:50 +08:00
Arvin Xu
dda650cc7b
docs: Update components cover (#24744)
* docs: Update components cover

#24629

* docs: Update components cover
2020-06-05 13:50:09 +08:00
xiaosong
46955f9f59
fix: 💄 IE11 input height issue (#23955) (#24673)
* fix: 🏁 fix ie11 input height issue (#23955)

* style: fix style order issue

* fix: 🏁 fix input height issue with css hack

* fix: 💄 Put IE11 css hack in IE.less
2020-06-02 21:17:57 +08:00
偏右
882cec62d6
docs: 🌈 Add Components overview page (#24491)
* docs: Add components overview page

* fix detail

* remove ContributorsList form overview page

* fix components url

* improve code style

* remove extra file

* fix detail

* fix lint

* fix lint

* docs: Finish components overview page

* fix lint

* docs: Update cover

* fix lint

* update cover

* update menu

* improve overview page

* refactor code

* fix order

* update title

* add components count

* fix overview page ssr bug

* move less file

* update title margin

Co-authored-by: arvinxx <arvinx@foxmail.com>
2020-05-31 11:48:34 +08:00
Teng YANG
c353e8bb06
support -readonly suffix on input-affix-wrapper (#24551) 2020-05-30 00:37:59 +08:00
afc163
d039e32e6b merge feature into master-to-merge-feature 2020-05-28 15:30:36 +08:00
偏右
4be9535926
fix: Password value still exists after blur it (#24535)
close #24526
2020-05-28 14:49:03 +08:00
Teng YANG
ccd2820ce7
fix: #24205 less class name prefix enhancement (#24459)
* replace ant class prefix with variable in mixin

* replace ant class prefix with variable in wave
2020-05-26 10:32:35 +08:00
偏右
ae8603838a
Merge pull request #24371 from ant-design/master
chore: merge master into feature
2020-05-21 23:41:37 +08:00
Mr.jiangzhiguo
4066f2f624
fix: Input.TextArea clear icon disappears (#24360)
* [#24359]: fix this issues

details: https://github.com/ant-design/ant-design/issues/24359

* fix css order
2020-05-21 22:55:52 +08:00
zombiej
9f38c46039 merge master 2020-05-14 21:03:29 +08:00
二货机器人
2afab58ac8
chore: small bundle size follow up (#24164)
* update config

* replace react function

* fix alert
2020-05-14 20:54:49 +08:00
zombiej
e6b1b1a4e7 Merge remote-tracking branch 'origin/master' into feature-merge-master 2020-05-14 16:19:39 +08:00
二货机器人
2e284aa017
chore: small bundle size (#24135)
* update warning

* rm warning

* replace with dev warning

* fix test

* fix site

* Update webpack.config.js

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

* Update webpack.config.js

* fix sytax

* adjust

* move into function

Co-authored-by: 偏右 <afc163@gmail.com>
2020-05-14 15:57:04 +08:00
afc163
53d7a20939 merge feature into master-to-merge-feature 2020-05-13 16:16:16 +08:00
afc163
50e33768a9 fix DatePicker snapshot 2020-05-13 16:10:48 +08:00
afc163
fdcbfc909d fix snapshot
close #24070
2020-05-12 14:57:13 +08:00
Jinke Li
f250b2fa29
Feature: support custom cell ellipsis tooltip (#24056)
* feat: add transformFile optionfor transform file before request

* feat: bump rc-upload 2.7.0

* feat(Upload): optimize doc

* feat: support custom cell ellipsis tooltip

* tests: update snapshots

* docs: update table ellipsis demo

* tests: update snap
2020-05-12 12:44:49 +08:00
afc163
acb4cb6859 Merge feature into master 2020-05-09 20:40:12 +08:00
xrkffgg
338733d70f
docs: optimize input demo (#23990)
* docs: optimize input demo

* docs: optimize input demo

* fix: style

* remove
2020-05-09 18:02:18 +08:00
xrkffgg
dd6c855028
style: fix input clear icon in rtl (#23999) 2020-05-09 18:02:08 +08:00
xrkffgg
c393ca700e
style: fix select focused in input group (#23985) 2020-05-09 14:41:00 +08:00
二货机器人
6668d48c54
Merge pull request #23845 from ant-design/master
chore: Feature merge master
2020-05-04 11:49:37 +08:00
二货机器人
72bb377628
fix: Textarea height (#23835)
* fix: Textarea height

* update snapshot
2020-05-03 20:32:34 +08:00
偏右
35e390018c
Merge pull request #23796 from ant-design/master
chore: Merge master into feature
2020-05-01 16:35:53 +08:00
xrkffgg
df1555c6c7
style: optimize input search style in rtl (#23797)
* style: optimize input search style in rtl

* fix lint
2020-05-01 14:50:35 +08:00
偏右
081604e253
feat: ㊙️ Input passowrd custom icon (#23792)
*  Support Input.Password iconRender

close #23778
close #23484

*  fix snapshot
2020-04-30 21:19:16 +08:00
vldh
b66ab37463
feat: add less variable @input-disabled-color (#23775)
* add less variable @input-disabled-color

* Update components/style/themes/default.less

Co-Authored-By: 偏右 <afc163@gmail.com>

Co-authored-by: lidahao <lidahao@sisyphe.com.cn>
Co-authored-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: 偏右 <afc163@gmail.com>
2020-04-30 15:37:11 +08:00
偏右
0b61b13e56
docs: 🆙 Upgrade input number (#23742)
* 🆙 upgrade to rc-input-number@4.6.0

* 🆙 upgrade to rc-input-number@4.6.1

*  update snapshot

* fix version
2020-04-29 14:18:19 +08:00
zefeng
14417f1614
feat(theme): adjust font-size in compact mode (#23135)
* feat(theme): adjust font-size in compact mode

With compact theme mode, we adjust default font-size from 14px to 12px.

Closes #23015

* patch: update docs min font-size

* patch

* patch

* patch

* patch

* patch

* patch
2020-04-28 11:16:01 +08:00
hengkx
9868a4dc59 Merge branch 'feature' into mergefeature 2020-04-27 21:02:16 +08:00
Yu Mao
e199a7a301
fix: preserve caret position🐛 (#23633)
* 🐛 fix: preserve caret position

*  update test case for preserving caret position

* Update Password.tsx

* Update Password.test.js

* Update Password.test.js

Co-authored-by: 偏右 <afc163@gmail.com>
2020-04-27 18:02:51 +08:00
诸岳
f955620601 chore: Merge master branch and fix conflicts 2020-04-26 13:34:11 +08:00
偏右
3ddc99c28f
🐛 Fix Input suffix align issue (#23606)
close #23588
2020-04-26 12:46:59 +08:00
偏右
d2c541b4e2
fix: 🐛 Input.Search height affected by suffix (#23527)
* 🎬 improve Input demo code

* style: fix Input.Search height stretched by suffix

close #23523

* fix react key warning

*  fix demo snapshot
2020-04-23 18:11:11 +08:00
二货机器人
a1e0c41c8b
feat: ConfigProvider support config Input autoComplete (#23455)
* support autoComplete

* update doc

* fix lint
2020-04-22 10:38:43 +08:00
xrkffgg
6d238a734d
feat: search rtl (#23424) 2020-04-21 11:25:53 +08:00
二货机器人
ac7865a6fc
chore: Adjust search style (#23406)
* chore: Adjust search style

* fix lint

* Update demo.test.js.snap

* update style

* update cover area

* area it
2020-04-21 09:41:09 +08:00
Tom Xu
6e1ffb96ca
fix: Input.Search ConfigProvider size (#23331)
* fix: Input.Search ConfigProvider size

* Update Search.tsx

* add test

* Update size.md
2020-04-18 18:31:03 +08:00
偏右
8ab146220e
💄 Fix Input[type=color] height (#23351)
close #23334
2020-04-17 16:04:20 +08:00
二货机器人
02d7292576
fix: Input inline allowClear style (#23259)
* fix: Input allow clear icon

* update test case

* update snapshot
2020-04-14 23:04:23 +08:00
二货机器人
deafd3fcce
fix: compact group style (#23149)
* fix: compact group style

* updat snapshot
2020-04-11 20:33:08 +08:00
二货机器人
49acc871b9
chore: Fix compile error (#23131) 2020-04-10 18:47:08 +08:00
二货机器人
f3df9ec894
fix: Input background with dark mode (#23115) 2020-04-10 13:13:30 +08:00
二货机器人
ecf025548b
chore: adjust RangePicker style (#23074)
* adjust range color

* fix lint

* update color

* update dark logic

* adjust little of arrow

* use icon

* update font size

* update snashot
2020-04-09 13:18:13 +08:00
Jay Fong
ed5abc246c
chore(Input): improve type types (#23006) 2020-04-08 10:43:37 +08:00
二货机器人
7571372781
fix: Not break input group style (#22975) 2020-04-07 11:25:48 +08:00
二货机器人
89abacac31
fix: Input affix prevent dropdown focus (#22887)
* adjust focus logic

* update logic
2020-04-03 16:11:41 +08:00
偏右
b369717181
chore: 🦄 Add eslint-plugin-unicorn (#22883)
* 🦄 Add eslint-plugin-unicorn

* fix eslint errors

* fix eslint errors

* fix lint demo

* fix lint demo
2020-04-03 15:02:11 +08:00
二货机器人
b174f98c6c
chore: Adjust range picker style (#22847)
* adjust rangepicker style

* update snapshot

* fix lint

* add aria label
2020-04-02 15:05:31 +08:00
afc163
40eae38563 fix ci 2020-03-30 16:46:46 +08:00
zefeng
dda45e4796
feat: support compact theme (#22126)
* feat: support narrow theme mode

* chore: rename narrow to compact

* chore: height part

* chore: preview compact mode

* chore: to make site corrected

* chore: preview site

* docs: 📖 document compact theme usage

* docs: tweak theme doc

* docs: 📖 Add description about double css bundle size

* chore: preview

* chore: for preview

* chore: adjust pagination

* chore: compact mode done!

* chore: remove useless todo

* chore: fix review bug

* chore: fix review bug

* chore: fix card margin

* chore: fix review bug

* chore: fix review bug

* chore: improve i18n and transition

* Update site/theme/static/common.less

Co-Authored-By: 偏右 <afc163@gmail.com>

* chore: fix button size and description padding

* chore: update snapshots

* chore: add compact css bundlesize limit

* chore: compact dist support

Co-authored-by: afc163 <afc163@gmail.com>
2020-03-29 10:39:46 +08:00
xrkffgg
7d9480a84d
style: optimize input rtl syle (#22624) 2020-03-27 10:10:09 +08:00
二货机器人
e95603b599
fix: Input with suffix align issue (#22603)
* fix: Input prefix style

* update snapshot

* fix int
2020-03-25 22:44:56 +08:00
xrkffgg
a1efc2876d
fix: input rtl style (#22525) 2020-03-23 18:04:44 +08:00
偏右
66f67051af
test: improve test for requestAnimationFrame (#22433)
* test: improve test for requestAnimationFrame

*  fix test coverage

* fix test case

* fix test case
2020-03-20 15:07:47 +08:00
xrkffgg
6e153c9116 fix: name 2020-03-19 16:44:16 +08:00