Update prettier to version ^1.15.3
This commit is contained in:
@@ -117,10 +117,7 @@ const StyledForm = styled.form`
|
||||
margin-top: 27px;
|
||||
`;
|
||||
|
||||
const StyledInput =
|
||||
styled.input <
|
||||
InputProps >
|
||||
`
|
||||
const StyledInput = styled.input<InputProps>`
|
||||
appearance: none;
|
||||
background-color: transparent;
|
||||
border: 0;
|
||||
@@ -132,7 +129,7 @@ const StyledInput =
|
||||
width: 100%;
|
||||
|
||||
&::placeholder {
|
||||
color: #B1B1B1; // #9D9D9D on light theme
|
||||
color: #b1b1b1; // #9D9D9D on light theme
|
||||
}
|
||||
`;
|
||||
|
||||
@@ -140,14 +137,11 @@ const InputWrapper = styled.div`
|
||||
position: relative;
|
||||
`;
|
||||
|
||||
const InnerInputWrapper =
|
||||
styled.div <
|
||||
ArrowProps >
|
||||
`
|
||||
const InnerInputWrapper = styled.div<ArrowProps>`
|
||||
opacity: ${props => props.isSubmitted && 0};
|
||||
visibility: ${props => props.isSubmitted && 'hidden'};
|
||||
transition: opacity 0.25s ease-in-out, visibility 0.25s ease-in-out;
|
||||
transition-delay: 0.30s;
|
||||
transition-delay: 0.3s;
|
||||
`;
|
||||
|
||||
const SubmitButton = styled.button`
|
||||
@@ -174,11 +168,8 @@ const Text = styled.p`
|
||||
margin-top: 15px;
|
||||
`;
|
||||
|
||||
const SuccessText =
|
||||
styled.p <
|
||||
ArrowProps >
|
||||
`
|
||||
color: #B1B1B1;
|
||||
const SuccessText = styled.p<ArrowProps>`
|
||||
color: #b1b1b1;
|
||||
font-size: 1rem;
|
||||
font-weight: 300;
|
||||
line-height: 1.2em;
|
||||
@@ -194,10 +185,7 @@ const SuccessText =
|
||||
transition-delay: 0.55s;
|
||||
`;
|
||||
|
||||
const Arrow =
|
||||
styled.svg <
|
||||
ArrowProps >
|
||||
`
|
||||
const Arrow = styled.svg<ArrowProps>`
|
||||
transform: ${props => props.isSubmitted && `translateX(44px)`};
|
||||
transition: transform 0.25s ease-in-out;
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user