Repository navigation
Port resizable component to react-resizable-panels v4 - #476
Conversation
v4 renamed PanelGroup to Group and PanelResizeHandle to Separator, and replaced the data-panel-group-direction attribute with aria-orientation. The shadcn wrapper still used the v3 names, so it failed to type-check and would render undefined components. This matches shadcn's current v4 registry version of the component. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
Follow-up to #470. The
resizablewrapper inpackages/uistill used the react-resizable-panels v3 API while the repo is on v4.v4 renamed the primitives, and this PR updates the wrapper to match:
PanelGroupis nowGroup, andPanelResizeHandleis nowSeparator.GroupProps,PanelPropsandSeparatorProps.aria-orientationinstead ofdata-panel-group-direction.The result matches shadcn's current v4 registry version, kept in this repo's formatting.
No app imports this component today, so nothing on the live sites changes.
Verification:
vp checkno longer reports the three missing-export warnings for this file.tsconpackages/uino longer reports the five errors in this file. The eight remaining errors are pre-existing ones inchart.tsx.🤖 Generated with Claude Code
Summary by CodeRabbit