Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add buy to playground #1755

Closed
wants to merge 81 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
3b1985f
initial commit
alissacrane-cb Dec 13, 2024
38b978d
fix typo
alissacrane-cb Dec 13, 2024
4d2accf
lint
alissacrane-cb Dec 13, 2024
b3474a8
fix lint
alissacrane-cb Dec 13, 2024
75a16d4
fix imports
alissacrane-cb Dec 13, 2024
ee0f7bc
adjust swap quote functionality
alissacrane-cb Dec 13, 2024
de3805d
fix swap test
alissacrane-cb Dec 13, 2024
9e98425
adjust svgs
alissacrane-cb Dec 13, 2024
fd8241f
adjust imports
alissacrane-cb Dec 13, 2024
1672671
adjust hook behavior
alissacrane-cb Dec 13, 2024
7f8cdc4
add popup monitor
alissacrane-cb Dec 16, 2024
9570480
fix optional params - revisit
alissacrane-cb Dec 16, 2024
2303671
remove unused file
alissacrane-cb Dec 16, 2024
1f5d208
add leading 0
alissacrane-cb Dec 16, 2024
ddf3654
fix swap error
alissacrane-cb Dec 16, 2024
6b34326
remove SwapLite components
alissacrane-cb Dec 16, 2024
62f9586
add buy components
alissacrane-cb Dec 16, 2024
63f4717
add test coverage
alissacrane-cb Dec 16, 2024
eb0d0ac
remove unused code
alissacrane-cb Dec 16, 2024
64decc8
remove exit handler
alissacrane-cb Dec 16, 2024
66545a6
adjust imports
alissacrane-cb Dec 16, 2024
1e65878
add test coverage
alissacrane-cb Dec 16, 2024
8194392
add test coverage
alissacrane-cb Dec 16, 2024
e792579
fix imports and lint
alissacrane-cb Dec 16, 2024
0cee0d3
fix import
alissacrane-cb Dec 16, 2024
40e8074
update import
alissacrane-cb Dec 16, 2024
24c5d01
throw error if no project id
alissacrane-cb Dec 16, 2024
12c5ae7
fix import
alissacrane-cb Dec 16, 2024
676fed9
fix imports
alissacrane-cb Dec 16, 2024
a30f64e
remove console log
alissacrane-cb Dec 16, 2024
e2837e7
add comments
alissacrane-cb Dec 16, 2024
d60b789
add test coverage
alissacrane-cb Dec 17, 2024
404a730
add test coverage
alissacrane-cb Dec 17, 2024
42d3a11
add test coverage
alissacrane-cb Dec 17, 2024
fe9c92b
remove uneccesary error
alissacrane-cb Dec 17, 2024
215761b
remove project id
alissacrane-cb Dec 17, 2024
c7b0e8c
address pr comments
alissacrane-cb Dec 17, 2024
a43a105
fix lint
alissacrane-cb Dec 17, 2024
c9daec4
fix tests
alissacrane-cb Dec 17, 2024
322db40
refactor useOnrampeventlistener
alissacrane-cb Dec 17, 2024
ad8be9d
add test coverage
alissacrane-cb Dec 17, 2024
ebf9200
add test coverage
alissacrane-cb Dec 17, 2024
81e7ae4
add test coverage
alissacrane-cb Dec 17, 2024
ddd20db
add test coverage
alissacrane-cb Dec 17, 2024
e8672f6
re require transactionReceipt
alissacrane-cb Dec 17, 2024
0b88800
fix test
alissacrane-cb Dec 17, 2024
fbf23c8
add buy to playground
alissacrane-cb Dec 17, 2024
f9b0211
add buy to exporst
alissacrane-cb Dec 17, 2024
01f96ff
update buy button
alissacrane-cb Dec 17, 2024
4fd9db9
update buy button
alissacrane-cb Dec 17, 2024
ec56e5a
update buy button
alissacrane-cb Dec 17, 2024
cc6d4c2
update buy button
alissacrane-cb Dec 17, 2024
0e306b5
add quote validation
alissacrane-cb Dec 17, 2024
f9a05f3
Merge remote-tracking branch 'origin/alissa.crane/swap-lite-component…
alissacrane-cb Dec 17, 2024
727e826
validate quote
alissacrane-cb Dec 17, 2024
265e646
Merge remote-tracking branch 'origin/alissa.crane/swap-lite-component…
alissacrane-cb Dec 17, 2024
27320d9
adjust styling
alissacrane-cb Dec 17, 2024
6767f99
Merge remote-tracking branch 'origin/alissa.crane/swap-lite-component…
alissacrane-cb Dec 17, 2024
a082d8e
fix lint
alissacrane-cb Dec 17, 2024
8117757
add test coverage
alissacrane-cb Dec 17, 2024
8c13dd2
add test coverage
alissacrane-cb Dec 17, 2024
ede2e92
add test coverage
alissacrane-cb Dec 17, 2024
96de464
fix lint
alissacrane-cb Dec 17, 2024
727bb99
add changelog
alissacrane-cb Dec 18, 2024
d3f2280
Merge remote-tracking branch 'origin/alissa.crane/swap-lite-component…
alissacrane-cb Dec 18, 2024
47bff74
adjust margin
alissacrane-cb Dec 18, 2024
1090562
address qa comments
alissacrane-cb Dec 18, 2024
bbda91a
fix test
alissacrane-cb Dec 18, 2024
9d42ae9
Merge remote-tracking branch 'origin/alissa.crane/swap-lite-component…
alissacrane-cb Dec 18, 2024
c0d7c02
remove fromToken
alissacrane-cb Dec 18, 2024
433750e
fix lint
alissacrane-cb Dec 18, 2024
e99f54a
add z-index
alissacrane-cb Dec 18, 2024
dc415b8
add z index
alissacrane-cb Dec 18, 2024
4843432
fix lint
alissacrane-cb Dec 18, 2024
5b3afb3
add missing required fields message and address pr comments
alissacrane-cb Dec 18, 2024
7c63536
add test coverage
alissacrane-cb Dec 18, 2024
19512c4
fix lint
alissacrane-cb Dec 18, 2024
1cf2f1a
fix test and build
alissacrane-cb Dec 18, 2024
dd96265
Merge remote-tracking branch 'origin/alissa.crane/swap-lite-component…
alissacrane-cb Dec 18, 2024
d527a6b
remove unsued code
alissacrane-cb Dec 18, 2024
e818404
Merge branch 'alissa.crane/swap-lite-component', remote-tracking bran…
alissacrane-cb Dec 18, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
adjust svgs
alissacrane-cb committed Dec 16, 2024

