mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
Update dependency @elastic/charts to v52 (main) (#149757)
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@elastic/charts](https://togithub.com/elastic/elastic-charts) | [`51.3.0` -> `52.0.0`](https://renovatebot.com/diffs/npm/@elastic%2fcharts/51.3.0/52.0.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>elastic/elastic-charts</summary> ### [`v52.0.0`](https://togithub.com/elastic/elastic-charts/blob/HEAD/CHANGELOG.md#​5200-httpsgithubcomelasticelastic-chartscomparev5130v5200-2023-01-27) [Compare Source](https://togithub.com/elastic/elastic-charts/compare/v51.3.0...v52.0.0) ##### Bug Fixes - annotation details tooltip throwing with hooks ([#​1949](https://togithub.com/elastic/elastic-charts/issues/1949)) ([779b7f3](779b7f3499
)) - **deps:** update dependency [@​elastic/eui](https://togithub.com/elastic/eui) to v72 ([#​1914](https://togithub.com/elastic/elastic-charts/issues/1914)) ([8814c80](8814c80f71
)) - **deps:** update dependency [@​elastic/eui](https://togithub.com/elastic/eui) to v73 ([#​1941](https://togithub.com/elastic/elastic-charts/issues/1941)) ([4eeafa7](4eeafa7864
)) ##### BREAKING CHANGES - The `customTooltipDetails` type is now passing `details` as `props` using a `ComponentType`. </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. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/elastic/kibana). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMTEuMSIsInVwZGF0ZWRJblZlciI6IjM0LjExMS4xIn0=--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: nickofthyme <nicholas.partridge@elastic.co> Co-authored-by: Nick Partridge <nick.ryan.partridge@gmail.com> Co-authored-by: Marco Vettorello <marco.vettorello@elastic.co>
This commit is contained in:
parent
84efdaa330
commit
e8ad3e45f3
4 changed files with 9 additions and 8 deletions
|
@ -101,7 +101,7 @@
|
|||
"@dnd-kit/utilities": "^2.0.0",
|
||||
"@elastic/apm-rum": "^5.12.0",
|
||||
"@elastic/apm-rum-react": "^1.4.2",
|
||||
"@elastic/charts": "51.3.0",
|
||||
"@elastic/charts": "52.0.0",
|
||||
"@elastic/datemath": "5.0.3",
|
||||
"@elastic/elasticsearch": "npm:@elastic/elasticsearch-canary@8.6.0-canary.3",
|
||||
"@elastic/ems-client": "8.4.0",
|
||||
|
|
|
@ -14,6 +14,7 @@ import {
|
|||
RectAnnotation,
|
||||
RectAnnotationDatum,
|
||||
RectAnnotationStyle,
|
||||
AnnotationTooltipFormatter,
|
||||
} from '@elastic/charts';
|
||||
import { i18n } from '@kbn/i18n';
|
||||
import { EuiFlexGroup, EuiFlexItem, EuiIcon, EuiSpacer, useEuiTheme } from '@elastic/eui';
|
||||
|
@ -142,7 +143,7 @@ const partialDataText = i18n.translate('charts.partialData.bucketTooltipText', {
|
|||
'The selected time range does not include this entire bucket. It might contain partial data.',
|
||||
});
|
||||
|
||||
const Prompt = () => {
|
||||
const Prompt: AnnotationTooltipFormatter = () => {
|
||||
const { euiTheme } = useEuiTheme();
|
||||
const headerPartialCss = css`
|
||||
font-weight: ${euiTheme.font.weight.regular};
|
||||
|
|
|
@ -63,7 +63,7 @@ export const DurationAnomaliesBar = ({ anomalies, hiddenLegends }: Props) => {
|
|||
};
|
||||
};
|
||||
|
||||
const tooltipFormatter: AnnotationTooltipFormatter = (details?: string) => {
|
||||
const TooltipFormatter: AnnotationTooltipFormatter = ({ details }) => {
|
||||
return <AnnotationTooltip details={details || ''} />;
|
||||
};
|
||||
|
||||
|
@ -76,7 +76,7 @@ export const DurationAnomaliesBar = ({ anomalies, hiddenLegends }: Props) => {
|
|||
key={keyIndex}
|
||||
id={keyIndex}
|
||||
style={getRectStyle(rectAnnotation.color)}
|
||||
renderTooltip={tooltipFormatter}
|
||||
renderTooltip={TooltipFormatter}
|
||||
/>
|
||||
) : null;
|
||||
})}
|
||||
|
|
|
@ -1456,10 +1456,10 @@
|
|||
dependencies:
|
||||
object-hash "^1.3.0"
|
||||
|
||||
"@elastic/charts@51.3.0":
|
||||
version "51.3.0"
|
||||
resolved "https://registry.yarnpkg.com/@elastic/charts/-/charts-51.3.0.tgz#aaf76f380e60fb5e0c944ac6ea333a45f15d7fb2"
|
||||
integrity sha512-sEeHs99a0IKhKouP0b4rVnMJlwTw7dDvNS5EmTWK8gBsF/GCTrxxoxf1MJtQWvJrOnFEpXrzYvaeiHjmocmZQw==
|
||||
"@elastic/charts@52.0.0":
|
||||
version "52.0.0"
|
||||
resolved "https://registry.yarnpkg.com/@elastic/charts/-/charts-52.0.0.tgz#db801faaf7fa4334b4cecdbfbfb7c13cf7bb4172"
|
||||
integrity sha512-PWn1XySpD+2IaWmWftfdvim3l70r9H8y3fAPAnnMDHfzjDTlKJXq/19nMOGRVIwc9FifUN7cSw51shqq8Tj7lA==
|
||||
dependencies:
|
||||
"@popperjs/core" "^2.4.0"
|
||||
bezier-easing "^2.1.0"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue