-
Notifications
You must be signed in to change notification settings - Fork 43
Description
Create a new pattern in patternslib/src/pat/tooltip-ng
- It should not be included by default in the src/patterns.js file.
- It should be made available in the webpack/base.conf.js under the resolve alias "pat-tooltip-ng"
- It should still listen for the original trigger class "pat-tooltip"
So if someone wants to switch to the new tooltip pattern, he only needs to change his patterns.js file to reference pat-tooltip-ng instead.
The new tooltip pattern should use tippy.js and popper.js as prototyped in the new-tooltip-lib branch. This branch is only a test and should only be used as inspiration.
The original signature of the pat-tooltip pattern should stay intact. If it has to change, we need to closely document that and communicate it to Cornelis to determine the impact.
Configure the library to reflect what we have already in pat-tooltip (I am thinking of white tooltips and a triangle as pointer) but don't start designing css.
If you can find a set of sane defaults for the tippy configuration, do it at your own discretion. (Like turning of stupid animations)
This will make #586 obsolete.