ant-design/components/radio
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
..
__tests__ feat: add default name generation for RadioGroup component better a11y (#52076) 2024-12-23 10:55:45 +08:00
demo fix: input work with Upload (#51874) 2024-12-03 19:07:28 +08:00
style feat(radio): add 'block' argument for Radio.Group (#50828) 2024-09-16 17:21:55 +08:00
context.ts docs: format code (#48309) 2024-04-08 14:04:08 +08:00
group.tsx feat: add default name generation for RadioGroup component better a11y (#52076) 2024-12-23 10:55:45 +08:00
index.en-US.md feat: add default name generation for RadioGroup component better a11y (#52076) 2024-12-23 10:55:45 +08:00
index.tsx chore: change to export type (#50203) 2024-08-02 18:49:30 +08:00
index.zh-CN.md feat: add default name generation for RadioGroup component better a11y (#52076) 2024-12-23 10:55:45 +08:00
interface.ts feat(radio): add 'block' argument for Radio.Group (#50828) 2024-09-16 17:21:55 +08:00
radio.tsx fix: input work with Upload (#51874) 2024-12-03 19:07:28 +08:00
radioButton.tsx docs: format code (#48309) 2024-04-08 14:04:08 +08:00