Skip to content

fix(resizable): clarify size props and use primary color for handle states#14

Merged
bob-obringer merged 1 commit intomainfrom
fix/resizable-docs-and-handle-color
Jan 18, 2026
Merged

fix(resizable): clarify size props and use primary color for handle states#14
bob-obringer merged 1 commit intomainfrom
fix/resizable-docs-and-handle-color

Conversation

@bob-obringer
Copy link
Copy Markdown
Collaborator

Summary

  • Updated ResizablePanel documentation to clarify that numeric size values are pixels, while string values are percentages
    • defaultSize={300} = 300px (pixels)
    • defaultSize="25%" or defaultSize="25" = 25% (percentage)
  • Changed ResizableHandle focus/hover/drag colors to use the primary theme color instead of the default ring color, improving visibility in dark mode

Changes

  • Updated llm/components/resizable.llm.md with correct size value documentation
  • Updated src/components/ui/resizable.tsx to use primary color for handle states
  • Updated CHANGELOG.md with v1.0.6 entry
  • Bumped version to 1.0.6 in package.json

Test Plan

  • Verify ResizablePanel works with numeric (pixel) values
  • Verify ResizablePanel works with string (percentage) values
  • Verify ResizableHandle shows primary color on hover/drag in dark mode

🤖 Generated with Claude Code

…tates

- Updated documentation to clarify that numeric size values are pixels,
  while string values are percentages (e.g., defaultSize={300} = 300px,
  defaultSize="25%" = 25%)
- Changed ResizableHandle focus/hover/drag colors to use primary theme
  color instead of ring color for better visibility in dark mode

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel bot commented Jan 18, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
ui Building Building Preview, Comment Jan 18, 2026 4:40am

Request Review

@bob-obringer bob-obringer merged commit c564008 into main Jan 18, 2026
2 checks passed
@bob-obringer bob-obringer deleted the fix/resizable-docs-and-handle-color branch January 18, 2026 04:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant