From 1dbe45e2a6317dfa75035664b411154c41c0d638 Mon Sep 17 00:00:00 2001 From: cchaos Date: Tue, 1 Dec 2020 17:15:27 -0500 Subject: [PATCH 1/7] Adding `loading` status to EuiStep --- .../steps/__snapshots__/step.test.tsx.snap | 30 +++++++++++++++++++ .../step_horizontal.test.tsx.snap | 18 +++++++++++ .../__snapshots__/step_number.test.tsx.snap | 10 +++++++ src/components/steps/_step_number.scss | 15 ++++++---- src/components/steps/_steps.scss | 11 ------- src/components/steps/_variables.scss | 1 + src/components/steps/step_number.tsx | 23 +++++++------- src/components/steps/step_strings.tsx | 19 ++++++++++++ src/global_styling/mixins/_button.scss | 2 +- src/global_styling/mixins/_helpers.scss | 7 +++++ 10 files changed, 109 insertions(+), 27 deletions(-) diff --git a/src/components/steps/__snapshots__/step.test.tsx.snap b/src/components/steps/__snapshots__/step.test.tsx.snap index 925c3dc5fdd..8ffac763989 100644 --- a/src/components/steps/__snapshots__/step.test.tsx.snap +++ b/src/components/steps/__snapshots__/step.test.tsx.snap @@ -209,6 +209,36 @@ exports[`EuiStep props status incomplete is rendered 1`] = ` `; +exports[`EuiStep props status loading is rendered 1`] = ` +
+
+ + + +

+ First step +

+
+
+

+ Do this +

+
+
+`; + exports[`EuiStep props status warning is rendered 1`] = `
`; +exports[`EuiStepHorizontal props status loading is rendered 1`] = ` + +`; + exports[`EuiStepHorizontal props status warning is rendered 1`] = `