From b7f218c336dae7a4fea80133e10bf9a6ffa303b5 Mon Sep 17 00:00:00 2001 From: Mike Perrotti Date: Thu, 7 Apr 2022 10:49:09 -0700 Subject: [PATCH 1/6] fixes spacing in TextInputWithTokens when there is a loading spinner --- src/TextInputWithTokens.tsx | 4 ++-- .../TextInputWithTokens.test.tsx.snap | 20 +++++++++---------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/TextInputWithTokens.tsx b/src/TextInputWithTokens.tsx index 6d7b79997f0..8a6fee9b7b9 100644 --- a/src/TextInputWithTokens.tsx +++ b/src/TextInputWithTokens.tsx @@ -254,8 +254,8 @@ function TextInputWithTokensInnerComponent input, .c0 > select { padding-left: 12px; - padding-right: 12px; + padding-right: 0; } .c3 { @@ -7230,7 +7230,7 @@ Array [ padding-bottom: calc(12px / 2); background-repeat: no-repeat; background-position: right 8px center; - padding-left: 0; + padding-left: 12px; padding-right: 0; padding-left: 12px; padding-top: calc(12px / 2); @@ -7279,7 +7279,7 @@ Array [ .c0 > input, .c0 > select { - padding-left: 12px; + padding-left: 0; padding-right: 12px; } @@ -7999,7 +7999,7 @@ Array [ background-repeat: no-repeat; background-position: right 8px center; padding-left: 0; - padding-right: 0; + padding-right: 12px; padding-left: 12px; padding-top: calc(12px / 2); padding-bottom: calc(12px / 2); @@ -8048,7 +8048,7 @@ Array [ .c0 > input, .c0 > select { padding-left: 12px; - padding-right: 12px; + padding-right: 0; } .c3 { @@ -10343,7 +10343,7 @@ Array [ background-repeat: no-repeat; background-position: right 8px center; padding-left: 12px; - padding-right: 0; + padding-right: 12px; padding-left: 12px; padding-top: calc(12px / 2); padding-bottom: calc(12px / 2); @@ -10392,7 +10392,7 @@ Array [ .c0 > input, .c0 > select { padding-left: 0; - padding-right: 12px; + padding-right: 0; } .c6 { @@ -11914,7 +11914,7 @@ Array [ padding-bottom: calc(12px / 2); background-repeat: no-repeat; background-position: right 8px center; - padding-left: 0; + padding-left: 12px; padding-right: 12px; padding-left: 12px; padding-top: calc(12px / 2); @@ -11963,7 +11963,7 @@ Array [ .c0 > input, .c0 > select { - padding-left: 12px; + padding-left: 0; padding-right: 0; } From 05c9bf459f50972d4d434bc62fe287c98e354b03 Mon Sep 17 00:00:00 2001 From: Mike Perrotti Date: Thu, 7 Apr 2022 10:59:21 -0700 Subject: [PATCH 2/6] bolds input validation text --- src/_InputValidation.tsx | 1 + .../deprecated/__snapshots__/ChoiceFieldset.test.tsx.snap | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/src/_InputValidation.tsx b/src/_InputValidation.tsx index 9b29e04798f..e45040ba8be 100644 --- a/src/_InputValidation.tsx +++ b/src/_InputValidation.tsx @@ -28,6 +28,7 @@ const InputValidation: React.FC = ({children, id, validationStatus, sx}) return (