Closed venusang closed 3 years ago
This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.
🔍 Inspect: https://vercel.com/hashicorp/structure/8XKALzRPKAaGXPtHP2sgsWz4HHdv
✅ Preview: https://structure-git-hcpe-1286-structure-tooltip-modifier-hashicorp.vercel.app
This adds a new
tooltip
modifier to Structure. This is based of what is currently in Consul which is also based on tippy.jsWhat was added:
tooltip
modifiertooltip
Storybook documentation (new Modifiers section was added to left nav)table helper (.pdsTable
) was added (not sure if we want this? I did this so I can use this for documentation to display the tooltip in a table since that is how it will be used right now in Network Peering and Route Table lists)https://user-images.githubusercontent.com/7906064/122600167-3f0abb00-d024-11eb-8acd-c08ee8c7c2c6.mp4