Commit graph

1007 commits

Author SHA1 Message Date
Guo Yunhe
c2ec447866
feat(Button): add iconGap design token (#54629) 2025-08-09 22:17:46 +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
afc163
46c9c93773
test: upgrade jest to v30 (#54576) 2025-08-05 00:13:52 +08:00
thinkasany
416c76997f chore: sync master into feature 2025-08-01 17:43:33 +08:00
遇见同学
b0a3a5b485
fix: use rc useLayoutEffect to support server no warning (#54517)
* fix: add useIsomorphicLayoutEffect to support server no warning

* fix: add useIsomorphicLayoutEffect to support server no warning

* feat: use rc useLayoutEffect

* feat: SplitBar use rc useLayoutEffect

* chore: update import order
2025-07-30 11:14:08 +08:00
Guo Yunhe
b3ae5670e7
feat(Button): support shape global config (#54463) 2025-07-25 16:44:37 +08:00
遇见同学
ad0df59020
docs: emoji compatible (#54303) 2025-07-06 22:14:58 +08:00
二货爱吃白萝卜
423e3fa4ed
fix: Button loading flick when low perf PC (#54041)
* test: test driven

* fix: lock for loading

* chore: lock tsx

* test: update test case

* test: fix test case

* chore: clean up

* chore: comment

---------

Co-authored-by: thinkasany <480968828@qq.com>
2025-06-11 17:21:33 +08:00
afc163
4546987d0c
chore: refactor .dumi code folders (#53437)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-05-23 22:33:40 +08:00
Jony J
1739167c14
feat(time-picker/date-picker): support popup semantic dom (#53718)
* feat(time-picker/date-picker): support semantic dom

* refactor code

* docs update

* test: add test case

* fix: test coverage

* fix: test coverage

* update

* update

* update

* update
2025-05-07 20:12:53 +08:00
lijianan
d034ac7583 chore: merge master into feature 2025-04-03 14:52:00 +08:00
afc163
cfd5677eed
docs: add design url to component meta (#53379)
* docs: add design url to component meta

* update
2025-04-02 16:11:16 +08:00
𝑾𝒖𝒙𝒉
48b8efbfde
chore(site): markdown supports custom anchors (#53316)
* chore(site): markdown supports custom anchors

wait: https://github.com/umijs/dumi/pull/2268

* chore: update deps

* chore: update

* chore: comment

* chore(deps): bump dumi to `2.4.20`

* chore: temp scripts

* Revert "chore: temp scripts"

This reverts commit 49a2ab86c4.
2025-04-02 11:03:02 +08:00
github-actions[bot]
69128bdb02
chore: auto merge branches (#53354)
chore: merge master into feature
2025-03-31 11:12:17 +00:00
afc163
949f2c2a33
docs: add code sample for Semantic Previewer (#53351) 2025-03-31 13:05:53 +08:00
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
thinkasany
0f2d84bbbb
demo: remove emoji for debug demo (#53076)
Co-authored-by: 𝑾𝒖𝒙𝒉 <wxh1220@gmail.com>
2025-03-06 15:00:26 +08:00
二货爱吃白萝卜
63cbe9e1f0
fix: Button missing primary style (#52812)
* fix: Button style of preset

* chore: add info of fix

* docs: update demo

* chore: fix lint

* test: update snapshot

* fix: color of link

* test: update snapshot

* test: update snapshot
2025-02-17 16:04:02 +08:00
thinkasany
54cd22a169
Merge branch 'master' into master-merge-feature 2025-02-10 18:52:34 +08:00
Ideveloper (이승규)
34e029baa5
type: seperate type of button onclick event with more detail (#52654)
* feat: seperate type of button onclick event with more detail

* feat: eliminate return

* feat: seperate case

* Update components/button/button.tsx

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: Ideveloper (이승규) <zx6658@naver.com>

* test: add test code for onclick

---------

Signed-off-by: Ideveloper (이승규) <zx6658@naver.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: thinkasany <480968828@qq.com>
2025-02-10 14:50:45 +08:00
𝑾𝒖𝒙𝒉
217313bcc8
Merge branch 'master' into master-merge-feature 2025-02-10 14:37:30 +08:00
afc163
51a213873c
fix: Button shadow color should be transparent (#52701) 2025-02-10 11:21:10 +08:00
github-actions[bot]
0a2a19f349
chore: auto merge branches (#52609)
chore: sync master into feature
2025-01-28 06:10:58 +00:00
Jony J
5bccf7713a
test: add a11y test for all components demo (#51372)
* test: add a11y test

* test: add a11y test

* test: add a11y test

* test: add a11y test

* test: add a11y test

* test: add a11y test

* test: add a11y test

* test: add a11y test

* test: add a11y test

* test: add a11y test

* fix: test case

* test: add a11y test

* chore: code comment adjust
2025-01-27 23:49:40 +08:00
Guo Yunhe
d98b0c0210
feat(Button): deprecate Button.Group, prefer Space.Compact (#52572)
* feat(Button): deprecate Button.Group, prefer Space.Compact

* test: update snap

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: thinkasany <480968828@qq.com>
2025-01-26 13:51:40 +08:00
lijianan
960ea3f23b
feat: orientation prop support start & end (#52567)
* feat: orientation support start & end

* docs: update api docs

* fix: update docs

* test: update snap

* test: update snap

* test: update snap

* fix: fix

* fix: fix style
2025-01-26 12:36:58 +08:00
二货爱吃白萝卜
3800e8d5ff
refactor: useComponentConfig for batch component (#52586)
* refactor: hooks of context

* refactor: hooks of context
2025-01-26 12:35:26 +08:00
renovate[bot]
9805b118ab
chore(deps): update dependency @antfu/eslint-config to v4 (#52585)
* chore(deps): update dependency @antfu/eslint-config to v4

* fix: fix

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: 栗嘉男 <574980606@qq.com>
2025-01-26 08:53:40 +08:00
二货爱吃白萝卜
cd4d74c5e9
refactor: hooks of context (#52564) 2025-01-24 18:38:15 +08:00
二货爱吃白萝卜
3934566134
refactor: hooks of context (#52550) 2025-01-23 22:52:48 +08:00
github-actions[bot]
92c933950b
chore: auto merge branches (#52519)
chore: sync master into feature
2025-01-21 11:05:28 +00:00
lijianan
f61542417e
fix: fix loading.icon error when loading === null (#52508)
* fix: fix loading.icon error when loading === null

* Update button.tsx

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

---------

Signed-off-by: lijianan <574980606@qq.com>
2025-01-21 14:52:17 +08:00
afc163
f50a8e6175
chore: remove warning of cssinjs in Space.Compact (#52489) 2025-01-20 15:09:49 +08:00
Guo Yunhe
d7512d5190
feat: add label classname for Checkbox & Radio (#52322)
Co-authored-by: thinkasany <480968828@qq.com>
2025-01-13 15:02:51 +08:00
github-actions[bot]
d4f5e911b5
chore: auto merge branches (#52372)
chore: merge master into feature
2025-01-12 16:08:57 +00:00
afc163
bd0d445668
style: tweak icon-only button font-size to align icon and text (#52353)
* style: tweak icon-only button font-size to align icon and text

* fix

* fix
2025-01-12 14:40:42 +08:00
栗嘉男
ae16de3386 chore: merge master into feature 2025-01-10 03:08:15 +08:00
ice
4d96645de8
docs(button): update Flex gap from 'middle' to 'small' in color-variant demo (#52307)
* docs(button): update Flex gap from 'middle' to 'small' in color-variant demo

* test: update snap

---------

Co-authored-by: afc163 <afc163@gmail.com>
2025-01-08 22:19:04 +08:00
二货爱吃白萝卜
ba415fcabc
fix: Button color boxShadow missing (#52304)
* fix: Button color boxShadow missing

* chore: add comment
2025-01-08 20:28:19 +08:00
Jony J
1fe4dab6e6
chore: update rc-tooltip version to 6.4.0 in package.json (#52293)
* chore: update rc-tooltip version to 6.4.0 in package.json

* chore: trigger CI build

* test: update snapshot

* chore: trigger CI build
2025-01-08 16:42:46 +08:00
二货爱吃白萝卜
6139162214
test: fix test case (#52224)
* test: fix test case

* test: ignore image diff
2025-01-03 17:38:14 +08:00
thinkasany
677622bab7 test: update snap for Input.search type 2024-12-27 11:44:40 +08:00
thinkasany
370ccc73da fix: resolved merge conflicts 2024-12-27 10:28:57 +08:00
afc163
fd31d300ed
fix: Button icon align issue again (#52132)
* fix: Button icon align issue again

* fix align

* fix align

* fix

* fix

* buttonPaddingVertical => 0

* fix icon only vertical align
2024-12-26 17:00:23 +08:00
afc163
e034a33f22 chore: merge master to feature 2024-12-23 21:23:08 +08:00
afc163
6a0eda0f99
fix(Button): align buttons with and without icons consistently (#52070)
* fix(Button): align buttons with and without icons consistently

* test: update snapshot

* fix align

* fix align

* fix button align

* fix button align

* fix button align

* update snapshot
2024-12-23 17:09:07 +08:00
Jony J
dfc20acd0c
feat: add default name generation for RadioGroup component better a11y (#52076)
* feat: add default name generation for RadioGroup component better a11y

* feat(radio): implement useStableId hook for consistent ID generation in RadioGroup

* test: update snapshot

* chore: remove unused demo code snippet from form documentation

* test: enhance demo testing by adding ignoreAttributes option for snapshot matching

* fix(tests): correct logic for skipping tests and enhance snapshot matching for demo tests

* Revert "test: enhance demo testing by adding ignoreAttributes option for snapshot matching"

* test: mock useId for stable ID generation in snapshot tests

* chore: trigger CI build

* docs(radio): update name property description to clarify fallback behavior for RadioGroup

* Update index.zh-CN.md

Signed-off-by: Jony J <1844749591@qq.com>

---------

Signed-off-by: Jony J <1844749591@qq.com>
2024-12-23 10:55:45 +08:00
afc163
5645194400
demo: tweak Button demos gap (#52071)
* update snapshot

* fix demo
2024-12-20 16:59:31 +08:00
二货爱吃白萝卜
890a86bcc2
fix: Button with loading motion (#52059)
* fix: button loading icon motion

* test: update snapshot

* test: update snapshot

* test: update snapshot
2024-12-19 19:29:51 +08:00