Bump tippy.js from 4.3.5 to 5.0.0 in /webapp
Created by: Tirokk
Authored by dependabot-preview[bot] Closed
Bumps tippy.js from 4.3.5 to 5.0.0.
Release notes
Sourced from tippy.js's releases.
v5.0.0
View migration guide from v4 to v5
Goals
- Improve developer experience with warnings without bloating production bundle size
- Massively reduce core size and make the library more tree shakeable
- Allow new feature additions to be added separately without increasing bundle size (addons & plugins system)
- Improve naming consistency and usage
Highlights
🌳 Core size has decreasedThe library is now tree shakeable, allowing you to import and use only the parts you need.
⬇ ️ 30%+ smaller download size⬇ ️ 50%+ smaller parse size⬇ ️ 60%+ smaller core CSS + smaller external animation files
👷 Better developer experienceThere is now a DEV-only messaging system to help you when things go wrong.
🔥 Animation improvementsThere is a new
/animations
folder (like/themes
) and creating custom animations is a smoother experience. Additionally, there is new documentation about fully dynamic transitions of a tippy element's dimensions, and work is being done to create an official API for it.🤩 Plenty of new features
- New
touch: ["hold", delay]
prop (for long press behavior)- New
arrow: string | SVGElement
values to use your own shape- New
createSingleton
addon, supersedesgroup()
for smooth transitions- New
sticky
behavior to checkreference
orpopper
rects (or both)- New
inlinePositioning
prop supports better inline element positioning (further behavior options to come)
🔌 Plugins APIAllows you to extend functionality of tippy instances and create your own props.
♿ Improved accessibility out of the boxInteractive tippys are now accessible by default, and DEV warnings will let you know if there is an accessibility problem.
🐞 Subtle behavioral bugs fixed and improvements made... (truncated)
animateFill: true
is no longer default, so the shape cut off issue is not present with large content unless you intentionally use it- hideOnClick uses
mousedown
instead ofclick
- Calling
.disable()
will hide an instance if it's currently visible- Updating content while hovering over an interactive element will not break the mouseleave to hide it
Commits
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) -
@dependabot use these labels
will set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewers
will set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assignees
will set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestone
will set the current milestone as the default for future PRs for this repo and language -
@dependabot badge me
will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot dashboard:
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Finally, you can contact us by mentioning @dependabot.