Commit Graph

1161 Commits

Author SHA1 Message Date
afc163
88d40e2750
demo: fix Input demo icon color (#48207) 2024-04-02 17:46:39 +08:00
二货爱吃白萝卜
100fa29bef
feat: Input.OTP component support (#48076)
* chore: basic control

* chore: input instad

* docs: update demo

* chore: adjust operation interactive

* chore: lock selection

* chore: fix patch logic

* chore: merge logic

* chore: patch autoFocus

* test: update snapshot

* test: add test case

* test: coverage

* chore: update size limit

* docs: update docs

* test: fix test case

* chore: update comment

* refactor: change to length

* chore: blur all

* chore: size limit
2024-03-28 14:05:58 +08:00
二货爱吃白萝卜
20561d6f9d
docs: Fix component doc alignment & support import usage (#48004)
* docs: init ref

* docs all support

* docs: fix link show
2024-03-22 14:22:42 +08:00
lijianan
271daafa39
feat: CP support Input.TextArea allowClear、autoComplete、className、classNames、style、styles (#47589)
* feat: CP support Input allowClear

* feat: CP support Input allowClear

* fix: fix

* fix: fix

* revert

* revert

* Update Input.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update getAllowClear.tsx

Signed-off-by: lijianan <574980606@qq.com>

* Update getAllowClear.tsx

Signed-off-by: lijianan <574980606@qq.com>

* test: add test case

---------

Signed-off-by: lijianan <574980606@qq.com>
2024-02-28 09:54:48 +08:00
lijianan
6c0d3e46c4
feat: CP support Input allowClear (#47602) 2024-02-27 10:25:35 +08:00
lijianan
a84af71d14
site: code optimization (#47456) 2024-02-16 20:50:31 +08:00
二货爱吃白萝卜
7104513a84
docs: Support semantic preview (#47332)
* docs: init

* docs: semantic block

* docs: part of demo

* docs: modal

* docs: slider

* docs: space

* docs: all sementic

* docs: clean up

* chore: fix lint

* chore: clean up

* chore: update script

* test: fix test case

* test: update testcase
2024-02-05 11:45:42 +08:00
lijianan
326ae986b9
Merge pull request #47297 from ant-design/master
chore: merge master into feature
2024-02-01 23:59:16 +08:00
MadCcc
53b0b2475d
fix: Input should show cursor when disabled (#47280) 2024-02-01 17:29:30 +08:00
lijianan
7cc45fd6d7
docs: rm useless type (#47272) 2024-02-01 10:36:21 +08:00
MadCcc
b62298851b
fix: input component token should work (#47243) 2024-01-30 20:02:56 +08:00
二货爱吃白萝卜
18e85a7b81
feat: New Picker (#46982)
* chore: init

* chore: link picker

* chore: move files

* chore: update style

* chore: update types

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: fix test case

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: update snapshot

* chore: clesn up useless types

* chore: update types

* chore: fix types

* chore: fix types

* chore: fix types

* chore: fix types

* chore: fix types

* chore: fix types

* chore: fix types

* chore: fix types

* chore: fix types

* chore: update style

* chore: clean up

* chore: update types

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: update snapshot

* fix: format

* chore: update deps

* chore: feature merge master (#46794)

* fix: Fix typo s/Notificaiton/Notification/ (#46775)

* docs: supplement form preserve field description (#46788)

close https://github.com/ant-design/ant-design/issues/46773

* docs: tweak changelog drawer width in small screen (#46791)

* docs: Update compatible-style.zh-CN.md (#46790)

Signed-off-by: afc163 <afc163@gmail.com>

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: hugo-syn <61210734+hugo-syn@users.noreply.github.com>
Co-authored-by: Shunze Chen <qianlonwork@outlook.com>
Co-authored-by: afc163 <afc163@gmail.com>

* chore: update locale size

* chore: lock dumi

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: update snapshot

* chore: bump version

* test: update snapshot

* test: update snapshot

* chore: bump version

* chore: update limit

* test: update snapshot

* docs: update 7 days sample

* chore: rm useless style

* chore: clean up style

* docs: add buddihist era demo

* refactor: interface

* chore: add multiple types

* docs: add demo

* chore: init style

* chore: init style

* chore: fill style

* chore: fill style

* chore: style

* chore: size of it

* chore: size style

* docs: add align demo

* docs: needConfirm

* chore: fix showWeek style

* test: update snapshot

* chore: fix ts

* chore: fix ts

* chore: fix ts

* chore: fix ts

* fix: week style

* docs: update dayjs note

* fix: style missing

* chore: fix footer extra style missing

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: update snapshot

* chore: demo update

* docs: update demo

* docs: min & max date

* test: update snapshot

* docs: add order

* chore: update deps

* test: update snapshot

* test: update snapshot

* chore: adjust style

* chore: clean up style

* test: update snapshot

* chore: fix comment

* chore: update align

* chore: bump rc-picker

* test: update snapshot

* test: update snapshot

* test: update snapshot

---------

Signed-off-by: afc163 <afc163@gmail.com>
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: hugo-syn <61210734+hugo-syn@users.noreply.github.com>
Co-authored-by: Shunze Chen <qianlonwork@outlook.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-01-29 15:34:48 +08:00
afc163
201f1fc789
fix: Input.Search 1px smaller then Input (#47193) 2024-01-27 23:18:51 +08:00
huiliangShen
62df041f03
fix(Input): props show-count param display incorrect in space compact mode (#47112)
* fix(input):use show-count param display incorrect in space compact mode

* update compact-debug file

---------

Co-authored-by: banruo <shl@dataqin.com>
2024-01-27 20:36:50 +08:00
叶枫
7e877dc799
test: support react 16 lint (#46963)
* feat: support react 16 lint

* feat: test

* feat: test

* feat: test

* feat: test

* feat: 不增加 package script
2024-01-14 17:15:39 +08:00
MadCcc
2c4e367543
fix: input hoverBg token (#46946) 2024-01-12 16:31:59 +08:00
栗嘉男
b241f68a33 chore: merge master into feature 2024-01-11 14:43:16 +08:00
叶枫
bea39b1db5
feat: Input support inputFontSize token (#46875)
* feat: Input support contentFontSize contentLineHeight token

* feat: rename inputFontSize
2024-01-09 15:18:44 +08:00
lijianan
473199db61
type: type enhancement (#46847)
* test: TEST

* type: update type
2024-01-08 11:05:03 +08:00
Eden Wang
28aaeafbbc
feat(mentions): supports 'allowClear' option (#46396)
* feat(mentions): supports 'allowClear' option

* feat(mentions): add allowClear testcase

* feat(mentions): update package and styles

* feat(mentions): update lint and styles

* fix: fixed lint error

* test: add case for custom clearIcon

* feat: add useAllowClear hook

* feat: rename useAllowClear to getAllowClear

* feat: rename useAllowClear to getAllowClear

* feat(mentions): add demo for allowClear

* feat(mentions): update demo desc

* feat(mentions): update demo desc

* feat(mentions): style align middle

* feat: add multi line mentions demo and update icon position

* feat: fixing visual regression report

---------

Co-authored-by: afc163 <afc163@gmail.com>
2023-12-25 10:37:26 +08:00
lijianan
8f2a438c4a
Merge branch 'feature' into master-merge-feature 2023-12-23 02:54:15 +08:00
MadCcc
924f46fd88
feat: form support variant (#46573) 2023-12-22 10:05:15 +08:00
lijianan
a09ed506d3
chore: merge master into feature 2023-12-22 03:26:11 +08:00
MadCcc
bf7085882d
feat: DatePicker support variant (#46568)
* feat: DatePicker support variant

* chore: update snapshot

* chore: update api table

* chore: update snapshot
2023-12-21 20:43:40 +08:00
MadCcc
5f395fbed3
feat: select/cascader/tree-select support variant filled (#46549)
* feat: Select filled style

* chore: update snapshot

* feat: Cascader and TreeSelect support variant

* feat: multiple style

* fix: import

* chore: fix lint

* chore: update auto-complete docs

* fix: clearIcon bg

* chore: code clean
2023-12-21 13:39:04 +08:00
MadCcc
3af521d422
feat: Input/InputNumber/Mentions support filled variant (#46435)
* feat: Input filled variant

* feat: InputNumber filled variant

* feat: mentions variant

* fix: TextArea status with affix

* chore: update snapshot

* chore: update snapshot

* feat: pagination input

* fix: fix diff

* feat: input-number disabled

* fixL InputNumber

* chore: update snapshot

* feat: better style

* chore: update

* chore: update snapshot

* feat: use variant classNames

* chore: update snapshot

* feat: mentions affix style

* chore
2023-12-18 17:53:31 +08:00
Eloi0424
0d1bf57aef
docs: Input.Password onVisibleChange type (#46504) 2023-12-18 15:55:28 +08:00
github-actions[bot]
5f9e52a5a8
chore: auto merge branches (#46446)
chore: merge master into feature
2023-12-14 07:32:07 +00:00
MadCcc
2e0942ab26
refactor: separate cssVarCls from hashId (#46424)
* refactor: cssVarCls

* refactor: update

* chore: update

* fix: cascader & tree-select

* fix: ribbon
2023-12-14 14:58:53 +08:00
MadCcc
e0c1841180
feat: InputNumber support variant (#46381) 2023-12-11 15:34:07 +08:00
MadCcc
4a07e13685
feat: Select variant (#46379)
* feat: Select variant

* chore: clean

* chore: add test

* chore: update demo
2023-12-11 14:55:58 +08:00
MadCcc
c588e82a9c
feat: Input deprecate bordered for variant (#46337)
* feat: Input deprecate  for

* chore: code clean

* feat: TextArea

* chore: code clean

---------

Co-authored-by: lijianan <574980606@qq.com>
2023-12-11 10:20:32 +08:00
MadCcc
c4b8c9df93
refactor: genStyleHooks (#46038)
* refactor: genStyleHooks

* chore: update sciprt

* refactor: affix

* refactor: select

* chore: update

* refactor: update

* refactor: update

* refactor: done

* chore: code clean

* chore: code clean

* chore: fix lint

* chore: decrease size limit

* chore: code clean

* chore: code clean

* chore: remove export
2023-11-29 17:23:45 +08:00
lijianan
cc5724481c
Merge branch master into master-merge-feature 2023-11-28 07:58:49 +08:00
叶枫
2938a8c828
fix(DatePicker): fix datePicker disabled hover style (#45940)
* fix(DatePicker): fix datePicker hover style

* feat: remove hover css

* fix: lint

* fix: lint

* feat: remove comoponentCls

* feat: 恢复

* feat: use [disabled]

---------

Co-authored-by: afc163 <afc163@gmail.com>
2023-11-27 13:56:43 +08:00
MadCcc
047bc53920
refactor: Input support css var (#45782)
* refactor: Input support css var

* chore: update type
2023-11-10 17:32:43 +08:00
二货爱吃白萝卜
f22f61db8a
test: update snapshot (#45770)
* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: update snapshot
2023-11-09 21:58:16 +08:00
MadCcc
52d2439fae Merge branch 'master' into feature-merge-master 2023-11-03 10:18:19 +08:00
Simon He
56c2b56bf2
docs(input): add placeholder (#45643)
* docs(input): add placeholder

* chore: update input-number
2023-11-03 00:42:37 +08:00
lijianan
8b486f3d7f Merge branch master into master-merge-feature 2023-10-15 11:33:10 +08:00
afc163
e587a5ff68
chore: update select snapshot (#45333) 2023-10-13 20:56:06 +08:00
MadCcc
bf1b73e902
feat: Input focus style (#45286)
* feat: input focus style

* chore: update

* feat: revert control outline back
2023-10-12 17:24:51 +08:00
MadCcc
53034b0e50
fix: Input background should not be transparent when hovered or focused (#45297) 2023-10-12 11:49:37 +08:00
二货爱吃白萝卜
6af1d95cf4
feat: Input & TextArea support count (#45140)
* docs: init

* chore: update example

* test: update test

* docs: update doc

* chore: fix lint

* chore: update limit
2023-10-10 16:22:23 +08:00
MadCcc
854db006c4
Merge pull request #45225 from ant-design/master
chore: merge master into feature
2023-10-09 14:20:11 +08:00
MadCcc
04c804eb2c
fix: Input addonBg should work (#45222) 2023-10-09 09:41:30 +08:00
github-actions[bot]
01a62798a6
chore: auto merge branches (#45067)
chore: feature merge master
2023-09-25 10:15:22 +00:00
MadCcc
54a2df3f53
fix: input should have correct padding with controlHeight (#45048)
* fix: input should have correct padding with controlHeight

* chore: update snapshot

* chore: update snapshot
2023-09-25 11:44:17 +08:00
MadCcc
431e00b1d0
feat: apply new input component border style (#45009)
* feat: apply new input component border style

* feat: ColorPicker & DatePicker

* chore: fix lint
2023-09-22 13:55:54 +08:00
kiner-tang(文辉)
3cd47b9a4e Merge branch 'master' into feature-merge-master 2023-09-20 14:37:33 +08:00