(react) add Tooltip component

This component will allow to provide contextual information on any
DOM node.

Closes #239
This commit is contained in:
Nathan Vasse
2024-03-07 16:35:14 +01:00
committed by NathanVss
parent b4a6367bce
commit 0ef7684b12
15 changed files with 683 additions and 4 deletions

View File

@@ -112,6 +112,12 @@
--c--theme--breakpoints--lg: 992px;
--c--theme--breakpoints--xl: 1200px;
--c--theme--breakpoints--xxl: 1400px;
--c--components--tooltip--border-radius: 0.5rem;
--c--components--tooltip--background-color: var(--c--theme--colors--greyscale-900);
--c--components--tooltip--color: var(--c--theme--colors--greyscale-000);
--c--components--tooltip--font-size: var(--c--theme--font--sizes--s);
--c--components--tooltip--padding: 1rem;
--c--components--tooltip--max-width: 150px;
--c--components--toast--slide-in-duration: 1000ms;
--c--components--toast--slide-out-duration: 300ms;
--c--components--toast--background-color: var(--c--theme--colors--greyscale-100);