Commit Graph

17047 Commits

Author SHA1 Message Date
Kyriewen
27d8f622ad
chore(float-button): remove unused css code (#44587)
* fix(float-button):  fix componentCls display props

* chore(float-button): remove useless styles
2023-09-02 18:38:54 +08:00
lijianan
9f8d68d857
fix: fix CI fail (#44592) 2023-09-02 16:01:41 +08:00
Amumu
edf907bf11
fix: slider track draggale range height/width error (#44503)
* fix: slider track draggale range height/width error

* chore: style
2023-09-02 00:16:01 +08:00
cnjs
7198497077
fix: hide arrow for last item in vertical Steps (#44582) 2023-09-02 00:11:52 +08:00
9258dea59e
docs: add note regarding considerations for using getContainer (#44504)
* docs: add note regarding considerations for using getContainer

(cherry picked from commit fa6af984ee896f13b4f983f905092098f2f8689d)

* chore: update

Co-authored-by: kiner-tang <kiner-tang@users.noreply.github.com>
Co-authored-by: zombieJ <zombieJ@users.noreply.github.com>

---------

Co-authored-by: kiner-tang <kiner-tang@users.noreply.github.com>
Co-authored-by: zombieJ <zombieJ@users.noreply.github.com>
2023-09-01 23:54:38 +08:00
Konv Suu
41ef050cb5
chore: typo (#44579)
update
2023-09-01 23:39:56 +08:00
kiner-tang(文辉)
e23cc690e7
feat: support hide expandIcon (#44554)
* site: hide theme example menu's expandIcon

* feat: optimize code

* feat: optimize code

* feat: update test case
2023-09-01 11:09:48 +08:00
栗嘉男
b12d69cf42 chore: merge master into feature 2023-09-01 00:02:50 +08:00
Serene Ding
b0f0975a4a
docs: update form docs description (#44548)
* Update index.zh-CN.md

Signed-off-by: Serene Ding <sereneding123@gmail.com>

* add quotes 

Signed-off-by: Serene Ding <sereneding123@gmail.com>

* Update index.en-US.md

Signed-off-by: Serene Ding <sereneding123@gmail.com>

* Update index.en-US.md

Signed-off-by: Serene Ding <sereneding123@gmail.com>

* Update index.en-US.md

Signed-off-by: Serene Ding <sereneding123@gmail.com>

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

Co-authored-by: Amumu <yoyo837@hotmail.com>
Signed-off-by: Serene Ding <sereneding123@gmail.com>

* Update index.en-US.md

Signed-off-by: Serene Ding <sereneding123@gmail.com>

* Update index.en-US.md

Signed-off-by: Serene Ding <sereneding123@gmail.com>

* Update index.en-US.md

Signed-off-by: Serene Ding <sereneding123@gmail.com>

* Update index.en-US.md

Signed-off-by: Serene Ding <sereneding123@gmail.com>

* Update index.en-US.md

Signed-off-by: Serene Ding <sereneding123@gmail.com>

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

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

---------

Signed-off-by: Serene Ding <sereneding123@gmail.com>
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: lijianan <574980606@qq.com>
2023-08-31 23:01:51 +08:00
二货爱吃白萝卜
d3c2f75ed3
refactor: ConfirmModal layout to fix batch of bug (#44557)
* refactor: Modal confirm style

* test: fix test case

* chore: merge wireframe

* chore: modify limit

* test: update snapshot
2023-08-31 22:21:32 +08:00
dingkang
48ebf3ab15
site: fix a link flash jump (#44556)
* site: fix a link jump

* test: update Snapshot
2023-08-31 21:23:50 +08:00
lijianan
a608bfa08a
chore: fix form demo error (#44549)
* fix: fix form demo error

* update snap
2023-08-31 21:23:02 +08:00
二货爱吃白萝卜
d0cc758d0e
fix: Form sm 24 not working (#44541)
* fix: Form sm 24 not working

* chore: comment it
2023-08-31 09:37:51 +08:00
AKing
a265257e7d
fix: record the completed length of the last calculation as the transison length (#43058)
* fix: record the completed width of the last calculation as the transition width in the calculation

* test: add test case

* test: correct test case name

* refactor:rename conut to count

---------

Co-authored-by: afc163 <afc163@gmail.com>
2023-08-30 23:24:19 +08:00
afc163
3f148d9112 docs: add help text for token customization 2023-08-30 23:02:35 +08:00
二货爱吃白萝卜
cbfb126690
feat: Descriptions items.span support responsive config (#44534)
* feat: Desc items support responsive

* refactor: useBreakPoint

* docs: update docs

* test: add test case

* chore: update def

* chore: fix def
2023-08-30 22:09:32 +08:00
MadCcc
b0dd138fba
feat: ConfigProvider support Tabs indicatorSize (#44517)
* feat: ConfigProvider support tabs.indicatorLength

* feat: ConfigProvider support card.tabProps

* Revert "feat: ConfigProvider support card.tabProps"

This reverts commit 817af9a6bb.

* chore: rename

* docs: add demo
2023-08-30 21:28:45 +08:00
二货爱吃白萝卜
659054ee49
docs: Blog virtual table (#44526)
* docs: virtual table

* docs: fix other blog style

* docs: more
2023-08-30 21:18:09 +08:00
github-actions[bot]
639c0c2505
chore: auto merge branches (#44516)
chore: Feature merge master
2023-08-29 15:33:43 +00:00
二货机器人
25e76416e1 chore: fix lint 2023-08-29 23:02:18 +08:00
梓安
6ebbdc92d6
feat(transfer):Add a new direction parameter for filterOption func… (#44417)
* feat(transfer):Add a new direction parameter  for  filterOption function

* docs📝(transfer):  update filterOption API

* test(transfer): Add the filterOption parameter  test

* docs📝(transfer): update filterOption API

* test(transfer):  Update the filterOption parameter test

* docs📝(transfer): update filterOption API

* test(transfer):  Update the filterOption parameter test

* test(transfer):  Update the filterOption parameter test

* test(transfer):  Update the filterOption parameter test

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

Signed-off-by: Amumu <yoyo837@hotmail.com>

---------

Signed-off-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: yuanzhian <yuanzhian@cai-inc.com>
Co-authored-by: Amumu <yoyo837@hotmail.com>
2023-08-29 22:53:43 +08:00
二货机器人
59cc096c11 test: fix test case 2023-08-29 22:47:16 +08:00
二货机器人
64d7ac1bc4 test: update snapshot 2023-08-29 21:36:15 +08:00
二货机器人
620e168cfc chore: feature merge master 2023-08-29 19:51:31 +08:00
二货爱吃白萝卜
acdf1153fa
refactor: Extract Tag unused style (#44512)
* refactor: tag status as extract style

* chore: add key

* chore: preset of it
2023-08-29 19:43:48 +08:00
MadCcc
629efb7d5d
perf: Notification style should be generated when shown (#44488)
* fix: Notification style should be generated when shown

* chore: bump rc-notification

* chore: code clean

* feat: update
2023-08-29 19:31:12 +08:00
二货爱吃白萝卜
8d7dd80120
docs: Update batch of docs & demos (#44509)
* docs: update select opt

* docs: update form deps demo

* docs: upload onChange

* docs: update form nest Form.List demo
2023-08-29 18:47:41 +08:00
Konv Suu
9c494ab910
fix: transfer label height (#44471) 2023-08-29 17:56:56 +08:00
MadCcc
07c03d12ef
feat: Tabs support indicatorLength (#44406)
* feat: Tabs support indicatorLength

* chore: bump rc-menu

* chore: bump rc-mentions

* chore: update menu snapshot

* chore: snapshot

---------

Signed-off-by: MadCcc <1075746765@qq.com>
2023-08-29 17:32:20 +08:00
MadCcc
0f87c9d259
fix: Watermark should not crash if content is empty (#44501) 2023-08-29 16:44:13 +08:00
二货机器人
d31a19a0f0 chore: feature merge master 2023-08-29 15:50:39 +08:00
二货爱吃白萝卜
7a66d46051
refactor: Form style should always before Grid (#44485)
* fix: use css variable to support dynamic display

* chore: support order

* chore: add ie fallback

* chore: add ie fallback
2023-08-29 15:48:03 +08:00
Andy Hsu
457feb7933
docs(select): fix incorrect link of AutoComplete (#44500)
* docs: fix incorrect link of `AutoComplete`

Signed-off-by: Andy Hsu <i@nn.ci>

* docs(select): sync `AutoComplete` related content in `zh-CN` to `en-US`

Signed-off-by: Andy Hsu <i@nn.ci>

---------

Signed-off-by: Andy Hsu <i@nn.ci>
2023-08-29 15:42:26 +08:00
William Entriken
fec423ea1b
docs: Update definition for dashed button (#44481)
This updates the English documentation for the dashed button.

This updates the English to better translate the [Chinese version](345a3a0624/components/button/index.zh-CN.md).

(I'm assuming the Chinese version is normative.)

Signed-off-by: William Entriken <github.com@phor.net>
2023-08-29 09:14:48 +08:00
叶枫
345a3a0624
fix: Form 与 Grid 样式冲突问题 (#44472)
* fix: style

* fix: style

* chore: ref
2023-08-28 22:10:47 +08:00
二货机器人
16f8228249 chore: merge master 2023-08-28 21:56:37 +08:00
二货爱吃白萝卜
a95662d0e1
refactor: button default not use compact style (#44475)
* refactor: button default not use compact style

* chore: clean up
2023-08-28 21:42:39 +08:00
红果汁
2d1d98790e
fix: color picker open popup when disabled (#44466) 2023-08-28 20:16:34 +08:00
二货爱吃白萝卜
97b03dc938
fix: rm useless ts def of upload (#44468) 2023-08-28 19:38:03 +08:00
二货爱吃白萝卜
6f2bddd5a1
feat: Table support virtual (#44349)
* chore: update demo

* chore: adjust fixed style

* chore: opt scroll height

* chore: clean up

* chore: update demo

* chore: bump rc-virtual-list

* chore: update deps

* chore: bump rc-table

* fix: clean up

* chore: fix demo

* test: add test case
2023-08-28 17:36:23 +08:00
红果汁
74f6040cdc
fix: carousel vertical drag issue (#44460) 2023-08-28 14:58:42 +08:00
kiner-tang(文辉)
4a896e9df3
feat: Support source in the onSearch handler of Input.Search Component when the value had changed (#44457)
* feat: Support source in the onSearch handler of Input Component when the value had changed

* feat: Support source in the onSearch handler of Input Component when the value had changed

* feat: Support source in the onSearch handler of Input Component when the value had changed

* feat: optimize code

* feat: optimize code
2023-08-28 14:42:36 +08:00
红果汁
e7c7601bc0
feat: Modal footer support custom render function (#44318) 2023-08-28 11:54:43 +08:00
3e171a9f4f
feat: default add resetIcon Style (#41208)
* feat: default add resetIcon Style

chore: remove

test: add case

feat(App):  icon reset style feature

Revert "feat(App):  icon reset style feature"

This reverts commit be6905553dcabbd490ad60be0c08c8328736bd62.

Revert "chore: remove"

This reverts commit 417d5f90051a342325ccc9b5cbf3d249ab0ec826.

chore: update

chore: update

* chore: update

* chore: resolve import

* chore: update code style
2023-08-28 10:49:18 +08:00
afc163
4ba36dc55e
chore: Update index.zh-CN.md (#44441)
Signed-off-by: afc163 <afc163@gmail.com>
2023-08-28 09:50:18 +08:00
lijianan
20593afaee
type: revert type import path (#44453) 2023-08-28 09:38:50 +08:00
dependabot[bot]
20d12f8ef2
chore(deps-dev): bump typescript from 5.1.6 to 5.2.2 (#44430)
* chore(deps-dev): bump typescript from 5.1.6 to 5.2.2

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.1.6 to 5.2.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/commits)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* bump typedoc

* type: fix type

* fix: fix

* type: fix type

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: 栗嘉男 <574980606@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-08-27 23:57:23 +08:00
二货爱吃白萝卜
ca0396859b
refactor: abstract ribbon style (#44451) 2023-08-27 23:48:56 +08:00
github-actions[bot]
c07d61a2c9
chore: auto merge branches (#44448)
chore: merge master into feature
2023-08-27 07:56:32 +00:00
Stefano Magrassi
b1a57387f7
type: fix notification config typings (#44163)
* add notification.config typing

* add .node-version file

* remove .node-version

* ignore .node-version file from git

---------

Co-authored-by: lijianan <574980606@qq.com>
2023-08-27 11:06:04 +08:00
LeTuongKhanh
cc2c26b263
fix : type error at align property in dropdown (#44423) 2023-08-26 23:51:07 +08:00
二货爱吃白萝卜
4e9ac02b08
fix: Tour panel token & home support dark mode (#44428)
* docs: update home page

* docs: home support dark mode

* docs: fix mobile

* docs: fix rtl

* docs: update locale
2023-08-25 19:08:52 +08:00
kiner-tang(文辉)
94339be3e9
feat: lunisolar => lunar-typescript (#44420) 2023-08-25 11:42:35 +08:00
JiaQi
d7d493eaaa
refactor(notification): reduce the configuration parameter code (#44372)
* refactor(notification): reduce the configuration parameter code

* chore: modify the return type definition

* chore: delete the initialization function
2023-08-25 09:37:32 +08:00
MadCcc
4755acaeb8
feat: support Input shadow token (#44410) 2023-08-25 09:32:39 +08:00
二货爱吃白萝卜
d373bf3d35
feat: Progress.Circle support conic (#44404)
* feat: support conic

* test: update snapshot

* docs: update doc

* chore: clean up

* docs: update doc

* test: update snapshot

* test: update snapshot

* test: update snapshot
2023-08-25 00:28:38 +08:00
二货爱吃白萝卜
34054509d5
fix: Form xs breakpoint (#44388) 2023-08-24 23:37:31 +08:00
MadCcc
68ee32268b Merge branch 'master' into feature-merge-master 2023-08-24 21:04:48 +08:00
MadCcc
9312b0059e
chore: update icon snapshot (#44414) 2023-08-24 21:01:10 +08:00
二货爱吃白萝卜
0dd651c559
docs: Fix Form provider demo (#44391)
* docs: fix provider demo

* test: update snapshot
2023-08-24 13:27:59 +08:00
xr0master
eaa86351e4
ColorPresets: fix duplicate keys (#44370)
* ColorPresets: fix duplicate keys

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

* Update components/color-picker/components/ColorPresets.tsx

add lint disable

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

---------

Signed-off-by: xr0master <xr0master@gmail.com>
2023-08-24 13:26:26 +08:00
MadCcc
2096c01016
feat: Radio add component token (#44389) 2023-08-24 11:51:15 +08:00
Amumu
a3bd7a797f
fix: rm useless form inline style (#44375) 2023-08-24 10:47:02 +08:00
MadCcc
e91f927784
fix: radio should work in tree (#44380)
* fix: radio should work in tree

* chore: code clean
2023-08-24 09:47:24 +08:00
二货爱吃白萝卜
4cf3ba1b00
fix: Select popup size in transform layout (#44378) 2023-08-23 20:12:26 +08:00
MadCcc
79825c06ed
fix: Table should not crash if filterDropdown is boolean (#44357)
* fix: Table should not crash if filterDropdown is boolean

* chore: code clean

* chore: use supportNodeRef
2023-08-23 19:23:25 +08:00
yoyo837
f06d85129f Merge branch 'master' into feature-merge-master 2023-08-23 15:42:33 +08:00
5d522a374a
chore: remove duplicate styles (#44368)
genBasicInputStyle 方法中已经包括  genActiveStyle 了
2023-08-23 12:26:05 +08:00
二货爱吃白萝卜
f5fcb7010d
fix: rm useless form inline style (#44360) 2023-08-22 23:53:18 +08:00
dingkang
477b1ec2f3
feat: migrate less to token for Form (#42774)
* docs: migrate less to token for Form

* feat:  migrate less to token for Form

* feat: migrate less to token for Form

* test: update form snapshots

* feat: migrate less to token for Form

* chore: code clean

* chore: code clean

* feat: form token

* chore: add comment

* chore: update docs

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-08-22 17:05:56 +08:00
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
二货爱吃白萝卜
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