Commit Graph

16968 Commits

Author SHA1 Message Date
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
二货爱吃白萝卜
4f099742b8
enhance: auto align logic (#43556)
* enhance: auto align logic

* test: update snapshot

* chore: update snapshot

* chore: fix demo
2023-07-15 10:14:58 +08:00
kiner-tang(文辉)
6b924029f1
demo: set button type in alert demo (#43567)
* fix: set button type in alert ghost button

* fix: set button type in alert ghost button

* feat: update snapshots
2023-07-14 19:36:36 +08:00
kiner-tang(文辉)
ef7b6e888b
fix: resolve ghost button lose disabled state when use type='ghost' (#43558) 2023-07-14 17:05:59 +08:00
thinkasany
c51031ae53
type: optimize type (#43545)
* type: optimize type

* Apply suggestions from code review

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-07-14 13:25:15 +08:00
Albert E. Hidalgo Taveras
860e58ee6f
demo: use closable prop (#43542)
* Update closable.tsx

Added `closable` prop

Signed-off-by: Albert E. Hidalgo Taveras <35310226+itsalb3rt@users.noreply.github.com>

* Apply suggestions from code review

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

---------

Signed-off-by: Albert E. Hidalgo Taveras <35310226+itsalb3rt@users.noreply.github.com>
Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-07-14 13:09:54 +08:00
morning-star
677f7a79a7
chore: fix typo (#43549)
Signed-off-by: morning-star <Chenguangstart@outlook.com>
2023-07-14 13:05:01 +08:00
JiaQi
25acc479f0
fix(Tag): renders excess content when passing only the icon (#43518)
* fix: add judgment

* chore: add test case
2023-07-13 09:43:35 +08:00
thinkasany
82e5555ff3
chore: code style optimization (#43497)
* chore: code style optimization

* revert: 直接解构, 不用 props

* chore: fix classNames useless boolean

* fix: remove classname useless boolean

* fix: revert delete progress classnames boolean
2023-07-13 01:46:56 +08:00
红果汁
c377457104
feat: ColorPicker implement disabledAlpha API (#43355)
* feat: implement disabledAlpha api

* refactor: add genAlphaColor and optimization code

* chore: clean code

* refactor: add warning and optimization code

* chore: clean code

* docs: modify version number

* fix: fix prettier
2023-07-12 19:42:33 +08:00
VovkaGoodwin
c683c50bdd
type: changed import type to common import (#43501)
Co-authored-by: Vladimir Radko <volodya.radko@gmail.com>
2023-07-12 13:39:30 +08:00
炒米粉
8a7f8d0a88
docs: corrected a mistake of a demo description. (#43499) 2023-07-12 11:59:47 +08:00
github-actions[bot]
493b66b641
chore: auto merge branches (#43498)
chore: merge master into feature
2023-07-12 02:48:16 +00:00
红果汁
3e5a392f73
docs: Form add ColorPicker demo (#42880)
* docs: form add color-picker demo

* test: update snapshot

* fix: color-picker support form

* perf: optimize code logic

* refactor: optimize code

* test: update snapshot

* test: update snap

* test: update snap

* chore: fix prettier

* chore: fix prettier
2023-07-12 10:15:04 +08:00
daisy
9f509d3be9
demo: adjust image toolbarRender (#43496) 2023-07-12 09:43:51 +08:00
kang
bac7ee3fdb
docs: sync slider docs translation (#43296) 2023-07-11 23:03:40 +08:00
lijianan
2d9f7de524
chore: code style optimization (#43478)
* chore: code style optimization

* add type
2023-07-11 23:01:17 +08:00
MadCcc
36f195d411
chore: enhance PanelPresets type (#43486)
* docs: update examples link

* type: fix typescript error

* chore: code clean
2023-07-11 22:36:40 +08:00
thinkasany
bbfaa9a9bb
fix: Remove the default value of the empty string (#43481) 2023-07-11 14:57:04 +08:00
thinkasany
5ce9818401
chore: code style optimization (#43475) 2023-07-11 11:20:11 +08:00
thinkasany
a92d20e06e
type: remove useless assertion (#43474) 2023-07-11 10:44:18 +08:00
afc163
39151c612b
fix: Upload progress bar fade motion (#43471)
close #43229
2023-07-11 10:06:09 +08:00
二货爱吃白萝卜
b072d3a02c
feat: Modal hooks confirm function support await (#43470)
* docs: move demo to useModal

* docs: reorder

* chore: update ts def

* test: test case

* chore: fix compile
2023-07-11 09:58:25 +08:00
vagusX
46db582197
Merge branch 'master' into feature 2023-07-10 16:10:15 +08:00
红果汁
e72a7836f4
feat: ColorPicker Implement onChangeComplete API (#43370)
* feat: implement onChangeComplete api

* docs: add change completed demo

* perf: optimization code
2023-07-10 13:37:43 +08:00
MadCcc
5094710a2e
fix: add deprecated token warning (#43461) 2023-07-10 10:36:35 +08:00
EMpersonal
4154dafaa1
fix: some browser may not repaint when remove nodes (#43358)
Co-authored-by: sunliangmu <sunliangmu@sensorsdata.cn>
Co-authored-by: lijianan <574980606@qq.com>
2023-07-10 10:06:52 +08:00
栗嘉男
0e47a7673e Merge branch master into master-merge-feature 2023-07-09 18:26:06 +08:00
thinkasany
efa427072a
chore: code style optimization (#43458) 2023-07-09 16:47:31 +08:00
thinkasany
b139dec663
chore: code style optimization (#43457)
* chore: Code style optimization

* style: code optimize
2023-07-09 13:34:59 +08:00
thinkasany
cea3c72a09
type: add RawPurePanelProps interface (#43453)
* type(popover): add RawPurePanelProps interface

* fix: optimize
2023-07-08 21:48:52 +08:00
thinkasany
56e6102523
type: replace unknown with TooltipRef (#43452) 2023-07-08 19:47:54 +08:00
liyunhe
2cb72a7fc0
demo: Update for Resolving deprecation of findDOMNode in StrictMode (#43451)
Resolving deprecation of findDOMNode in StrictMode

References: https://github.com/react-grid-layout/react-draggable/blob/master/CHANGELOG.md#440-may-12-2020

Signed-off-by: kookieaz <yunhe9337@gmail.com>
2023-07-08 18:55:26 +08:00
Fly me to the moon
dcb4611e25
type: replace unknown with TooltipRef (#43450)
Co-authored-by: 我们去月球漫步 <13105694+flymetothemoon-wj@user.noreply.gitee.com>
2023-07-08 17:39:59 +08:00
Fly me to the moon
a998569adb
test: optimization type in test case (#43449)
* test: optimization type in test case

* fix lint

---------

Co-authored-by: 我们去月球漫步 <13105694+flymetothemoon-wj@user.noreply.gitee.com>
2023-07-08 15:45:28 +08:00
栗嘉男
6d547cac34 Merge branch master into feature-merge-master 2023-07-07 23:28:35 +08:00
thinkasany
9b03ce476d
type: remove unnecessary code (#43439) 2023-07-07 21:42:26 +08:00
JiaQi
e86e5e5000
feat: ConfigProvider support DatePicker & TimePicker className and style properties (#43418) 2023-07-07 19:02:55 +08:00
Jomorx
2f0c82f59d
fix: Slider tooltip text not align center (#43430)
* style: support centering text in tooltip in slider

* fix: formatting code
2023-07-07 18:58:54 +08:00
ZhuoYang Wu(阿离)
7d9429ba75
fix: TreeSelect selected item not fit dropdown width (#43413)
Co-authored-by: thinkasany <117748716+thinkasany@users.noreply.github.com>
2023-07-07 18:58:20 +08:00
daisy
266e60aa95
fix(Card): should show tab when tabList is empty (#43416)
* fix(Card): should show tab when tabList is empty

* test: add case

* test: adjust case
2023-07-07 17:29:01 +08:00
thinkasany
a4d01a5a17
type(select): supplementary mode type (#43413) 2023-07-07 15:00:15 +08:00
lijianan
890316fc35
type: replace unknown with CheckboxRef (#43424) 2023-07-07 13:34:51 +08:00
daisy
1ef07e97ba
feat(Image): modify layout and support closeIcon、PreviewGroup fallback (#43167)
* feat(Image): modify layout and support closeIcon、PreviewGroup fallback

* docs: modify text

* style: add skip right

* chore: update snapshot

* fix: disabled hover

* fix: lint error

* style: close icon transition

* docs: # link

* demo: update demo

* demo: add comment

* demo: remove comment
2023-07-07 09:54:19 +08:00
JiaQi
86d334baee
feat: ConfigProvider support Carousel className and style properties (#43412) 2023-07-07 09:30:37 +08:00
thinkasany
f566e3b24b
type: supplementary React.FC type (#43410)
* type: supplementary React.FC  type

* fix: remove useless code

* revert: remove useStyle

* revert: card-top

* Update card-top.tsx
2023-07-06 23:54:03 +08:00
github-actions[bot]
bf960bed60
chore: auto merge branches (#43420)
chore: merge master into feature
2023-07-06 15:26:20 +00:00
JiaQi
005575c5cd
feat: ConfigProvider support Statistic className and style properties (#43408) 2023-07-06 21:54:54 +08:00
黄庄妮
fd8a9884f0
docs: fix Table api description (#43407) 2023-07-06 19:02:02 +08:00
二货爱吃白萝卜
9fdf12ea47
docs: add getFieldsValue faq (#43405) 2023-07-06 17:51:38 +08:00
二货爱吃白萝卜
588ee4cac2
docs: Add motion & dropdown faq (#43403)
* docs: motion usage case

* docs: faq

* docs: update
2023-07-06 16:14:11 +08:00
Wuxh
70abc90afd
fix: ConfigProvider merge form validateMessages not inheriting from parent bug (#43239)
* test(CP): add Form unit case

* fix:  `ConfigProvider ` merge form validateMessages not inheriting from parent bug
2023-07-06 15:33:33 +08:00
二货爱吃白萝卜
a7f14e7190
fix: tag position of wave (#43402) 2023-07-06 14:30:18 +08:00
thinkasany
749aea08d4
type: use React.ReactElement<any> replace any (#43397) 2023-07-06 11:01:14 +08:00
JiaQi
1662af5c51
feat: ConfigProvider support Drawer className and style properties (#43396) 2023-07-06 10:42:13 +08:00
JiaQi
36c3d36f02
feat: ConfigProvider support Timeline className and style properties (#43392) 2023-07-06 10:27:39 +08:00
JiaQi
6dad4144e7
feat: ConfigProvider support Collapse className and style properties (#43390) 2023-07-06 09:45:25 +08:00
azro352
7ba53e1a0e
docs: patch descrption missing type for column (#43388)
* Update index.en-US.md

* Update index.zh-CN.md

* Apply suggestions from code review

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: azro352 <35503478+azro352@users.noreply.github.com>

---------

Signed-off-by: azro352 <35503478+azro352@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-07-06 09:44:11 +08:00
JiaQi
34ea912e22
feat: ConfigProvider support List className and style properties (#43387) 2023-07-06 09:43:03 +08:00
JiaQi
09c0840a6b
feat: ConfigProvider support Calendar className and style properties (#43385) 2023-07-06 09:38:21 +08:00
JiaQi
2d4708b3bd
feat: config-provider support transfer className and style properties (#43063) 2023-07-06 09:36:45 +08:00
JiaQi
3f785909df
feat: ConfigProvider support Alert className and style properties (#43384) 2023-07-06 09:33:54 +08:00
thinkasany
97735dd903
docs: fix desc text (#43393) 2023-07-06 01:31:17 +08:00
JiaQi
3aedb2f4e8
feat: ConfigProvider support Menu className and style properties (#43382) 2023-07-05 19:48:33 +08:00
JiaQi
74f078a3a8
feat: ConfigProvider support Progress className and style properties (#43340) 2023-07-05 19:21:56 +08:00
github-actions[bot]
1ad266f7bf
chore: auto merge branches (#43378)
chore: merge master into feature
2023-07-05 10:16:04 +00:00
JiaQi
f1f5fe3846
feat: config-provider support skeleton className and style properties (#43062) 2023-07-05 18:00:46 +08:00
MadCcc
b64a57d5d0
docs: component token meta (#43337)
* docs: component token meta

* docs: more

* docs: complete
2023-07-05 17:49:59 +08:00
thinkasany
a640139c03
test: add blogList test case (#43375) 2023-07-05 17:47:58 +08:00
lijianan
67900a7aad
type: optimization AnyObject type (#43366)
* type: optimization AnyObject type

* fix lint

* rerun
2023-07-05 16:54:04 +08:00
JiaQi
e053225154
chore: bump rc-picker (#43367)
* chore: bump rc-picker

* chore: update snapshot
2023-07-05 16:47:21 +08:00
栗嘉男
86e7b88ebb fix 2023-07-05 16:03:41 +08:00
栗嘉男
041e38b5e6 Merge branch master into feature-merge-master 2023-07-05 15:43:52 +08:00
栗嘉男
da232eeeea fix 2023-07-05 15:10:10 +08:00
栗嘉男
c3d5bca580 fix 2023-07-05 15:10:05 +08:00
thinkasany
893b5285c0
type(Tag): add React.ReactNode (#43357) 2023-07-05 13:07:13 +08:00
lijianan
87a4bc882e
site: add install Tabs for Icon (#43361) 2023-07-05 00:10:12 +08:00
thinkasany
656ba8de1a
type: add React.ReactNode (#43351) 2023-07-04 17:31:13 +08:00
thinkasany
9796351e72
docs: Example titles begin with uppercase (#43345) 2023-07-04 17:30:53 +08:00
栗嘉男
60a2ae6319 chore: merge master into feature 2023-07-04 11:41:25 +08:00
lijianan
7a59fc86f5
feat: CP support ColorPicker className and style (#43339)
* fix

* fix

* fix
2023-07-04 11:23:58 +08:00
JiaQi
1abdb9e077
feat: ConfigProvider support Tree className and style (#43060) 2023-07-03 22:42:46 +08:00
lijianan
90f464a27d
feat: CP support Message className and style (#43333)
* fix

* fix
2023-07-03 20:38:14 +08:00
lijianan
c267b38fd4
feat: CP support Notification className and style (#43328)
* feat: CP support Notification className and style

* Update components/config-provider/index.en-US.md

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

* fix

* fix

* test

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-07-03 20:37:11 +08:00
JiaQi
b46c2d062b
style(progress): support animation in rtl direction (#43316) 2023-07-03 17:12:13 +08:00
lijianan
62dd62f43c
feat: CP support Upload className and style (#43325)
* feat: CP support Tabs className and style

* revert

* test: update snap

* fix

* test: fix test case
2023-07-03 16:38:56 +08:00
lijianan
425b18f2d8
feat: CP support Tabs className and style (#43319) 2023-07-03 13:38:38 +08:00
lijianan
5190e6f677
feat: CP support Avatar className and style (#43315) 2023-07-03 10:27:31 +08:00
lijianan
29431a368f
feat: CP support Card className and style (#43308) 2023-07-03 10:25:55 +08:00
lijianan
e2907c8ac2
performance: add key for <i /> (#43317)
* performance: add key for <i />

* Update index.tsx

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

---------

Signed-off-by: lijianan <574980606@qq.com>
2023-07-03 09:55:42 +08:00
afc163
1d2f874150
style: Badge color should be respected (#43304)
* style: Badge color should be respected

* test: update snapshot

* style: fix Badge color
2023-07-01 01:30:19 +08:00
afc163
6ead5ae5ef
demo: update badge demo (#43307) 2023-07-01 01:29:54 +08:00
lijianan
5432c05041
feat: CP support Table className and style (#43301)
* feat: CP support Table className and style

* test: update test case
2023-06-30 20:42:43 +08:00
dong
5c0f632235
fix: fix Select clear icon position with feedback (#43302)
Co-authored-by: zhiyuandong.dzy <zhiyuandong.dzy@digital-engine.com>
2023-06-30 19:16:24 +08:00
daisy
ab036297b3
demo: fix table drag demo click event not working (#43291) 2023-06-30 17:49:25 +08:00
LHH
d9d44195a6
docs: fix dayjs updateLocale usage (#43250)
* fix:dayjs中没有updateLocale方法,直接使用local("zh-cn")

codesandbox中的示例也报错了。。找不到updateLocale方法

* Apply suggestions from code review

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

* Update index.en-US.md

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-06-30 17:49:00 +08:00
lijianan
80e3069a49
feat: CP support Tag className and style (#43294) 2023-06-30 17:19:27 +08:00
cb338a2c61
fix: Button disabled style with link or href case (#43091)
* fix: Button disabled style with link or href case

* chore: update

* fix: update link disable logic

* test: update snapshot

* chore: update

* chore: update code

Co-authored-by: wxh16144 <wxh16144@users.noreply.github.com>

* Update components/button/style/index.ts

Co-authored-by: Wuxh <wxh16144@qq.com>

---------

Co-authored-by: 洋 <hetongyang@bytedance.com>
Co-authored-by: wuxh <wxh1220@gmail.com>
Co-authored-by: wxh16144 <wxh16144@users.noreply.github.com>
Co-authored-by: MadCcc <1075746765@qq.com>
Co-authored-by: Wuxh <wxh16144@qq.com>
2023-06-30 14:19:06 +08:00
lijianan
99dae02d8f
feat: CP support Switch className and style (#43283) 2023-06-30 11:29:39 +08:00
Zhou Fang
78714e01c4
demo: translate chinese to english (#43234)
* Updated language in layout-can-wrap.tsx

* Updated language in draggable.tsx

* Updated language in drag-debug.tsx

* Updated language in tree/demo/draggable.tsx

* Updated jest snapshots for form

---------

Co-authored-by: Zhou Fang <zhfaxb@syntronic.com>
2023-06-29 23:57:39 +08:00
lijianan
15c3790856
feat: CP support Rate className and style (#43270) 2023-06-29 19:30:34 +08:00
Rainey
e985f8e845
fix: mergedAppConfig dependency exception (#43269)
Signed-off-by: Rainey <xuebing_orz@icloud.com>
2023-06-29 19:27:30 +08:00
lijianan
316b7b8c5d
feat: CP support Badge className / classNames and style / styles (#43197)
* feat: CP support Badge className and style

* fix

* Update basic.tsx

* fix

* fix

* fix

* Update components/config-provider/context.ts

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

* Update components/badge/index.tsx

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

* Update components/badge/index.tsx

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

* fix

* fix

* fix

* fix

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-06-29 16:43:11 +08:00
lijianan
00f4ed3dc9
type: params type support generic (#43211)
* type: type optimization

* test: add test case
2023-06-29 13:03:52 +08:00
红果汁
6bb18b361d
feat: ColorPicker implement panelRender API (#43134)
* feat: implement `panelRender` api and add demo

* test: add test case

* docs: update doc

* fix: styles add overlayInnerStyle

* fix: variable name

* docs: reorder api

* refactor: optimize code

* test: update snapshot

* test: update snapshots

* refactor: remove memo

* refactor: rename  overlayInnerStyle to popupOverlayInner

* fix: props error

* docs: update demo
2023-06-29 11:46:11 +08:00
thinkasany
90a381df2a
type: optimization copyIdRef type (#43257) 2023-06-29 10:47:38 +08:00
lijianan
2490d43eab
feat: Badge support classNames & styles (#43245)
* feat: Badge support classNames & styles

* update docs

* fix

* fix

* fix

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

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-06-29 10:40:56 +08:00
thinkasany
4a4d276d25
type: correct type & remove useless type (#43256) 2023-06-29 01:16:11 +08:00
JiaQi
91be823272
fix(Transfer): Dropdown is hidden & showSizeChanger not work (#41906)
* fix: Page size dropdown is hidden

* fix: SizeChange not work

* chore: add test case

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-06-28 19:23:00 +08:00
muxin
67e32373fb
feat: config-provider support Form className and style properties (#43230)
* feat: config-provider support Input className and style properties

* Revert "feat: config-provider support Input className and style properties"

This reverts commit 46cd51e2b7.

* feat: config-provider support Form className and style properties
2023-06-28 14:13:14 +08:00