Commit Graph

1086 Commits

Author SHA1 Message Date
EmilyyyLiu
bbef6f8752 feat[Input.Search]: Abandoning the use of addon * in the Search component (#55705)
* refactor: Search component refactoring using compact

* test: update snap

* test: update snap

* test: update snap

* chore: fix style

* chore: fix search style

* test: update snapshot

* test: update snapshot

* test: update snapshot

---------

Co-authored-by: 刘欢 <lh01217311@antgroup.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2025-11-14 16:16:23 +08:00
遇见同学
16521a9972 chore(demo): simplified button demo (#55646)
* chore(demo): simplified button  demo

* Update components/button/demo/style-class.tsx

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: 遇见同学 <1875694521@qq.com>

* Update components/float-button/demo/style-class.tsx

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: 遇见同学 <1875694521@qq.com>

* chore: update boxShadow

* Update components/float-button/demo/style-class.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: 遇见同学 <1875694521@qq.com>

* Update components/button/demo/style-class.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: 遇见同学 <1875694521@qq.com>

* Update components/button/demo/style-class.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: 遇见同学 <1875694521@qq.com>

* Update components/float-button/demo/style-class.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: 遇见同学 <1875694521@qq.com>

* chore: update snap

---------

Signed-off-by: 遇见同学 <1875694521@qq.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: thinkasany <480968828@qq.com>
2025-11-08 14:41:59 +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
thinkasany
fba4c3d565 chore: sync master into next 2025-10-27 22:03:52 +08:00
lijianan
682c460673 docs: fix docs typo (#55493)
* docs: fix docs typo

* update

* update

* update
2025-10-27 13:13:06 +08:00
lijianan
6cafebd87c chore: rename file name (#55485)
* TEST

* update

* update
2025-10-27 11:22:11 +08:00
lijianan
3d46fd2088 chore: revert file name (#55483)
* Revert "chore: rename isValidNode to isNonNullable (#55482)"

This reverts commit d99dd02b5b.

* update

* update

* update

* update

* update

* dangerous !!! rename !!!

* revert rename
2025-10-26 22:39:46 +08:00
lijianan
d99dd02b5b chore: rename isValidNode to isNonNullable (#55482)
* revert

* add note
2025-10-26 21:28:43 +08:00
lijianan
558bc44281 test: unified coding style (#55481) 2025-10-26 19:55:37 +08:00
lijianan
6cc19c10fc chore: merge feature into next 2025-10-26 18:20:12 +08:00
github-actions[bot]
8a81accfaf chore: auto merge branches (#55479)
chore: merge master into feature
2025-10-26 09:47:24 +00:00
lijianan
246c14b442 fix: add missing dependency (#55467)
Co-authored-by: thinkasany <480968828@qq.com>
2025-10-26 15:22:07 +08:00
thinkasany
0f91afd5cb refactor: use rc-utils's toArray replace React's Children legacy api (#55354)
* refactor: use rc-utils's toArray replace React's Children legacy api

* Update components/list/Item.tsx

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

* Update components/button/buttonHelpers.tsx

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

* Update components/card/Card.tsx

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

* Update components/carousel/index.tsx

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

* Update components/button/button.tsx

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

* fix

* fix

---------

Signed-off-by: thinkasany <480968828@qq.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: 遇见同学 <1875694521@qq.com>
2025-10-20 14:45:14 +08:00
thinkasany
8f19190af9 test: update snapshot 2025-10-18 00:50:42 +08:00
EmilyyyLiu
62bd8e367d feat[Input]: deprecated addon* attribute (#55315)
* feat[Input]: deprecated addon* attribute

* Update components/input/Input.tsx

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

* test: update snap

* test: Restore addon demo

* test: update snap

* tsat: update snap

---------

Signed-off-by: thinkasany <480968828@qq.com>
Co-authored-by: 刘欢 <lh01217311@antgroup.com>
Co-authored-by: thinkasany <480968828@qq.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-10-16 15:14:53 +08:00
lijianan
1670fc36cc demo: add satisfies keyword for demo (#55272)
* demo: add satisfies for demo

* update

* update

* update

* update snap

* update snap
2025-10-12 08:19:59 +08:00
遇见同学
cd170fccfb docs: improve doc description (#55243)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-10-08 23:12:07 +08:00
thinkasany
e0b59e166f chore: turn on perfectionist/sort-named-imports (#55215)
* chore: turn on perfectionist/sort-named-imports

* turn on perfectionist/sort-named-exports
2025-10-01 21:19:07 +08:00
lijianan
d90b059b7e refactor: improve useMergeSemantic params order (#55103)
* update

* update

---------

Co-authored-by: thinkasany <480968828@qq.com>
2025-10-01 11:09:39 +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
a48b2c58d5 chore: Unified variable naming style (#55158) 2025-09-26 23:52:48 +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
遇见同学
3cc8666538 docs: improve document content (#55102)
* improve document content

* Update components/float-button/demo/style-class.md

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: 遇见同学 <1875694521@qq.com>

* Update components/float-button/demo/style-class.md

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: 遇见同学 <1875694521@qq.com>

---------

Signed-off-by: 遇见同学 <1875694521@qq.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-09-20 17:09:57 +08:00
遇见同学
2c75cd44fb perf: rm unnecessary useMemo for mergedProps (#55093) 2025-09-19 21:45:41 +08:00
遇见同学
390435ec06 test: improve semantic test (#55092)
* improve semantic test

* Update components/button/__tests__/semantic.test.tsx

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: 遇见同学 <1875694521@qq.com>

---------

Signed-off-by: 遇见同学 <1875694521@qq.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-09-19 21:25:40 +08:00
遇见同学
f9b1c8636c docs: improve document content (#55084) 2025-09-19 10:12:46 +08:00
thinkasany
6fc6ad1f4c chore: clean up unused style code (#55074) 2025-09-18 22:12:43 +08:00
thinkasany
bc259515bf chore: sync feature into next 2025-09-18 20:57:37 +08:00
Guo Yunhe
c172411eb4 fix(Button): icon-only button padding affected by theme (#54970) 2025-09-15 10:58:55 +08:00
EmilyyyLiu
c46ee1fbc8 test: update snapshot after rc-menu modification (#54934)
* test: update rc-menu snap

* test: update layout snap

* test: update snap more

* test: update snap button date-picker empty

---------

Co-authored-by: 刘欢 <lh01217311@antgroup.com>
2025-09-10 11:43:21 +08:00
遇见同学
0914ea40f3 feat(button): Support better customization with semantic classNames/styles as function (#54813)
* Support better customize for components customize: useMergeSemantic support function

* feat: update type

* update type

* refactor: Support better customize for Button customize

* update code and test

* update type

* update type

* update type

* update type

* remove test code

* update demo

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

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: 遇见同学 <1875694521@qq.com>

* update doc

* update doc

* update doc

* update demo doc code format

* update preview code

* update preview ui

* remove change preview ui and add demo

* update snap

* Update components/button/demo/style-class.md

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: 遇见同学 <1875694521@qq.com>

* Update components/button/demo/style-class.md

Signed-off-by: 遇见同学 <1875694521@qq.com>

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

Signed-off-by: 遇见同学 <1875694521@qq.com>

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

Signed-off-by: 遇见同学 <1875694521@qq.com>

* update demo

* chore: ts defs

* feat: update props to mergedProps

* update test

* update mergedProps

---------

Signed-off-by: 遇见同学 <1875694521@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2025-09-04 11:36:38 +08:00
二货机器人
7f01ee60b9 chore: merge master 2025-09-02 18:00:34 +08:00
Guo Yunhe
23a2b5ec96 fix(Button): round padding (#54845) 2025-09-02 17:55:40 +08:00
thinkasany
f8aef9a622 chore: sync feature into next 2025-09-01 19:32:59 +08:00
afc163
47307bec98 fix: Button token.paddingInline not working when shape="round" (#54787) 2025-08-28 23:04:10 +08:00
afc163
754d8bb058 Revert "fix(Button): paddingInline token not working (#54775)" (#54778)
This reverts commit 95730ba90f.

Co-authored-by: thinkasany <480968828@qq.com>
2025-08-28 14:22:41 +08:00
Guo Yunhe
95730ba90f fix(Button): paddingInline token not working (#54775) 2025-08-28 12:32:38 +08:00
lijianan
37fe6e0b7c test: update snap 2025-08-23 17:10:57 +08:00
lijianan
14fcf29ead Merge branch feature into next-merge-feature 2025-08-23 16:51:46 +08:00
doandevhere
c453b01a4b fix(button): button href disabled accessibility not correct (#54738) 2025-08-22 16:36:08 +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
d8224361a1 chore: sync feature into next 2025-08-11 21:34:00 +08:00
Guo Yunhe
c2ec447866 feat(Button): add iconGap design token (#54629) 2025-08-09 22:17:46 +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
Łukasz Komoszyński
0b5a36f330 fix: hover/active text color of filled button with href (#54614) 2025-08-07 21:34:48 +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