-
Notifications
You must be signed in to change notification settings - Fork 2
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: add active wallet integration #42
Merged
Merged
Changes from 10 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
853a346
tech(active-wallet): initial wallet layout
eliobricenov 6460314
tech(active-wallet): add query and mutations
eliobricenov e910ac4
tech(active-wallet): add connect wallet example
eliobricenov bfe5924
tech(active-wallet): use appkit for wallet example
eliobricenov aec3589
tech(active-wallet): use correct label when active
eliobricenov 1841cfe
chore: format
eliobricenov 3cfe470
tech(active-wallet): add spinner and error state
eliobricenov 5a5d41d
tech(active-wallet): use scss vars
eliobricenov b08d8b0
tech(active-wallet): use signature and message
eliobricenov 3aa51df
Merge branch 'main' into feat/active-wallet
eliobricenov 0736d0e
chore: update version
eliobricenov 363df37
feat(active-wallet): add error message for already existing wallet
eliobricenov 6914d92
chore: format
eliobricenov 6f94c6a
feat(active-wallet): add toast
eliobricenov 6e14757
chore: add mantine hooks and core to peer dependecies
eliobricenov b51cb5f
feat(active-wallet): add missing component
eliobricenov 22ebb3b
chore: add i18n translations
eliobricenov da1cc18
chore: prettier
eliobricenov e7b2dcc
chore: update i18n keys
eliobricenov b78f922
chore: update i18n keys
eliobricenov File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
Large diffs are not rendered by default.
Oops, something went wrong.
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,96 @@ | ||
.newWalletDetectedContainer { | ||
display: flex; | ||
gap: var(--space-md); | ||
padding: var(--space-xs) var(--space-md); | ||
border-radius: var(--space-xs-fixed); | ||
background-color: var(--color-tertiary-400); | ||
color: var(--color-neutral-800); | ||
} | ||
|
||
.verifyText { | ||
font-weight: var(--bold); | ||
} | ||
|
||
.infoIconContainer { | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
width: 24px; | ||
height: 24px; | ||
} | ||
|
||
.infoIcon { | ||
width: 24px; | ||
height: 24px; | ||
fill: var(--color-neutral-800); | ||
} | ||
|
||
.infoTextContainer { | ||
display: flex; | ||
flex-direction: column; | ||
gap: var(--space-2xs); | ||
} | ||
|
||
.container { | ||
display: flex; | ||
flex-direction: column; | ||
gap: var(--space-2xs); | ||
} | ||
|
||
.root { | ||
display: flex; | ||
flex-direction: column; | ||
gap: var(--space-md); | ||
} | ||
|
||
.walletContainer { | ||
display: flex; | ||
padding: var(--space-xs) var(--space-sm); | ||
border-radius: var(--space-xs-fixed); | ||
border: 1px solid var(--color-stroke-01); | ||
align-items: center; | ||
justify-content: space-between; | ||
background-color: var(--color-neutral-700); | ||
} | ||
|
||
.noWallet { | ||
color: var(--color-neutral-500); | ||
} | ||
|
||
.activeWallet { | ||
color: var(--color-success-300); | ||
} | ||
|
||
.inputLikeContainer { | ||
display: flex; | ||
flex-direction: column; | ||
gap: var(--space-2xs); | ||
} | ||
|
||
.setActiveWalletContainer { | ||
display: flex; | ||
gap: var(--space-2xs); | ||
} | ||
|
||
.setConnectedWalletInput { | ||
flex: 1; | ||
} | ||
|
||
.setButton { | ||
min-width: 120px; | ||
} | ||
|
||
.walletIcon { | ||
width: 18px; | ||
height: 18px; | ||
fill: var(--color-neutral-400); | ||
} | ||
|
||
.label { | ||
font-weight: var(--semibold); | ||
color: var(--color-neutral-400); | ||
} | ||
|
||
.loadingSpinner { | ||
font-size: var(--text-xs); | ||
} |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is to add appkit to storybook, not to the quest-ui package itself