tpmjs/packages/ui/src/Switch
Ajax Davis 52c7d8d844 fix: resolve new ESLint rules from eslint-plugin-react-hooks update
- Use useId() instead of Math.random() for stable ID generation in Checkbox and Switch
- Use deterministic rotation/delay calculations instead of Math.random() in CategoryGrid and ProblemSection
- Add eslint-disable comments for intentional setState in useEffect patterns:
  - Hydration safety (setMounted)
  - Initial localStorage sync
  - Route-based UI sync
  - Controlled component sync
  - Browser API initial sync (scroll position, media queries)
- Add eslint-disable for ref merging pattern in AnimatedCounter and StatCard

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

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-09 23:25:15 +10:00
..
Switch.test.tsx style: apply Biome formatting 2025-11-27 02:46:30 +10:00
Switch.tsx fix: resolve new ESLint rules from eslint-plugin-react-hooks update 2026-01-09 23:25:15 +10:00
tokens.ts feat(ui): add comprehensive form component library with playground showcase 2025-11-27 01:56:54 +10:00
types.ts feat(ui): add comprehensive form component library with playground showcase 2025-11-27 01:56:54 +10:00
variants.ts style: apply Biome formatting 2025-11-27 02:46:30 +10:00