From b8409c9173be049c6f49b8622486158ab33ffd48 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 6 Apr 2023 13:11:20 +0300 Subject: [PATCH] Update dependency @elastic/charts to v55 (main) (#153889) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@elastic/charts](https://togithub.com/elastic/elastic-charts) | [`54.0.0` -> `55.0.0`](https://renovatebot.com/diffs/npm/@elastic%2fcharts/54.0.0/55.0.0) | [![age](https://badges.renovateapi.com/packages/npm/@elastic%2fcharts/55.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@elastic%2fcharts/55.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@elastic%2fcharts/55.0.0/compatibility-slim/54.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@elastic%2fcharts/55.0.0/confidence-slim/54.0.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
elastic/elastic-charts ### [`v55.0.0`](https://togithub.com/elastic/elastic-charts/blob/HEAD/CHANGELOG.md#​5500-httpsgithubcomelasticelastic-chartscomparev5400v5500-2023-03-21) [Compare Source](https://togithub.com/elastic/elastic-charts/compare/v54.0.0...v55.0.0) ##### Bug Fixes - **docs:** lint and fix EUI breaking changes ([0d14194](https://togithub.com/elastic/elastic-charts/commit/0d1419475f9f1a4ae5d83fdf247f35178e261d27)) ##### Features - **heatmap:** small multiples ([#​1933](https://togithub.com/elastic/elastic-charts/issues/1933)) ([690f568](https://togithub.com/elastic/elastic-charts/commit/690f5686c3de0da6714d649bc492a6c68e47b47f))
--- ### 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. --- - [ ] 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). --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Marco Vettorello Co-authored-by: Nick Partridge Co-authored-by: nickofthyme Co-authored-by: Stratoula Kalafateli --- package.json | 2 +- .../public/components/heatmap_component.tsx | 4 ---- .../public/application/explorer/swimlane_container.tsx | 4 ---- .../monitor_status/monitor_status_chart_theme.ts | 6 ------ .../charts/__snapshots__/donut_chart.test.tsx.snap | 10 ---------- yarn.lock | 8 ++++---- 6 files changed, 5 insertions(+), 29 deletions(-) diff --git a/package.json b/package.json index 00f15ba2f62b3..b4a7a8ac9632c 100644 --- a/package.json +++ b/package.json @@ -92,7 +92,7 @@ "@dnd-kit/utilities": "^2.0.0", "@elastic/apm-rum": "^5.12.0", "@elastic/apm-rum-react": "^1.4.2", - "@elastic/charts": "54.0.0", + "@elastic/charts": "55.0.0", "@elastic/datemath": "5.0.3", "@elastic/elasticsearch": "npm:@elastic/elasticsearch-canary@8.6.0-canary.3", "@elastic/ems-client": "8.4.0", diff --git a/src/plugins/chart_expressions/expression_heatmap/public/components/heatmap_component.tsx b/src/plugins/chart_expressions/expression_heatmap/public/components/heatmap_component.tsx index a9b4a2d227b27..8bae0d35e85c2 100644 --- a/src/plugins/chart_expressions/expression_heatmap/public/components/heatmap_component.tsx +++ b/src/plugins/chart_expressions/expression_heatmap/public/components/heatmap_component.tsx @@ -524,10 +524,6 @@ export const HeatmapComponent: FC = memo( chartTheme.axes?.gridLine?.horizontal?.stroke ?? '#D3DAE6', }, - cellHeight: { - max: 'fill', - min: 1, - }, }, cell: { maxWidth: 'fill', diff --git a/x-pack/plugins/ml/public/application/explorer/swimlane_container.tsx b/x-pack/plugins/ml/public/application/explorer/swimlane_container.tsx index b211708c6f92f..a34c968eecfe4 100644 --- a/x-pack/plugins/ml/public/application/explorer/swimlane_container.tsx +++ b/x-pack/plugins/ml/public/application/explorer/swimlane_container.tsx @@ -291,10 +291,6 @@ export const SwimlaneContainer: FC = ({ }, heatmap: { grid: { - cellHeight: { - min: CELL_HEIGHT, - max: CELL_HEIGHT, - }, stroke: { width: BORDER_WIDTH, color: euiTheme.euiBorderColor, diff --git a/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_status/monitor_status_chart_theme.ts b/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_status/monitor_status_chart_theme.ts index 022a928f2916c..3a24ab61b90ba 100644 --- a/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_status/monitor_status_chart_theme.ts +++ b/x-pack/plugins/synthetics/public/apps/synthetics/components/monitor_details/monitor_status/monitor_status_chart_theme.ts @@ -7,7 +7,6 @@ import { HeatmapStyle, RecursivePartial } from '@elastic/charts'; import { EuiThemeComputed } from '@elastic/eui'; -import { CHART_CELL_WIDTH } from './monitor_status_data'; export function getMonitorStatusChartTheme( euiTheme: EuiThemeComputed, @@ -15,16 +14,11 @@ export function getMonitorStatusChartTheme( ): RecursivePartial { return { grid: { - cellHeight: { - min: 20, - }, stroke: { width: 0, color: 'transparent', }, }, - maxRowHeight: 30, - maxColumnWidth: CHART_CELL_WIDTH, cell: { maxWidth: 'fill', maxHeight: 3, diff --git a/x-pack/plugins/synthetics/public/legacy_uptime/components/common/charts/__snapshots__/donut_chart.test.tsx.snap b/x-pack/plugins/synthetics/public/legacy_uptime/components/common/charts/__snapshots__/donut_chart.test.tsx.snap index 58e01666035e8..5cc141d7c14fb 100644 --- a/x-pack/plugins/synthetics/public/legacy_uptime/components/common/charts/__snapshots__/donut_chart.test.tsx.snap +++ b/x-pack/plugins/synthetics/public/legacy_uptime/components/common/charts/__snapshots__/donut_chart.test.tsx.snap @@ -329,21 +329,11 @@ exports[`DonutChart component passes correct props without errors for valid prop "maxWidth": "fill", }, "grid": Object { - "cellHeight": Object { - "max": 30, - "min": 12, - }, - "cellWidth": Object { - "max": 30, - "min": 0, - }, "stroke": Object { "color": "gray", "width": 1, }, }, - "maxColumnWidth": 30, - "maxRowHeight": 30, "xAxisLabel": Object { "fontFamily": "Sans-Serif", "fontSize": 12, diff --git a/yarn.lock b/yarn.lock index fbeb43e6a5fd5..f794d4d41d2f9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1460,10 +1460,10 @@ dependencies: object-hash "^1.3.0" -"@elastic/charts@54.0.0": - version "54.0.0" - resolved "https://registry.yarnpkg.com/@elastic/charts/-/charts-54.0.0.tgz#97e19c87c94d4282c12440e9d5703048232bc2b8" - integrity sha512-gyAgBrRKRg+QxaOluAy1tJXm3gv95IuZRL+/QMUR7tuAwqfD+Bi3eFUoqMhVJCRmhYJa2iDmLMjb7Mkb7HZJgw== +"@elastic/charts@55.0.0": + version "55.0.0" + resolved "https://registry.yarnpkg.com/@elastic/charts/-/charts-55.0.0.tgz#df9a4e9b0a84a613f103011d99f120cb528c4dc9" + integrity sha512-a4UIieTi04CPHxfwztDe36xoPFkp+I4tRPXWXobv/aG/zTd4AwruRyL981RiV2Tv8Mrc5jpCJFgfadNoPrL3pg== dependencies: "@popperjs/core" "^2.4.0" bezier-easing "^2.1.0"