Tooltip component#18
Conversation
|
Hey @studiometa/js, I need to find a way to set pseudo-element (to generate tooltip triangles) without the use of CSS. Do you have any idea? There is this way but don't like it. |
@lusimeon I think of 2 solutions:
The code for a SVG triangle is quite small: <svg width="30" height="15" viewBox="0 0 30 15" xmlns="http://www.w3.org/2000/svg">
<path d="M29.1 15L15 0.9 0.9 15H29.1Z"/>
</svg> |
commit 2099093 Author: Lucas Simeon <lu.simeon@gmail.com> Date: Mon Nov 30 11:41:52 2020 +0100 Add build files commit 7faea4a Author: Lucas Simeon <lu.simeon@gmail.com> Date: Mon Nov 30 11:41:34 2020 +0100 Fix Tooltip component test commit d3a8fec Author: Lucas Simeon <lu.simeon@gmail.com> Date: Mon Nov 30 11:01:33 2020 +0100 Add an offset example and fix tooltip load. Fix opened tooltip on load Add an example with offset in doc Add dist files commit ea0ab59 Author: Lucas Simeon <lu.simeon@gmail.com> Date: Mon Nov 16 11:44:58 2020 +0100 Refactor tooltip component based on latest js-toolkit version commit 381df43 Merge: 8129e35 7413456 Author: Lucas Simeon <lu.simeon@gmail.com> Date: Mon Nov 16 11:21:38 2020 +0100 Merge branch 'develop' into feature/tooltip-component commit 8129e35 Author: Lucas Simeon <lu.simeon@gmail.com> Date: Wed Jun 10 13:49:02 2020 +0200 Fix prettier lint errors commit c5fe937 Author: Lucas Simeon <lu.simeon@gmail.com> Date: Wed Jun 10 13:48:38 2020 +0200 Add tooltip to components test commit f6fd207 Author: Lucas Simeon <lu.simeon@gmail.com> Date: Wed Jun 10 13:47:58 2020 +0200 Add tooltip demo commit 776b095 Author: Lucas Simeon <lu.simeon@gmail.com> Date: Wed Jun 3 12:07:46 2020 +0200 Add Tooltip component commit 8c3d888 Author: Lucas Simeon <lu.simeon@gmail.com> Date: Wed Jun 3 12:06:58 2020 +0200 Fix docblock typo in service 'key' commit 765adfb Author: Lucas Simeon <lu.simeon@gmail.com> Date: Wed Jun 3 12:05:29 2020 +0200 Fix babel duplicate plugin declaration commit c5c1c85 Author: Titouan Mathis <titouan@studiometa.fr> Date: Sat May 30 14:28:52 2020 +0200 Add public access config for the package commit f39a7d5 Author: Titouan Mathis <titouan@studiometa.fr> Date: Sat May 30 14:24:46 2020 +0200 Create npm-publish.yml
2099093 to
7413456
Compare
|
Hey @studiometa/js, I've updated this PR based on last |
|
Unfortunaly there's still had a bug on hover triggers sometimes, see this video (test here). |
I saw this bug too, we can check together next monday 😉 |
cc59775 to
88504c6
Compare
|
Closing as this should be added to https://github.com/studiometa/ui. |
Create a Tooltip component based on this pen.