ant-design/components/button/__tests__
Ryan 419a0dc379
feat: ConfigProvider support button variant and color (#53165)
* feat: ConfigProvider support button variant property

* feat: ConfigProvider support button color

* docs: update config-provider api docs

* test: add test case

* Update components/config-provider/index.en-US.md

docs update

Co-authored-by: ice <49827327+coding-ice@users.noreply.github.com>
Signed-off-by: Ryan <55972954+yellowryan@users.noreply.github.com>

* Update components/config-provider/index.zh-CN.md

docs update

Co-authored-by: ice <49827327+coding-ice@users.noreply.github.com>
Signed-off-by: Ryan <55972954+yellowryan@users.noreply.github.com>

* test: add test case

* fix: logic

* fix(button): improve button color and variant handling logic

---------

Signed-off-by: Ryan <55972954+yellowryan@users.noreply.github.com>
Co-authored-by: ice <49827327+coding-ice@users.noreply.github.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: thinkasany <480968828@qq.com>
Co-authored-by: ice <1597834867@qq.com>
2025-03-26 10:56:27 +08:00
..
__snapshots__ demo: remove emoji for debug demo (#53076) 2025-03-06 15:00:26 +08:00
a11y.test.ts test: add a11y test for all components demo (#51372) 2025-01-27 23:49:40 +08:00
delay-timer.test.tsx test: rm legacy react-dom/test-utils for compatible React-18.3.1 (#48667) 2024-04-28 09:52:54 +08:00
demo-extend.test.ts fix: Button padding token should follow contentFontSize (#46901) 2024-01-11 11:18:21 +08:00
demo.test.ts fix: Button padding token should follow contentFontSize (#46901) 2024-01-11 11:18:21 +08:00
image.test.ts docs: v5 site upgrade (#38328) 2022-11-09 12:28:04 +08:00
index.test.tsx feat: ConfigProvider support button variant and color (#53165) 2025-03-26 10:56:27 +08:00
wave.test.tsx feat: Add unstable api for React 19 compitable (#51979) 2024-12-18 14:09:49 +08:00