-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update @elastic/ml-ui dependencies (main) #204210
Conversation
Pinging @elastic/ml-ui (:ml) |
@elasticmachine merge upstream |
abce04d
to
70fc1dc
Compare
b9b22d1
to
fcdf1e8
Compare
buildkite test this |
@darnautov @peteharverson CI does not automatically run on renovate PRs in the Kibana repo to reduce CI costs. Commenting with |
fcdf1e8
to
0de373c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested changes in f6ce007 inside ML and Dashboard embeddables and LGTM. Didn't see any regressions.
For reference, I used this migration guide to update the tooltips: https://github.com/mohsinulhaq/react-popper-tooltip/blob/HEAD/migrating.md |
/ci |
💔 Build Failed
Failed CI StepsHistory
|
c6deb67
to
d1a9c5d
Compare
d1a9c5d
to
25b70e2
Compare
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
25b70e2
to
2e3e681
Compare
/ci |
Starting backport for target branches: 7.17, 8.16, 8.17, 8.x https://github.com/elastic/kibana/actions/runs/12907593394 |
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [@types/he](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/he) ([source](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/he)) | devDependencies | minor | [`^1.1.1` -> `^1.2.3`](https://renovatebot.com/diffs/npm/@types%2fhe/1.1.1/1.2.3) | | [react-popper-tooltip](https://github.com/mohsinulhaq/react-popper-tooltip) | dependencies | major | [`^3.1.1` -> `^4.4.2`](https://renovatebot.com/diffs/npm/react-popper-tooltip/3.1.1/4.4.2) | --- ### Release Notes <details> <summary>mohsinulhaq/react-popper-tooltip (react-popper-tooltip)</summary> ### [`v4.4.2`](https://github.com/mohsinulhaq/react-popper-tooltip/releases/tag/v4.4.2): Fix missing hover check in interactive mode [Compare Source](https://github.com/mohsinulhaq/react-popper-tooltip/compare/v4.4.1...v4.4.2) Thanks, [@&elastic#8203;cgsdev0](https://github.com/cgsdev0) [https://github.com/mohsinulhaq/react-popper-tooltip/pull/156](https://github.com/mohsinulhaq/react-popper-tooltip/pull/156) ### [`v4.4.1`](https://github.com/mohsinulhaq/react-popper-tooltip/releases/tag/v4.4.1): Fix unintentional dependency change [Compare Source](https://github.com/mohsinulhaq/react-popper-tooltip/compare/v4.4.0...v4.4.1) Thanks [@&elastic#8203;JohnDaly](https://github.com/JohnDaly) ### [`v4.4.0`](https://github.com/mohsinulhaq/react-popper-tooltip/releases/tag/v4.4.0): Add double click trigger, improve styles declaration, ability to change default tooltip text color [https://github.com/mohsinulhaq/react-popper-tooltip/pull/148](https://github.com/mohsinulhaq/react-popper-tooltip/pull/148) [https://github.com/mohsinulhaq/react-popper-tooltip/pull/149](https://github.com/mohsinulhaq/react-popper-tooltip/pull/149) [https://github.com/mohsinulhaq/react-popper-tooltip/pull/154](https://github.com/mohsinulhaq/react-popper-tooltip/pull/154) ### [`v4.3.0`](https://github.com/mohsinulhaq/react-popper-tooltip/releases/tag/v4.3.0): Add Shadow DOM support [Compare Source](https://github.com/mohsinulhaq/react-popper-tooltip/compare/v4.2.0...v4.3.0) As pointed out by [https://github.com/mohsinulhaq/react-popper-tooltip/issues/133](https://github.com/mohsinulhaq/react-popper-tooltip/issues/133) (thanks [@&elastic#8203;shovalk](https://github.com/shovalk)), interactions with the tooltip when rendered using Shadow DOM wasn't working properly. This release adds support for that by using [Event.composedPath](https://developer.mozilla.org/en-US/docs/Web/API/Event/composedPath) to get event target, with `event.target` as fallback for IE11. ### [`v4.2.0`](https://github.com/mohsinulhaq/react-popper-tooltip/releases/tag/v4.2.0): Revert to mouseenter/mouseleave hover mechanic [Compare Source](https://github.com/mohsinulhaq/react-popper-tooltip/compare/v4.1.2...v4.2.0) `v4.1.0` introduced a new way of handling hover trigger, which had a couple of improvements over the old one, but unintentionally led to another set of serious issues. We have now reverted to the older hover mechanic while also solving the older problems by setting `pointer-events: none` on the arrow as well as the non-interactive tooltip. ### [`v4.1.2`](https://github.com/mohsinulhaq/react-popper-tooltip/releases/tag/v4.1.2): Hover trigger bug fixes introduced in v4.1.0 🐛 [Compare Source](https://github.com/mohsinulhaq/react-popper-tooltip/compare/v4.1.1...v4.1.2) Fixes: [https://github.com/mohsinulhaq/react-popper-tooltip/issues/117](https://github.com/mohsinulhaq/react-popper-tooltip/issues/117) & [https://github.com/mohsinulhaq/react-popper-tooltip/issues/118](https://github.com/mohsinulhaq/react-popper-tooltip/issues/118) ### [`v4.1.1`](https://github.com/mohsinulhaq/react-popper-tooltip/compare/v4.1.0...v4.1.1) [Compare Source](https://github.com/mohsinulhaq/react-popper-tooltip/compare/v4.1.0...v4.1.1) ### [`v4.1.0`](https://github.com/mohsinulhaq/react-popper-tooltip/releases/tag/v4.1.0): An improved and more resilient hover trigger! Thanks to the contribution by [@&elastic#8203;czabaj](https://github.com/czabaj) 👑, the hover trigger is now improved quite a bit, accounting for the gap between the trigger and the tooltip and also fixing a glitch in cases where tooltip and trigger overlap. ### [`v4.0.0`](https://github.com/mohsinulhaq/react-popper-tooltip/releases/tag/v4.0.0): usePopperTooltip hook! 🪝 [Compare Source](https://github.com/mohsinulhaq/react-popper-tooltip/compare/v3.1.1...v4.0.0) ### Release notes With **react-popper**, used under the hood of **react-popper-tooltip**, introducing the `usePopper` hook in the last major update, we're now releasing the hook version of our own library as well - `usePopperTooltip`. The hook provides many new features and flexibility and allows for implementations not possible before. #### Breaking changes This release onwards, the hook is the only way of creating tooltips. This version drops the support of the `TooltipTrigger` render prop component. If you want to upgrade and still keep using render prop API, refer to our example section to implement the legacy API with our new hook. We wrote this version from scratch. Although thoroughly tested, it can still possibly contain some regressions. Please, report any problems using the [issues link](https://github.com/mohsinulhaq/react-popper-tooltip/issues). - For the sake of consistency, we made some changes to the props names. - `defaultTooltipShown` is renamed to `defaultVisible` - `tooltipShown` is renamed to `visible` - `onVisibilityChange` is renamed to `onVisibleChange` - `closeOnReferenceHidden` is renamed to `closeOnTriggerHidden` and the default value changed from `true` to `false` - The default placement is now `bottom` instead of `right`, in line with react-popper defaults. - The string value `"none"` for the prop `trigger` is replaced with `null`. - The default CSS has a few positioning and naming changes. - Previously, when a user hovered the tooltip, it stayed open to allow the user to interact with the tooltip's content. Now the tooltip closes as soon as the cursor leaves the trigger element. The new option `interactive` has been added to configure this behavior. - `getTriggerProps` and `arrowRef` are no longer needed. </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyI6bWwiLCJUZWFtOk1MIiwiYmFja3BvcnQ6YWxsLW9wZW4iLCJyZWxlYXNlX25vdGU6c2tpcCJdfQ==--> Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com> (cherry picked from commit 71b34a9)
💔 Some backports could not be created
Note: Successful backport PRs will be merged automatically after passing CI. Manual backportTo create the backport manually run:
Questions ?Please refer to the Backport tool documentation |
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [@types/he](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/he) ([source](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/he)) | devDependencies | minor | [`^1.1.1` -> `^1.2.3`](https://renovatebot.com/diffs/npm/@types%2fhe/1.1.1/1.2.3) | | [react-popper-tooltip](https://github.com/mohsinulhaq/react-popper-tooltip) | dependencies | major | [`^3.1.1` -> `^4.4.2`](https://renovatebot.com/diffs/npm/react-popper-tooltip/3.1.1/4.4.2) | --- ### Release Notes <details> <summary>mohsinulhaq/react-popper-tooltip (react-popper-tooltip)</summary> ### [`v4.4.2`](https://github.com/mohsinulhaq/react-popper-tooltip/releases/tag/v4.4.2): Fix missing hover check in interactive mode [Compare Source](https://github.com/mohsinulhaq/react-popper-tooltip/compare/v4.4.1...v4.4.2) Thanks, [@&elastic#8203;cgsdev0](https://github.com/cgsdev0) [https://github.com/mohsinulhaq/react-popper-tooltip/pull/156](https://github.com/mohsinulhaq/react-popper-tooltip/pull/156) ### [`v4.4.1`](https://github.com/mohsinulhaq/react-popper-tooltip/releases/tag/v4.4.1): Fix unintentional dependency change [Compare Source](https://github.com/mohsinulhaq/react-popper-tooltip/compare/v4.4.0...v4.4.1) Thanks [@&elastic#8203;JohnDaly](https://github.com/JohnDaly) ### [`v4.4.0`](https://github.com/mohsinulhaq/react-popper-tooltip/releases/tag/v4.4.0): Add double click trigger, improve styles declaration, ability to change default tooltip text color [https://github.com/mohsinulhaq/react-popper-tooltip/pull/148](https://github.com/mohsinulhaq/react-popper-tooltip/pull/148) [https://github.com/mohsinulhaq/react-popper-tooltip/pull/149](https://github.com/mohsinulhaq/react-popper-tooltip/pull/149) [https://github.com/mohsinulhaq/react-popper-tooltip/pull/154](https://github.com/mohsinulhaq/react-popper-tooltip/pull/154) ### [`v4.3.0`](https://github.com/mohsinulhaq/react-popper-tooltip/releases/tag/v4.3.0): Add Shadow DOM support [Compare Source](https://github.com/mohsinulhaq/react-popper-tooltip/compare/v4.2.0...v4.3.0) As pointed out by [https://github.com/mohsinulhaq/react-popper-tooltip/issues/133](https://github.com/mohsinulhaq/react-popper-tooltip/issues/133) (thanks [@&elastic#8203;shovalk](https://github.com/shovalk)), interactions with the tooltip when rendered using Shadow DOM wasn't working properly. This release adds support for that by using [Event.composedPath](https://developer.mozilla.org/en-US/docs/Web/API/Event/composedPath) to get event target, with `event.target` as fallback for IE11. ### [`v4.2.0`](https://github.com/mohsinulhaq/react-popper-tooltip/releases/tag/v4.2.0): Revert to mouseenter/mouseleave hover mechanic [Compare Source](https://github.com/mohsinulhaq/react-popper-tooltip/compare/v4.1.2...v4.2.0) `v4.1.0` introduced a new way of handling hover trigger, which had a couple of improvements over the old one, but unintentionally led to another set of serious issues. We have now reverted to the older hover mechanic while also solving the older problems by setting `pointer-events: none` on the arrow as well as the non-interactive tooltip. ### [`v4.1.2`](https://github.com/mohsinulhaq/react-popper-tooltip/releases/tag/v4.1.2): Hover trigger bug fixes introduced in v4.1.0 🐛 [Compare Source](https://github.com/mohsinulhaq/react-popper-tooltip/compare/v4.1.1...v4.1.2) Fixes: [https://github.com/mohsinulhaq/react-popper-tooltip/issues/117](https://github.com/mohsinulhaq/react-popper-tooltip/issues/117) & [https://github.com/mohsinulhaq/react-popper-tooltip/issues/118](https://github.com/mohsinulhaq/react-popper-tooltip/issues/118) ### [`v4.1.1`](https://github.com/mohsinulhaq/react-popper-tooltip/compare/v4.1.0...v4.1.1) [Compare Source](https://github.com/mohsinulhaq/react-popper-tooltip/compare/v4.1.0...v4.1.1) ### [`v4.1.0`](https://github.com/mohsinulhaq/react-popper-tooltip/releases/tag/v4.1.0): An improved and more resilient hover trigger! Thanks to the contribution by [@&elastic#8203;czabaj](https://github.com/czabaj) 👑, the hover trigger is now improved quite a bit, accounting for the gap between the trigger and the tooltip and also fixing a glitch in cases where tooltip and trigger overlap. ### [`v4.0.0`](https://github.com/mohsinulhaq/react-popper-tooltip/releases/tag/v4.0.0): usePopperTooltip hook! 🪝 [Compare Source](https://github.com/mohsinulhaq/react-popper-tooltip/compare/v3.1.1...v4.0.0) ### Release notes With **react-popper**, used under the hood of **react-popper-tooltip**, introducing the `usePopper` hook in the last major update, we're now releasing the hook version of our own library as well - `usePopperTooltip`. The hook provides many new features and flexibility and allows for implementations not possible before. #### Breaking changes This release onwards, the hook is the only way of creating tooltips. This version drops the support of the `TooltipTrigger` render prop component. If you want to upgrade and still keep using render prop API, refer to our example section to implement the legacy API with our new hook. We wrote this version from scratch. Although thoroughly tested, it can still possibly contain some regressions. Please, report any problems using the [issues link](https://github.com/mohsinulhaq/react-popper-tooltip/issues). - For the sake of consistency, we made some changes to the props names. - `defaultTooltipShown` is renamed to `defaultVisible` - `tooltipShown` is renamed to `visible` - `onVisibilityChange` is renamed to `onVisibleChange` - `closeOnReferenceHidden` is renamed to `closeOnTriggerHidden` and the default value changed from `true` to `false` - The default placement is now `bottom` instead of `right`, in line with react-popper defaults. - The string value `"none"` for the prop `trigger` is replaced with `null`. - The default CSS has a few positioning and naming changes. - Previously, when a user hovered the tooltip, it stayed open to allow the user to interact with the tooltip's content. Now the tooltip closes as soon as the cursor leaves the trigger element. The new option `interactive` has been added to configure this behavior. - `getTriggerProps` and `arrowRef` are no longer needed. </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyI6bWwiLCJUZWFtOk1MIiwiYmFja3BvcnQ6YWxsLW9wZW4iLCJyZWxlYXNlX25vdGU6c2tpcCJdfQ==--> Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com> (cherry picked from commit 71b34a9) # Conflicts: # package.json
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [@types/he](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/he) ([source](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/he)) | devDependencies | minor | [`^1.1.1` -> `^1.2.3`](https://renovatebot.com/diffs/npm/@types%2fhe/1.1.1/1.2.3) | | [react-popper-tooltip](https://github.com/mohsinulhaq/react-popper-tooltip) | dependencies | major | [`^3.1.1` -> `^4.4.2`](https://renovatebot.com/diffs/npm/react-popper-tooltip/3.1.1/4.4.2) | --- ### Release Notes <details> <summary>mohsinulhaq/react-popper-tooltip (react-popper-tooltip)</summary> ### [`v4.4.2`](https://github.com/mohsinulhaq/react-popper-tooltip/releases/tag/v4.4.2): Fix missing hover check in interactive mode [Compare Source](https://github.com/mohsinulhaq/react-popper-tooltip/compare/v4.4.1...v4.4.2) Thanks, [@&elastic#8203;cgsdev0](https://github.com/cgsdev0) [https://github.com/mohsinulhaq/react-popper-tooltip/pull/156](https://github.com/mohsinulhaq/react-popper-tooltip/pull/156) ### [`v4.4.1`](https://github.com/mohsinulhaq/react-popper-tooltip/releases/tag/v4.4.1): Fix unintentional dependency change [Compare Source](https://github.com/mohsinulhaq/react-popper-tooltip/compare/v4.4.0...v4.4.1) Thanks [@&elastic#8203;JohnDaly](https://github.com/JohnDaly) ### [`v4.4.0`](https://github.com/mohsinulhaq/react-popper-tooltip/releases/tag/v4.4.0): Add double click trigger, improve styles declaration, ability to change default tooltip text color [https://github.com/mohsinulhaq/react-popper-tooltip/pull/148](https://github.com/mohsinulhaq/react-popper-tooltip/pull/148) [https://github.com/mohsinulhaq/react-popper-tooltip/pull/149](https://github.com/mohsinulhaq/react-popper-tooltip/pull/149) [https://github.com/mohsinulhaq/react-popper-tooltip/pull/154](https://github.com/mohsinulhaq/react-popper-tooltip/pull/154) ### [`v4.3.0`](https://github.com/mohsinulhaq/react-popper-tooltip/releases/tag/v4.3.0): Add Shadow DOM support [Compare Source](https://github.com/mohsinulhaq/react-popper-tooltip/compare/v4.2.0...v4.3.0) As pointed out by [https://github.com/mohsinulhaq/react-popper-tooltip/issues/133](https://github.com/mohsinulhaq/react-popper-tooltip/issues/133) (thanks [@&elastic#8203;shovalk](https://github.com/shovalk)), interactions with the tooltip when rendered using Shadow DOM wasn't working properly. This release adds support for that by using [Event.composedPath](https://developer.mozilla.org/en-US/docs/Web/API/Event/composedPath) to get event target, with `event.target` as fallback for IE11. ### [`v4.2.0`](https://github.com/mohsinulhaq/react-popper-tooltip/releases/tag/v4.2.0): Revert to mouseenter/mouseleave hover mechanic [Compare Source](https://github.com/mohsinulhaq/react-popper-tooltip/compare/v4.1.2...v4.2.0) `v4.1.0` introduced a new way of handling hover trigger, which had a couple of improvements over the old one, but unintentionally led to another set of serious issues. We have now reverted to the older hover mechanic while also solving the older problems by setting `pointer-events: none` on the arrow as well as the non-interactive tooltip. ### [`v4.1.2`](https://github.com/mohsinulhaq/react-popper-tooltip/releases/tag/v4.1.2): Hover trigger bug fixes introduced in v4.1.0 🐛 [Compare Source](https://github.com/mohsinulhaq/react-popper-tooltip/compare/v4.1.1...v4.1.2) Fixes: [https://github.com/mohsinulhaq/react-popper-tooltip/issues/117](https://github.com/mohsinulhaq/react-popper-tooltip/issues/117) & [https://github.com/mohsinulhaq/react-popper-tooltip/issues/118](https://github.com/mohsinulhaq/react-popper-tooltip/issues/118) ### [`v4.1.1`](https://github.com/mohsinulhaq/react-popper-tooltip/compare/v4.1.0...v4.1.1) [Compare Source](https://github.com/mohsinulhaq/react-popper-tooltip/compare/v4.1.0...v4.1.1) ### [`v4.1.0`](https://github.com/mohsinulhaq/react-popper-tooltip/releases/tag/v4.1.0): An improved and more resilient hover trigger! Thanks to the contribution by [@&elastic#8203;czabaj](https://github.com/czabaj) 👑, the hover trigger is now improved quite a bit, accounting for the gap between the trigger and the tooltip and also fixing a glitch in cases where tooltip and trigger overlap. ### [`v4.0.0`](https://github.com/mohsinulhaq/react-popper-tooltip/releases/tag/v4.0.0): usePopperTooltip hook! 🪝 [Compare Source](https://github.com/mohsinulhaq/react-popper-tooltip/compare/v3.1.1...v4.0.0) ### Release notes With **react-popper**, used under the hood of **react-popper-tooltip**, introducing the `usePopper` hook in the last major update, we're now releasing the hook version of our own library as well - `usePopperTooltip`. The hook provides many new features and flexibility and allows for implementations not possible before. #### Breaking changes This release onwards, the hook is the only way of creating tooltips. This version drops the support of the `TooltipTrigger` render prop component. If you want to upgrade and still keep using render prop API, refer to our example section to implement the legacy API with our new hook. We wrote this version from scratch. Although thoroughly tested, it can still possibly contain some regressions. Please, report any problems using the [issues link](https://github.com/mohsinulhaq/react-popper-tooltip/issues). - For the sake of consistency, we made some changes to the props names. - `defaultTooltipShown` is renamed to `defaultVisible` - `tooltipShown` is renamed to `visible` - `onVisibilityChange` is renamed to `onVisibleChange` - `closeOnReferenceHidden` is renamed to `closeOnTriggerHidden` and the default value changed from `true` to `false` - The default placement is now `bottom` instead of `right`, in line with react-popper defaults. - The string value `"none"` for the prop `trigger` is replaced with `null`. - The default CSS has a few positioning and naming changes. - Previously, when a user hovered the tooltip, it stayed open to allow the user to interact with the tooltip's content. Now the tooltip closes as soon as the cursor leaves the trigger element. The new option `interactive` has been added to configure this behavior. - `getTriggerProps` and `arrowRef` are no longer needed. </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyI6bWwiLCJUZWFtOk1MIiwiYmFja3BvcnQ6YWxsLW9wZW4iLCJyZWxlYXNlX25vdGU6c2tpcCJdfQ==--> Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com> (cherry picked from commit 71b34a9) # Conflicts: # package.json # x-pack/plugins/ml/public/application/components/chart_tooltip/chart_tooltip.tsx # yarn.lock
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [@types/he](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/he) ([source](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/he)) | devDependencies | minor | [`^1.1.1` -> `^1.2.3`](https://renovatebot.com/diffs/npm/@types%2fhe/1.1.1/1.2.3) | | [react-popper-tooltip](https://github.com/mohsinulhaq/react-popper-tooltip) | dependencies | major | [`^3.1.1` -> `^4.4.2`](https://renovatebot.com/diffs/npm/react-popper-tooltip/3.1.1/4.4.2) | --- ### Release Notes <details> <summary>mohsinulhaq/react-popper-tooltip (react-popper-tooltip)</summary> ### [`v4.4.2`](https://github.com/mohsinulhaq/react-popper-tooltip/releases/tag/v4.4.2): Fix missing hover check in interactive mode [Compare Source](https://github.com/mohsinulhaq/react-popper-tooltip/compare/v4.4.1...v4.4.2) Thanks, [@&elastic#8203;cgsdev0](https://github.com/cgsdev0) [https://github.com/mohsinulhaq/react-popper-tooltip/pull/156](https://github.com/mohsinulhaq/react-popper-tooltip/pull/156) ### [`v4.4.1`](https://github.com/mohsinulhaq/react-popper-tooltip/releases/tag/v4.4.1): Fix unintentional dependency change [Compare Source](https://github.com/mohsinulhaq/react-popper-tooltip/compare/v4.4.0...v4.4.1) Thanks [@&elastic#8203;JohnDaly](https://github.com/JohnDaly) ### [`v4.4.0`](https://github.com/mohsinulhaq/react-popper-tooltip/releases/tag/v4.4.0): Add double click trigger, improve styles declaration, ability to change default tooltip text color [https://github.com/mohsinulhaq/react-popper-tooltip/pull/148](https://github.com/mohsinulhaq/react-popper-tooltip/pull/148) [https://github.com/mohsinulhaq/react-popper-tooltip/pull/149](https://github.com/mohsinulhaq/react-popper-tooltip/pull/149) [https://github.com/mohsinulhaq/react-popper-tooltip/pull/154](https://github.com/mohsinulhaq/react-popper-tooltip/pull/154) ### [`v4.3.0`](https://github.com/mohsinulhaq/react-popper-tooltip/releases/tag/v4.3.0): Add Shadow DOM support [Compare Source](https://github.com/mohsinulhaq/react-popper-tooltip/compare/v4.2.0...v4.3.0) As pointed out by [https://github.com/mohsinulhaq/react-popper-tooltip/issues/133](https://github.com/mohsinulhaq/react-popper-tooltip/issues/133) (thanks [@&elastic#8203;shovalk](https://github.com/shovalk)), interactions with the tooltip when rendered using Shadow DOM wasn't working properly. This release adds support for that by using [Event.composedPath](https://developer.mozilla.org/en-US/docs/Web/API/Event/composedPath) to get event target, with `event.target` as fallback for IE11. ### [`v4.2.0`](https://github.com/mohsinulhaq/react-popper-tooltip/releases/tag/v4.2.0): Revert to mouseenter/mouseleave hover mechanic [Compare Source](https://github.com/mohsinulhaq/react-popper-tooltip/compare/v4.1.2...v4.2.0) `v4.1.0` introduced a new way of handling hover trigger, which had a couple of improvements over the old one, but unintentionally led to another set of serious issues. We have now reverted to the older hover mechanic while also solving the older problems by setting `pointer-events: none` on the arrow as well as the non-interactive tooltip. ### [`v4.1.2`](https://github.com/mohsinulhaq/react-popper-tooltip/releases/tag/v4.1.2): Hover trigger bug fixes introduced in v4.1.0 🐛 [Compare Source](https://github.com/mohsinulhaq/react-popper-tooltip/compare/v4.1.1...v4.1.2) Fixes: [https://github.com/mohsinulhaq/react-popper-tooltip/issues/117](https://github.com/mohsinulhaq/react-popper-tooltip/issues/117) & [https://github.com/mohsinulhaq/react-popper-tooltip/issues/118](https://github.com/mohsinulhaq/react-popper-tooltip/issues/118) ### [`v4.1.1`](https://github.com/mohsinulhaq/react-popper-tooltip/compare/v4.1.0...v4.1.1) [Compare Source](https://github.com/mohsinulhaq/react-popper-tooltip/compare/v4.1.0...v4.1.1) ### [`v4.1.0`](https://github.com/mohsinulhaq/react-popper-tooltip/releases/tag/v4.1.0): An improved and more resilient hover trigger! Thanks to the contribution by [@&elastic#8203;czabaj](https://github.com/czabaj) 👑, the hover trigger is now improved quite a bit, accounting for the gap between the trigger and the tooltip and also fixing a glitch in cases where tooltip and trigger overlap. ### [`v4.0.0`](https://github.com/mohsinulhaq/react-popper-tooltip/releases/tag/v4.0.0): usePopperTooltip hook! 🪝 [Compare Source](https://github.com/mohsinulhaq/react-popper-tooltip/compare/v3.1.1...v4.0.0) ### Release notes With **react-popper**, used under the hood of **react-popper-tooltip**, introducing the `usePopper` hook in the last major update, we're now releasing the hook version of our own library as well - `usePopperTooltip`. The hook provides many new features and flexibility and allows for implementations not possible before. #### Breaking changes This release onwards, the hook is the only way of creating tooltips. This version drops the support of the `TooltipTrigger` render prop component. If you want to upgrade and still keep using render prop API, refer to our example section to implement the legacy API with our new hook. We wrote this version from scratch. Although thoroughly tested, it can still possibly contain some regressions. Please, report any problems using the [issues link](https://github.com/mohsinulhaq/react-popper-tooltip/issues). - For the sake of consistency, we made some changes to the props names. - `defaultTooltipShown` is renamed to `defaultVisible` - `tooltipShown` is renamed to `visible` - `onVisibilityChange` is renamed to `onVisibleChange` - `closeOnReferenceHidden` is renamed to `closeOnTriggerHidden` and the default value changed from `true` to `false` - The default placement is now `bottom` instead of `right`, in line with react-popper defaults. - The string value `"none"` for the prop `trigger` is replaced with `null`. - The default CSS has a few positioning and naming changes. - Previously, when a user hovered the tooltip, it stayed open to allow the user to interact with the tooltip's content. Now the tooltip closes as soon as the cursor leaves the trigger element. The new option `interactive` has been added to configure this behavior. - `getTriggerProps` and `arrowRef` are no longer needed. </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyI6bWwiLCJUZWFtOk1MIiwiYmFja3BvcnQ6YWxsLW9wZW4iLCJyZWxlYXNlX25vdGU6c2tpcCJdfQ==--> Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com> (cherry picked from commit 71b34a9) # Conflicts: # package.json # x-pack/plugins/ml/public/application/components/chart_tooltip/chart_tooltip.tsx # yarn.lock
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
# Backport This will backport the following commits from `main` to `8.17`: - [Update @elastic/ml-ui dependencies (main) (#204210)](#204210) <!--- Backport version: 9.6.4 --> --------- Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com> Co-authored-by: kibanamachine <[email protected]>
# Backport This will backport the following commits from `main` to `8.16`: - [Update @elastic/ml-ui dependencies (main) (#204210)](#204210) Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
# Backport This will backport the following commits from `main` to `7.17`: - [Update @elastic/ml-ui dependencies (main) (#204210)](#204210) --------- Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com> Co-authored-by: kibanamachine <[email protected]>
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
# Backport This will backport the following commits from `main` to `8.x`: - [Update @elastic/ml-ui dependencies (main) (#204210)](#204210) <!--- Backport version: 9.4.3 --> Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com> Co-authored-by: Walter Rafelsberger <[email protected]>
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [@types/he](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/he) ([source](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/he)) | devDependencies | minor | [`^1.1.1` -> `^1.2.3`](https://renovatebot.com/diffs/npm/@types%2fhe/1.1.1/1.2.3) | | [react-popper-tooltip](https://github.com/mohsinulhaq/react-popper-tooltip) | dependencies | major | [`^3.1.1` -> `^4.4.2`](https://renovatebot.com/diffs/npm/react-popper-tooltip/3.1.1/4.4.2) | --- ### Release Notes <details> <summary>mohsinulhaq/react-popper-tooltip (react-popper-tooltip)</summary> ### [`v4.4.2`](https://github.com/mohsinulhaq/react-popper-tooltip/releases/tag/v4.4.2): Fix missing hover check in interactive mode [Compare Source](https://github.com/mohsinulhaq/react-popper-tooltip/compare/v4.4.1...v4.4.2) Thanks, [@&elastic#8203;cgsdev0](https://github.com/cgsdev0) [https://github.com/mohsinulhaq/react-popper-tooltip/pull/156](https://github.com/mohsinulhaq/react-popper-tooltip/pull/156) ### [`v4.4.1`](https://github.com/mohsinulhaq/react-popper-tooltip/releases/tag/v4.4.1): Fix unintentional dependency change [Compare Source](https://github.com/mohsinulhaq/react-popper-tooltip/compare/v4.4.0...v4.4.1) Thanks [@&elastic#8203;JohnDaly](https://github.com/JohnDaly) ### [`v4.4.0`](https://github.com/mohsinulhaq/react-popper-tooltip/releases/tag/v4.4.0): Add double click trigger, improve styles declaration, ability to change default tooltip text color [https://github.com/mohsinulhaq/react-popper-tooltip/pull/148](https://github.com/mohsinulhaq/react-popper-tooltip/pull/148) [https://github.com/mohsinulhaq/react-popper-tooltip/pull/149](https://github.com/mohsinulhaq/react-popper-tooltip/pull/149) [https://github.com/mohsinulhaq/react-popper-tooltip/pull/154](https://github.com/mohsinulhaq/react-popper-tooltip/pull/154) ### [`v4.3.0`](https://github.com/mohsinulhaq/react-popper-tooltip/releases/tag/v4.3.0): Add Shadow DOM support [Compare Source](https://github.com/mohsinulhaq/react-popper-tooltip/compare/v4.2.0...v4.3.0) As pointed out by [https://github.com/mohsinulhaq/react-popper-tooltip/issues/133](https://github.com/mohsinulhaq/react-popper-tooltip/issues/133) (thanks [@&elastic#8203;shovalk](https://github.com/shovalk)), interactions with the tooltip when rendered using Shadow DOM wasn't working properly. This release adds support for that by using [Event.composedPath](https://developer.mozilla.org/en-US/docs/Web/API/Event/composedPath) to get event target, with `event.target` as fallback for IE11. ### [`v4.2.0`](https://github.com/mohsinulhaq/react-popper-tooltip/releases/tag/v4.2.0): Revert to mouseenter/mouseleave hover mechanic [Compare Source](https://github.com/mohsinulhaq/react-popper-tooltip/compare/v4.1.2...v4.2.0) `v4.1.0` introduced a new way of handling hover trigger, which had a couple of improvements over the old one, but unintentionally led to another set of serious issues. We have now reverted to the older hover mechanic while also solving the older problems by setting `pointer-events: none` on the arrow as well as the non-interactive tooltip. ### [`v4.1.2`](https://github.com/mohsinulhaq/react-popper-tooltip/releases/tag/v4.1.2): Hover trigger bug fixes introduced in v4.1.0 🐛 [Compare Source](https://github.com/mohsinulhaq/react-popper-tooltip/compare/v4.1.1...v4.1.2) Fixes: [https://github.com/mohsinulhaq/react-popper-tooltip/issues/117](https://github.com/mohsinulhaq/react-popper-tooltip/issues/117) & [https://github.com/mohsinulhaq/react-popper-tooltip/issues/118](https://github.com/mohsinulhaq/react-popper-tooltip/issues/118) ### [`v4.1.1`](https://github.com/mohsinulhaq/react-popper-tooltip/compare/v4.1.0...v4.1.1) [Compare Source](https://github.com/mohsinulhaq/react-popper-tooltip/compare/v4.1.0...v4.1.1) ### [`v4.1.0`](https://github.com/mohsinulhaq/react-popper-tooltip/releases/tag/v4.1.0): An improved and more resilient hover trigger! Thanks to the contribution by [@&elastic#8203;czabaj](https://github.com/czabaj) 👑, the hover trigger is now improved quite a bit, accounting for the gap between the trigger and the tooltip and also fixing a glitch in cases where tooltip and trigger overlap. ### [`v4.0.0`](https://github.com/mohsinulhaq/react-popper-tooltip/releases/tag/v4.0.0): usePopperTooltip hook! 🪝 [Compare Source](https://github.com/mohsinulhaq/react-popper-tooltip/compare/v3.1.1...v4.0.0) ### Release notes With **react-popper**, used under the hood of **react-popper-tooltip**, introducing the `usePopper` hook in the last major update, we're now releasing the hook version of our own library as well - `usePopperTooltip`. The hook provides many new features and flexibility and allows for implementations not possible before. #### Breaking changes This release onwards, the hook is the only way of creating tooltips. This version drops the support of the `TooltipTrigger` render prop component. If you want to upgrade and still keep using render prop API, refer to our example section to implement the legacy API with our new hook. We wrote this version from scratch. Although thoroughly tested, it can still possibly contain some regressions. Please, report any problems using the [issues link](https://github.com/mohsinulhaq/react-popper-tooltip/issues). - For the sake of consistency, we made some changes to the props names. - `defaultTooltipShown` is renamed to `defaultVisible` - `tooltipShown` is renamed to `visible` - `onVisibilityChange` is renamed to `onVisibleChange` - `closeOnReferenceHidden` is renamed to `closeOnTriggerHidden` and the default value changed from `true` to `false` - The default placement is now `bottom` instead of `right`, in line with react-popper defaults. - The string value `"none"` for the prop `trigger` is replaced with `null`. - The default CSS has a few positioning and naming changes. - Previously, when a user hovered the tooltip, it stayed open to allow the user to interact with the tooltip's content. Now the tooltip closes as soon as the cursor leaves the trigger element. The new option `interactive` has been added to configure this behavior. - `getTriggerProps` and `arrowRef` are no longer needed. </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyI6bWwiLCJUZWFtOk1MIiwiYmFja3BvcnQ6YWxsLW9wZW4iLCJyZWxlYXNlX25vdGU6c2tpcCJdfQ==--> Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
This PR contains the following updates:
^3.2.3
->^3.2.24
^1.1.1
->^1.2.3
^3.2.3
->^3.2.6
^3.1.1
->^4.4.2
Release Notes
mohsinulhaq/react-popper-tooltip (react-popper-tooltip)
v4.4.2
: Fix missing hover check in interactive modeCompare Source
Thanks, @cgsdev0 https://github.com/mohsinulhaq/react-popper-tooltip/pull/156
v4.4.1
: Fix unintentional dependency changeCompare Source
Thanks @JohnDaly
v4.4.0
: Add double click trigger, improve styles declaration, ability to change default tooltip text colorhttps://github.com/mohsinulhaq/react-popper-tooltip/pull/148
https://github.com/mohsinulhaq/react-popper-tooltip/pull/149
https://github.com/mohsinulhaq/react-popper-tooltip/pull/154
v4.3.0
: Add Shadow DOM supportCompare Source
As pointed out by https://github.com/mohsinulhaq/react-popper-tooltip/issues/133 (thanks @shovalk), interactions with the tooltip when rendered using Shadow DOM wasn't working properly. This release adds support for that by using Event.composedPath to get event target, with
event.target
as fallback for IE11.v4.2.0
: Revert to mouseenter/mouseleave hover mechanicCompare Source
v4.1.0
introduced a new way of handling hover trigger, which had a couple of improvements over the old one, but unintentionally led to another set of serious issues.We have now reverted to the older hover mechanic while also solving the older problems by setting
pointer-events: none
on the arrow as well as the non-interactive tooltip.v4.1.2
: Hover trigger bug fixes introduced in v4.1.0 🐛Compare Source
Fixes: https://github.com/mohsinulhaq/react-popper-tooltip/issues/117 & https://github.com/mohsinulhaq/react-popper-tooltip/issues/118
v4.1.1
Compare Source
v4.1.0
: An improved and more resilient hover trigger!Thanks to the contribution by @czabaj 👑, the hover trigger is now improved quite a bit, accounting for the gap between the trigger and the tooltip and also fixing a glitch in cases where tooltip and trigger overlap.
v4.0.0
: usePopperTooltip hook! 🪝Compare Source
Release notes
With react-popper, used under the hood of react-popper-tooltip, introducing the
usePopper
hook in the lastmajor update, we're now releasing the hook version of our own library as well -
usePopperTooltip
. The hook provides many new features and flexibilityand allows for implementations not possible before.
Breaking changes
This release onwards, the hook is the only way of creating tooltips. This version drops the support of
the
TooltipTrigger
render prop component. If you want to upgrade and still keep using render prop API,refer to our example section to implement the legacy API with our new hook.
We wrote this version from scratch. Although thoroughly tested, it can still possibly contain some regressions. Please,
report any problems using the issues link.
For the sake of consistency, we made some changes to the props names.
defaultTooltipShown
is renamed todefaultVisible
tooltipShown
is renamed tovisible
onVisibilityChange
is renamed toonVisibleChange
closeOnReferenceHidden
is renamed tocloseOnTriggerHidden
and the default value changed fromtrue
tofalse
The default placement is now
bottom
instead ofright
, in line with react-popper defaults.The string value
"none"
for the proptrigger
is replaced withnull
.The default CSS has a few positioning and naming changes.
Previously, when a user hovered the tooltip, it stayed open to allow the user to interact with the tooltip's content.
Now the tooltip closes as soon as the cursor leaves the trigger element. The new option
interactive
has been added toconfigure this behavior.
getTriggerProps
andarrowRef
are no longer needed.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Renovate Bot.