Releases: bsidelinger912/react-tooltip-lite
Add Distance Prop
Adds the distance prop which overrides how far the tip is from target. Also fixed syntax errors in typings file.
Compound directions
Add direction modifiers for compound directions such as "top-start" and "left-end".
This also adds a typings file and fixes a few small bugs.
Fix tipContentHover information in README
Small edit to the docs.
Updates docs in README
Adds entries for README for "tipContentHover" and "hoverDelay" props.
Allow hovering and clicking tooltip content
This adds a new prop "tipContentHover" that enables hovering over the tooltip content for links and copyable content in the tooltip.
Upgrade react-minimalist-portal to support SSR
v1.4.2 1.4.2
Add props control
If passed, this overrides any hover state and explicitly opens/closes the tip with an "isOpen" prop.
Switch to react-minimalist-portal
This switches from the custom Portal implementation to react-minimalist-portal which has support for passing context into the portal. It also switches to using yarn and confirms support for react 16 as well as 15.
prop-types package in Portal component
I had previously added the prop-types package in index.jsx, but forgot to add it in Portal.jsx, thus react still threw a warning about the deprecation. This fixes that.
Default Props
Adds a "defaultColors" prop that uses black with white text for usage without a style sheet, updates to docs and code pen demo.