Variety of improvements to the tooltip component, see commit history.
Notably, this PR also makes the component suitable for more use cases. It can now handle tooltips of arbitrary size, allows for a preferred position, has an inverse theme, can be disabled and has a programmatic api.
Additionally, style fixes, code beautifications and performance improvements have been applied.
Also the component is now less restrictive in the reference / tooltip setup (supports references that are not the offsetParent of the tooltip and properly updates measurements on update also if the the reference resized).
Also this fixes a scroll bar issue which appeared after the vue / dependencies update and can currently be witnessed in the create cashlink flow.
Variety of improvements to the tooltip component, see commit history. Notably, this PR also makes the component suitable for more use cases. It can now handle tooltips of arbitrary size, allows for a preferred position, has an inverse theme, can be disabled and has a programmatic api. Additionally, style fixes, code beautifications and performance improvements have been applied. Also the component is now less restrictive in the reference / tooltip setup (supports references that are not the offsetParent of the tooltip and properly updates measurements on update also if the the reference resized). Also this fixes a scroll bar issue which appeared after the vue / dependencies update and can currently be witnessed in the create cashlink flow.