From 1abf1c2068f4023ed33c2cea2fc795c04797bb2a Mon Sep 17 00:00:00 2001 From: Cee Chen Date: Wed, 13 Mar 2024 15:41:50 -0700 Subject: [PATCH] Fix broken `application` breadcrumb popover styles - separate `truncation` styles from breadcrumb type styles (truncation styles go on the inner text, breadcrumb styles go on the outer element) - create new separate `EuiBreadcrumbPopover` subcomponent for easier dev readability and one-off behavior --- .../__snapshots__/breadcrumb.test.tsx.snap | 6 +- .../__snapshots__/breadcrumbs.test.tsx.snap | 36 ++-- .../breadcrumbs/breadcrumb.styles.ts | 40 +++-- src/components/breadcrumbs/breadcrumb.tsx | 168 +++++++++++++----- .../header_breadcrumbs.test.tsx.snap | 6 +- 5 files changed, 170 insertions(+), 86 deletions(-) diff --git a/src/components/breadcrumbs/__snapshots__/breadcrumb.test.tsx.snap b/src/components/breadcrumbs/__snapshots__/breadcrumb.test.tsx.snap index 116e054b27e2..7a7679856444 100644 --- a/src/components/breadcrumbs/__snapshots__/breadcrumb.test.tsx.snap +++ b/src/components/breadcrumbs/__snapshots__/breadcrumb.test.tsx.snap @@ -4,17 +4,17 @@ exports[`EuiBreadcrumbContent breadcrumbs with popovers renders with \`popoverCo