From 7ff833945105ac28a1c4cb8bd852aba9690b4545 Mon Sep 17 00:00:00 2001 From: Cee Chen <549407+cee-chen@users.noreply.github.com> Date: Thu, 17 Aug 2023 15:11:49 -0700 Subject: [PATCH] [Emotion] Convert `EuiResizableCollapseButton` (#7091) --- src/components/index.scss | 1 - .../resizable_container.test.tsx.snap | 4 +- .../resizable_container/_index.scss | 1 - .../_resizable_collapse_button.scss | 145 ------------------ .../resizable_collapse_button.stories.tsx | 97 ++++++++++++ .../resizable_collapse_button.styles.ts | 145 ++++++++++++++++++ .../resizable_collapse_button.tsx | 52 ++++--- .../amsterdam/global_styling/mixins/shadow.ts | 1 - upcoming_changelogs/7091.md | 3 + 9 files changed, 280 insertions(+), 169 deletions(-) delete mode 100644 src/components/resizable_container/_index.scss delete mode 100644 src/components/resizable_container/_resizable_collapse_button.scss create mode 100644 src/components/resizable_container/resizable_collapse_button.stories.tsx create mode 100644 src/components/resizable_container/resizable_collapse_button.styles.ts create mode 100644 upcoming_changelogs/7091.md diff --git a/src/components/index.scss b/src/components/index.scss index 30610b4f918..dd37d2afded 100644 --- a/src/components/index.scss +++ b/src/components/index.scss @@ -16,7 +16,6 @@ @import 'panel/index'; @import 'page/index'; // Page needs to come after Panel for cascade specificity @import 'tree_view/index'; -@import 'resizable_container/index'; @import 'side_nav/index'; @import 'search_bar/index'; @import 'selectable/index'; diff --git a/src/components/resizable_container/__snapshots__/resizable_container.test.tsx.snap b/src/components/resizable_container/__snapshots__/resizable_container.test.tsx.snap index 5869e0e9a48..9b95ee197e1 100644 --- a/src/components/resizable_container/__snapshots__/resizable_container.test.tsx.snap +++ b/src/components/resizable_container/__snapshots__/resizable_container.test.tsx.snap @@ -233,7 +233,7 @@ exports[`EuiResizableContainer can have toggleable panels 1`] = ` >