Releases: everydayhero/hui
Releases · everydayhero/hui
5.4.0
4.5.0
Updates to Tooltip component
See: #398
Includes breaking changes:
- Where previously the
Tooltip
component took atext
prop it now takes a prop calledcontent
. This change was made to be more generic given the tooltip can display richer content, such as formatted text, links or images. - The
side
prop has also been renamed, it is nowposition
. This is because the tooltip now supports being set to'center'
as well as the'left'
and'right'
.
Non-breaking changes:
- Tooltips can be triggered by click or hover.
- The tooltip still uses a question mark icon as the default trigger, but you can wrap the tooltip around any other text, component or node to change the trigger.
- Tooltips can be set to either dark or light variants, where the background and text colour is changes respectively.
v4.1.7
Remove font-ligatures inside buttons