Skip to content

Commit 224a677

Browse files
committed
Move (wrap) layout and icon out of the UI library.
First they go to the main wrap project. In next step we will try to replace them with ui-library components, or completely eliminate them.
1 parent 4aa177d commit 224a677

File tree

6 files changed

+5
-6
lines changed

6 files changed

+5
-6
lines changed
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
export * from './WrapLogoIcon'
21
export * from './LogoIconRound'
32
export * from './OpenInNewIcon'
43
export * from './TimesIcon'

ui/src/wrap/components/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
export * from './icons'
22
export { Input as WrapInput } from './Input'
3-
export { Layout as WrapLayout } from './Layout'
3+
export { Layout as WrapLayout } from '../../../../wrap/src/components/Layout'
44
export { Modal as WrapModal } from './Modal'
55
export * from './Spinner'
66
export { ToggleButton as WrapToggleButton } from './ToggleButton'
File renamed without changes.
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import { FC, PropsWithChildren } from 'react'
22
import { NavLink, Outlet, useMatch } from 'react-router-dom'
3-
import { WrapLogoIcon } from '../icons/WrapLogoIcon'
3+
import { WrapLogoIcon } from '../Logo/WrapLogoIcon'
44
import { ConnectButton } from '@rainbow-me/rainbowkit'
55
import { useMediaQuery } from 'react-responsive'
66
import classes from './index.module.css'
7-
import globalClasses from '../../index.module.css'
8-
import { Header } from '../../../core'
7+
import globalClasses from '../../../../ui/src/wrap/index.module.css'
8+
import { Header } from '@oasisprotocol/rose-app-ui/core'
99

1010
const dateFormatLong = new Intl.DateTimeFormat('en', {
1111
year: 'numeric',
File renamed without changes.

wrap/src/pages/ConnectWallet/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { FC } from 'react'
22
import classes from './index.module.css'
33
import { ConnectButton } from '@rainbow-me/rainbowkit'
44
import { withConnectedWallet } from '../../hoc/withConnectedWallet'
5-
import { WrapLogoIcon } from '@oasisprotocol/rose-app-ui'
5+
import { WrapLogoIcon } from '../../components/Logo/WrapLogoIcon'
66

77
const ConnectWalletCmp: FC = () => {
88
return (

0 commit comments

Comments
 (0)