@@ -422,12 +386,11 @@ exports[`Form component sanity renders children elements 1`] = `
}
.c1 {
- margin-bottom: 16px;
+ box-sizing: border-box;
display: -webkit-inline-box;
display: -webkit-inline-flex;
display: -ms-inline-flexbox;
display: inline-flex;
- width: 100%;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
@@ -435,23 +398,20 @@ exports[`Form component sanity renders children elements 1`] = `
-webkit-box-align: flex-start;
-ms-flex-align: flex-start;
align-items: flex-start;
-}
-
-.c1 {
- box-sizing: border-box;
+ margin-bottom: 16px;
+ width: 100%;
}
.c2 {
+ box-sizing: border-box;
+ font-size: 14px;
+ font-weight: 600;
margin-bottom: 8px;
+ line-height: 1.5;
}
-.c2 {
+.c6 {
box-sizing: border-box;
-}
-
-.c9 {
- color: #4E3FCE;
- margin-bottom: 16px;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
@@ -460,73 +420,62 @@ exports[`Form component sanity renders children elements 1`] = `
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
+ margin-bottom: 16px;
+ color: #4E3FCE;
opacity: 1;
}
.c9 {
box-sizing: border-box;
-}
-
-.c12 {
color: #3F3D4B;
+ font-size: 14px;
+ font-weight: 600;
+ line-height: 1;
margin-left: 4px;
margin-right: 8px;
}
-.c12 {
+.c5 {
box-sizing: border-box;
-}
-
-.c7 {
- color: #28C081;
-}
-
-.c8 {
- color: #DC2C10;
-}
-
-.c6 {
+ width: 100%;
color: #3F3D4B;
background-color: #fff;
- padding: 16px;
- width: 100%;
+ font-size: 1rem;
+ line-height: initial;
height: 3rem;
+ padding: 16px;
border: 1px solid transparent;
- border-color: #CCC;
+ border-color: #ccc;
border-radius: 4px;
box-shadow: 0px 2px 4px rgba(0,0,0,0.1);
- font-family: "Source Sans Pro",-apple-system,sans-serif;
- font-size: 1rem;
- line-height: 1;
}
-.c6 {
+.c5 {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
- box-sizing: border-box;
}
-.c6:hover {
+.c5:hover {
box-shadow: 0px 2px 6px rgba(0,0,0,0.3);
}
-.c6:focus {
+.c5:focus {
outline: none;
border-color: #4E3FCE;
}
-.c6:disabled {
+.c5:disabled {
opacity: 0.4;
pointer-events: none;
}
-.c6[type="color"] {
+.c5[type="color"] {
min-width: 3rem;
padding: 0;
}
-.c6[type="color"]::-webkit-color-swatch-wrapper {
+.c5[type="color"]::-webkit-color-swatch-wrapper {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
@@ -542,7 +491,7 @@ exports[`Form component sanity renders children elements 1`] = `
padding: 0;
}
-.c6[type="color"]::-webkit-color-swatch {
+.c5[type="color"]::-webkit-color-swatch {
-webkit-flex: 0 0 auto;
-ms-flex: 0 0 auto;
flex: 0 0 auto;
@@ -552,30 +501,32 @@ exports[`Form component sanity renders children elements 1`] = `
border-radius: 100%;
}
-.c6[type="color"]::-moz-color-swatch {
+.c5[type="color"]::-moz-color-swatch {
height: 2rem;
width: 2rem;
border: none;
border-radius: 100%;
}
-.was-validated .c6:valid {
+.was-validated .c5:valid {
border-color: #28C081;
}
-.was-validated .c6:valid ~ svg.icon-valid {
+.was-validated .c5:valid ~ svg.icon-valid {
visibility: visible;
+ color: #28C081;
}
-.was-validated .c6:invalid {
+.was-validated .c5:invalid {
border-color: #DC2C10;
}
-.was-validated .c6:invalid ~ svg.icon-invalid {
+.was-validated .c5:invalid ~ svg.icon-invalid {
visibility: visible;
+ color: #DC2C10;
}
-.c4 {
+.c3 {
position: relative;
display: -webkit-box;
display: -webkit-flex;
@@ -588,38 +539,24 @@ exports[`Form component sanity renders children elements 1`] = `
width: 100%;
}
-.c4 > .c5 {
+.c3 > .c4 {
padding-right: 3rem;
text-overflow: ellipsis;
white-space: no-wrap;
}
-.c4 > svg {
+.c3 > svg {
position: absolute;
right: 1rem;
visibility: hidden;
}
-.c3 {
- font-family: "Source Sans Pro",-apple-system,sans-serif;
- font-size: 14px;
- font-weight: 600;
- line-height: 1.5;
-}
-
-.c13 {
- font-family: "Source Sans Pro",-apple-system,sans-serif;
- font-size: 14px;
- font-weight: 600;
- line-height: 1;
-}
-
-.c11 {
+.c8 {
position: relative;
display: inline-block;
}
-.c11 > input {
+.c8 > input {
cursor: pointer;
-webkit-appearance: none;
-moz-appearance: none;
@@ -632,7 +569,7 @@ exports[`Form component sanity renders children elements 1`] = `
margin: 0;
}
-.c11 > svg {
+.c8 > svg {
position: absolute;
z-index: 0;
top: 0;
@@ -645,21 +582,21 @@ exports[`Form component sanity renders children elements 1`] = `
fill: #CCC;
}
-.c11 > svg[name='checked'] {
+.c8 > svg[name='checked'] {
display: none;
z-index: 1;
fill: #4E3FCE;
}
-.c11 > input:checked ~ svg[name='checked'] {
+.c8 > input:checked ~ svg[name='checked'] {
display: block;
}
-.c10 {
+.c7 {
cursor: pointer;
}
-.c10:hover input:not(:disabled) ~ svg[name='unchecked'] {
+.c7:hover input:not(:disabled) ~ svg[name='unchecked'] {
fill: currentColor;
}
@@ -672,20 +609,18 @@ exports[`Form component sanity renders children elements 1`] = `
width="1"
>
Email
@@ -139,7 +128,7 @@ exports[`Radio component sanity matches default snapshot 1`] = `
exports[`Radio component sanity matches themed snapshot 1`] = `
.c0 {
- color: #4E3FCE;
+ box-sizing: border-box;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
@@ -148,32 +137,22 @@ exports[`Radio component sanity matches themed snapshot 1`] = `
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
+ color: #4E3FCE;
opacity: 1;
}
-.c0 {
- box-sizing: border-box;
-}
-
.c2 {
box-sizing: border-box;
}
-.c4 {
- color: #3F3D4B;
- margin-left: 4px;
- margin-right: 8px;
-}
-
.c4 {
box-sizing: border-box;
-}
-
-.c5 {
- font-family: "Source Sans Pro",-apple-system,sans-serif;
+ color: #3F3D4B;
font-size: 14px;
font-weight: 600;
line-height: 1;
+ margin-left: 4px;
+ margin-right: 8px;
}
.c3 {
@@ -265,9 +244,8 @@ exports[`Radio component sanity matches themed snapshot 1`] = `