Skip to content

Commit 28bd015

Browse files
fix: bump react-tooltip from 4.5.1 to 5.27.0 in /typescript (#2104)
Bumps [react-tooltip](https://github.com/ReactTooltip/react-tooltip) from 4.5.1 to 5.27.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/ReactTooltip/react-tooltip/releases">react-tooltip's releases</a>.</em></p> <blockquote> <h2>v5.27.0</h2> <p>If you like ReactTooltip, please give the project a star on GitHub 🌟</p> <h2>What's Changed</h2> <ul> <li>feat: add beta release workflow by <a href="https://github.com/danielbarion"><code>@​danielbarion</code></a> in <a href="https://redirect.github.com/ReactTooltip/react-tooltip/pull/1148">ReactTooltip/react-tooltip#1148</a></li> <li>chore: remove dopt from sponsors list by <a href="https://github.com/danielbarion"><code>@​danielbarion</code></a> in <a href="https://redirect.github.com/ReactTooltip/react-tooltip/pull/1196">ReactTooltip/react-tooltip#1196</a></li> <li>Add <code>mouseover</code> and <code>mouseout</code> as default events by <a href="https://github.com/gabrieljablonski"><code>@​gabrieljablonski</code></a> in <a href="https://redirect.github.com/ReactTooltip/react-tooltip/pull/1194">ReactTooltip/react-tooltip#1194</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/ReactTooltip/react-tooltip/compare/v5.26.4...v5.27.0">https://github.com/ReactTooltip/react-tooltip/compare/v5.26.4...v5.27.0</a></p> <h2>v5.26.4</h2> <p>If you like ReactTooltip, please give the project a star on GitHub 🌟</p> <h2>What's Changed</h2> <ul> <li>Escape single quotes from <code>data-tooltip-id</code> selector by <a href="https://github.com/gabrieljablonski"><code>@​gabrieljablonski</code></a> in <a href="https://redirect.github.com/ReactTooltip/react-tooltip/pull/1187">ReactTooltip/react-tooltip#1187</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/ReactTooltip/react-tooltip/compare/v5.26.3...v5.26.4">https://github.com/ReactTooltip/react-tooltip/compare/v5.26.3...v5.26.4</a></p> <h2>v5.26.3</h2> <p>If you like ReactTooltip, please give the project a star on GitHub 🌟</p> <h2>What's Changed</h2> <ul> <li>Fix testing and minor refactorings by <a href="https://github.com/gabrieljablonski"><code>@​gabrieljablonski</code></a> in <a href="https://redirect.github.com/ReactTooltip/react-tooltip/pull/1171">ReactTooltip/react-tooltip#1171</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/ReactTooltip/react-tooltip/compare/v5.26.2...v5.26.3">https://github.com/ReactTooltip/react-tooltip/compare/v5.26.2...v5.26.3</a></p> <h2>v5.26.2</h2> <p>If you like ReactTooltip, please give the project a star on GitHub 🌟</p> <h2>What's Changed</h2> <ul> <li>Improve state handling of computed position by <a href="https://github.com/gabrieljablonski"><code>@​gabrieljablonski</code></a> in <a href="https://redirect.github.com/ReactTooltip/react-tooltip/pull/1169">ReactTooltip/react-tooltip#1169</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/ReactTooltip/react-tooltip/compare/v5.26.1...v5.26.2">https://github.com/ReactTooltip/react-tooltip/compare/v5.26.1...v5.26.2</a></p> <h2>v5.26.1</h2> <p>If you like ReactTooltip, please give the project a star on GitHub 🌟</p> <h2>What's Changed</h2> <ul> <li>Improve <code>delayShow</code>/<code>delayHide</code> behavior by <a href="https://github.com/gabrieljablonski"><code>@​gabrieljablonski</code></a> in <a href="https://redirect.github.com/ReactTooltip/react-tooltip/pull/1168">ReactTooltip/react-tooltip#1168</a></li> <li>Check if target is connected before handling click outside by <a href="https://github.com/gabrieljablonski"><code>@​gabrieljablonski</code></a> in <a href="https://redirect.github.com/ReactTooltip/react-tooltip/pull/1170">ReactTooltip/react-tooltip#1170</a></li> <li>Use content from <code>activeAnchor</code> on <code>render()</code> to avoid desync from <code>content</code> prop by <a href="https://github.com/gabrieljablonski"><code>@​gabrieljablonski</code></a> in <a href="https://redirect.github.com/ReactTooltip/react-tooltip/pull/1172">ReactTooltip/react-tooltip#1172</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/ReactTooltip/react-tooltip/compare/v5.26.0...v5.26.1">https://github.com/ReactTooltip/react-tooltip/compare/v5.26.0...v5.26.1</a></p> <h2>v5.26.0</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/ReactTooltip/react-tooltip/blob/master/CHANGELOG.md">react-tooltip's changelog</a>.</em></p> <blockquote> <h1>This CHANGELOG is related to version 4 of ReactTooltip</h1> <p>We created the entire project from scratch to build v5, the flow was changed and now the changelog of version 5 is in <a href="https://github.com/ReactTooltip/react-tooltip/releases">Github Releases</a>.</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/ReactTooltip/react-tooltip/commit/d23da63efb705262ab6ca6587ee71a39282f9b89"><code>d23da63</code></a> chore(version): v5.27.0</li> <li><a href="https://github.com/ReactTooltip/react-tooltip/commit/193b3b48ff89dd3c7e46f3fb715b90a9156d37a9"><code>193b3b4</code></a> docs: switch to <code>mouseover</code> and <code>mouseout</code> as default events</li> <li><a href="https://github.com/ReactTooltip/react-tooltip/commit/f85c6d8cb14a6b700c810ff47ffeef7fa0fbf54e"><code>f85c6d8</code></a> feat: switch to <code>mouseover</code> and <code>mouseout</code> as default events</li> <li><a href="https://github.com/ReactTooltip/react-tooltip/commit/2bc225ad52f57b56943ae0dbec8dfd3903cc123a"><code>2bc225a</code></a> docs: add <code>mouseover</code> and <code>mouseout</code> as default events</li> <li><a href="https://github.com/ReactTooltip/react-tooltip/commit/f040c6e55704ea17a6af3ed880dad0f32cc37296"><code>f040c6e</code></a> feat: add <code>mouseover</code> and <code>mouseout</code> as default events</li> <li><a href="https://github.com/ReactTooltip/react-tooltip/commit/c13bde2ccd87a6f5f6ee3df6ed263bd7128cc9cf"><code>c13bde2</code></a> Merge pull request <a href="https://redirect.github.com/ReactTooltip/react-tooltip/issues/1196">#1196</a> from ReactTooltip/chore/update-sponsors</li> <li><a href="https://github.com/ReactTooltip/react-tooltip/commit/b07c321817a9972d32f7fe954be2b18ffad2d1f6"><code>b07c321</code></a> chore: remove dopt from sponsors list</li> <li><a href="https://github.com/ReactTooltip/react-tooltip/commit/e59397cb1272e8375e930867023e4b42368351f0"><code>e59397c</code></a> Merge pull request <a href="https://redirect.github.com/ReactTooltip/react-tooltip/issues/1148">#1148</a> from ReactTooltip/feat/automated-beta-releases</li> <li><a href="https://github.com/ReactTooltip/react-tooltip/commit/b47e870a6511ad5ffef40b50bc63c0920743ce61"><code>b47e870</code></a> chore: apply changes tested on auto-beta-releases repository</li> <li><a href="https://github.com/ReactTooltip/react-tooltip/commit/102cc1919cdbdea5ea85b006b2369473d7abd3b2"><code>102cc19</code></a> chore: bump version to v5.25.2-beta.1148.5</li> <li>Additional commits viewable in <a href="https://github.com/ReactTooltip/react-tooltip/compare/v4.5.1...v5.27.0">compare view</a></li> </ul> </details> <details> <summary>Maintainer changes</summary> <p>This version was pushed to npm by <a href="https://www.npmjs.com/~jablonski">jablonski</a>, a new releaser for react-tooltip since your current version.</p> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=react-tooltip&package-manager=npm_and_yarn&previous-version=4.5.1&new-version=5.27.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@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) </details> --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: t0oF <[email protected]> Co-authored-by: Christophe Winkler <[email protected]>
1 parent cb6fce6 commit 28bd015

File tree

4 files changed

+19
-25
lines changed

4 files changed

+19
-25
lines changed

typescript/package-lock.json

+14-20
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

typescript/packages/well-completions-plot/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"license": "MPL-2.0",
2323
"dependencies": {
2424
"react-resize-detector": "^10.0.1",
25-
"react-tooltip": "^4.2.21"
25+
"react-tooltip": "^5.27.0"
2626
},
2727
"volta": {
2828
"node": "18.19.0"

typescript/packages/well-completions-plot/src/WellCompletionsPlot.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ export const WellCompletionsPlot: React.FC<WellCompletionsPlotProps> =
3939
ref={ref as React.LegacyRef<HTMLDivElement>}
4040
id={props.id}
4141
className={"WellCompletionsPlot"}
42-
data-tip
43-
data-for="plot-tooltip"
42+
data-tooltip-id="plot-tooltip"
43+
data-tooltip-float={true}
4444
>
4545
{layout && props.plotData && (
4646
<svg

typescript/packages/well-completions-plot/src/components/TooltipProvider.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { PropsWithChildren } from "react";
22
import React from "react";
3-
import ReactTooltip from "react-tooltip";
3+
import { Tooltip as ReactTooltip } from "react-tooltip";
44

55
const TooltipContext = React.createContext<{
66
setContent: React.Dispatch<React.SetStateAction<React.FC | null>>;
@@ -35,7 +35,7 @@ const TooltipProvider: React.FC<PropsWithChildren<unknown>> = ({
3535
{
3636
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
3737
// @ts-expect-error
38-
<ReactTooltip id="plot-tooltip" getContent={() => Content} />
38+
<ReactTooltip id="plot-tooltip" content={() => Content} />
3939
}
4040
</TooltipContext.Provider>
4141
);

0 commit comments

Comments
 (0)