Unverified

This user has not yet uploaded their public signing key.
commit 9e9842525d3c51d75755641e020a9c470177d631
3 changes: 1 addition & 2 deletions src/internal/svg/appleSvg.tsx
Original file line number Diff line number Diff line change
@@ -5,7 +5,6 @@ export const appleSvg = (
preserveAspectRatio="xMidYMid meet"
id="Artwork"
>
<style>{'.st0{fill:#fff}'}</style>
<title>AppleSvg</title>
<path
id="XMLID_4_"
@@ -14,7 +13,7 @@ export const appleSvg = (

<path
id="XMLID_3_"
className="st0"
fill="#fff"
d="M150.7 3.5H153.8c.8 0 1.7.1 2.6.2.8.1 1.4.3 2 .6.6.3 1.1.7 1.6 1.2s.9 1 1.2 1.6c.3.6.5 1.2.6 2 .2.9.2 1.8.2 2.6v82.5c0 .8-.1 1.7-.2 2.6-.1.7-.3 1.4-.6 2-.3.6-.7 1.1-1.2 1.6s-1 .9-1.6 1.2c-.6.3-1.2.5-2 .6-.9.2-1.8.2-2.6.2H11.7c-.7 0-1.7-.1-2.6-.2-.7-.1-1.4-.3-2-.7-.6-.3-1.1-.7-1.6-1.2s-.9-1-1.2-1.6c-.3-.6-.5-1.2-.6-2-.2-.9-.2-1.8-.2-2.6v-81-1.4c0-.8.1-1.7.2-2.6.1-.7.3-1.4.6-2 .3-.6.7-1.1 1.2-1.6s1-.9 1.6-1.2c.6-.3 1.2-.5 2-.6.9-.2 1.8-.2 2.6-.2h139"
/>

2 changes: 1 addition & 1 deletion src/internal/svg/cardSvg.tsx
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@ export const cardSvg = (
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="#000000"
stroke="currentColor"
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"
4 changes: 2 additions & 2 deletions src/internal/svg/coinbaseLogoSvg.tsx
Original file line number Diff line number Diff line change
@@ -2,8 +2,8 @@ import { cn, icon } from '../../styles/theme';

export const coinbaseLogoSvg = (
<svg
width="16"
height="17"
width="24"
height="24"
viewBox="0 0 16 17"
fill="none"
xmlns="http://www.w3.org/2000/svg"