From 90bc8c18ec0f49c0858b6e7365c867589886f808 Mon Sep 17 00:00:00 2001 From: Constance Chen Date: Wed, 4 May 2022 10:43:10 -0700 Subject: [PATCH] Removed `isSelected` and `isComplete` props from `EuiHorizontalStep` --- .../step_horizontal.test.tsx.snap | 50 ++++++------------- .../steps_horizontal.test.tsx.snap | 1 - src/components/steps/step_horizontal.test.tsx | 24 +++------ src/components/steps/step_horizontal.tsx | 14 ------ .../steps/steps_horizontal.test.tsx | 7 +-- src/components/steps/steps_horizontal.tsx | 2 +- upcoming_changelogs/5868.md | 1 + 7 files changed, 29 insertions(+), 70 deletions(-) diff --git a/src/components/steps/__snapshots__/step_horizontal.test.tsx.snap b/src/components/steps/__snapshots__/step_horizontal.test.tsx.snap index adf364d01bb..8146fa4ca32 100644 --- a/src/components/steps/__snapshots__/step_horizontal.test.tsx.snap +++ b/src/components/steps/__snapshots__/step_horizontal.test.tsx.snap @@ -28,7 +28,7 @@ exports[`EuiStepHorizontal is rendered 1`] = ` `; -exports[`EuiStepHorizontal props isComplete 1`] = ` +exports[`EuiStepHorizontal props status complete is rendered 1`] = ` -`; - -exports[`EuiStepHorizontal props status disabled is rendered 1`] = ` +exports[`EuiStepHorizontal props status disabled overrides the passed status 1`] = `