-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Define deployment history types and show in sidebar
Remove warp-ui-specific code from Sidebar and DeploymentDetailsModal
- Loading branch information
Showing
13 changed files
with
183 additions
and
315 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import { DefaultIconProps } from '@hyperlane-xyz/widgets'; | ||
import { memo } from 'react'; | ||
import { Color } from '../../styles/Color'; | ||
|
||
// TODO move to widgets lib | ||
function _ConfirmedIcon({ color, ...rest }: DefaultIconProps) { | ||
return ( | ||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 26" {...rest}> | ||
<g clip-path="url(#confirmed-icon-clip-path)"> | ||
<path | ||
d="M1.93105 13.4815C1.93076 11.6219 2.42129 9.79511 3.35333 8.1846C4.28537 6.57409 5.62608 5.23667 7.24067 4.30678C8.85527 3.37689 10.6869 2.8873 12.5513 2.88723C14.4158 2.88716 16.2474 3.3766 17.8621 4.30637C18.0837 4.43205 18.3462 4.46519 18.5923 4.39857C18.8383 4.33194 19.048 4.17096 19.1754 3.95074C19.3029 3.73052 19.3379 3.46895 19.2727 3.22311C19.2076 2.97727 19.0475 2.76712 18.8276 2.63851C16.4348 1.26067 13.653 0.708778 10.9136 1.06842C8.17424 1.42807 5.63041 2.67916 3.67662 4.62766C1.72282 6.57616 0.468253 9.11318 0.107478 11.8453C-0.253297 14.5774 0.299883 17.3519 1.68123 19.7384C3.06257 22.125 5.19488 23.9903 7.74747 25.0451C10.3001 26.0998 13.1303 26.2851 15.7992 25.5721C18.4681 24.8592 20.8266 23.2878 22.5088 21.1018C24.1911 18.9157 25.1031 16.2372 25.1035 13.4815C25.1035 13.2261 25.0017 12.9812 24.8207 12.8006C24.6396 12.62 24.394 12.5185 24.1379 12.5185C23.8819 12.5185 23.6363 12.62 23.4552 12.8006C23.2741 12.9812 23.1724 13.2261 23.1724 13.4815C23.1724 16.2908 22.0535 18.9851 20.0617 20.9716C18.0699 22.9581 15.3685 24.0741 12.5517 24.0741C9.73495 24.0741 7.03354 22.9581 5.04178 20.9716C3.05001 18.9851 1.93105 16.2908 1.93105 13.4815Z" | ||
fill={color || Color.black} | ||
/> | ||
<path | ||
d="M26.7526 4.53363C26.8424 4.4441 26.9136 4.33781 26.9622 4.22083C27.0108 4.10385 27.0358 3.97847 27.0358 3.85185C27.0358 3.72523 27.0108 3.59986 26.9622 3.48288C26.9136 3.3659 26.8424 3.25961 26.7526 3.17007C26.6629 3.08054 26.5563 3.00952 26.439 2.96107C26.3217 2.91261 26.196 2.88767 26.0691 2.88767C25.9421 2.88767 25.8164 2.91261 25.6991 2.96107C25.5818 3.00952 25.4752 3.08054 25.3855 3.17007L12.5518 15.9717L7.44231 10.8738C7.35254 10.7842 7.24597 10.7132 7.12868 10.6648C7.01139 10.6163 6.88568 10.5914 6.75873 10.5914C6.63178 10.5914 6.50606 10.6163 6.38877 10.6648C6.27148 10.7132 6.16491 10.7842 6.07514 10.8738C5.98537 10.9633 5.91416 11.0696 5.86558 11.1866C5.817 11.3036 5.79199 11.4289 5.79199 11.5556C5.79199 11.6822 5.817 11.8076 5.86558 11.9245C5.91416 12.0415 5.98537 12.1478 6.07514 12.2373L11.8682 18.0151C11.9579 18.1048 12.0645 18.1759 12.1818 18.2245C12.2991 18.273 12.4248 18.298 12.5518 18.298C12.6788 18.298 12.8046 18.273 12.9219 18.2245C13.0392 18.1759 13.1457 18.1048 13.2354 18.0151L26.7526 4.53363Z" | ||
fill={color || Color.black} | ||
/> | ||
</g> | ||
<defs> | ||
<clipPath id="confirmed-icon-clip-path"> | ||
<rect width="28" height="26" fill="white" /> | ||
</clipPath> | ||
</defs> | ||
</svg> | ||
); | ||
} | ||
|
||
export const ConfirmedIcon = memo(_ConfirmedIcon); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.