github-actions[bot]
60cd020a35
chore: auto merge branches ( #56380 )
...
chore: merge master into feature
2025-12-27 09:14:24 +00:00
Guo Yunhe
9a62d148c7
docs: remove 5.x tags ( #56353 )
2025-12-25 12:17:44 +08:00
github-actions[bot]
60efb8e170
chore: auto merge branches ( #56288 )
...
chore: merge master into feature
2025-12-20 04:23:10 +00:00
aojunhao123
c312adea5d
fix: remove duplicate radio role and optimize aria attributes ( #56278 )
2025-12-18 21:41:07 +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
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
4daf900b4a
fix: allow zero flex ( #55829 )
2025-11-23 16:48:56 +08:00
lijianan
a83362af98
fix: improves gap handling by checking for non-null values ( #55803 )
2025-11-22 10:35:12 +08:00
lijianan
249ca2c881
chore: merge feature into next
2025-11-06 01:31:18 +08:00
ayangweb
51949965ce
type: optimize LiteralUnion type and add Primitive type ( #55599 )
2025-11-04 23:00:08 +08:00
ayangweb
bf1a3393fc
type(flex): fix missing preset size support for gap ( #55591 )
2025-11-04 14:00:31 +08:00
lijianan
6cc19c10fc
chore: merge feature into next
2025-10-26 18:20:12 +08:00
lijianan
aaa1da118d
Merge branch feature into next-merge-feature
2025-10-07 02:59:34 +08:00
lijianan
9ac07bea68
type: mark children definition more strict and standards ( #55233 )
2025-10-06 20:49:36 +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
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
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
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
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
ec033f6a08
chore: sync feature into next
2025-07-17 11:48:12 +08:00
𝑾𝒖𝒙𝒉
ef8816a59b
fix: Flex children is now optional instead of required. ( #54399 )
2025-07-17 10:51:13 +08:00
EmilyyyLiu
45b175f6c5
feat(Flex): unify orientation attribute usage ( #53648 )
...
* feat[Flex]:Unified use of orientation attribute
* Update components/flex/index.en-US.md
Co-authored-by: thinkasany <480968828@qq.com >
Signed-off-by: EmilyyyLiu <100924403+EmilyyyLiu@users.noreply.github.com >
* Update components/flex/index.zh-CN.md
Co-authored-by: thinkasany <480968828@qq.com >
Signed-off-by: EmilyyyLiu <100924403+EmilyyyLiu@users.noreply.github.com >
* feat: delete flex default value=false
---------
Signed-off-by: EmilyyyLiu <100924403+EmilyyyLiu@users.noreply.github.com >
Co-authored-by: 刘欢 <lh01217311@antgroup.com >
Co-authored-by: thinkasany <480968828@qq.com >
2025-05-19 16:09:54 +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
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
二货机器人
f45cd8bfc4
chore: merge master
2025-02-18 19:56:12 +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
Jony J
abf57ec990
feat: improve segmented accessibility ( #52618 )
...
* feat: improve rc-segmented accessibility
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
2025-02-07 17:38:47 +08:00
thinkasany
f5f0cb6aa4
chore: sync feature into next
2025-01-28 14:16:27 +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
Wanpan
32ac8e874d
Merge branch feature into next-merge-feature
2025-01-14 10:33:19 +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
lijianan
ab0e07e25d
refactor: [v6] use rc-component ( #52337 )
...
* refactor: use @rc-component
* chore: adjust compile
* test: fix logic
* chore: back of reset
---------
Co-authored-by: 二货机器人 <smith3816@gmail.com >
2025-01-10 14:14:31 +08:00
github-actions[bot]
ca7bd277e6
chore: auto merge branches ( #52177 )
...
chore: sync master to feature
2024-12-30 09:43:28 +00:00
lijianan
976d21dd3f
fix: reset style when use custom Element ( #52170 )
2024-12-30 16:33:52 +08:00
Jony J
bc17268ff9
feat(segmented): enhance name prop behavior and adjust focus style ( #52085 )
...
* feat(segmented): enhance name prop behavior and adjust focus style
* test: update snapshot
2024-12-23 14:17:42 +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
Jony J
1b1ffb9d41
feat(segmented): add missing focus style for a11y ( #51934 )
...
* feat: add missing focus style for a11y
* chore: update rc-segmented dependency to version 2.7.0 in package.json
* test: update snapshot
* style: adjust focus style
2024-12-09 15:24:51 +08:00
thinkasany
291cb21ea4
feat(Segmented): support name prop to enable grouping ( #51725 )
2024-11-22 17:08:30 +08:00
thinkasany
6e12a903c7
demo: improve the use of Segmented ( #51324 )
2024-10-22 10:09:31 +08:00
ice
696c9dde02
fix(button): type=link error token & add prefix cls (color/variant) & specificity too high ( #50962 )
2024-09-24 23:52:50 +08:00
curry
436aa9ad2d
feat: Segmented adds vertical prop ( #50708 )
...
Co-authored-by: 梁朝飞 <liangchaofei@guokechuzhi.com >
Co-authored-by: afc163 <afc163@gmail.com >
Co-authored-by: thinkasany <480968828@qq.com >
2024-09-18 23:22:51 +08:00
ice
badfbe3cfe
feat(Button): support variant and color ( #50051 )
...
* feat(button): variant & color types
* feat: type -> color/variant
* feat: type -> color/variant
* feat: add variant filled
* test: snap
* refactor(button): rename type -> variant
* docs: add demo
* feat: add danger ghost style
* refactor: remove deprecated
* refactor: eslint
* docs: change color&variant
* test: updated snap
* docs: color-variant
* docs: add debug color&variant
* feat: global token
* refactor: remove comment
* docs: add color&variant docs
* docs: remove default
* docs: add space
* docs: code
* test: update snap
* test: fix snap
* test: btn querySelect
* feat: change filled hoverStyle
* test: fix
* feat: support grey wave
* refactor: enhance
* docs: color/variant -> v 5.21
* test: snap
* feat: add token
* test: to do
* test: fix test
* ci: rebuild
* style: remove
* style: space
* docs: add note & FQA
* feat: add componentsToken
* refactor: remove isNotGrey
* test: add case
* docs: tile button
* test: snap
* docs: site & snap
* Update components/button/index.en-US.md
Co-authored-by: lijianan <574980606@qq.com >
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com >
* fix: token color & undef
* docs: site
* docs: responsive
* docs: enhance FAQ
* docs: gap middle
* test: snap
* Update components/theme/interface/maps/colors.ts
Co-authored-by: MadCcc <1075746765@qq.com >
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com >
* Update components/theme/interface/maps/colors.ts
Co-authored-by: MadCcc <1075746765@qq.com >
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com >
* Update components/theme/interface/maps/colors.ts
Co-authored-by: MadCcc <1075746765@qq.com >
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com >
* Update components/button/style/token.ts
Co-authored-by: MadCcc <1075746765@qq.com >
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com >
* Update components/button/style/token.ts
Co-authored-by: MadCcc <1075746765@qq.com >
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com >
* refactor: rename
* docs: prettier
* chore: eslint
* refactor: cls
* test: add solidTextColor case
* refactor: genVariantButtonStyle
* refactor: genVariantButtonStyle
* refactor: genVariantButtonStyle
* fix: rename
* docs: text
* fix: remove border
* feat: add token colorErrorBgFilledHover
* chore: add size-limit
* refactor: rename
---------
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com >
Co-authored-by: lijianan <574980606@qq.com >
Co-authored-by: MadCcc <1075746765@qq.com >
2024-09-03 17:39:02 +08:00
afc163
59ad48476b
refactor: add boime lint and fix lint errrors ( #49536 )
...
* chore: add boime lint
* fix lint
* use files ignore
* revert change
* ignore clarity.js
* fix some errors
* fix some errors
* fix some errors
* fix some errors
* add yml file
* Update clarity.js
Signed-off-by: afc163 <afc163@gmail.com >
* add npm run lint:biome
* add npm run lint:biome
* fix test case
* fix ts errors
* fix ts errors
* fix lint and add .lintstagedrc
* shorten prop name
* chore: update package.json
* update biome.json
* chore: remove stylelint
* chore: useOptionalChain
* fix lint
* biome format
* prettier all code
* prettier all code
* fix site test
---------
Signed-off-by: afc163 <afc163@gmail.com >
2024-06-22 21:59:12 +08:00