157 Commits

Author SHA1 Message Date
遇见同学
94fe19feef chore: fix ci update snap (#56761)
* chore: fix ci update snap

* up

* chore up
2026-01-27 17:24:56 +08:00
Guo Yunhe
9a62d148c7 docs: remove 5.x tags (#56353) 2025-12-25 12:17:44 +08:00
lijianan
6294ce8f7c chore: fix test CI fail (#56162)
* chore: fix test CI fail

* chore: update snap

* chore: update snap

* chore: update snap
2025-12-11 08:46:46 +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
Mio
09d9a92398 fix(watermark): fix wrong font-weight enum (#55922)
Co-authored-by: Mio <miohwang@tencent.com>
2025-11-26 16:55:41 +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
Guo Yunhe
a92a3fb5b8 feat(InputNumber): spinner mode (#55592)
* feat(InputNumber): spinner mode

* feat(InputNumber): spinner mode

* docs: re-order

* docs: semantic support action

* chore: adjust focus util

* chore: update

* test: update snapshot

* chore: fix style

* docs: style

* chore: fix style

* feat: warning style

* chore: fix demo

* chore: clean up

* test: fix test case

* chore: fix test ts

* test: all

* test: update snapshot

* chore: coverage

* chore: adjust style

---------

Co-authored-by: 遇见同学 <1875694521@qq.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2025-11-17 11:42:34 +08:00
lijianan
4998944333 docs: add api version (#55634) 2025-11-07 00:05:32 +08:00
heming
abb8b94ee4 feat: Add and delete watermark callback for watermark component (#55551)
* feat: Add and delete watermark callback for watermark component

* fix: Adjust the watermark deletion monitoring method

* fix: Optimize the deletion of watermark monitoring function

* fix: Optimize the timing of watermark callback

* fix: Remove excess code

* chore: update deps

---------

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2025-11-06 23:25:56 +08:00
遇见同学
4df740e22e fix(textarea): resize is invalid in styles.textarea (#55579)
* fix(textarea): resize is invalid in styles.textarea

* chore: bump @rc-component/input@1.1.0

* chore: bump @rc-component/input-number@1.4.1

* update snap

* chore: bump @rc-component/input-number@1.5.0

* fix(textarea): resize is invalid in styles.textarea

* chore: bump @rc-component/input@1.1.0

* chore: bump @rc-component/input-number@1.4.1

* update snap

* chore: bump @rc-component/input-number@1.5.0

* chore: bump @rc-component/mentions@1.4.0
2025-11-04 11:53:38 +08:00
lijianan
6fc67a0fdd Merge branch feature into next-merge-feature 2025-10-31 16:18:08 +08:00
lijianan
352f6c6c78 test: simplify style test case (#55538)
* test: simplify test case

* update

* update

* update

* test: simplify style test case

* update

* update

* update

* update
2025-10-31 12:46:16 +08:00
thinkasany
fba4c3d565 chore: sync master into next 2025-10-27 22:03:52 +08:00
二货爱吃白萝卜
4d25be58f0 refactor: Select like component support semantic structure (#55430)
* chore: basic style

* chore: style of select variant

* chore: multiple

* chore: demo update

* chore: sizing

* chore: sizing

* chore: styles

* chore: clean up

* test: fix test case

* chore: adjust demo

* chore: adjust demo opacity

* chore: clean up

* chore: fix lint

* chore: bump ver

* chore: cascader props

* chore: bump ver

* test: update snapshot

* docs: update demo

* test: fix test case

* test: auto complete test

* test: fix semantic test

* test: fix semantic test

* chore: update test

* docs: update semantic demo

* test: simplify

* chore: clean up

* chore: fix style

* chore: fix style

* chore: fix style

* chore: fix missing

* chore: fix style

* test: update snapshot

* test: update snapshot

* chore: fix compcat style

* chore: bump version

* chore: fix style

* chore: clean up

* test: update snapshot

---------

Co-authored-by: thinkasany <480968828@qq.com>
Co-authored-by: 遇见同学 <1875694521@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2025-10-27 14:02:27 +08:00
ug
27a9c8a57c fix(Modal):Watermark crashes when wrapping Modal with modalRender (#55435)
Co-authored-by: liuqiang <qiang.liu@xinjifamily.com>
Co-authored-by: 遇见同学 <1875694521@qq.com>
2025-10-27 10:03:53 +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
thinkasany
588f4a3518 chore: sync feature into next 2025-09-28 13:30:33 +08:00
thinkasany
90b4a4373d chore: turn on test/prefer-hooks-in-order (#55171) 2025-09-28 11:38:42 +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
Amumu
bf654affcb chore: move rc-util to @rc-components/util (#55048) 2025-09-17 20:45:57 +08:00
lijianan
20c2b89fba Merge branch feature into next-merge-feature 2025-09-08 21:30:09 +08:00
lijianan
a703957ce3 site: img should not be draggable (#54911) 2025-09-08 11:46:43 +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
thinkasany
da2269649d test: update snapshot 2025-08-08 12:08:45 +08:00
叶枫
feaed51f09 fix: form layout style (#54611) 2025-08-07 21:36:46 +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
lijianan
855b0d27ba chore: merge feature into next 2025-07-29 22:07:04 +08:00
thinkasany
38a6f132e2 refactor(modal): semantic section to container (#54472)
* refactor(modal): semantic section to container

* update snap

* update

* fix

* fix

* fix

* fix
2025-07-26 22:14:52 +08:00
lijianan
ca06fb41c5 demo: update the css logical properties (#54475) 2025-07-25 18:19:37 +08:00
thinkasany
0329f06d86 chore: bump @rc-component/select to 1.1.3 2025-07-17 12:27:48 +08:00
𝑾𝒖𝒙𝒉
1547514ae1 feat(Select): add onActive callback prop (#53931)
* fix: update @rc-component/select dependency version to ~1.0.5

(cherry picked from commit b45363e4c0)

# Conflicts:
#	package.json

* docs(select): update `onActive` props

(cherry picked from commit b78c436792)

* chore: update

(cherry picked from commit 3ad9e76823d211e3feadf6fd8c0e64e669b40c64)

* chore: bump

(cherry picked from commit 23672494b5d961de06487ae7ea02320fa0a41d07)

* chore: update snap

(cherry picked from commit 3258e169ef307b1c60e2924c66cc67053787c283)

* chore: update

* chore: update snap

* chore: update all snap

* chore: bump rc-select

* chore(deps): bump @rc-component/cascader to 1.3.1

* chore: update snap

* chore(deps): bump @rc-component/tree-select to 1.1.3

* chore: update snap
2025-06-03 23:39:13 +08:00
Jianan Li
f88e6782b2 chore: merge feature into next 2025-05-07 12:24:39 +08:00
lijianan
92248806e9 refactor: Unified destroyOnHidden API (#53739)
* refactor: Unified destroyOnHidden API

* fix: fix type

* fix: fix type

* fix: fix

* fix: fix

* fix: fix

* doc: update doc

* doc: update doc

* demo: update demo
2025-05-06 19:02:01 +08:00
thinkasany
3a5f8a94be chore: sync feature into next 2025-05-01 09:10:59 +08:00
DDDDD12138
00e18ac2cd perf: optimize useState initialization with lazy initialization pattern (#53690) 2025-04-28 17:22:00 +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
lijianan
23b97f2922 chore: merge feature into next 2025-04-01 01:41:07 +08:00
lijianan
f8983c6894 site: update React.useContext to React.use (#53341)
* chore: update use to react19

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

---------

Signed-off-by: lijianan <574980606@qq.com>
2025-03-31 11:03:49 +08:00
thinkasany
9ee4d220ef chore: sync feature into next 2025-02-24 20:34:17 +08:00
MadCcc
1ac0bcaa60 feat: use cssVar by default (#52671)
* feat: use cssVar by default

* chore: update deps

* chore: update snapshot

* chore: update snapshot

* chore: update snapshot

* chore: test

* chore: update

* chore: update scripts

* chore: UPDATE TEST

* feat: add root

* chore: update snapshot

* chore: fix test case

* chore: fix cycle deps

* feat: rm legacy css variables configuration

* chore: update test case

* chore: update

* chore: fix test

* chore: update overrides

* chore: bump cssinjs

* chore: add test case
2025-02-24 15:35:29 +08:00
ug
db284a46e2 fix Issue52048 Watermark Component Re-render Causes Page Freeze (#52897)
* fix(Watermark):Re-render Causes Page Freeze

* fix(Watermark):Re-render Causes Page Freeze

* fix(Watermark):Re-render Causes Page Freeze

* Update components/watermark/useCache.ts

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: ug <62086147+765477020@users.noreply.github.com>

* refactor: add useSingletonCache

* test: add test case

---------

Signed-off-by: ug <62086147+765477020@users.noreply.github.com>
Co-authored-by: liuqiang <qiang.liu@xinjifamily.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2025-02-24 15:33:37 +08:00
github-actions[bot]
b078ee2c88 chore: auto merge branches (#52906)
chore: merge master into next
2025-02-20 19:17:13 +00:00
arron.laihongwei
6588b221b2 fix(Watermark): remove 'hidden' when append watermark, prevent hide … (#52891)
* feat(Watermark): remove 'hidden' when append watermark, prevent hide watermark by editing DOM attributes

* Update components/watermark/useWatermark.ts

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2025-02-20 10:40:47 +08:00
thinkasany
676ccd582e feat: ConfigProvider support classname and style for watermark (#52811) 2025-02-14 18:12:32 +08:00
thinkasany
b6662ef19f chore: sync master into next 2025-02-13 16:35:02 +08:00
lijianan
069dba8abd type: React.CSSProperties shoule support CSS var (#52721)
* type: React.CSSProperties shoule support CSS var

* fix: fix

* fix: fix

* fix: fix

* fix: fix
2025-02-13 15:25:21 +08:00