-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(Tooltip): adjust style to fit doc #486
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On dirait que le radius est pas tout à fait bon visuellement, même si c'est 2px comme dans Figma. Aussi on dirait qu'il y a un peu trop d'espace autour du texte, je pense que le tooltip est un peu plus haut que dans les maquettes. Ça prendrait le review de @LarryMatte je pense.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Quelques petites modifications.
@meriouma a raison pour le border de 2px
qui fit avec ce qui est dans les specs de figma mais qui ne fit pas vraiment visuellement...
Je crois que je laisserais comme c'est là.
Je vais probablement refaire une passe de CSS de tous les composants quand on aura le feu vert et qu'on saura ce qui se passe avec tout ça.
D'ici là, disons que c'est bien correct.
37b3a79
to
872cd15
Compare
@@ -270,14 +270,14 @@ label + .c3 { | |||
<input | |||
class="c5 datePickerInput" | |||
data-testid="text-input" | |||
placeholder="YYYY-MM-DD" | |||
placeholder="MM/DD/YYYY" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ta version de node doit pas être contrôlée par asdf. C'est un problème avec les versions plus récentes de node. Ça devrait être corrigé dans la prochaine, mais en attendant tu devrais t'assurer d'utiliser la version de node qu'il y a dans le .tool-versions
pour le DS.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ca ma fait investiguer les configs de mon asdf
. On dirait que ca avait jamais été pluggué correctement 😅
C't'un peu gênant
1272536
to
9e4f18a
Compare
@@ -188,7 +187,7 @@ export const Tooltip: FunctionComponent<PropsWithChildren<TooltipProps>> = ({ | |||
const Theme = useTheme(); | |||
const tooltipId = useMemo(uuid, []); | |||
const tooltipTriggerId = useMemo(() => `tooltip-trigger-${tooltipId}`, [tooltipId]); | |||
const [isVisible, setIsVisible] = useState(defaultOpen); | |||
const [isVisible, setIsVisible] = useState(true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Vestige de debug?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤦
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Je pense que t'as pas updaté le snapshot 😅
73110d1
to
facaa18
Compare
Bug fix checklist
New component checklist
storybook
package.