afc163
c3eda10999
chore: sync feature into master
2021-07-12 19:28:42 +08:00
afc163
2e3937ecbf
style: fix Cascader style inside Input addon ( #31350 )
...
close #31333
2021-07-12 13:25:41 +08:00
xrkffgg
d3405a9add
Merge pull request #31243 from ant-design/master
...
chore: sync master to feature
2021-07-04 20:00:59 +08:00
Pengsha Ying
846577b694
feat(Cascader): title attributes are added to the selected content text by default ( #31237 )
...
* update cascader snapshot
* feat(cascader): Add a friendlier title prompt to the label
2021-07-02 14:55:04 +08:00
afc163
14521d32d9
fix: shouldn't trigger onBlur when clear input ( #31202 )
...
close #31200
2021-06-30 13:48:22 +08:00
xiejiahe
fe35f4166d
style: Condition 'typeof enterButton === 'undefined'' is always false. ( #30970 )
2021-06-13 12:54:35 +08:00
qqabcv520
47dfa1f2ca
fix: fix type declaration ( #30776 )
2021-06-03 09:36:04 +08:00
二货机器人
3cfda1042e
fix: TextArea onChange event obj ( #30124 )
2021-04-13 15:42:43 +08:00
二货机器人
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
xrkffgg
f9a542b5c1
fix: affix Input disabled hover style ( #29670 )
2021-03-09 16:57:01 +08:00
afc163
ba7fa15058
merge feature into master
2021-02-23 13:20:07 +08:00
afc163
76434a15df
chore( 🆙 ): upgrade devDeps ( #29418 )
...
* chore(🆙 ): upgrade devDeps
* prettier code
* fix dnd demo
* fix react-dnd demo
* fix npm start and demo tsx compile
* fix snapshot
2021-02-23 10:45:11 +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
二货机器人
9e5e4c8743
chore: Fix ts ( #29383 )
2021-02-20 14:08:49 +08:00
afc163
99c2c2ff0b
refactor: use optional chaining instead of if ( #29368 )
...
* refactor: use optional chaining instead of if
* revert some code
2021-02-19 18:26:53 +08:00
afc163
a64056eb8a
fix: TextArea showCount should not be interactive ( #29245 )
...
close #29240
2021-02-05 20:34:28 +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
Pengsha Ying
a2b5d47e1a
fix(typescript): adjust style type declearation ( #28966 )
2021-01-21 17:16:51 +08:00
二货机器人
4315ac567c
chore: replace omit ( #28846 )
...
* chore: Replace omit.js with rc-util omit
* chore: Replace omit.js with rc-util omit
* fix ts
* fix ts
* fix ts
2021-01-13 21:00:30 +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
pasinter
dba559034a
docs: use correct link for the list of input props ( #28641 )
2021-01-01 21:40:00 +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
zombiej
80f56137fd
test: Fix maxLength test case
2020-12-27 00:11:40 +08:00
zombiej
a10a30ff60
fix: miss merge logic
2020-12-26 23:59:36 +08:00
zombiej
99d5451dba
chore: merge master
2020-12-26 23:11:46 +08:00
einq7
fa376f9c82
docs: prettier markdown ( #28510 )
2020-12-24 12:02:57 +08:00
Chan Qin Liang
263d8ec8e8
Include parenthesis on mixin calls to support less 4.0.0 ( #28465 )
2020-12-22 11:08:12 +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
二货机器人
6fcebabd8b
Merge pull request #27738 from ant-design/feature
...
chore: merge feature into master
2020-11-30 16:17:12 +08:00
偏右
323f99cbf2
fix: Search button style when customize less vars ( #27986 )
...
close #27965
2020-11-25 10:50:50 +08:00
偏右
7c50bfb1ad
fix: Input.Search addonBefore style ( #27960 )
...
close #27829
2020-11-23 21:10:07 +08:00
Tom Xu
dfdea4c347
Revert "refactor: input remove not use code ( #27895 )"
...
This reverts commit d5b63f8a61
.
2020-11-20 16:42:18 +08:00
Tom Xu
d5b63f8a61
refactor: input remove not use code ( #27895 )
2020-11-20 14:13:00 +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
偏右
c464f61f39
Merge pull request #27822 from ant-design/master
...
chore: merge master into feature
2020-11-17 13:03:46 +08:00
Tom Xu
ef77539920
refactor(search): use context ( #27657 )
...
* refactor(search): use context
* Update Search.tsx
2020-11-16 19:18:48 +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
xrkffgg
36cdf0a129
refactor: direction type define ( #27540 )
2020-11-04 14:12:45 +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
605bb2ffdf
fix conflict
2020-10-21 14:42:10 +08:00
Tom Xu
1f1956ccd9
Merge branch 'feature' into merge-into-feature
2020-10-21 14:31:16 +08:00
Tom Xu
d44f404eae
docs: sort api ( #27251 )
...
* chore: improve sort api table scripts
* sort api
* add ignore
* Revert "sort api"
This reverts commit 343505d5f0
.
* sort api
* Update package.json
* sort api
* Delete sort-api.js
* sort api
* sort api
* sort api
* fix
* Update index.zh-CN.md
* fix input-number
* fix input-number
* sort func
* fix
* Method moved to the end
* carousel method
2020-10-21 10:33:43 +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
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