You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This release mostly focused on making this component more faster, accessible and as lightweight as possible
✅ Non Breaking Changes
♿ Improved Accessablity + Keyboard Support
🗑️ Removed @rooks/use-outside-click dependency that was costing around ~300B
🧹 Code cleanup
💥 Breaking Changes
CSS variables have been renamed please follow below migration guide
Migrating from v2.x to v3.x
If you have not overwritten CSS variables for custom style there's no change needed but in case CSS variables were customized then it's just find and replace in your project
--rmsc-primary to --rmsc-main
--rmsc-background to --rmsc-bg
--rmsc-spacing to --rmsc-p
--rmsc-border-radius to --rmsc-radius
--rmsc-height to --rmsc-h
This release ended up reducing bundle size from ~4KB to ~3KB 🎉