(frontend) new Tooltip component

buttons can now easily have tooltip via a new `tooltip` attribute that
generates a Tooltip linked to the button
This commit is contained in:
Emmanuel Pelletier
2024-07-24 17:19:38 +02:00
parent 41ad15e20b
commit c0d490f549
6 changed files with 134 additions and 22 deletions

View File

@@ -47,7 +47,7 @@ const config: Config = {
'2xl': '96em', // 1536px
},
keyframes: {
popoverSlide: {
slide: {
from: {
transform: 'var(--origin)',
opacity: 0,
@@ -57,7 +57,7 @@ const config: Config = {
opacity: 1,
},
},
modalFade: { from: { opacity: 0 }, to: { opacity: 1 } },
fade: { from: { opacity: 0 }, to: { opacity: 1 } },
},
tokens: defineTokens({
/* we take a few things from the panda preset but for now we clear out some stuff.