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/reactBreaking
- 🔴 Deleted
<TippySingleton /> - 🔴
useSingletonAPI changed (see docs) - 🔴
enabledis nowdisabled(inverted logic) - 🔴
tippy.js@6upgrade (see migration guide) - 🔴
props.hideOnClickis always false ifvisibleis specified
v4.0.0-alpha.4
Breaking
🔴props.hideOnClick is always false if visible is specified
Fixes
- (useSingleton):
overridesdependency - (useSingleton): memo the return value
v4.0.0-alpha.1
Fixes
headlessimport imports fromtippy.js/headlessuseSingletonAPI 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/reactBreaking
- 🔴 Deleted
<TippySingleton /> - 🔴
useSingletonAPI changed (see docs) - 🔴
enabledis nowdisabled(inverted logic) - 🔴
tippy.js@6upgrade (see migration guide)
v3.1.1
v3.1.0
v3.0.1
v3.0.0
Breaking changes
-
Upgraded from
tippy.js@4totippy.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-contentprops to<TippySingleton />, with each<Tippy />child havingcontentprops. -
Deprecated
isVisible/isEnabledprops removed – usevisibleandenabled
Features
pluginsprop 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>
);
}