Closed
Description
Description / User Story
The tooltip component needs to be refactored to use floating-ui. This will make the component behave better in certain situations and also may reduce the number of props needed in the code, as things like placement and tooltipArrow are set automatically.
Acceptance Criteria
- Tooltip component has been refactored to use floating-ui
-
ariaLabel has been added - id prop has been removed
-
add event props if they should be applied (there may be none)
-
- Props Excel has been updated / comments have been resolved and props changed from red to black font color
Background information
- We also had some open extension/fix tickets for the tooltip, these should also be considered when doing the refacotring: Tooltip - revisit text alignment & fix svg color #386