mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
Upgrade @elastic/charts to 69.2.1 (#216430)
## Summary
This PR updates `@elastic/charts` library to 69.2.1, that reverse the
wrongly merged multi-time axis breaking change and keeps only the new
feature added to Metric about exposing the fontsize and the color
styling
[v69.2.0](https://redirect.github.com/elastic/elastic-charts/blob/HEAD/CHANGELOG.md#6920-2025-03-26)
[Compare
Source](https://redirect.github.com/elastic/elastic-charts/compare/v69.1.1...v69.2.0)
Features
metric: Expose both font size and color stylings on the extra prop
([#2627](https://redirect.github.com/elastic/elastic-charts/issues/2627))
([2d21118](2d21118995
))
This commit is contained in:
parent
f5b185a28f
commit
f8b3e93573
3 changed files with 10 additions and 7 deletions
|
@ -118,7 +118,7 @@
|
|||
"@elastic/apm-rum": "^5.16.3",
|
||||
"@elastic/apm-rum-core": "^5.22.1",
|
||||
"@elastic/apm-rum-react": "^2.0.5",
|
||||
"@elastic/charts": "69.1.1",
|
||||
"@elastic/charts": "69.2.1",
|
||||
"@elastic/datemath": "5.0.3",
|
||||
"@elastic/ebt": "^1.1.1",
|
||||
"@elastic/ecs": "^8.11.5",
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
import React from 'react';
|
||||
import React, { ReactElement } from 'react';
|
||||
import { shallow } from 'enzyme';
|
||||
import { Datatable, DatatableColumn } from '@kbn/expressions-plugin/common';
|
||||
import { MetricVis, MetricVisComponentProps } from './metric_vis';
|
||||
|
@ -1372,7 +1372,10 @@ describe('MetricVisComponent', function () {
|
|||
extra,
|
||||
} = component.find(Metric).props().data?.[0][0]! as MetricWNumber;
|
||||
|
||||
return { primary: valueFormatter(primaryMetric), secondary: extra?.props.children[1] };
|
||||
return {
|
||||
primary: valueFormatter(primaryMetric),
|
||||
secondary: (extra as ReactElement).props.children[1],
|
||||
};
|
||||
};
|
||||
|
||||
it.each`
|
||||
|
|
|
@ -2062,10 +2062,10 @@
|
|||
dependencies:
|
||||
object-hash "^1.3.0"
|
||||
|
||||
"@elastic/charts@69.1.1":
|
||||
version "69.1.1"
|
||||
resolved "https://registry.yarnpkg.com/@elastic/charts/-/charts-69.1.1.tgz#3a639965e9217de083b28d777517aeebf322f3ed"
|
||||
integrity sha512-qW08ntBXr4MQ1JP3VNh2bJC6RLm8I0ha+UqZQ/J6p3alQd/6yxuoj568ugTCXvvRw3nBXAsnkEkYyJ0TXR9RtA==
|
||||
"@elastic/charts@69.2.1":
|
||||
version "69.2.1"
|
||||
resolved "https://registry.yarnpkg.com/@elastic/charts/-/charts-69.2.1.tgz#28243fa3a9c3dc1af5118d97d437b2ef62398a2b"
|
||||
integrity sha512-odyqH1qnBvWkwtEcqGJ7EBei1/Yj+59aUr0L1zgLcTapyOZZjvD3gHzAnVmZ0RaFf6qakwSYt8MBodNw7+vujA==
|
||||
dependencies:
|
||||
"@popperjs/core" "^2.11.8"
|
||||
"@reduxjs/toolkit" "1.9.7"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue