Commit Graph

16877 Commits

Author SHA1 Message Date
dingkang
d57c86d92c
feat: migrate less to token for DatePicker (#42607)
* feat: migrate less to token for time-picker

* feat: add component-token demo

* feat:update token with  API Naming rules

* feat: migrate less to token for Time-pikker

* chore: code clean

* chore: code clean

* chore: udpate

* feat: picker token

* chore: add comment

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-08-22 16:28:20 +08:00
AN
af301a9822
fix(date-picker):fix format type processing for showTime. (#44306)
* fix(date-picker):fix format type processing for showTime.

* test: Add showTime should work correctly when format is Array test
2023-08-22 13:00:42 +08:00
MadCcc
820a9213c3
feat: Spin token (#44334)
* feat: Spin token

* chore: code clean
2023-08-22 11:47:07 +08:00
MadCcc
d1d3b57dcb
feat: input token (#44325)
* feat: input token

* feat: input number token

* feat: input token

* fix: date-picker & calendar

* fix: calendar style

* fix: token use
2023-08-22 09:38:11 +08:00
二货机器人
beb61e6751 chore: fix lint 2023-08-21 23:22:36 +08:00
二货机器人
be80d1fb5c chore: clean up 2023-08-21 23:09:49 +08:00
二货机器人
73c5ce1294 test: update snapshot 2023-08-21 22:07:56 +08:00
二货机器人
3f8461840c chore: merge master 2023-08-21 22:03:41 +08:00
二货爱吃白萝卜
b26e3a77f9
fix: WaterMark clip logic (#44321)
* fix: cut logic

* chore: fix size

* test: update snapshot

* chore: rm useless code
2023-08-21 20:15:49 +08:00
kiner-tang(文辉)
8e7d02cf53
feat: support closeIcon (#44312)
* feat: support closeIcon

* feat: update comment

* feat: optimize code
2023-08-21 17:02:31 +08:00
thinkasany
3b5e3e84bc
docs(tabs): remove useless string in Description (#44307) 2023-08-21 10:03:48 +08:00
叶枫
65fd05c344
style: add prettier-plugin-sort-imports (#44287)
* style: sort

* style: sort

* style: sort

* style: sort

* style: 规则调整

* style: 规则调整
2023-08-21 10:03:15 +08:00
栗嘉男
f91bc7baa4 test: update snap 2023-08-21 00:26:32 +08:00
栗嘉男
7fe4d4e844 Merge branch 'master' into feature-merge-master 2023-08-20 21:07:24 +08:00
thinkasany
8afbe6939e
docs(demo): Replace backticks with single quotes (#44302) 2023-08-20 20:32:09 +08:00
栗嘉男
39ca9d89f4 chore: merge master into feature 2023-08-18 15:01:08 +08:00
lijianan
d375cbd1b6
feat: Avatar support size from ConfigProvider (#44288)
* feat: Avatar support size from ConfigProvider

* Update components/avatar/avatar.tsx

Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: lijianan <574980606@qq.com>

* test: update snap

* Update components/avatar/AvatarContext.ts

Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: lijianan <574980606@qq.com>

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-08-18 14:54:35 +08:00
lijianan
3b913cf17b
site: add internationalization for docs (#44263)
* site: add internationalization for docs

* fix

* Update .dumi/theme/common/Color/ColorPaletteTool.tsx

Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: lijianan <574980606@qq.com>

* fix: fix

* fix: fix

* fix: fix

* fix: fix

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-08-18 10:41:45 +08:00
MadCcc
74d9654423
feat: tree token (#44282) 2023-08-18 10:23:57 +08:00
kouchao
ce687c50b1
fix(ColorPicker): color clear deformation (#44258) (#44273)
* fix(ColorPicker): color clear deformation (#44258)

* chore: merge styles
2023-08-18 10:04:01 +08:00
红果汁
73cfd37b77
fix: Descriptions key prop issue (#44278)
* fix: descriptions throw react key prop error in jsx mode

* chore: update test

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-08-17 21:12:10 +08:00
JiaQi
2e18b63cec
feat(list): list support using the componentSize configuration size from ConfigProvider (#44267)
* feat(list): list support using the componentSize configuration size from ConfigProvider

* chore: update snapshot
2023-08-17 17:55:46 +08:00
kiner-tang(文辉)
f1c38bf9e0
site(Calendar): add lunar calendar demo (#44166)
* feat: update demo

* feat: update demo

* feat: update demo

* feat: update demo

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code
2023-08-17 17:12:51 +08:00
MadCcc
030f38594c
feat: cascader token (#44261)
* feat: cascader token

* docs: en
2023-08-17 15:03:23 +08:00
@linhf2023
cdc4e50873
feat: migrate less to token for Alert (#42142)
* feat: migrate less to token for Alert

* fix: lint

* feat(alert): add component token demo

* test: add snap

* Update docs/react/migrate-less-variables.zh-CN.md

Co-authored-by: MadCcc <1075746765@qq.com>

* feat(alert): update token name

* feat(alert): update demo

* feat: update snap

* doc: update migrate

* chore: code clean

* feat: alert token

* chore: code clean

* chore: fix lint

---------

Co-authored-by: @linhf2023 <32009993+any1024@users.noreply.github.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-08-17 15:00:04 +08:00
MadCcc
27e54c9e97
feat: Button support contentFontSize token (#44257)
* feat: Button support contentFontSize token

* fix: token
2023-08-17 13:51:39 +08:00
AN
808452e49d
fix(DataPicker):fix picker content is not centered (#44245)
* Update index.ts

fix(DataPicker):fix picker content  is not centered

Signed-off-by: AN <455454007@qq.com>

* fix(DataPicker):fix picker content is not centered 

Signed-off-by: AN <455454007@qq.com>

---------

Signed-off-by: AN <455454007@qq.com>
2023-08-17 13:15:26 +08:00
苟培烜
9ba9da244a
fix: ColorPicker HEX input cursor jump bug (#44137)
* fix(color-picker): when inputting in the HEX,if you input a lowercase letter,the cursor will jump to the tail,and me fixed it.

* test: fix ColorPicker snapshot

---------

Co-authored-by: afc163 <afc163@gmail.com>
2023-08-16 20:45:39 +08:00
Grant Chan
947ea38325
fix(Button): fix fontSizeSM token not working (#44217)
Co-authored-by: Grant Chan <grantchan@metaarchit.com>
2023-08-16 20:14:32 +08:00
JiaQi
b9f77fde6c
feat: migrate less to token for Switch (#42192)
* feat: migrate less to token for Switch

* chore: add demo

* chore: code clean

* chore: update demo

* docs: update docs en

* chore: code clean

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-08-16 19:17:12 +08:00
Konv Suu
83e3b5218a
docs(Tabs): update animated prop's description (#44227) 2023-08-15 19:24:40 +08:00
MadCcc
65989b4eff
feat: select component token (#44228)
* feat: select token

* feat: select token

* docs: add demo
2023-08-15 17:05:06 +08:00
Wing
4fb448ffac
doc: upload doc line break (#44234) 2023-08-15 15:13:04 +08:00
Kyriewen
9ec85346fd
docs(cascader): fix allowClear default value in doc (#44230)
Co-authored-by: zbw01218944 <zbw01218944@alibaba-inc.com>
2023-08-15 15:12:45 +08:00
MadCcc
d493594ffe
docs: fix menu sider-current demo (#44222) 2023-08-15 13:42:28 +08:00
lijianan
20cb8fc49f
site: revert lost api description (#44216) 2023-08-15 09:31:49 +08:00
kiner-tang(文辉)
41cb8be608
fix(DatePicker): optimize RangePicker's range area style (#44206)
* feat: optimize range-picker's range area style

* feat: optimize range-picker's range area style

* feat: optimize range-picker's range area style
2023-08-14 20:59:34 +08:00
MadCcc
009779c21e
chore: collapse token meta (#44211) 2023-08-14 20:39:31 +08:00
1b479c4b45
feat(collapse): migrate less to token (#42938)
* feat(collapse): migrate less to token

* docs: add component token demo

* test: update snapshot

* chore: update snapshot

* chore: code clean

* chore: code clean

* chore: update

* chore: update demo

* chore: style

* chore: fix lint

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-08-14 19:19:32 +08:00
猫猫
e0e373f301
fix(badge): fix badge number is rtl (#43998)
* fix(badge): fix badge number is rtl

* test: fix snapshots

* feat: use dir attribute instead of bdi

* test: update snapshots

* test: back of snapshot

---------

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2023-08-14 19:14:46 +08:00
6a6f1b741f
feat(badge): migrate less to token (#42778)
* chore: update

* docs: add component token demo

* test: update snapshot

* chore: update

* test: update snapshot

* feat: token

* chore: update snapshot

* chore: code clean

* chore: code clean

* chore: code clean

* chore: code clean

* chore: update

* chore: fix lint

* fix: fontsizesm

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-08-14 17:18:42 +08:00
二货爱吃白萝卜
ee984fee0a
fix: Modal open should not block dropdown hidden (#44204)
* refactor: adjust style

* fix: not event when hovering

* chore: add comment
2023-08-14 16:31:57 +08:00
hms181231
db07a2fe0a
feat: Progress Component Token (#42757)
* feat: Progress Component Token

* feat: add defaultColor&circleTextColor  update infoTextColor -> textColor

* chore: update

* chore: add comment

* chore: update snapshot

* chore: fix lint

* chore: rm ignore file

---------

Signed-off-by: MadCcc <1075746765@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-08-14 15:24:01 +08:00
MadCcc
6de03aef37
feat: Tabs support token (#44201) 2023-08-14 15:00:30 +08:00
github-actions[bot]
0a4463e68a
chore: auto merge branches (#44202)
chore: feature merge master
2023-08-14 06:19:20 +00:00
二货爱吃白萝卜
72b449a1a4
docs: update faq (#44198)
* docs: update faq

* chore: update lint

* chore: update lint

* chore: use returnType
2023-08-14 13:32:57 +08:00
Electrolux
56f2bc5072
fix: (tabs)Unexpected color change in the click area of the mobile tabs component (#44200) 2023-08-14 12:08:25 +08:00
MadCcc
a5203ebb80
feat: layout token (#44174)
* feat: layout token

* feat: layout component token
2023-08-11 19:37:44 +08:00
hms181231
1c1ebbe36d
feat: Divider Component Token (#42627)
* feat: Divider Component Token

* feat: 更改token命名规范

* feat: 增加token demo

* test: Update Test Snapshots

* feat: token

* chore: update

* fix: lint

* chore: lint

* chore: update snapshot

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-08-11 13:43:44 +08:00
MadCcc
ba90af13c0 Merge branch 'master' into feature-merge-master 2023-08-10 22:17:15 +08:00
二货爱吃白萝卜
54081c800a
fix: Badge dot with status (#44153)
* fix: Badge with dot not processing

* test: update snapshot
2023-08-10 17:10:09 +08:00
da35a10f29
fix: update Modal defaultFooter Button disabled logic (#43055)
* test: add unit test

* fix: update disabled logic

* Revert "test: add unit test"

This reverts commit 7559a15af6.

* test: add unit case

* test: update snapshot

* chore: update logic

* Revert "chore: update logic"

This reverts commit 89e2233eda.
2023-08-10 16:48:28 +08:00
JiaQi
aa7c45fb26
fix(Descriptions): nested Descriptions are affected by the external border style (#43454)
* fix: nested Descriptions are affected by the external border style

* chore: add test case
2023-08-10 14:06:13 +08:00
MadCcc
8d1a41709f
fix: image preview operations color (#44141) 2023-08-10 13:40:34 +08:00
afc163
e283ebf2e3
test: update Select jest snapshot (#44140)
* chore: update snapshot

* test: fix test case of Form Select
2023-08-10 00:43:44 +08:00
二货爱吃白萝卜
1a86204053
feat: Form validateFields support recursive (#44130) 2023-08-09 16:35:19 +08:00
daisy
baa24a6ef9
fix(Upload): gif thumb url base64 type should be corrected (#44083)
* fix(Upload): gif thumb url base64 type should be corrected

* fix: add revokeObjectURL

* case: update

* case: remove comment

* fix: addEventListener -> onload

---------

Co-authored-by: afc163 <afc163@gmail.com>
2023-08-09 15:19:25 +08:00
daisy
a48e17717c
demo(Checkbox): adjust check-all demo (#44127)
* demo(Checkbox): adjust check-all demo

* chore: semantic
2023-08-09 14:32:54 +08:00
daisy
a67f943d39
feat(Cascader): support autoClearSearchValue (#44033)
* feat(Cascader): support autoClearSearchValue

* type: add type
2023-08-09 11:57:01 +08:00
daisy
cfdc4463ba
docs(Image): fix render originalNode ts (#44125) 2023-08-09 11:52:35 +08:00
MadCcc
5465975b1a
feat: table component token (#44118)
* feat: table component token

* chore: add typedoc
2023-08-09 10:52:39 +08:00
MadCcc
12efe328ac
docs: optimize site layout (#44111)
* docs: sticky header

* docs: adjust floatbutton zindex

* chore: code clean
2023-08-08 19:48:41 +08:00
kiner-tang(文辉)
2f8fa45df3
docs: Add rootClassName in doc (#44061)
* docs: update rootClassName description

* docs: update rootClassName description

* docs: update docs
2023-08-08 18:27:48 +08:00
MadCcc
bb4b3f68c5
fix: FloatButtonGroup menu mode should support badge (#44109)
* fix: FloatButtonGroup menu mode should support badge

* chore: better condition

* chore: code clean
2023-08-08 18:05:16 +08:00
二货爱吃白萝卜
8a3870fc31
feat: Watermark support nest Modal & Drawer (#44104)
* docs: add demo

* refactor: init

* refactor: of it

* refactor: simple content

* chore: unique func

* chore: refactor

* chore: support modal watermark

* feat: support nest watermark

* test: add test case

* chore: fix lint

* chore: bump rc-image

* test: add test case

* refactor: use same func
2023-08-08 16:48:26 +08:00
kiner-tang(文辉)
7ff17e02a2
docs: update faq about auto-complete (#44082)
* docs: update faq about auto-complete

* docs: update faq about auto-complete

* docs: update docs

* Update components/auto-complete/index.zh-CN.md

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: kiner-tang(文辉) <1127031143@qq.com>

---------

Signed-off-by: kiner-tang(文辉) <1127031143@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-08-08 15:33:53 +08:00
MadCcc
bd1ca16294
chore: type guard (#44103) 2023-08-08 15:13:21 +08:00
MadCcc
4fe27ba027
feat: button component token (#44090)
* feat: button component token

* chore: add demo

* chore: update
2023-08-08 14:03:31 +08:00
lihuan-bot
40febebe6e
docs: The parameter is different from the actual (#44101) 2023-08-08 13:49:52 +08:00
afc163
59dd632fc3
style: fix Carousel dots reset style (#44076)
https://codesandbox.io/s/basic-antd-5-8-2-forked-x3rgjy?file=/demo.tsx
2023-08-08 13:45:34 +08:00
二货爱吃白萝卜
3f85a200a0
chore: remove space useless style (#44098) 2023-08-08 11:41:53 +08:00
kiner-tang(文辉)
9d122a6c10
feat(AutoComplete): AutoComplete support rootClassName (#44055)
* feat: AutoComplete support rootClassName

* feat: AutoComplete support rootClassName

* feat: update snap

* feat: optimize code

* feat: optimize code

* Update components/auto-complete/demo/basic.tsx

Signed-off-by: kiner-tang(文辉) <1127031143@qq.com>

* feat: update snap

* Update components/auto-complete/index.en-US.md

Signed-off-by: kiner-tang(文辉) <1127031143@qq.com>

* Update components/auto-complete/index.zh-CN.md

Signed-off-by: kiner-tang(文辉) <1127031143@qq.com>

* feat: optimize code

* feat: optimize code

---------

Signed-off-by: kiner-tang(文辉) <1127031143@qq.com>
2023-08-08 10:50:34 +08:00
MadCcc
5423649bd9
fix: should compatible with cssinjs < 1.15 (#44091)
* fix: should compatible with cssinjs <= 1.16

* chore: comment
2023-08-08 10:37:40 +08:00
thinkasany
e767502bdb
docs(demo): add showIcon demo (#44019)
* docs: add showIcon demo

* fix: update snap
2023-08-08 09:57:18 +08:00
github-actions[bot]
bd54d4e11a
chore: auto merge branches (#44085)
chore: feature merge master
2023-08-07 12:52:18 +00:00
afc163
c5a1ee8b66
fix: Carousel should support id property (#44079) 2023-08-07 19:57:58 +08:00
kiner-tang(文辉)
5351fac42a
feat: Badge.Ribbon support rootClassName (#44056)
* feat: Badge.Ribbon support rootClassName

* docs: update rootClassName description

* feat: optimize code

* feat: optimize code
2023-08-07 18:06:44 +08:00
kiner-tang(文辉)
dcba47bbf5
feat: Input.TextArea support rootClassName (#44058)
* feat: Input.TextArea support rootClassName

* feat: optimize code

* feat: optimize code

* feat: add rootClassName test
2023-08-07 18:06:06 +08:00
kiner-tang(文辉)
77ecdcba8b
feat(DatePicker): RangePicker support rootClassName (#44057)
* feat: RangePicker support rootClassName

* feat: optimize code

* feat: optimize code

* feat: optimize code
2023-08-07 18:05:34 +08:00
kiner-tang(文辉)
915514f9de
feat: TimePicker support rootClassName (#44059)
* feat: TimePicker support rootClassName

* feat: optimize code
2023-08-07 18:05:05 +08:00
kiner-tang(文辉)
9436ece6e3
feat: upload support rootClassName (#44060)
* feat: upload support rootClassName

* feat: optimize code

* feat: optimize code
2023-08-07 18:04:44 +08:00
二货爱吃白萝卜
c583f9a0ad
fix: useLayoutEffect to fix shaking list (#44075) 2023-08-07 16:04:55 +08:00
二货爱吃白萝卜
5e9ef6803b
feat: Form requiredMark support renderProps (#44073)
* feat: Form requiredMark support renderProps

* test: add test case

* test: update snapshot
2023-08-07 15:11:06 +08:00
kiner-tang(文辉)
6c706908fc
feat: update the demo of InputNumber (#44049) 2023-08-07 11:25:18 +08:00
二货爱吃白萝卜
e8f9f6a88d
docs: Add happy wave package (#44031)
* docs: theme add happy work

* docs: update happy

* fix: lint

* docs: rename
2023-08-07 10:44:04 +08:00
二货爱吃白萝卜
9427c264f4
docs: misc update (#44034)
* docs: misc update

* docs: update

* docs: update

* docs: update

* Update components/form/index.en-US.md

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: 二货爱吃白萝卜 <smith3816@gmail.com>

---------

Signed-off-by: 二货爱吃白萝卜 <smith3816@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-08-07 10:42:15 +08:00
afc163
fee14ecdf6
style: fix Pagination buttons transition style (#44030) 2023-08-04 20:56:22 +08:00
MuxinFeng
63bb664b7d
style: addon size should inherit from props (#44000)
* style: addon size should inherit from props

* fix: do not inherit when size equals small
2023-08-04 18:24:03 +08:00
MuxinFeng
58feeeeada
style: fix popconfirm btn style (#44022)
Co-authored-by: afc163 <afc163@gmail.com>
2023-08-04 18:08:27 +08:00
kiner-tang(文辉)
01c24c2585
docs(Tag): update tag demo (#44010)
* feat: update tag demo

* feat: update tag demo

* feat: update tag demo

* feat: update snap
2023-08-04 16:58:32 +08:00
Bart Piotrowski
fb00f1cae1
fix: RangePicker allowClear does not disable the clear button (#44015)
* respect allowClear===false in date picker

* remove clear icon from snapshot

reflects actual desired outcome when allowClear is false

* test allowClear undefined and false scenarios

* use nested clearIcon if passed

* vanilla parameters, more robust merge

* no need to check allowClear for truthyness
2023-08-04 16:14:56 +08:00
二货爱吃白萝卜
6e3a9080bf
fix: Checkbox & Radio not support customize wave (#44014)
* chore: fix checkbox

* chore: checkbox support disabled

* chore: radio support wave

* test: update test case

* chore: fix lint

* test: update snapshot

* test: update snapshot

* test: fix test case

* test: update test case
2023-08-04 11:22:33 +08:00
thinkasany
bbe1ea82c5
type(menu): use React.isValidElement replace any (#43989)
* type(menu): use React.isValidElement replace any

* fix
2023-08-03 20:17:32 +08:00
二货爱吃白萝卜
92e36315c5
chore: adjust Form renderProps def (#43996)
* chore: adjust Form renderProps def

* chore: fix compile
2023-08-03 17:12:53 +08:00
wving5
ee61b997dc
docs: fix misdocumented component token meta (#43994)
* docs: fix misdocumented component token meta

* Apply suggestions from code review

Signed-off-by: MadCcc <1075746765@qq.com>

---------

Signed-off-by: MadCcc <1075746765@qq.com>
Co-authored-by: cty <>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-08-03 17:05:21 +08:00
JiaQi
4da3922a2c
fix(table): fix expand icon and column shrinking in RTL (#43977) 2023-08-03 12:30:55 +08:00
thinkasany
fb9c0562a0
type(Cell): use JSX.IntrinsicElements replace any (#43932) 2023-08-03 12:18:57 +08:00
二货爱吃白萝卜
b2a3c48d4a
docs: update input-number faq (#43981)
* docs: update input-number faq

* chore: clean up
2023-08-03 11:40:45 +08:00
MadCcc
8f2de9a9d7
fix: disabled pagination should not have hover and focus style (#43970)
* fix: disabled pagination should not have hover and focus style

* fix: update snapshot

* chore: raise size-limit
2023-08-02 22:04:00 +08:00
MadCcc
c640cbcb53
chore: update snapshot (#43957)
* chore: update snapshot

* chore
2023-08-02 15:33:29 +08:00
kiner-tang(文辉)
24697bbb06
fix: deprecated clearIcon prop (#43945)
* feat: clearIcon

* feat: clearIcon

* Update components/select/utils/iconUtil.tsx

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: kiner-tang(文辉) <1127031143@qq.com>

* feat: clearIcon

* chore: raise size-limit

---------

Signed-off-by: kiner-tang(文辉) <1127031143@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-08-02 14:21:11 +08:00
二货爱吃白萝卜
5d3b45551d
test: snapshot of demo warning message (#43947)
* test: init of test

* test: update snapshot

* test: update snapshot

* chore: adjust size limit

* test: update snapshot

* test: update snapshot

* test: update snapshot

* chore: update snapshot

---------

Co-authored-by: lijianan <574980606@qq.com>
2023-08-02 14:20:13 +08:00
MadCcc
ed5356e38e
type: export MappingAlgorithm (#43953) 2023-08-02 10:54:27 +08:00
lijianan
755e1227f4
test: update icon snap (#43942)
* test: update snap

* chore: bump icons

---------

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2023-08-02 02:15:02 +08:00
thinkasany
23040aa25f
chore: remove useless any & add CSSProperties type (#43921) 2023-08-01 01:26:41 +08:00
Gundsambuu
cc76cac953
fix: ant-design/icons import refactor (#43915)
which reduces @ant-design/icons bundle size on nextJS 13.
2023-07-31 23:55:25 +08:00
github-actions[bot]
fc45356cfa
chore: auto merge branches (#43920)
chore: master merge feature
2023-07-31 14:16:49 +00:00
二货爱吃白萝卜
4eb6074bb7
fix: Anchor not trigger getCurrentAnchor when scroll (#43916)
* docs: update doc

* fix: getCurrentLink not trigger when scroll
2023-07-31 18:26:33 +08:00
thinkasany
3f6defb22c
type: optimize triggerPaginationEvent type (#43905)
* type(list): optimize triggerPaginationEvent type

* fix

* fix

* fix

* Update components/list/index.tsx

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

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
2023-07-31 15:09:21 +08:00
Yee
59342fbfb9
fix(input-number): the number input radius style in different size (#43875)
* fix: the number input radius style in different size

* fix: make style token as a function

---------

Co-authored-by: yee.wang <yee.wang@lazada.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-07-31 13:22:27 +08:00
叶枫
8a165947d0
refactor: Form support namePath type check (#43904)
* chore: up form

* chore: test
2023-07-31 11:18:02 +08:00
Amumu
b7eefe5a86
chore: fix comment and feature merge master (#43899)
* site: optimize site style in mobile (#43895)

* site: ptimize site style in mobile

* fix

* fix: 合并冲突时注释错行

---------

Co-authored-by: lijianan <574980606@qq.com>
2023-07-30 22:22:50 +08:00
lijianan
41d0a775c1
site: optimize site style in mobile (#43895)
* site: ptimize site style in mobile

* fix
2023-07-30 19:16:30 +08:00
栗嘉男
d7cc34f9d8 test: add test case 2023-07-29 16:16:14 +08:00
栗嘉男
ec86f50650 test: update snap 2023-07-28 21:09:02 +08:00
栗嘉男
0ae6a39778 Merge branch master into master-merge-feature 2023-07-28 17:43:42 +08:00
二货爱吃白萝卜
418f95eb6c
fix: tooltip not effect on disabled element (#43872)
* fix: disabled wrapper

* test: update snapshot

* chore: fix lint
2023-07-28 17:39:38 +08:00
栗嘉男
5933e6473f fix: fix lint 2023-07-28 17:15:04 +08:00
栗嘉男
236aba5373 fix: fix lint 2023-07-28 17:04:00 +08:00
栗嘉男
674ff129ce Merge branch master into master-merge-feature 2023-07-28 16:43:15 +08:00
二货爱吃白萝卜
2cdf586291
chore: fix lint (#43873)
* chore: fix lint

* chore: fix lint

* test: fix 16

* fix: lint
2023-07-28 16:17:43 +08:00
红果汁
de7155234a
fix: ColorPicker onChangeComplete not called when change value (#43867)
* fix: color-picker onChangeComplete not called when change value

* refactor: optimized code
2023-07-28 14:36:46 +08:00
thinkasany
3ac6308f2e
chore: code style optimization (#43865) 2023-07-28 12:15:30 +08:00
二货爱吃白萝卜
a96e1bf04e
docs: fix ssr a link style (#43862) 2023-07-28 11:17:29 +08:00
lijianan
deea6feecf
feat: Avatar.Group support shape props (#43817)
* feat: Avatar.Group support shape props

* test: update snap

* test: add test case

* Update components/avatar/avatar.tsx

Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: lijianan <574980606@qq.com>

* fix

* test: update test case

* fix: rename

* rename

* fix

* fix

* fix

* fix demo

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-07-27 20:04:32 +08:00
二货爱吃白萝卜
6ff18d1786
enhance: antd style at top (#43847) 2023-07-27 16:07:48 +08:00
kiner-tang(文辉)
8000750b34
feat: TimePicker support customize clearIcon (#43839) 2023-07-27 14:20:18 +08:00
kiner-tang(文辉)
d64f8f60c0
feat: TreeSelect support customize clearIcon (#43842) 2023-07-27 14:19:55 +08:00
lijianan
82090a1dc2
docs: translate (#43832) 2023-07-27 12:32:05 +08:00
kiner-tang(文辉)
a4b842d137
feat: textarea support customize clear icon (#43836) 2023-07-27 11:58:26 +08:00
kiner-tang(文辉)
e2e46bbed7
docs: update docs (#43837) 2023-07-27 11:43:12 +08:00
MadCcc
94b3d03765
feat: component token support algorithm (#43810)
* feat: component theme

* feat: component token support algorith,

* docs: fix form

* chore: add test

* chore: fix test case

* chore: code clean

* chore: code clean

* chore: code clean

* docs: update toc

* chore: update cssinjs

* chore
2023-07-27 11:31:38 +08:00
kiner-tang(文辉)
4858e60fe6
feat: DatePicker support customize allowClear (#43811) 2023-07-27 10:23:26 +08:00
thinkasany
d9564f7b93
type(typography): use EllipsisConfig replace any (#43831) 2023-07-27 10:18:47 +08:00
二货爱吃白萝卜
b3ccc46ebe
feat: form support strict (#43828) 2023-07-27 09:56:05 +08:00
ac3d9173c6
feat(range-picker): preset value support callback function (#43476)
* chore(deps): bump rc-picker@3.11.0

* feat(range-picker): preset value support callback function

* docs: update docs

* docs: update since version

* test: update snapshot
2023-07-26 19:02:17 +08:00
JiaQi
9088414d54
fix: Modal.confirm locale setting were reset (#43277)
* fix: Modal.confirm locale setting were reset

* chore: add test case

* test: update test case

* fix: lint

* fix: format

---------

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2023-07-26 18:56:27 +08:00
MadCcc
425e6ce697
chore: update test case (#43824) 2023-07-26 17:50:37 +08:00
278262adbe
chore: fix description overlap in Slider handle (#43780)
fix #43731
2023-07-26 17:38:27 +08:00
daisy
fe0afd3795
feat(Image): support movable (#43823) 2023-07-26 16:28:49 +08:00
二货爱吃白萝卜
39d3baef43
enhance: not extract message notification style in SSR (#43808)
* enhance: message not render style in SSR

* enhance: notification not render style in SSR

* docs: not render App if in demo page
2023-07-26 11:03:42 +08:00
afc163
2d3c97979d
fix: Select aria-activedescendant wrong value (#43800) 2023-07-26 10:09:04 +08:00
daisy
86833b9768
demo(Tabs): tab size should not change when dragging (#43786)
* demo(Tabs): tab size should not change when dragging

* demo: update
2023-07-25 19:47:45 +08:00
thinkasany
f78f7bfef9
chore(form): code style optimization (#43793)
* chore(form): code style optimization

* fix: add type CSSMotionProps

* Update ErrorList.tsx

* Update FormItemLabel.tsx

* Update FormItemLabel.tsx
2023-07-25 19:47:05 +08:00
github-actions[bot]
0e08e13062
chore: auto merge branches (#43792)
chore: Feature merge master
2023-07-25 09:03:11 +00:00
二货爱吃白萝卜
fcfbb9a205
feat: pass autoAdjustOverflow to Slider tooltip (#43788)
* feat: pass autoAdjustOverflow to Slider tooltip

* test: update test case
2023-07-25 16:39:54 +08:00
二货机器人
fcce7c3fdb chore: merge master 2023-07-25 16:32:15 +08:00
二货爱吃白萝卜
8b19102b0d
feat: wave effect config (#43784)
* feat: support wave effect

* docs: more info

* test: add test case

* docs: update demo

* test: coverage
2023-07-25 16:29:47 +08:00
kiner-tang(文辉)
bc05a48cf5
feat: Cascader support customize clear button (#43776)
* feat: AutoCOmplete support customize clear button

* feat: update snapshots

* feat: update snapshots

* feat: reset prettier format

* docs: update docs

* feat: reset prettier format

* docs: update docs
2023-07-25 15:20:04 +08:00
lijianan
d34b4e1e15
feat: Transfer support custom dropdown Icon (#43773)
* feat: Transfer support custom dropdown Icon

* fix

* fix

* test: add test case

* rename
2023-07-25 14:05:52 +08:00
二货爱吃白萝卜
8523808c55
docs: update tooltip faq (#43774) 2023-07-25 11:38:38 +08:00
二货爱吃白萝卜
d855eaf2a5
fix: Select like dropdown motion (#43764)
* fix: Select like dropdown motion

* test: update snapshot

* test: update snapshot
2023-07-25 10:54:58 +08:00
kiner-tang(文辉)
b4035b09b1
feat: AutoComplete support customize clear button (#43745)
* feat: AutoCOmplete support customize clear button

* feat: update snapshots

* feat: update snapshots

* feat: reset prettier format

* feat: reset prettier format
2023-07-25 10:00:23 +08:00
afc163
1e68b89a87
chore: update Tooltip arrowPointAtCenter deprecated warning (#43761) 2023-07-24 18:28:58 +08:00
lijianan
127f56073b
fix: use theme token (#43754) 2023-07-24 16:05:40 +08:00
Khalifa Lame
5112817296
fix: Layout.Header accessibility role (#43749)
* fix: Layout.Header accessibility role

* test: update snapshots

* fix: type mismatch

---------

Co-authored-by: afc163 <afc163@gmail.com>
2023-07-24 15:38:55 +08:00
afc163
05f9677df7
site: improve a11y score in ant.design site (#43751) 2023-07-24 15:38:49 +08:00
github-actions[bot]
8b7c6834fb
chore: auto merge branches (#43746)
chore: merge master into feature
2023-07-24 06:40:39 +00:00
daisy
0c9653f5fb
fix: placement should be center when target is null (#43694)
* fix: placement should be center when target is null

* test: update snapshot
2023-07-24 11:42:18 +08:00
lijianan
1fea8dcb09
chore: code style optimization (#43723)
* chore: code style optimization

* Update progress.tsx

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

---------

Signed-off-by: lijianan <574980606@qq.com>
2023-07-23 10:12:05 +08:00
Fly me to the moon
9faee0fbca
chore: code style optimization (#43722)
* code style optimization

* fix

* fix

* Update components.test.tsx.snap

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

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: 我们去月球漫步 <13105694+flymetothemoon-wj@user.noreply.gitee.com>
Co-authored-by: lijianan <574980606@qq.com>
2023-07-22 19:07:57 +08:00
github-actions[bot]
8d75751dce
chore: auto merge branches (#43721)
chore: merge master into feature
2023-07-22 06:00:11 +00:00
erhu
ca75c697fc
chore: code style optimize (#43719)
* chore: private purePanel

* fix: type error

* fix: type
2023-07-22 12:18:17 +08:00
erhu
5104bf9981
type: breadcroumb use AnyObject (#43717)
* fix: breadcroumb use AnyObject

* fix: 显示声明import type

* style: 修改代码格式
2023-07-22 01:31:16 +08:00
二货爱吃白萝卜
66c686ed16
fix: btn miss type (#43716) 2023-07-21 23:36:11 +08:00
originRing
e85a0d73a6
docs(qrcode): download demo add background color (#43645) 2023-07-21 17:36:33 +08:00
MadCcc
cbf2703b02
docs: performance enhance (#43705)
* docs: performance enhance

* chore: update snapshot
2023-07-21 17:14:54 +08:00
Fly me to the moon
ab8e10d2c6
type: ref type optimization (#43703)
Co-authored-by: 我们去月球漫步 <13105694+flymetothemoon-wj@user.noreply.gitee.com>
2023-07-21 15:49:16 +08:00
lijianan
c8b74859ca
chore: fix eslint errors (#43693)
* fix: fix master CI fail

* fix: fix master CI fail

* test: fix test case
2023-07-21 12:33:05 +08:00
daisy
d6fe1355a9
docs: horizontal scroll FAQ for TreeSelect (#43692) 2023-07-21 11:04:11 +08:00
daisy
9bc006c125
demo: remove emotion (#43682)
* demo: remove emotion

* Apply suggestions from code review

Signed-off-by: MadCcc <1075746765@qq.com>

---------

Signed-off-by: MadCcc <1075746765@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-07-20 19:27:11 +08:00
lijianan
729ce75fb7
fix: @internal Internal Component type Error (#43687) 2023-07-20 19:21:46 +08:00
afc163
b1f8fb1236
type: remove type ghost from ButtonTypes (#43675)
* type: remove type ghost from ButtonTypes

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

* chore: fix DropdownButtonType

---------

Signed-off-by: afc163 <afc163@gmail.com>
2023-07-20 17:59:35 +08:00
二货爱吃白萝卜
4de4367706
fix: Button default event handler (#43666)
* test: test driven

* fix: types

* chore: post script
2023-07-20 09:46:26 +08:00
github-actions[bot]
b90aac7d28
chore: auto merge branches (#43662)
chore: merge master into feature
2023-07-19 15:01:49 +00:00
MuxinFeng
084f234bc9
refactor: Select deprecated showArrow prop (#43520)
* refactor: remove showArrow prop

* fix: optimize iconUtil

* refactor: refactor tree-select&cascader

* docs: update api docs

* test: add test

* fix: update warning

* chore: update dep version

* test: update test
2023-07-19 20:27:09 +08:00
MadCcc
473130fe32
fix: menu style (#43656) 2023-07-19 18:52:07 +08:00
AKing
8a4621c72d
fix: uniformly set height and border on inputs (#43548) 2023-07-19 17:23:45 +08:00
MadCcc
5eb9f5db9b
fix: suffix icon should not use colorTextDisabled (#43646) 2023-07-19 14:44:39 +08:00
二货爱吃白萝卜
04e729d14a
fix: Steps keyboard switch (#43644) 2023-07-19 13:39:26 +08:00
afc163
2285b5e87e
docs: update changelog and add timeout for test case (#43642) 2023-07-19 11:49:57 +08:00
xliez
48becf9cb1
docs(form): update faq for scrollToFirstError (#43640)
* docs(form): update faq for scrollToFirstError

* Update components/form/index.en-US.md

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: xliez <xliez@foxmail.com>

---------

Signed-off-by: xliez <xliez@foxmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-07-19 11:23:13 +08:00
MadCcc
edd15aaa4c
type: use ValueType from rc-input-number (#43635) 2023-07-19 11:01:14 +08:00
二货爱吃白萝卜
a9bceec602
fix: Button ts (#43629) 2023-07-18 23:59:53 +08:00
二货爱吃白萝卜
ca9c7c7e30
fix: Indeterminate & checked style (#43626) 2023-07-18 21:15:58 +08:00
二货爱吃白萝卜
cf40fb02b9
docs: fix docs problems (#43622)
* docs: fix bug

* docs: fix link

* docs: fix video

* chore: en
2023-07-18 18:22:47 +08:00
二货爱吃白萝卜
1c14a684fe
fix: label empty str line break (#43614)
* fix: label empty str line break

* chore: comment it
2023-07-18 14:41:43 +08:00
lijianan
f438c133ff
type: React.forwardRef type optimization (#43610)
* type: React.forwardRef type optimization

* fix

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint
2023-07-18 12:18:51 +08:00
二货爱吃白萝卜
5bf08faeea
refactor: rename qrcode to qr-code (#43607)
* refactor: rename qrcode to qr-code

* test: patch test case

* chore: fix Form missing displayName

* chore: patch displayName

* chore: style path

* chore: fix compile
2023-07-17 23:43:32 +08:00
红果汁
ecb36840bf
feat: Descriptions implement items API (#43483)
* feat: descriptions implement items api

* docs: add jsx debug demo

* refactor: add useRow hook

* Update components/descriptions/index.tsx

Co-authored-by: Wuxh <wxh1220@gmail.com>
Signed-off-by: 红果汁 <pingfj77@gmail.com>

* Update components/descriptions/index.zh-CN.md

Co-authored-by: Wuxh <wxh1220@gmail.com>
Signed-off-by: 红果汁 <pingfj77@gmail.com>

* Update components/descriptions/index.en-US.md

Co-authored-by: Wuxh <wxh1220@gmail.com>
Signed-off-by: 红果汁 <pingfj77@gmail.com>

* fix: decrease in coverage

* refactor: enhancement code

---------

Signed-off-by: 红果汁 <pingfj77@gmail.com>
Co-authored-by: Wuxh <wxh1220@gmail.com>
2023-07-17 14:48:03 +08:00
lijianan
d178eee50a
type: replace any type with CheckboxRef (#43599) 2023-07-17 12:40:52 +08:00
kiner-tang(文辉)
9ddad8662a
feat: update demo about cell-render in date-picker (#43597) 2023-07-17 12:18:41 +08:00
Rajil Bajracharya
e825e781de
fix: notification placement via app component (#43522)
* fix: respect notification placement in App

* style: sort imports

* fix: prioritize global config

Fixes regression on global config test from previous change

* test: check if notification placement works

* lint: use consistent-type-import

* style: remove extra new lines in import block

* docs: update config demo

* chore: fix lint

---------

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2023-07-17 11:30:06 +08:00
MadCcc
74c7d207c1
refactor: menu component token (#43576)
* docs: update examples link

* refacor: menu component token

* chore: update demo

* chore: update test case

* fix: token

* chore: fix

* Apply suggestions from code review

Signed-off-by: MadCcc <1075746765@qq.com>

* chore: fix lint

* refactor: more token

---------

Signed-off-by: MadCcc <1075746765@qq.com>
2023-07-17 10:13:22 +08:00
thinkasany
fc83371a00
type(button): add style type React.CSSProperties (#43588) 2023-07-16 18:30:15 +08:00
thinkasany
a7400d6e34
type: optimize type auto-complete mode (#43581) 2023-07-15 20:41:04 +08:00
kiner-tang(文辉)
99c4c381a9
docs: remove document about allowClear in slider because the api does not exist (#43580) 2023-07-15 20:31:16 +08:00
lijianan
94541eda67
fix: add NODE_ENV for Icon warning (#43574) 2023-07-15 16:03:53 +08:00
github-actions[bot]
b0d69a6878
chore: auto merge branches (#43575)
chore: merge master into feature
2023-07-15 07:15:54 +00:00
lijianan
38474628fd
feat: prepend use-client directive for with Next.js App Router (#43573)
* fix: prepend use-client directive for with Next.js App Router

* Update components/affix/index.tsx

Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: lijianan <574980606@qq.com>

* Update components/badge/index.tsx

Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: lijianan <574980606@qq.com>

* Update components/divider/index.tsx

Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: lijianan <574980606@qq.com>

* Update components/cascader/index.tsx

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

* Update components/list/index.tsx

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

* Update components/mentions/index.tsx

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

* Update components/mentions/index.tsx

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

* Update components/mentions/index.tsx

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

* Update components/mentions/index.tsx

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

* Update components/qrcode/index.tsx

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

* Update components/spin/index.tsx

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

* Update components/select/index.tsx

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

* Update components/spin/index.tsx

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

* Update components/spin/index.tsx

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

* Update components/steps/index.tsx

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

* Update components/time-picker/index.tsx

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

* Update components/transfer/index.tsx

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

* Update components/tree-select/index.tsx

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

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-07-15 12:57:03 +08:00