542 Commits

Author SHA1 Message Date
thinkasany
c9e3977d63 chore: bump eslint@10.0.0 (#56893) 2026-02-07 15:17:12 +08:00
高艳兵
166e9c88e5 fix(Typography): lower link selector specificity (#56759)
* fix(Typography): lower link selector specificity and add danger debug demo

* fix(Typography): scope link styles and raise type color priority

* chore: update snap

* chore: update snap

* fix(Typography): scope link styles and ensure type colors win

---------

Co-authored-by: 遇见同学 <1875694521@qq.com>
2026-01-28 16:01:51 +08:00
QdabuliuQ
092e37861a fix(Typography): button with href wrapped by Typography showing incorrect color and flickering outline on hover (#56619)
* style: The typography component is showing styling issues, including with the button component

* style: refactor link styles for Button consistency

* style: modify mixins.ts file

* fix: reset border styles for Typography links

* fix: link style conflicts with ant-btn in typography component

* fix: link styles to avoid conflicts with Button component

---------

Co-authored-by: 遇见同学 <1875694521@qq.com>
2026-01-21 18:45:12 +08:00
Anton Cherniavskyi
af27ca20fb feat(Checkbox.Group, Radio.Group): add support for role prop (#56126)
Co-authored-by: 遇见同学 <1875694521@qq.com>
2025-12-12 10:49:25 +08:00
thinkasany
805bf9d789 chore: sync master into feature 2025-12-06 23:01:39 +08:00
lijianan
2231701584 docs: update react-router docs (#56096)
* docs: update react-router docs

* update
2025-12-06 20:14:42 +08:00
aojunhao123
ca5817ac33 feat: ConfigProvider support customize trigger for Tooltip/Popover/Popconfirm (#55932)
* CP support customize trigger

* add faq

* update doc

* update deps

* update snapshot

* adjust logic

* chore: adjust

---------

Signed-off-by: aojunhao123 <1844749591@qq.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2025-12-01 17:51:42 +08:00
ice
594524b4af docs: update markdown files to add section IDs for examples and FAQs across multiple components (#55882) 2025-11-25 12:16:35 +08:00
lijianan
f96282a4f9 refactor: reuse isNonNullable (#55827)
* refactor: reuse isNonNullable

* update
2025-11-23 16:25:26 +08:00
lijianan
2827a68ff8 test: update test case (#55546)
* test: update test

* update

* update

* update

* update

* update
2025-11-01 11:41:14 +08:00
lijianan
6fc67a0fdd Merge branch feature into next-merge-feature 2025-10-31 16:18:08 +08:00
lijianan
d33d8cf959 test: simplify style test case again (#55539)
* test: simplify test case

* update

* update

* update

* test: simplify style test case

* update

* update

* update

* update

* test: simplify style test case again

* update

* update

* update color to rgb
2025-10-31 15:19:47 +08:00
thinkasany
d65ee1d31a chore: sync feature into next 2025-10-25 10:50:22 +08:00
lijianan
db2b6c93f6 chore: code style optimization (#55450)
* chore: code style optimization

* update
2025-10-25 10:24:24 +08:00
lijianan
ca1480c4f9 Merge branch feature into next-merge-feature 2025-10-22 20:15:30 +08:00
lijianan
ec44482a1b chore: unified code style (#55406) 2025-10-22 19:31:22 +08:00
lijianan
aaa1da118d Merge branch feature into next-merge-feature 2025-10-07 02:59:34 +08:00
lijianan
af89759d8d fix(site): change button to div for fix hydration error (#55224)
* fix(site): change button => div for fix hydration issue

* update

* update

---------

Co-authored-by: 遇见同学 <1875694521@qq.com>
2025-10-04 16:29:54 +08:00
lijianan
19137493b4 perf: uninstall classnames, install clsx (#55164)
* refactor: uninstall classnames & install clsx

* refactor: uninstall classnames & install clsx

* test: rename test fn

* test: update snap

* update

* update

* update

* update

* update snap

* update

* update

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: thinkasany <480968828@qq.com>
2025-10-01 00:45:54 +08:00
二货爱吃白萝卜
6c955c5a30 feat: ConfigProvider support unique Tooltip (#55154)
* docs: update doc

* refactor: tooltip structure

* chore: support arrow style

* chore: legacy props

* chore: part

* chore: use transition

* chore: tmp of it

* docs: update demo

* docs: update demo

* chore: code back

* chore: fix ts

* chore: fix root css var

* chore: fix loop deps

* chore: ts defs

* chore: fix ts def

* test: fix setup

* test: update snapshot

* chore: adjust ver

* chore: use new structrue

* chore: fix deps

* test: fix test

* test: update snapshot

* test: update snapshot

* test: fix test

* test: fix test

* test: update snapshot

* chore: adjust

* chore: adjust

* test: coverage

* chore: adjust style

* test: update snapshot

* update snap

---------

Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: 遇见同学 <1875694521@qq.com>
2025-09-29 10:15:16 +08:00
EmilyyyLiu
a02c1d5595 refactor: Upgrade utils and replace useMergedState (#55047)
* refactor: Upgrade utils and replace useMergedState

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

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: EmilyyyLiu <100924403+EmilyyyLiu@users.noreply.github.com>

* fix: lint error useControlledState not use

* feat: change import util path

* feat: mergedSelectedKeys

* feat: Modify the import path of rc-util

* feat: Restore the 'useControlledState' modification of 'select'

---------

Signed-off-by: EmilyyyLiu <100924403+EmilyyyLiu@users.noreply.github.com>
Co-authored-by: 刘欢 <lh01217311@antgroup.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-09-25 10:57:09 +08:00
thinkasany
20634fcbf7 chore: sync feature into next 2025-09-21 13:57:19 +08:00
thinkasany
b189e0ec97 fix(lint): react-web-api/no-leaked-interval (#55100)
* fix(lint): react-web-api/no-leaked-interval

* update snap

* fix
2025-09-20 15:30:18 +08:00
JeeekXY
0d47177052 fix: support clipboard copy in non-https contexts (#55073)
* fix: support clipboard copy in non-https contexts

* feat: make copy method asynchronous

* fix: restore useFakeTimers in copy test
2025-09-19 14:33:11 +08:00
thinkasany
dbe6140226 chore: sync feature into next 2025-09-06 14:47:29 +08:00
Tarun P
47f596cf1c fix(typography): correct margin when editable (#54848) (#54871)
Co-authored-by: afc163 <afc163@gmail.com>
2025-09-05 12:18:32 +08:00
afc163
b0b6faca27 chore: merge master to next 2025-08-28 15:05:56 +08:00
thinkasany
4d4b2b953a chore: update snap (#54771) 2025-08-27 17:08:24 +08:00
thinkasany
5b6cc4c987 chore: bump jest to 30.1.0 (#54759)
* chore: bump jest to 30.1.0

* update
2025-08-27 15:39:48 +08:00
遇见同学
2a66972cf9 fix: revert copybtn getPopupContainer (#54752) 2025-08-26 10:52:10 +08:00
thinkasany
5e7f63fb30 chore: fix biome error (#54682)
* chore: fix biome error

* fix

* fix again

* revert
2025-08-14 22:52:15 +08:00
thinkasany
998d8f008f chore: sync feature into next 2025-08-08 12:01:41 +08:00
afc163
613aad6a5d refactor: remove unnecessary object spread syntax for genFocusOutline calls (#54622)
Co-authored-by: lijianan <574980606@qq.com>
2025-08-08 08:34:25 +08:00
thinkasany
f1afc710c3 test: Adapting to jest v30 2025-08-07 12:01:07 +08:00
afc163
46c9c93773 test: upgrade jest to v30 (#54576) 2025-08-05 00:13:52 +08:00
thinkasany
b7b842f3bf chore: sync feature into next 2025-08-01 18:21:16 +08:00
遇见同学
be8b735b46 fix: typography-demo-ellipsis-controlled shows error when drag slider faster (#54449) 2025-07-31 22:15:04 +08:00
thinkasany
637b10e651 chore: sync feature into next 2025-06-29 12:59:37 +08:00
P-a Bäckström
a85f31dc0d fix[ant-design#42120] use fontWeightStrong token for Typography.Text strong and tree title (#54185) 2025-06-26 09:44:41 +08:00
thinkasany
1f2d5838bc feat: ConfigProvider support classNames and styles for divider (#53890)
* feat: ConfigProvider support classNames and styles for divider

* save

* save

* snap

* style update

* clean

* demo update

* fix

* rerun ci

* docs: update demo

---------

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2025-05-27 15:48:52 +08:00
EmilyyyLiu
47eb1b661e feat(Space): unify orientation attribute usage (#53669)
* feat[Space]:Unified use of orientation attribute

* feat: use useOrientation and change doc, add test

* feat: add warning

* test: update snapshots

* Update components/space/Compact.tsx

Co-authored-by: thinkasany <480968828@qq.com>
Signed-off-by: EmilyyyLiu <100924403+EmilyyyLiu@users.noreply.github.com>

* test: reset snapshots,delete direction default value

* feat: change demo direnction->orentation

* feat: demos direction ->orientation

* feat: add vertical, and change demos , doc

* feat: change demo space -> flex

* feat: change demo space -> flex

* feat: space -> flex

* Update components/space/index.tsx

Signed-off-by: thinkasany <480968828@qq.com>

* Update components/space/Compact.tsx

Signed-off-by: thinkasany <480968828@qq.com>

* add warning toHaveBeenCalledWith

---------

Signed-off-by: EmilyyyLiu <100924403+EmilyyyLiu@users.noreply.github.com>
Signed-off-by: thinkasany <480968828@qq.com>
Co-authored-by: 刘欢 <lh01217311@antgroup.com>
Co-authored-by: thinkasany <480968828@qq.com>
2025-05-23 15:20:33 +08:00
thinkasany
5e3ed9cd1e chore: sync feature into next 2025-05-21 15:16:20 +08:00
codingories
a7d9deca33 fix: Typography.Text delete did not follow state changing (#53861) 2025-05-20 11:30:27 +08:00
thinkasany
3a5f8a94be chore: sync feature into next 2025-05-01 09:10:59 +08:00
Attacktive
10185fd58a docs: replace Chinese punctuations within English documents (#53705)
The periods (。) and the commas (、) are replaced
2025-04-30 15:53:02 +08:00
thinkasany
2847cfd22a chore: sync feature into next 2025-04-21 10:30:07 +08:00
诸岳
482548f052 fix(icon): custom colorIcon should work for component icon (#53511) 2025-04-16 23:02:44 +08:00
EmilyyyLiu
a339f81c83 feat: V6 abandons copy-to-clipboard dependency (#53427)
* feat: 用原生方法重写copy

* feat: 优化copy方法,并修改test

* feat: 优化copy方法,并修改test

* feat: 修改copy逻辑,并恢复使用到的单测

* 调整格式。恢复不需要改动的格式

* 控制台提示使用util封装的

---------

Co-authored-by: 刘欢 <lh01217311@antgroup.com>
2025-04-09 16:24:47 +08:00
thinkasany
de030bcfad chore: sync feature into next 2025-04-07 16:49:57 +08:00
afc163
3ef3434052 docs: add anchor for when-to-use section (#53318)
* docs: add anchor for when-to-use section

* Delete scripts/update-docs.js

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
2025-04-03 10:45:36 +08:00