Skip to content

v3.0.0

Compare
Choose a tag to compare
@harshzalavadiya harshzalavadiya released this 11 Jul 20:46
· 535 commits to master since this release
0a4adcf

Changelog

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 🎉