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

Feat/argent one button connector logic #148

Merged
merged 50 commits into from
Oct 31, 2024
Merged
Changes from 1 commit
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
14267a7
chore: delete redundant component
Cussone Oct 29, 2024
44ce0a5
chore: inherit `color` for svg icons
Cussone Oct 29, 2024
110bbdf
chore: remove redundant component
Cussone Oct 29, 2024
1202fa3
fix: add missing tailwind's color tokens from `x-ui`
Cussone Oct 29, 2024
f743342
chore: improve button components
Cussone Oct 29, 2024
c777e5d
chore: rename component to more appropriate name
Cussone Oct 29, 2024
8612c92
chore: improve button component
Cussone Oct 29, 2024
9039438
fix: color
Cussone Oct 29, 2024
c57a8d8
feat: add component for rendering icons
Cussone Oct 29, 2024
fba46c4
chore: clean up and add missing functionality
Cussone Oct 29, 2024
6ff294e
fix: pass props and type `downloadLinks`
Cussone Oct 29, 2024
7097abc
chore: replace QR with loader, handle click
Cussone Oct 29, 2024
cc797b7
chore: pass props, adapt usage
Cussone Oct 29, 2024
bb2c00a
chore: connect buttons to handlers
Cussone Oct 29, 2024
3c43169
chore: type wallets, pass props
Cussone Oct 29, 2024
d571de8
feat: programmatically show install extension section
Cussone Oct 30, 2024
e5eecf4
chore: improve method naming
Cussone Oct 30, 2024
61ef1f0
fix: adapt type external
Cussone Oct 30, 2024
ea4008b
feat: create helpers for connectors
Cussone Oct 30, 2024
53d303e
feat: adapt modal to new features
Cussone Oct 30, 2024
015dff2
feat: create modal helpers
Cussone Oct 30, 2024
c743c6d
feat: handle new UI and only QR code approach
Cussone Oct 30, 2024
b3ecb62
chore: add todos
Cussone Oct 30, 2024
35dfa0c
chore: update `closeModal` usage according to API change
Cussone Oct 30, 2024
6903da0
chore: set `Argent` as default
Cussone Oct 30, 2024
6a166b3
chore: update logic to support standalone usage with new UI
Cussone Oct 30, 2024
c2fd50a
chore: add new types
Cussone Oct 30, 2024
50945e5
chore: add new exports
Cussone Oct 30, 2024
e187d3e
chore: handle `StarknetkitCompoundConnector`
Cussone Oct 30, 2024
9166775
chore: handle only qr code approach
Cussone Oct 30, 2024
71b7e6b
chore: add new icons for argent x, improve code
Cussone Oct 30, 2024
3fd36a7
feat: improve type StarknetkitCompoundConnector
Cussone Oct 30, 2024
966a9e7
feat: add new prop to `ConnectOptions`
Cussone Oct 30, 2024
64af087
chore: remove redundant code
Cussone Oct 30, 2024
a76c303
fix: ts error
Cussone Oct 30, 2024
902c3af
chore: update `DEFAULT_WEBWALLET_ICON`
Cussone Oct 30, 2024
0e81651
chore: rename ArgentCompound, update methods/interface, remove redundant
Cussone Oct 30, 2024
def3210
chore: adapt `connect` method to new UI approach
Cussone Oct 30, 2024
56083f4
chore: remove redundant code
Cussone Oct 30, 2024
113a1a3
chore: throw error if html nodes do not exist
Cussone Oct 31, 2024
c23616c
chore: fix ts error
Cussone Oct 31, 2024
7a44258
chore: add installed property to ModalWallet, handle install screen
Cussone Oct 31, 2024
b9acfbc
chore: fix ts error
Cussone Oct 31, 2024
6425b27
chore: improve check
Cussone Oct 31, 2024
e991747
fix: using wrong connector name/icon
Cussone Oct 31, 2024
b3f3ff4
chore: temporarily remove `files`
Cussone Oct 31, 2024
4f1f5a8
chore: fix comment
Cussone Oct 31, 2024
2eb258e
chore: fix vite build errors
Cussone Oct 31, 2024
41ab241
chore: take back `files` prop
Cussone Oct 31, 2024
7a8a75e
chore: add `beta` to push triggered branches
Cussone Oct 31, 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
fix: adapt type external
Cussone committed Oct 30, 2024
commit 61ef1f0f57b34f1f63d7a8cbcda14baf58d33572
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
<script lang="ts">
import { StoreVersion } from "../../../types/modal"

import ChromeIcon from "../../components/icons/brands/ChromeIcon.svelte";
import FirefoxIcon from "../../components/icons/brands/FirefoxIcon.svelte";
import EdgeIcon from "../../components/icons/brands/EdgeIcon.svelte";
@@ -9,7 +7,7 @@

export let extensionName: string = ""

export let downloadLinks: Record<StoreVersion, "" | undefined> | undefined = {
export let downloadLinks: Record<string, string> | undefined = {
chrome: "",
edge: "",
firefox: "",