* feat: enhance condition expression parsing and handling in sequence parser
* refactor: remove outer segment wrapper from all fragment headers for consistency
Remove the outer `<div className="segment">` wrapper around headers in FragmentAlt,
FragmentCritical, FragmentTryCatchFinally, and FragmentSection to achieve consistent
structure across all fragment types.
Before:
- Alt, Critical, TryCatchFinally, Section: Had outer segment around header
- Par, Opt, Loop: No outer segment around header (inconsistent)
After:
- All fragments: No outer segment around header (consistent)
- Structure: Comment → Header → Collapsible content with inner segment(s)
Benefits:
- Consistent structure across all fragment types
- Simpler, cleaner component code
- Alt's else-if/else branches maintain borders via explicit className
All tests passing (21/21 E2E, 475/475 unit tests). No visual regressions.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* fix: prevent GlobalRegistrator unregister error in CI
Add check for GlobalRegistrator.isRegistered before calling unregister() in afterAll hook. This prevents the error "Failed to unregister. Happy DOM has not previously been globally registered" that occurs when afterAll runs in test files after GlobalRegistrator has already been unregistered by a previous test file.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* fix: pin Bun version to 1.2.22 to prevent CI failures
- Changed bun-version from 'latest' to '1.2.22' in all GitHub Actions jobs
- This prevents automatic upgrades to newer Bun versions that may have breaking changes
- Fixes CI failures caused by Bun version changes between workflow runs
* chore: update Playwright snapshots for Linux CI
Generated Linux-specific snapshots for chromium-linux platform.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
---------
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>