Commit graph

3 commits

Author SHA1 Message Date
Ajax Davis
990ba6f050 fix: correct Biome formatting and restore non-null assertions in tests
- Remove root biome.json (conflicted with packages/config/biome.json)
- Format all files with correct config (spaces, not tabs)
- Restore non-null assertions (ref!) in test files where refs are guaranteed
- Biome's optional chaining conversion broke TypeScript inference in tests

Fixes type-check and format-check CI failures.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-26 19:04:34 +10:00
Ajax Davis
e904e8d319 style: apply Biome formatting and auto-fixes
- Format 78 files, fixed 42 files total
- Apply safe lint fixes (non-null assertions converted to optional chaining)
- Remaining lint warnings are non-blocking (test code, a11y suggestions)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-26 18:59:49 +10:00
Ajax Davis
8b8612a1cf refactor(ui): convert all remaining components from createElement to JSX syntax
- Convert Button, Card, CodeBlock, Container, Input, Label, ProgressBar, Tabs, and Header components to JSX
- Convert all test files to JSX syntax with direct element rendering
- Replace createElement calls with cleaner JSX syntax for better readability
- Update tsup config to handle .tsx files
- Maintain all functionality, accessibility, and TypeScript types
- All 370 tests passing

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-26 03:14:34 +10:00
Renamed from packages/ui/src/CodeBlock/CodeBlock.ts (Browse further)