From ab80799a647563a146f582adb086561e5d32cef8 Mon Sep 17 00:00:00 2001 From: Chaitanya Deorukhkar Date: Thu, 11 Jan 2024 17:28:16 +0530 Subject: [PATCH] update snapshots --- packages/blade/rebranded-components.js | 5 ++ .../__snapshots__/BaseInput.ssr.test.tsx.snap | 38 +++++------ .../__snapshots__/BaseInput.web.test.tsx.snap | 62 +++++++++--------- .../__snapshots__/OTPInput.ssr.test.tsx.snap | 30 ++++----- .../__snapshots__/OTPInput.web.test.tsx.snap | 28 ++++---- .../PasswordInput.ssr.test.tsx.snap | 52 +++++++-------- .../PasswordInput.web.test.tsx.snap | 38 +++++------ .../__snapshots__/TextArea.ssr.test.tsx.snap | 30 ++++----- .../__snapshots__/TextArea.web.test.tsx.snap | 56 ++++++++-------- .../__snapshots__/TextInput.ssr.test.tsx.snap | 38 +++++------ .../__snapshots__/TextInput.web.test.tsx.snap | 64 +++++++++---------- 11 files changed, 223 insertions(+), 218 deletions(-) diff --git a/packages/blade/rebranded-components.js b/packages/blade/rebranded-components.js index 294aa75dd17..333f33693a2 100644 --- a/packages/blade/rebranded-components.js +++ b/packages/blade/rebranded-components.js @@ -34,6 +34,11 @@ const rebrandedComponents = [ 'Switch', 'Radio', 'Checkbox', + 'BaseInput', + 'TextInput', + 'PasswordInput', + 'OTPInput', + 'TextArea', ]; module.exports = { rebrandedComponents }; diff --git a/packages/blade/src/components/Input/BaseInput/__tests__/__snapshots__/BaseInput.ssr.test.tsx.snap b/packages/blade/src/components/Input/BaseInput/__tests__/__snapshots__/BaseInput.ssr.test.tsx.snap index fd6f23d0b80..fa9d2606ec8 100644 --- a/packages/blade/src/components/Input/BaseInput/__tests__/__snapshots__/BaseInput.ssr.test.tsx.snap +++ b/packages/blade/src/components/Input/BaseInput/__tests__/__snapshots__/BaseInput.ssr.test.tsx.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[` should display success validation state 1`] = `"
Success
"`; +exports[` should display success validation state 1`] = `"
Success
"`; exports[` should display success validation state 2`] = ` .c0.c0.c0.c0.c0 { @@ -95,7 +95,7 @@ exports[` should display success validation state 2`] = ` } .c4.c4.c4.c4.c4 { - color: hsla(217,18%,45%,1); + color: hsla(211,26%,34%,1); font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.75rem; font-weight: 600; @@ -117,7 +117,7 @@ exports[` should display success validation state 2`] = ` } .c6.c6.c6.c6.c6 { - color: hsla(217,56%,17%,1); + color: hsla(212,39%,16%,1); font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; @@ -134,7 +134,7 @@ exports[` should display success validation state 2`] = ` } .c15.c15.c15.c15.c15 { - color: hsla(160,100%,26%,1); + color: hsla(150,100%,21%,1); font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.6875rem; font-weight: 400; @@ -151,7 +151,7 @@ exports[` should display success validation state 2`] = ` } .c8.c8.c8.c8.c8 { - color: hsla(216,27%,36%,1); + color: hsla(211,26%,34%,1); font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; @@ -183,7 +183,7 @@ exports[` should display success validation state 2`] = ` } .c8.c8.c8.c8.c8::-webkit-input-placeholder { - color: hsla(214,18%,69%,1); + color: hsla(211,20%,52%,0.32); font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; @@ -200,7 +200,7 @@ exports[` should display success validation state 2`] = ` } .c8.c8.c8.c8.c8::-moz-placeholder { - color: hsla(214,18%,69%,1); + color: hsla(211,20%,52%,0.32); font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; @@ -217,7 +217,7 @@ exports[` should display success validation state 2`] = ` } .c8.c8.c8.c8.c8:-ms-input-placeholder { - color: hsla(214,18%,69%,1); + color: hsla(211,20%,52%,0.32); font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; @@ -234,7 +234,7 @@ exports[` should display success validation state 2`] = ` } .c8.c8.c8.c8.c8::placeholder { - color: hsla(214,18%,69%,1); + color: hsla(211,20%,52%,0.32); font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; @@ -260,14 +260,14 @@ exports[` should display success validation state 2`] = ` left: 0; right: 0; opacity: 0; - background-color: hsla(218,89%,51%,1); + background-color: hsla(227,100%,59%,1); border-width: 1px; height: 1px; } .c7.c7.c7.c7.c7 { - background-color: hsla(155,100%,31%,0.09); - border-bottom-color: hsla(160,100%,26%,1); + background-color: hsla(150,100%,32%,0.09); + border-bottom-color: hsla(150,100%,32%,1); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-width: 1px; @@ -284,8 +284,8 @@ exports[` should display success validation state 2`] = ` } .c7.c7.c7.c7.c7:hover { - background-color: hsla(155,100%,31%,0.09); - border-bottom-color: hsla(160,100%,26%,1); + background-color: hsla(150,100%,32%,0.09); + border-bottom-color: hsla(150,100%,32%,1); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-width: 1px; @@ -308,8 +308,8 @@ exports[` should display success validation state 2`] = ` } .c7.c7.c7.c7.c7:focus-within { - background-color: hsla(155,100%,31%,0.09); - border-bottom-color: hsla(160,100%,26%,1); + background-color: hsla(150,100%,32%,0.09); + border-bottom-color: hsla(150,100%,32%,1); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-width: 1px; @@ -421,6 +421,7 @@ exports[` should display success validation state 2`] = `
should display success validation state 2`] = ` clip-rule="evenodd" d="M20.7071 5.29289C21.0976 5.68342 21.0976 6.31658 20.7071 6.70711L9.70711 17.7071C9.31658 18.0976 8.68342 18.0976 8.29289 17.7071L3.29289 12.7071C2.90237 12.3166 2.90237 11.6834 3.29289 11.2929C3.68342 10.9024 4.31658 10.9024 4.70711 11.2929L9 15.5858L19.2929 5.29289C19.6834 4.90237 20.3166 4.90237 20.7071 5.29289Z" data-blade-component="svg-path" - fill="hsla(160, 100%, 26%, 1)" + fill="hsla(150, 100%, 21%, 1)" fill-rule="evenodd" /> @@ -450,8 +451,7 @@ exports[` should display success validation state 2`] = ` /> Success diff --git a/packages/blade/src/components/Input/BaseInput/__tests__/__snapshots__/BaseInput.web.test.tsx.snap b/packages/blade/src/components/Input/BaseInput/__tests__/__snapshots__/BaseInput.web.test.tsx.snap index b54990f7804..76ab512c06e 100644 --- a/packages/blade/src/components/Input/BaseInput/__tests__/__snapshots__/BaseInput.web.test.tsx.snap +++ b/packages/blade/src/components/Input/BaseInput/__tests__/__snapshots__/BaseInput.web.test.tsx.snap @@ -71,7 +71,7 @@ exports[` should render 1`] = ` } .c4.c4.c4.c4.c4 { - color: hsla(217,18%,45%,1); + color: hsla(211,26%,34%,1); font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.75rem; font-weight: 600; @@ -93,7 +93,7 @@ exports[` should render 1`] = ` } .c6.c6.c6.c6.c6 { - color: hsla(217,56%,17%,1); + color: hsla(212,39%,16%,1); font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; @@ -110,7 +110,7 @@ exports[` should render 1`] = ` } .c8.c8.c8.c8.c8 { - color: hsla(216,27%,36%,1); + color: hsla(211,26%,34%,1); font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; @@ -142,7 +142,7 @@ exports[` should render 1`] = ` } .c8.c8.c8.c8.c8::-webkit-input-placeholder { - color: hsla(214,18%,69%,1); + color: hsla(211,20%,52%,0.32); font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; @@ -159,7 +159,7 @@ exports[` should render 1`] = ` } .c8.c8.c8.c8.c8::-moz-placeholder { - color: hsla(214,18%,69%,1); + color: hsla(211,20%,52%,0.32); font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; @@ -176,7 +176,7 @@ exports[` should render 1`] = ` } .c8.c8.c8.c8.c8:-ms-input-placeholder { - color: hsla(214,18%,69%,1); + color: hsla(211,20%,52%,0.32); font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; @@ -193,7 +193,7 @@ exports[` should render 1`] = ` } .c8.c8.c8.c8.c8::placeholder { - color: hsla(214,18%,69%,1); + color: hsla(211,20%,52%,0.32); font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; @@ -219,14 +219,14 @@ exports[` should render 1`] = ` left: 0; right: 0; opacity: 0; - background-color: hsla(218,89%,51%,1); + background-color: hsla(227,100%,59%,1); border-width: 1px; height: 1px; } .c7.c7.c7.c7.c7 { - background-color: hsla(216,15%,54%,0.09); - border-bottom-color: hsla(216,15%,54%,0.18); + background-color: hsla(211,20%,52%,0.09); + border-bottom-color: hsla(211,20%,52%,0.18); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-width: 1px; @@ -243,8 +243,8 @@ exports[` should render 1`] = ` } .c7.c7.c7.c7.c7:hover { - background-color: hsla(216,15%,54%,0.18); - border-bottom-color: hsla(216,15%,54%,0.18); + background-color: hsla(211,20%,52%,0.18); + border-bottom-color: hsla(211,20%,52%,0.18); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-width: 1px; @@ -267,8 +267,8 @@ exports[` should render 1`] = ` } .c7.c7.c7.c7.c7:focus-within { - background-color: hsla(216,15%,54%,0.09); - border-bottom-color: hsla(216,15%,54%,0.18); + background-color: hsla(211,20%,52%,0.09); + border-bottom-color: hsla(211,20%,52%,0.18); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-width: 1px; @@ -484,7 +484,7 @@ exports[` should render with icons 1`] = ` } .c4.c4.c4.c4.c4 { - color: hsla(217,18%,45%,1); + color: hsla(211,26%,34%,1); font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.75rem; font-weight: 600; @@ -506,7 +506,7 @@ exports[` should render with icons 1`] = ` } .c6.c6.c6.c6.c6 { - color: hsla(217,56%,17%,1); + color: hsla(212,39%,16%,1); font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; @@ -523,7 +523,7 @@ exports[` should render with icons 1`] = ` } .c10.c10.c10.c10.c10 { - color: hsla(216,27%,36%,1); + color: hsla(211,26%,34%,1); font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; @@ -555,7 +555,7 @@ exports[` should render with icons 1`] = ` } .c10.c10.c10.c10.c10::-webkit-input-placeholder { - color: hsla(214,18%,69%,1); + color: hsla(211,20%,52%,0.32); font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; @@ -572,7 +572,7 @@ exports[` should render with icons 1`] = ` } .c10.c10.c10.c10.c10::-moz-placeholder { - color: hsla(214,18%,69%,1); + color: hsla(211,20%,52%,0.32); font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; @@ -589,7 +589,7 @@ exports[` should render with icons 1`] = ` } .c10.c10.c10.c10.c10:-ms-input-placeholder { - color: hsla(214,18%,69%,1); + color: hsla(211,20%,52%,0.32); font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; @@ -606,7 +606,7 @@ exports[` should render with icons 1`] = ` } .c10.c10.c10.c10.c10::placeholder { - color: hsla(214,18%,69%,1); + color: hsla(211,20%,52%,0.32); font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; @@ -632,14 +632,14 @@ exports[` should render with icons 1`] = ` left: 0; right: 0; opacity: 0; - background-color: hsla(218,89%,51%,1); + background-color: hsla(227,100%,59%,1); border-width: 1px; height: 1px; } .c7.c7.c7.c7.c7 { - background-color: hsla(216,15%,54%,0.09); - border-bottom-color: hsla(216,15%,54%,0.18); + background-color: hsla(211,20%,52%,0.09); + border-bottom-color: hsla(211,20%,52%,0.18); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-width: 1px; @@ -656,8 +656,8 @@ exports[` should render with icons 1`] = ` } .c7.c7.c7.c7.c7:hover { - background-color: hsla(216,15%,54%,0.18); - border-bottom-color: hsla(216,15%,54%,0.18); + background-color: hsla(211,20%,52%,0.18); + border-bottom-color: hsla(211,20%,52%,0.18); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-width: 1px; @@ -680,8 +680,8 @@ exports[` should render with icons 1`] = ` } .c7.c7.c7.c7.c7:focus-within { - background-color: hsla(216,15%,54%,0.09); - border-bottom-color: hsla(216,15%,54%,0.18); + background-color: hsla(211,20%,52%,0.09); + border-bottom-color: hsla(211,20%,52%,0.18); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-width: 1px; @@ -784,14 +784,14 @@ exports[` should render with icons 1`] = ` clip-rule="evenodd" d="M12 8C9.79086 8 8 9.79086 8 12C8 14.2091 9.79086 16 12 16C14.2091 16 16 14.2091 16 12C16 9.79086 14.2091 8 12 8ZM10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12Z" data-blade-component="svg-path" - fill="hsla(216, 27%, 36%, 1)" + fill="hsla(211, 26%, 34%, 1)" fill-rule="evenodd" /> @@ -829,7 +829,7 @@ exports[` should render with icons 1`] = `
diff --git a/packages/blade/src/components/Input/OTPInput/__tests__/__snapshots__/OTPInput.ssr.test.tsx.snap b/packages/blade/src/components/Input/OTPInput/__tests__/__snapshots__/OTPInput.ssr.test.tsx.snap index 36c444d3a44..9e530f7b4e4 100644 --- a/packages/blade/src/components/Input/OTPInput/__tests__/__snapshots__/OTPInput.ssr.test.tsx.snap +++ b/packages/blade/src/components/Input/OTPInput/__tests__/__snapshots__/OTPInput.ssr.test.tsx.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[` should have hidden input for form submissions 1`] = `"
"`; +exports[` should have hidden input for form submissions 1`] = `"
"`; exports[` should have hidden input for form submissions 2`] = ` .c0.c0.c0.c0.c0 { @@ -78,7 +78,7 @@ exports[` should have hidden input for form submissions 2`] = ` } .c3.c3.c3.c3.c3 { - color: hsla(217,18%,45%,1); + color: hsla(211,26%,34%,1); font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.75rem; font-weight: 600; @@ -100,7 +100,7 @@ exports[` should have hidden input for form submissions 2`] = ` } .c5.c5.c5.c5.c5 { - color: hsla(217,56%,17%,1); + color: hsla(212,39%,16%,1); font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; @@ -117,7 +117,7 @@ exports[` should have hidden input for form submissions 2`] = ` } .c10.c10.c10.c10.c10 { - color: hsla(216,27%,36%,1); + color: hsla(211,26%,34%,1); font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; @@ -150,7 +150,7 @@ exports[` should have hidden input for form submissions 2`] = ` } .c10.c10.c10.c10.c10::-webkit-input-placeholder { - color: hsla(214,18%,69%,1); + color: hsla(211,20%,52%,0.32); font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; @@ -168,7 +168,7 @@ exports[` should have hidden input for form submissions 2`] = ` } .c10.c10.c10.c10.c10::-moz-placeholder { - color: hsla(214,18%,69%,1); + color: hsla(211,20%,52%,0.32); font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; @@ -186,7 +186,7 @@ exports[` should have hidden input for form submissions 2`] = ` } .c10.c10.c10.c10.c10:-ms-input-placeholder { - color: hsla(214,18%,69%,1); + color: hsla(211,20%,52%,0.32); font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; @@ -204,7 +204,7 @@ exports[` should have hidden input for form submissions 2`] = ` } .c10.c10.c10.c10.c10::placeholder { - color: hsla(214,18%,69%,1); + color: hsla(211,20%,52%,0.32); font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; @@ -231,14 +231,14 @@ exports[` should have hidden input for form submissions 2`] = ` left: 0; right: 0; opacity: 0; - background-color: hsla(218,89%,51%,1); + background-color: hsla(227,100%,59%,1); border-width: 1px; height: 1px; } .c9.c9.c9.c9.c9 { - background-color: hsla(216,15%,54%,0.09); - border-bottom-color: hsla(216,15%,54%,0.18); + background-color: hsla(211,20%,52%,0.09); + border-bottom-color: hsla(211,20%,52%,0.18); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-width: 1px; @@ -255,8 +255,8 @@ exports[` should have hidden input for form submissions 2`] = ` } .c9.c9.c9.c9.c9:hover { - background-color: hsla(216,15%,54%,0.18); - border-bottom-color: hsla(216,15%,54%,0.18); + background-color: hsla(211,20%,52%,0.18); + border-bottom-color: hsla(211,20%,52%,0.18); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-width: 1px; @@ -279,8 +279,8 @@ exports[` should have hidden input for form submissions 2`] = ` } .c9.c9.c9.c9.c9:focus-within { - background-color: hsla(216,15%,54%,0.09); - border-bottom-color: hsla(216,15%,54%,0.18); + background-color: hsla(211,20%,52%,0.09); + border-bottom-color: hsla(211,20%,52%,0.18); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-width: 1px; diff --git a/packages/blade/src/components/Input/OTPInput/__tests__/__snapshots__/OTPInput.web.test.tsx.snap b/packages/blade/src/components/Input/OTPInput/__tests__/__snapshots__/OTPInput.web.test.tsx.snap index c827c39f10d..2482ce9c5b7 100644 --- a/packages/blade/src/components/Input/OTPInput/__tests__/__snapshots__/OTPInput.web.test.tsx.snap +++ b/packages/blade/src/components/Input/OTPInput/__tests__/__snapshots__/OTPInput.web.test.tsx.snap @@ -76,7 +76,7 @@ exports[` should render 1`] = ` } .c3.c3.c3.c3.c3 { - color: hsla(217,18%,45%,1); + color: hsla(211,26%,34%,1); font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.75rem; font-weight: 600; @@ -98,7 +98,7 @@ exports[` should render 1`] = ` } .c5.c5.c5.c5.c5 { - color: hsla(217,56%,17%,1); + color: hsla(212,39%,16%,1); font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; @@ -115,7 +115,7 @@ exports[` should render 1`] = ` } .c10.c10.c10.c10.c10 { - color: hsla(216,27%,36%,1); + color: hsla(211,26%,34%,1); font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; @@ -148,7 +148,7 @@ exports[` should render 1`] = ` } .c10.c10.c10.c10.c10::-webkit-input-placeholder { - color: hsla(214,18%,69%,1); + color: hsla(211,20%,52%,0.32); font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; @@ -166,7 +166,7 @@ exports[` should render 1`] = ` } .c10.c10.c10.c10.c10::-moz-placeholder { - color: hsla(214,18%,69%,1); + color: hsla(211,20%,52%,0.32); font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; @@ -184,7 +184,7 @@ exports[` should render 1`] = ` } .c10.c10.c10.c10.c10:-ms-input-placeholder { - color: hsla(214,18%,69%,1); + color: hsla(211,20%,52%,0.32); font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; @@ -202,7 +202,7 @@ exports[` should render 1`] = ` } .c10.c10.c10.c10.c10::placeholder { - color: hsla(214,18%,69%,1); + color: hsla(211,20%,52%,0.32); font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; @@ -229,14 +229,14 @@ exports[` should render 1`] = ` left: 0; right: 0; opacity: 0; - background-color: hsla(218,89%,51%,1); + background-color: hsla(227,100%,59%,1); border-width: 1px; height: 1px; } .c9.c9.c9.c9.c9 { - background-color: hsla(216,15%,54%,0.09); - border-bottom-color: hsla(216,15%,54%,0.18); + background-color: hsla(211,20%,52%,0.09); + border-bottom-color: hsla(211,20%,52%,0.18); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-width: 1px; @@ -253,8 +253,8 @@ exports[` should render 1`] = ` } .c9.c9.c9.c9.c9:hover { - background-color: hsla(216,15%,54%,0.18); - border-bottom-color: hsla(216,15%,54%,0.18); + background-color: hsla(211,20%,52%,0.18); + border-bottom-color: hsla(211,20%,52%,0.18); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-width: 1px; @@ -277,8 +277,8 @@ exports[` should render 1`] = ` } .c9.c9.c9.c9.c9:focus-within { - background-color: hsla(216,15%,54%,0.09); - border-bottom-color: hsla(216,15%,54%,0.18); + background-color: hsla(211,20%,52%,0.09); + border-bottom-color: hsla(211,20%,52%,0.18); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-width: 1px; diff --git a/packages/blade/src/components/Input/PasswordInput/__tests__/__snapshots__/PasswordInput.ssr.test.tsx.snap b/packages/blade/src/components/Input/PasswordInput/__tests__/__snapshots__/PasswordInput.ssr.test.tsx.snap index 0293c30d577..6a8c058511a 100644 --- a/packages/blade/src/components/Input/PasswordInput/__tests__/__snapshots__/PasswordInput.ssr.test.tsx.snap +++ b/packages/blade/src/components/Input/PasswordInput/__tests__/__snapshots__/PasswordInput.ssr.test.tsx.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[` should display error validation state 1`] = `"
Error
"`; +exports[` should display error validation state 1`] = `"
Error
"`; exports[` should display error validation state 2`] = ` .c0.c0.c0.c0.c0 { @@ -127,7 +127,7 @@ exports[` should display error validation state 2`] = ` } .c4.c4.c4.c4.c4 { - color: hsla(217,18%,45%,1); + color: hsla(211,26%,34%,1); font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.75rem; font-weight: 600; @@ -149,7 +149,7 @@ exports[` should display error validation state 2`] = ` } .c6.c6.c6.c6.c6 { - color: hsla(217,56%,17%,1); + color: hsla(212,39%,16%,1); font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; @@ -166,7 +166,7 @@ exports[` should display error validation state 2`] = ` } .c18.c18.c18.c18.c18 { - color: hsla(8,73%,47%,1); + color: hsla(0,83%,33%,1); font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.6875rem; font-weight: 400; @@ -183,7 +183,7 @@ exports[` should display error validation state 2`] = ` } .c8.c8.c8.c8.c8 { - color: hsla(216,27%,36%,1); + color: hsla(211,26%,34%,1); font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; @@ -215,7 +215,7 @@ exports[` should display error validation state 2`] = ` } .c8.c8.c8.c8.c8::-webkit-input-placeholder { - color: hsla(214,18%,69%,1); + color: hsla(211,20%,52%,0.32); font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; @@ -232,7 +232,7 @@ exports[` should display error validation state 2`] = ` } .c8.c8.c8.c8.c8::-moz-placeholder { - color: hsla(214,18%,69%,1); + color: hsla(211,20%,52%,0.32); font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; @@ -249,7 +249,7 @@ exports[` should display error validation state 2`] = ` } .c8.c8.c8.c8.c8:-ms-input-placeholder { - color: hsla(214,18%,69%,1); + color: hsla(211,20%,52%,0.32); font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; @@ -266,7 +266,7 @@ exports[` should display error validation state 2`] = ` } .c8.c8.c8.c8.c8::placeholder { - color: hsla(214,18%,69%,1); + color: hsla(211,20%,52%,0.32); font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; @@ -292,14 +292,14 @@ exports[` should display error validation state 2`] = ` left: 0; right: 0; opacity: 0; - background-color: hsla(218,89%,51%,1); + background-color: hsla(227,100%,59%,1); border-width: 1px; height: 1px; } .c7.c7.c7.c7.c7 { - background-color: hsla(9,91%,56%,0.09); - border-bottom-color: hsla(8,73%,47%,1); + background-color: hsla(4,74%,49%,0.09); + border-bottom-color: hsla(4,74%,49%,1); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-width: 1px; @@ -316,8 +316,8 @@ exports[` should display error validation state 2`] = ` } .c7.c7.c7.c7.c7:hover { - background-color: hsla(9,91%,56%,0.09); - border-bottom-color: hsla(8,73%,47%,1); + background-color: hsla(4,74%,49%,0.09); + border-bottom-color: hsla(4,74%,49%,1); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-width: 1px; @@ -340,8 +340,8 @@ exports[` should display error validation state 2`] = ` } .c7.c7.c7.c7.c7:focus-within { - background-color: hsla(9,91%,56%,0.09); - border-bottom-color: hsla(8,73%,47%,1); + background-color: hsla(4,74%,49%,0.09); + border-bottom-color: hsla(4,74%,49%,1); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-width: 1px; @@ -392,7 +392,7 @@ exports[` should display error validation state 2`] = ` -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; - color: hsla(214,18%,69%,1); + color: hsla(211,22%,56%,1); -webkit-transition-property: color,box-shadow; transition-property: color,box-shadow; -webkit-transition-duration: 150ms; @@ -402,17 +402,17 @@ exports[` should display error validation state 2`] = ` } .c11.c11.c11.c11.c11:hover { - color: hsla(217,18%,45%,1); + color: hsla(211,26%,34%,1); } .c11.c11.c11.c11.c11:focus-visible { outline: none; - box-shadow: 0px 0px 0px 4px hsla(218,89%,51%,0.18); - color: hsla(217,18%,45%,1); + box-shadow: 0px 0px 0px 4px hsla(227,100%,59%,0.09); + color: hsla(211,26%,34%,1); } .c11.c11.c11.c11.c11:active { - color: hsla(217,18%,45%,1); + color: hsla(211,26%,34%,1); }
should display error validation state 2`] = `
should display error validation state 2`] = ` @@ -576,8 +577,7 @@ exports[` should display error validation state 2`] = ` /> Error diff --git a/packages/blade/src/components/Input/PasswordInput/__tests__/__snapshots__/PasswordInput.web.test.tsx.snap b/packages/blade/src/components/Input/PasswordInput/__tests__/__snapshots__/PasswordInput.web.test.tsx.snap index 62b23e838bb..4111c7973c2 100644 --- a/packages/blade/src/components/Input/PasswordInput/__tests__/__snapshots__/PasswordInput.web.test.tsx.snap +++ b/packages/blade/src/components/Input/PasswordInput/__tests__/__snapshots__/PasswordInput.web.test.tsx.snap @@ -103,7 +103,7 @@ exports[` should render 1`] = ` } .c4.c4.c4.c4.c4 { - color: hsla(217,18%,45%,1); + color: hsla(211,26%,34%,1); font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.75rem; font-weight: 600; @@ -125,7 +125,7 @@ exports[` should render 1`] = ` } .c6.c6.c6.c6.c6 { - color: hsla(217,56%,17%,1); + color: hsla(212,39%,16%,1); font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; @@ -142,7 +142,7 @@ exports[` should render 1`] = ` } .c8.c8.c8.c8.c8 { - color: hsla(216,27%,36%,1); + color: hsla(211,26%,34%,1); font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; @@ -174,7 +174,7 @@ exports[` should render 1`] = ` } .c8.c8.c8.c8.c8::-webkit-input-placeholder { - color: hsla(214,18%,69%,1); + color: hsla(211,20%,52%,0.32); font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; @@ -191,7 +191,7 @@ exports[` should render 1`] = ` } .c8.c8.c8.c8.c8::-moz-placeholder { - color: hsla(214,18%,69%,1); + color: hsla(211,20%,52%,0.32); font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; @@ -208,7 +208,7 @@ exports[` should render 1`] = ` } .c8.c8.c8.c8.c8:-ms-input-placeholder { - color: hsla(214,18%,69%,1); + color: hsla(211,20%,52%,0.32); font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; @@ -225,7 +225,7 @@ exports[` should render 1`] = ` } .c8.c8.c8.c8.c8::placeholder { - color: hsla(214,18%,69%,1); + color: hsla(211,20%,52%,0.32); font-family: "Inter",-apple-system,BlinkMacSystemFont,San Francisco,Segoe UI,Roboto,Helvetica Neue,sans-serif; font-size: 0.875rem; font-weight: 400; @@ -251,14 +251,14 @@ exports[` should render 1`] = ` left: 0; right: 0; opacity: 0; - background-color: hsla(218,89%,51%,1); + background-color: hsla(227,100%,59%,1); border-width: 1px; height: 1px; } .c7.c7.c7.c7.c7 { - background-color: hsla(216,15%,54%,0.09); - border-bottom-color: hsla(216,15%,54%,0.18); + background-color: hsla(211,20%,52%,0.09); + border-bottom-color: hsla(211,20%,52%,0.18); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-width: 1px; @@ -275,8 +275,8 @@ exports[` should render 1`] = ` } .c7.c7.c7.c7.c7:hover { - background-color: hsla(216,15%,54%,0.18); - border-bottom-color: hsla(216,15%,54%,0.18); + background-color: hsla(211,20%,52%,0.18); + border-bottom-color: hsla(211,20%,52%,0.18); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-width: 1px; @@ -299,8 +299,8 @@ exports[` should render 1`] = ` } .c7.c7.c7.c7.c7:focus-within { - background-color: hsla(216,15%,54%,0.09); - border-bottom-color: hsla(216,15%,54%,0.18); + background-color: hsla(211,20%,52%,0.09); + border-bottom-color: hsla(211,20%,52%,0.18); border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-width: 1px; @@ -351,7 +351,7 @@ exports[` should render 1`] = ` -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; - color: hsla(214,18%,69%,1); + color: hsla(211,22%,56%,1); -webkit-transition-property: color,box-shadow; transition-property: color,box-shadow; -webkit-transition-duration: 150ms; @@ -361,17 +361,17 @@ exports[` should render 1`] = ` } .c11.c11.c11.c11.c11:hover { - color: hsla(217,18%,45%,1); + color: hsla(211,26%,34%,1); } .c11.c11.c11.c11.c11:focus-visible { outline: none; - box-shadow: 0px 0px 0px 4px hsla(218,89%,51%,0.18); - color: hsla(217,18%,45%,1); + box-shadow: 0px 0px 0px 4px hsla(227,100%,59%,0.09); + color: hsla(211,26%,34%,1); } .c11.c11.c11.c11.c11:active { - color: hsla(217,18%,45%,1); + color: hsla(211,26%,34%,1); }
diff --git a/packages/blade/src/components/Input/TextArea/__tests__/__snapshots__/TextArea.ssr.test.tsx.snap b/packages/blade/src/components/Input/TextArea/__tests__/__snapshots__/TextArea.ssr.test.tsx.snap index f81f318efb2..b1c15956982 100644 --- a/packages/blade/src/components/Input/TextArea/__tests__/__snapshots__/TextArea.ssr.test.tsx.snap +++ b/packages/blade/src/components/Input/TextArea/__tests__/__snapshots__/TextArea.ssr.test.tsx.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`
"`; +exports[`
"`; exports[`