Releases: atomiks/tippyjs-react
Releases · atomiks/tippyjs-react
v2.2.3
27 Aug 08:59
Compare
Sorry, something went wrong.
No results found
Fixes
core: Fix setting triggerTarget with a ref doesn't actually set Tippy instance's option (#117 )
perf: Fix handling dynamic children memory with <TippyGroup />
internal: Fix useRef instead of useState with useInstance hook to hold imperative values
v2.2.2
19 Jun 15:50
Compare
Sorry, something went wrong.
No results found
Fixes
pkg: Move @testing-library/react to devDependencies
pkg: Upgrade tippy.js
perf: Improve first mount render performance
perf: Reduce parsed size slightly using $this/useImperativeInstance technique
v2.2.1
13 Jun 14:31
Compare
Sorry, something went wrong.
No results found
Fixes
Fix content and children props type + wrap propTypes assignment in NODE_ENV check (#96 )
Re-export tippy core in typings file (#100 )
Account for children update (#104 )
v2.2.0
08 May 19:43
Compare
Sorry, something went wrong.
No results found
Features
Export underlying native tippy function from this package (so you don't need to reference the implicit dependency path)
Fixes
Make <TippyGroup /> updateable (#78 )
Deprecations
isVisible / isEnabled renamed to visible / enabled for consistency with native tippy.js props since they don't use that convention + consistent with boolean HTML attributes
v2.1.2
26 Mar 19:01
Compare
Sorry, something went wrong.
No results found
Fixes
Remove need for explicit multiple prop (#72 )
Use unminified code in "main" field
Force tippy.js^4.2.1 for set() optimization when re-rendering
v2.1.1
24 Feb 22:48
Compare
Sorry, something went wrong.
No results found
Fixes
Fix useLayoutEffect warning on the server (#59 )
v2.1.0
23 Feb 05:42
Compare
Sorry, something went wrong.
No results found
Features
Added className prop as an alternative to theme (#56 )
Fixes
Switch from useEffect to useLayoutEffect, so that mutations done to the tippy element are done before first paint. There were sometimes flickers when updating content and other props.
v2.0.0
09 Feb 10:55
Compare
Sorry, something went wrong.
No results found
Install
npm i @tippy.js/react@latest
Features
Upgraded to tippy.js@4, see notes here: https://github.com/atomiks/tippyjs/releases/tag/v4.0.0
Ability to nest the components to add multiple tippys to a single reference element
<TippyGroup /> wrapper
Fixes findDOMNode() deprecation warning in Strict Mode
No need to import CSS now, it's automatic
Breaking changes
React 16.8 peer dependency
Component children must use forwardRef()
Remove your CSS import import 'tippy.js/dist/tippy.css'; - it's done automatically now
tippy.js@4 has its own breaking changes, such as import paths for themes. Make sure to read its changelog too.
Note: this release is v2.0.2 on npm
v1.1.1
24 Nov 02:55
Compare
Sorry, something went wrong.
No results found
Fixes
[TypeScript] Import React as module object (#24 )
Use tippy.js^3.2.0 in package.json as that is the min tippy.js version required for the new isVisible prop to work reliably.
v1.1.0
16 Nov 05:46
Compare
Sorry, something went wrong.
No results found
Features
Add TypeScript types (#18 )
Add isVisible and isEnabled props to declaratively control Tippy instance methods (#20 )