Skip to content

Commit

Permalink
fix: prettier v3.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
diogoredin committed Sep 13, 2023
1 parent bfac9bd commit e54e699
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 10 deletions.
14 changes: 11 additions & 3 deletions docs/Guidelines/Logo/Logos.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,17 @@ const Info = styled.div`
const Link = styled.a`
color: #00b6f0;
text-decoration: none;
font-family: 'Nunito Sans', -apple-system, '.SFNSText-Regular',
'San Francisco', BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Helvetica,
Arial, sans-serif;
font-family:
'Nunito Sans',
-apple-system,
'.SFNSText-Regular',
'San Francisco',
BlinkMacSystemFont,
'Segoe UI',
'Helvetica Neue',
Helvetica,
Arial,
sans-serif;
&:hover {
color: #99a1a3;
Expand Down
4 changes: 3 additions & 1 deletion src/components/Card/index.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ export const Basic = () => (
const Adornment = styled.div`
display: block;
border-radius: ${radius.sm};
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 0 2px rgba(0, 0, 0, 0.1);
box-shadow:
0 2px 8px rgba(0, 0, 0, 0.1),
0 0 2px rgba(0, 0, 0, 0.1);
background-color: ${color.background};
text-align: center;
inline-size: 40px;
Expand Down
4 changes: 3 additions & 1 deletion src/components/Input/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ export const fieldStyles = (props: InputProps) => css`
border: 0;
text-align: start;
appearance: none;
transition: box-shadow ${transition}, background-color ${transition};
transition:
box-shadow ${transition},
background-color ${transition};
-webkit-font-smoothing: auto;
${props.as === 'textarea' &&
Expand Down
3 changes: 2 additions & 1 deletion src/components/MenuButton/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ const StyledMenuList = styled<React.FC<MenuListProps>>(ReachMenuList)`
props.state === TransitionState.EXITING
? 'translateY(0)'
: `translateY(1rem)`};
transition: opacity ${DURATION}ms ${easing.easeInOutCubic},
transition:
opacity ${DURATION}ms ${easing.easeInOutCubic},
transform ${DURATION}ms ${easing.easeInOutCubic};
`

Expand Down
4 changes: 2 additions & 2 deletions src/components/SelectV2/DesktopDropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ export const DesktopDropdown = ({
resetQuery()
event.preventDefault()

const index = options.findIndex(({ label }) =>
label?.toLowerCase().startsWith(query + event.key)
const index = options.findIndex(
({ label }) => label?.toLowerCase().startsWith(query + event.key)
)

if (index !== -1) {
Expand Down
6 changes: 4 additions & 2 deletions src/components/Toggle/Switch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,10 @@ const Button = styled.button<ButtonProps>`
block-size: 100%;
border-radius: ${space[32]};
background: ${color.lightBackground};
transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
padding 0.3s ease, margin 0.3s ease;
transition:
all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
padding 0.3s ease,
margin 0.3s ease;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
Expand Down

0 comments on commit e54e699

Please sign in to comment.