Skip to content

Conversation

@harshzalavadiya
Copy link
Member

@harshzalavadiya harshzalavadiya commented Jul 11, 2020

Closes #63

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 ~4.8KB to ~4.4KB 🎉

@harshzalavadiya harshzalavadiya self-assigned this Jul 11, 2020
@harshzalavadiya harshzalavadiya added the enhancement New feature or request label Jul 11, 2020
@harshzalavadiya harshzalavadiya merged commit 0a4adcf into master Jul 11, 2020
@harshzalavadiya harshzalavadiya deleted the v3 branch July 11, 2020 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Better support for keyboard interaction?

2 participants