Releases: atomiks/tippyjs-react
v4.0.2
v4.0.1
v4.0.0
Tippy 6 + Popper 2 + Headless rendering support 🎉
NOTE: I have removed the .
from the scoped organization due to issues with some shells, please remove @tippy.js/react
and install the latest version:
npm i @tippyjs/react
yarn add @tippyjs/react
Breaking
- 🔴 Deleted
<TippySingleton />
- 🔴
useSingleton
API changed (see docs) - 🔴
enabled
is nowdisabled
(inverted logic) - 🔴
tippy.js@6
upgrade (see migration guide) - 🔴
props.hideOnClick
is always false ifvisible
is specified
v4.0.0-alpha.4
Breaking
🔴props.hideOnClick
is always false
if visible
is specified
Fixes
- (useSingleton):
overrides
dependency - (useSingleton): memo the return value
v4.0.0-alpha.1
Fixes
headless
import imports fromtippy.js/headless
useSingleton
API changed to support headless rendering
v4.0.0-alpha.0
Tippy 6 + Popper 2 + Headless rendering support 🎉
NOTE: I have removed the .
from the scoped organization due to issues with some shells, please remove @tippy.js/react
and install the latest version:
npm i @tippyjs/react
yarn add @tippyjs/react
Breaking
- 🔴 Deleted
<TippySingleton />
- 🔴
useSingleton
API changed (see docs) - 🔴
enabled
is nowdisabled
(inverted logic) - 🔴
tippy.js@6
upgrade (see migration guide)
v3.1.1
v3.1.0
v3.0.1
v3.0.0
Breaking changes
-
Upgraded from
tippy.js@4
totippy.js@5
. Read the migration guide for information. View the release notes as well! -
CSS is not injected automatically anymore, instead, import the CSS:
import Tippy from '@tippy.js/react';
import 'tippy.js/dist/tippy.css';
-
<TippyGroup />
was replaced with<TippySingleton />
. You should pass all the non-content
props to<TippySingleton />
, with each<Tippy />
child havingcontent
props. -
Deprecated
isVisible
/isEnabled
props removed – usevisible
andenabled
Features
plugins
prop to use new plugins from core:
import Tippy from '@tippy.js/react';
import {followCursor} from 'tippy.js';
import 'tippy.js/dist/tippy.css';
function App() {
return (
<Tippy content="Tooltip" followCursor={true} plugins={[followCursor]}>
<button />
</Tippy>
);
}