From 55b09e22be1ad51a707533a73ff577ebc5eea1ec Mon Sep 17 00:00:00 2001 From: Cee Chen <549407+cee-chen@users.noreply.github.com> Date: Thu, 30 Nov 2023 06:10:08 -0800 Subject: [PATCH] Upgrade EUI to v90.0.1 (#172261) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `v90.0.0`⏩`v90.0.1` This release also contains updates to EuiCollapsibleNavBeta, to support serverless UX (https://github.com/elastic/eui/pull/7337). --- ## [`90.0.1`](https://github.com/elastic/eui/tree/vpatch) **This release is a backport intended for Kibana 8.12.** - `EuiSelectable` now allows configurable text truncation via `listProps.truncationProps` ([#7388](https://github.com/elastic/eui/pull/7388)) - `EuiTextTruncate` now supports a new `calculationDelayMs` prop for working around font loading or layout shifting scenarios ([#7388](https://github.com/elastic/eui/pull/7388)) --- package.json | 2 +- .../src/ui/components/navigation_section_ui.tsx | 3 +++ src/dev/license_checker/config.ts | 2 +- yarn.lock | 8 ++++---- 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index b01a46869abec1..f7ca215f20fd64 100644 --- a/package.json +++ b/package.json @@ -102,7 +102,7 @@ "@elastic/datemath": "5.0.3", "@elastic/elasticsearch": "npm:@elastic/elasticsearch-canary@8.9.1-canary.1", "@elastic/ems-client": "8.5.1", - "@elastic/eui": "90.0.0", + "@elastic/eui": "90.0.1", "@elastic/filesaver": "1.1.2", "@elastic/node-crypto": "1.2.1", "@elastic/numeral": "^2.5.1", diff --git a/packages/shared-ux/chrome/navigation/src/ui/components/navigation_section_ui.tsx b/packages/shared-ux/chrome/navigation/src/ui/components/navigation_section_ui.tsx index 1e05ceed555a24..afd4c65d0f5769 100644 --- a/packages/shared-ux/chrome/navigation/src/ui/components/navigation_section_ui.tsx +++ b/packages/shared-ux/chrome/navigation/src/ui/components/navigation_section_ui.tsx @@ -290,6 +290,7 @@ const nodeToEuiCollapsibleNavProps = ( } const items: Array = [ + // @ts-ignore - TODO { id, path, @@ -519,6 +520,7 @@ export const NavigationSectionUI: FC = React.memo(({ navNode: _navNode }) if (item.renderItem) { return item; } + // @ts-ignore - TODO const parsed: EuiCollapsibleNavSubItemProps = { ...item, items: serializeAccordionItems(item.items), @@ -539,6 +541,7 @@ export const NavigationSectionUI: FC = React.memo(({ navNode: _navNode }) } return ( + // @ts-ignore - TODO