Autodesk / Autodesk/hig

Tooltips - Medium and Large

Open
#2,011 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
193
Forks
112
PR merge metrics
No merged PRs in 30d

Description

We may have to change the api on the existing `Tooltip`. The medium and large versions seem to be states that appear when hovering over the target for longer periods of time. More info can be found here: https://hig.autodesk.com/web/components/tooltips.

Small: appears to just have a title. Currently that is the `content` prop in the current component, but may need to change that prop to something else.

Medium: has title and body text

Large: has title, body text, and media

I think we can may be able to make each part its own prop and display the version depending on what props it has.

There is also "footer" that allows for a link/button.

This should apply theme-data for all current color and density themes (may have to add theme-data)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.