tpmjs/packages
Ajax Davis ad811134da fix(ui): make RadioGroup SSR-compatible while preserving runtime validation
- Update useRadioGroup hook to return default values during SSR/prerendering
- Still throws error in browser and test environments when Radio is outside RadioGroup
- Add dynamic='force-dynamic' export to playground page
- Fixes Next.js build error: "Radio must be used within a RadioGroup"

All tests pass (58 Radio tests), including the test that validates the error is thrown.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-27 02:38:55 +10:00
..
config fix(biome): ignore Next.js auto-generated next-env.d.ts file 2025-11-26 22:59:32 +10:00
env fix(lint): configure Biome to properly ignore build directories 2025-11-26 22:49:45 +10:00
mocks fix(lint): configure Biome to properly ignore build directories 2025-11-26 22:49:45 +10:00
storybook fix(lint): configure Biome to properly ignore build directories 2025-11-26 22:49:45 +10:00
test fix(lint): configure Biome to properly ignore build directories 2025-11-26 22:49:45 +10:00
types fix(lint): configure Biome to properly ignore build directories 2025-11-26 22:49:45 +10:00
ui fix(ui): make RadioGroup SSR-compatible while preserving runtime validation 2025-11-27 02:38:55 +10:00
utils fix(lint): configure Biome to properly ignore build directories 2025-11-26 22:49:45 +10:00