Skip to content

Commit

Permalink
fix:yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
ssagg committed Jun 7, 2024
1 parent 39f2039 commit aae1a7f
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 25 deletions.
16 changes: 8 additions & 8 deletions ui/button/src/button.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ import { useState } from 'react'

import { useHover } from '@ui/utils'

import { ButtonProps } from './button.interfaces'
import { IconAttachment } from './icon-attachment'
import { ButtonShadow } from './styles/shadow'
import { baseStyles } from './button.styles'
import { shapeStyles } from './button.styles'
import { contentStyles } from './button.styles'
import { fillStyles } from './button.styles'
import { appearanceStyles } from './styles'
import { ButtonProps } from './button.interfaces.js'
import { IconAttachment } from './icon-attachment/index.js'
import { ButtonShadow } from './styles/shadow/index.js'
import { baseStyles } from './button.styles.js'
import { shapeStyles } from './button.styles.js'
import { contentStyles } from './button.styles.js'
import { fillStyles } from './button.styles.js'
import { appearanceStyles } from './styles/index.js'

export const ButtonElement = styled('button')<any>(
baseStyles,
Expand Down
2 changes: 1 addition & 1 deletion ui/button/src/styles/shadow/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from './shadow.styles'
export * from './shadow.styles.js'
2 changes: 1 addition & 1 deletion ui/icons/src/AtlantisSmallIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { useTheme } from '@emotion/react'
/* eslint-disable */
import React from 'react'

import { IconProps } from '../icons.interfaces'
import { IconProps } from '../icons.interfaces.js'

export const AtlantisSmallIcon = (props: IconProps) => {
const theme: any = useTheme()
Expand Down
1 change: 1 addition & 0 deletions ui/icons/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export * from './GitHubIcon.js'
export * from './LightThemeIcon.js'
export * from './ArrowChevronIcon.js'
export * from './AtlantisIcon.js'
export * from './AtlantisSmallIcon.js'
export * from './DashboardIcon.js'
export * from './LogoutIcon.js'
export * from './OrgamizationsIcon.js'
Expand Down
4 changes: 2 additions & 2 deletions ui/image/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export * from './image-block'
export * from './next-image'
export * from './image-block/index.js'
export * from './next-image/index.js'
6 changes: 3 additions & 3 deletions ui/image/src/next-image/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export * from './next-image.component'
export * from './next-image.styles'
export * from './next-image.interfaces'
export * from './next-image.component.js'
export * from './next-image.styles.js'
export * from './next-image.interfaces.js'
15 changes: 5 additions & 10 deletions ui/image/src/next-image/next-image.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,13 @@ import Image from 'next/image'
import React from 'react'
import { FC } from 'react'

import { NextImageProps } from './next-image.interfaces'
import { NextImageWrapper } from './next-image.styles'
import { NextImageProps } from './next-image.interfaces.js'
import { NextImageWrapper } from './next-image.styles.js'

export const NextImage: FC<NextImageProps> = ({
src,
alt,
width,
height,
borderRadius,
...props
}) => (
const NextImage: FC<NextImageProps> = ({ src, alt, width, height, borderRadius, ...props }) => (
<NextImageWrapper borderRadius={borderRadius}>
<Image src={src} alt={alt} width={width} height={height} {...props} />
</NextImageWrapper>
)

export { NextImage }

0 comments on commit aae1a7f

Please sign in to comment.