From 0087ee706a7e57f85929a222a6b85bba39e3ba96 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 5 Aug 2024 18:27:14 +0000 Subject: [PATCH] Add display type and color to OuiSwitch (#1332) Signed-off-by: Miki (cherry picked from commit 1f67bce3b76f1965dca4d0834b9c91508ca1f578) Signed-off-by: github-actions[bot] # Conflicts: # CHANGELOG.md --- .../switch/__snapshots__/switch.test.tsx.snap | 6 +- src/components/form/switch/_switch.scss | 98 ++++++++++++++++++- src/components/form/switch/index.ts | 2 + src/components/form/switch/switch.tsx | 44 ++++++++- src/global_styling/variables/_form.scss | 14 +++ .../global_styling/variables/_form.scss | 14 +++ 6 files changed, 172 insertions(+), 6 deletions(-) diff --git a/src/components/form/switch/__snapshots__/switch.test.tsx.snap b/src/components/form/switch/__snapshots__/switch.test.tsx.snap index b04de29713..d98435ea3a 100644 --- a/src/components/form/switch/__snapshots__/switch.test.tsx.snap +++ b/src/components/form/switch/__snapshots__/switch.test.tsx.snap @@ -2,7 +2,7 @@ exports[`OuiSwitch assigns automatically generated ID to label 1`] = `