diff --git a/package.json b/package.json index a8be0a2e..2b98a70e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@hyperlane-xyz/warp-ui-template", "description": "A web app template for building Hyperlane Warp Route UIs", - "version": "1.5.3", + "version": "3.1.0-beta3", "author": "J M Rossy", "dependencies": { "@chakra-ui/next-js": "^2.1.5", @@ -11,12 +11,13 @@ "@cosmos-kit/core": "^2.7.2", "@cosmos-kit/cosmostation": "^2.4.4", "@cosmos-kit/keplr": "^2.4.4", + "@cosmos-kit/leap": "^2.4.3", "@cosmos-kit/react": "^2.5.3", "@emotion/react": "^11.11.1", "@emotion/styled": "^11.11.0", "@headlessui/react": "^1.7.14", - "@hyperlane-xyz/sdk": "^3.1.0-beta0", - "@hyperlane-xyz/utils": "^3.1.0-beta0", + "@hyperlane-xyz/sdk": "^3.1.0-beta3", + "@hyperlane-xyz/utils": "^3.1.0-beta3", "@hyperlane-xyz/widgets": "^1.5.0", "@metamask/jazzicon": "https://github.com/jmrossy/jazzicon#7a8df28974b4e81129bfbe3cab76308b889032a6", "@rainbow-me/rainbowkit": "0.12.16", diff --git a/public/android-chrome-192x192.png b/public/android-chrome-192x192.png index a6e60be2..df20545a 100644 Binary files a/public/android-chrome-192x192.png and b/public/android-chrome-192x192.png differ diff --git a/public/android-chrome-512x512.png b/public/android-chrome-512x512.png index 2f14c8d6..2b47db61 100644 Binary files a/public/android-chrome-512x512.png and b/public/android-chrome-512x512.png differ diff --git a/public/apple-touch-icon.png b/public/apple-touch-icon.png index e34a3529..382b1e04 100644 Binary files a/public/apple-touch-icon.png and b/public/apple-touch-icon.png differ diff --git a/public/background-texture.png b/public/background-texture.png deleted file mode 100644 index 86ba688b..00000000 Binary files a/public/background-texture.png and /dev/null differ diff --git a/public/favicon-16x16.png b/public/favicon-16x16.png index eb2b0584..77cf38da 100644 Binary files a/public/favicon-16x16.png and b/public/favicon-16x16.png differ diff --git a/public/favicon-32x32.png b/public/favicon-32x32.png index d2c62c00..3ad01ce3 100644 Binary files a/public/favicon-32x32.png and b/public/favicon-32x32.png differ diff --git a/public/favicon.ico b/public/favicon.ico index bac1b941..27cd2f27 100644 Binary files a/public/favicon.ico and b/public/favicon.ico differ diff --git a/public/mstile-150x150.png b/public/mstile-150x150.png index a385caab..82fba4a6 100644 Binary files a/public/mstile-150x150.png and b/public/mstile-150x150.png differ diff --git a/public/safari-pinned-tab.svg b/public/safari-pinned-tab.svg index 9cb9a6fb..1f3bcb5d 100644 --- a/public/safari-pinned-tab.svg +++ b/public/safari-pinned-tab.svg @@ -2,23 +2,23 @@ Created by potrace 1.14, written by Peter Selinger 2001-2017 - - + diff --git a/src/components/buttons/CopyButton.tsx b/src/components/buttons/CopyButton.tsx index efb486ab..dbeccbdd 100644 --- a/src/components/buttons/CopyButton.tsx +++ b/src/components/buttons/CopyButton.tsx @@ -9,7 +9,7 @@ interface Props { width: number; height: number; copyValue: string; - classes: string; + classes?: string; } export function CopyButton({ width, height, copyValue, classes }: Props) { diff --git a/src/components/buttons/SolidButton.tsx b/src/components/buttons/SolidButton.tsx index ebaf8ba5..ded73a25 100644 --- a/src/components/buttons/SolidButton.tsx +++ b/src/components/buttons/SolidButton.tsx @@ -2,7 +2,7 @@ import { PropsWithChildren, ReactElement } from 'react'; interface ButtonProps { type?: 'submit' | 'reset' | 'button'; - color?: 'white' | 'blue' | 'green' | 'red' | 'gray' | 'pink'; // defaults to blue + color?: 'white' | 'blue' | 'green' | 'red' | 'gray' | 'pink' | 'mint'; // defaults to blue bold?: boolean; classes?: string; icon?: ReactElement; @@ -38,6 +38,10 @@ export function SolidButton( baseColors = 'bg-green-500 text-white'; onHover = 'hover:bg-green-600'; onActive = 'active:bg-green-700'; + } else if (color === 'mint') { + baseColors = 'bg-mint-500 text-white'; + onHover = 'hover:bg-mint-600'; + onActive = 'active:bg-mint-700'; } else if (color === 'red') { baseColors = 'bg-red-600 text-white'; onHover = 'hover:bg-red-500'; diff --git a/src/components/icons/WideChevron.tsx b/src/components/icons/WideChevron.tsx new file mode 100644 index 00000000..68ac7878 --- /dev/null +++ b/src/components/icons/WideChevron.tsx @@ -0,0 +1,16 @@ +import { WideChevron as WideChevronInner } from '@hyperlane-xyz/widgets'; + +import { Color } from '../../styles/Color'; + +export function WideChevron({ classes }: { classes?: string }) { + return ( + + ); +} diff --git a/src/components/layout/AppLayout.tsx b/src/components/layout/AppLayout.tsx index 020d418d..ca467468 100644 --- a/src/components/layout/AppLayout.tsx +++ b/src/components/layout/AppLayout.tsx @@ -13,7 +13,7 @@ export function AppLayout({ children }: PropsWithChildren) { {/* https://nextjs.org/docs/messages/no-document-viewport-meta */} - Hyperlane Warp Route Template UI + Hyperlane Nexus Bridge
- Planet 2 + Planet 2
-
+
{children}