Commit Graph

17102 Commits

Author SHA1 Message Date
JiaQi
f3c1871b20
chore: bump rc-picker (#44845)
* chore: bump rc-picker

* Update package.json

* Update cell-render.tsx

---------

Co-authored-by: 二货爱吃白萝卜 <smith3816@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
2023-09-14 14:56:57 +08:00
kiner-tang(文辉)
d5abbad8f1
refactor: deprecatedWarning (#44791)
* refactor: deprecatedWraning

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code
2023-09-13 22:07:33 +08:00
二货爱吃白萝卜
23870913b1
fix: Table virtual with narrow columns (#44818)
* fix: resize & border logic

* fix: auto width

* chore: clean up

* fix: lint

* chore: cov

* chore: lint
2023-09-13 17:53:54 +08:00
MadCcc
5cf2a5d1d0
fix: wrong style of Select in Input addon (#44825) 2023-09-13 17:19:21 +08:00
MadCcc
58f7221b93
fix: tree checkbox should align top (#44827) 2023-09-13 17:19:09 +08:00
MadCcc
c5bed69883
feat: notification support stack (#44618)
* feat: notification stack

* feat: notification support stack

* docs: add demo

* fix: message animation

* chore: better imports

* test: fix pure panel

* feat: code optimize

* chore: update snapshot

* chore: update test case

* test: update test

* chore: update deps

* chore: bump rc-notification

* feat: add backdrop filter

* chore

* feat: add token colorBgBlur

* chore: bump

* feat: update colorBgBlur in dark mode

* fix: compatible with safari

---------

Signed-off-by: MadCcc <1075746765@qq.com>
2023-09-13 15:19:18 +08:00
二货爱吃白萝卜
b3428c678f
feat: ConfigProvider support config warning level (#44809)
* test: add test case

* chore: use console.warn instead

* chore: support agg

* chore: fix lint
2023-09-13 11:49:30 +08:00
Jason-huang66
ceae7de9db
fix: CardGrid style issue with left bottom corner (#44801)
* fix: CardGrid style issue with left bottom corner

* fix: CardGrid style issue with left bottom corner
2023-09-13 11:15:20 +08:00
github-actions[bot]
a24b30c77e
chore: auto merge branches (#44794)
chore: merge master into feature
2023-09-12 12:37:16 +00:00
二货爱吃白萝卜
29035523e2
fix: virtual table text align (#44786)
* fix: virtual table text align

* chore: adjust style
2023-09-12 17:33:59 +08:00
YonYon
1aa7183d68
feat: add input hover and active backgroundColor (#44752)
Co-authored-by: PanYoYo <panyongyong@zuoshouyisheng.com>
2023-09-12 15:06:35 +08:00
lijianan
c59a85a23c
demo: update Tag demo (#44771)
* demo: update Tag demo

* chore: code clear

* fix: fix
2023-09-12 12:18:54 +08:00
Aleksei Mamaev
59d38ecea6
fix: radioButton ref type (#44747)
* fix: radioButton ref

* fix: added radio types test
2023-09-12 11:40:53 +08:00
Aleksei Mamaev
242769e0fb
fix: checkbox ref type (#44746)
* fix: checkbox ref

* fix: Checkbox reference type test

* fix eslint warning
2023-09-12 11:38:40 +08:00
Rinku Chaudhari
c9e94c26f6
refactor: convertLegacyProps function moved to buttonHelpers (#44777) 2023-09-12 11:38:11 +08:00
lijianan
4f7655ce31
docs: update Table docs (#44772) 2023-09-11 22:31:38 +08:00
叶枫
bfdc424a3d
docs: merge demo (#44763) 2023-09-11 18:31:18 +08:00
二货爱吃白萝卜
5cc338e177
refactor: All the warning set the warning type for future filter (#44613)
* feat: add warningContext

* refactor: part refactor

* chore: fix compile

* chore: part of it

* chore: part of it

* chore: part of it

* chore: fix lint

* chore: fix test

* chore: clean uo

* chore: hide warning def tmp

* chore: comment test

* chore: fix lint

* chore: refactor select icons

* chore: fix warning message

* test: update test

* chore: rm dead code
2023-09-11 17:28:04 +08:00
github-actions[bot]
09cd55a3f9
chore: auto merge branches (#44762)
chore: feature merge master
2023-09-11 08:44:46 +00:00
afc163
092c79a6f3
fix: Select align style broken with custom height (#44753)
* fix: Select align style broken with custom height

* chore: fix AutoComplete demo
2023-09-11 16:05:26 +08:00
afc163
b146830ce4
fix: Select curbin align to top when enable maxTagCount (#44757) 2023-09-11 16:05:08 +08:00
afc163
c11e18411c
docs: simplify select virtual demo (#44759) 2023-09-11 16:04:53 +08:00
afc163
8d2473a113
fix: Select alignment issue when label is Typography (#44756)
close #40421
2023-09-11 14:56:09 +08:00
MadCcc
a6250a9f8a
refactor: rename Popover token minWidth to titleMinWidth (#44750)
* refactor: rename Popover token  to

* chore: update

* chore: add depreactedToken
2023-09-11 13:37:14 +08:00
lijianan
61e8768f06
site: update space demo (#44738) 2023-09-11 11:33:45 +08:00
github-actions[bot]
4450178e27
chore: auto merge branches (#44739)
chore: merge master into feature
2023-09-10 07:22:55 +00:00
lijianan
5b75f3f817
refactor: extract public methods (#44737) 2023-09-10 14:34:22 +08:00
afc163
4489eec5b1
docs: add banner mouse effect animation (#44711)
* docs: add banner mouse effect animation

* refactor to useRef

* refactor to react way

* refactor to hooks

* type: add type

* fix: fix error

* fix: fix error

* fix: update RTL

---------

Co-authored-by: 栗嘉男 <574980606@qq.com>
2023-09-10 12:27:10 +08:00
Qiu
eff674396a
feat: add tokens in Descriptions component(#44674) (#44729)
* feat: add tokens in Descriptions component(#44674)

* fix: reserve style uniformity

* fix: add new token in component token demo&delete meaningless changes
2023-09-10 12:19:50 +08:00
JiaQi
fa4c0c0b57
fix(float-button): marginBottom is invalid after the href is added (#44707)
* fix(float-button): marginBottom is invalid after the href is added

* chore: update demo

* chore: add annotation
2023-09-08 13:56:05 +08:00
Kyriewen
c28e1ff210
docs: mark deprecated for date-picker defaultPickerValue prop (#43781)
* docs: mark deprecated for date-picker defaultPickerValue prop

* docs: mark deprecated for date-picker defaultPickerValue prop

* docs: 删除 defaultPickerValue 属性

* chore: use defaultValue instead defaultPickerValue

---------

Co-authored-by: zbw01218944 <zbw01218944@alibaba-inc.com>
2023-09-07 17:56:55 +08:00
期贤
a873471f5a merge 2023-09-07 12:05:16 +08:00
lijianan
7344f5e275
chore: replace useToken with useInternalToken (#44670) 2023-09-07 10:15:58 +08:00
afc163
875ef97ebc
fix: Tag with Popover/Popconfirm should not affect style (#44663) 2023-09-07 09:29:38 +08:00
dally_G
dab3cc9798
fix: fix Input.Search style (#44660)
Signed-off-by: dally_G <511904266@qq.com>
2023-09-06 20:04:56 +08:00
栗嘉男
70466b0ebb chore: merge master into feature 2023-09-06 02:49:25 +08:00
Victor Ye
dff3c63e1c
docs: fix wrong description about Avatar's Design Token (#44634)
Co-authored-by: 叶宇轩 <--global>
2023-09-05 23:19:06 +08:00
二货爱吃白萝卜
1b61870c5d
fix: Modal hooks press esc can not trigger await (#44646)
* test: test driven

* fix: await missing esc
2023-09-05 21:36:21 +08:00
二货爱吃白萝卜
ee8cf22aa6
feat: Form validation support validateDebounce (#44633)
* chore: bump rc-field-form

* docs: add debounce demo

* docs: update demo

* test: update snapshot

* docs: typo
2023-09-05 19:52:06 +08:00
lijianan
49e1efaafc
fix: fix date-picker footer style (#44642)
* fix: fix date-picker style

* Update index.ts

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

---------

Signed-off-by: lijianan <574980606@qq.com>
2023-09-05 18:51:51 +08:00
CYB292
69c52b7a5b
feat: ColorPicker support defaultFormat (#44487)
* feat: ColorPicker support defaultFormat

* test: add test case

* docs: update en doc

---------

Co-authored-by: chenyuanbao@baidu.com <chenyuanbao@baidu.com>
Co-authored-by: Redjue <pingfj77@gmail.com>
2023-09-05 18:42:40 +08:00
kiner-tang(文辉)
03fee8d837
feat: export BasicDataNode type from tree (#44624) 2023-09-05 13:43:15 +08:00
MadCcc
114ff39f8c Merge branch 'master' into feature-merge-master 2023-09-05 13:41:06 +08:00
lijianan
6a5e7ded43
refactor: remove Space & Grid IE compatible logic (#44620)
* refactor: remove IE compatible logic

* fix: fix

* fix: fix

* fix: fix
2023-09-05 10:17:56 +08:00
Gunay
46341b115c
feat: custom feedback icons (#43894)
* custom feedback icons initial

(cherry picked from commit 22e43ad0357ea5294baf6eda659c900b1ab170f1)

* tests added and snaps updated

* Revert "tests added and snaps updated"

This reverts commit 13b57be30c.

* unittest and documentation changes

* feedback items could be turn off

* documentation fix

* move feedback icons object into the hasFeedback prop

* feedbackIcons added to the form element

* test: commit trigger

* fix: failed form test

* snaps updated

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

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: Gunay <gladio@gmail.com>

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

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: Gunay <gladio@gmail.com>

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

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: Gunay <gladio@gmail.com>

* Update components/form/demo/custom-feedback-icons.md

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

* Update components/form/demo/custom-feedback-icons.md

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

---------

Signed-off-by: Gunay <gladio@gmail.com>
Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-09-04 20:36:45 +08:00
lijianan
4c91896abb
refactor: use token instead of constant in size (#44598)
* refactor: use token instead of constant in size

* fix: fix

* fix: fix

* test: update snap

* fix: update snap

* test: fix test case

* fix: fix

* fix: fix

* fix: fix

* fix: fix tast cov

* fix: fix test case

* chore: add comment

* chore: add comment

* chore: add comment

* chore: rename

* chore: rename

* fix: fix test case

* fix: fix test case

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* test: add test case

* fix: fix

* test: update snap

* fix: fix

* fix: fix

* test: update

* test: update

* chore: fix

* fix: type

* test: remove test
2023-09-04 19:59:02 +08:00
Dunqing
f0c105d262
feat: insert use client automatically at compilations instead of hardcode (#44608)
* feat: remove the hardcode of `use client`

* chore: update `@ant-design/tools`

* test: update

* fix: incorrect dictionary

* chore: update dep

* ci: check use client

* chore: update ci

* fix: should be LIB_DIR

* ci: should only run in dist

* chore: update check tsx files
2023-09-04 19:27:20 +08:00
MadCcc
b284648f11
refactor: fix compiling (#44616)
* refactor: fix compiling

* perf: code logic update
2023-09-04 17:20:30 +08:00
Kyriewen
56724cde28
fix(Upload): action buttons focus style leave after click it (#44594)
* fix(upload): actions_btn_focus_styles

* fix(upload): download button is still in focus state after being clicked

* fix(upload): use focus-visible instead focus

---------

Co-authored-by: zbw01218944 <zbw01218944@alibaba-inc.com>
2023-09-04 14:45:03 +08:00
二货爱吃白萝卜
c7a09284d4
docs: add faq about valuePropName (#44609)
* docs: add faq about valuePropName

* docs: more info

* docs: clean up
2023-09-04 14:10:39 +08:00
shawn
85dc67f1cc
feature: add itemSelectedFontColor token in Segemented Component (#44570)
* feature: segemented新增component token

* feature: segemented新增component token

* Apply suggestions from code review

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

---------

Signed-off-by: MadCcc <1075746765@qq.com>
Co-authored-by: xiaozisong <xiaozis@gantsoftware.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-09-04 11:07:39 +08:00
二货爱吃白萝卜
0396899ff6
fix: Form.Item noStyle support validation status (#44576)
* fix: FormItem.useStatus can not get status

* fix: noStyle not patch style

* fix: noStyle inhreit logic

* docs: update docs

* test: add test case

* refactor: nostyle block status

* fix: coverage
2023-09-04 10:03:12 +08:00
栗嘉男
18af5374e8 Merge branch 'master' into feature-merge-master 2023-09-03 10:31:39 +08:00
二货爱吃白萝卜
5a5af385b8
fix: CheckableTag miss CP tag (#44602)
* fix: CheckableTag miss CP tag

* chore: bump tag

* chore: fix failed

* chore: fix circle
2023-09-03 10:20:24 +08:00
yoyo837
ad46da1697 Merge branch 'master' into feature-merge-master 2023-09-03 00:22:34 +08:00
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