nimiq / vue-components

Vue component library for Nimiq ecosystem apps.
https://nimiq.github.io/vue-components/
Apache License 2.0
17 stars 4 forks source link

Enhance Tooltip positioning flexibility and add background customization #131

Closed mraveux closed 1 year ago

mraveux commented 1 year ago

πŸŽ‰This PR jazzes up the Tooltip component, making it more flexible and fun!✨ Here's what's new:

🌐 Expanded positioning options: Now you can place your Tooltip in any combo of primary and secondary preferred positions! ↕️↔️ No more restrictions with only horizontal primary and optional vertical secondary positions. And if you just want one preferred position? No worries, the tooltip will be centered just for you!🎯

🀸 Adaptive positioning within container bounds: Our Tooltip component is now a gymnast! It tries its best to stay within the container bounds while keeping its preferred position, ensuring it remains visible even in tight spaces. πŸ“

🎨 Background customization: Want to personalize your tooltip? We got you! With a new background prop, you can easily customize the Tooltip component's background to match your style.🌈

These improvements make the Tooltip component more user-friendly and versatile, giving you more design options and adaptability for various layouts. πŸ₯³πŸŽ¨