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 integrating account balance #2030

Merged
merged 21 commits into from
Mar 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
8b4902d
Merge branch 'V4' of github.com:WalletConnect/web3modal into V4
svenvoskamp Feb 7, 2024
63cfbe3
Merge branch 'V4' of github.com:WalletConnect/web3modal into V4
svenvoskamp Feb 8, 2024
2b52d4b
merge
svenvoskamp Feb 12, 2024
2e83f78
Merge branch 'V4' of github.com:WalletConnect/web3modal into V4
svenvoskamp Feb 13, 2024
001253d
Merge branch 'V4' of github.com:WalletConnect/web3modal into V4
svenvoskamp Feb 13, 2024
6bc579d
Merge branch 'V4' of github.com:WalletConnect/web3modal into V4
svenvoskamp Feb 13, 2024
d591a36
Merge branch 'V4' of github.com:WalletConnect/web3modal into V4
svenvoskamp Feb 13, 2024
0bbd3ce
Merge branch 'V4' of github.com:WalletConnect/web3modal into V4
svenvoskamp Feb 21, 2024
dbec76d
Merge branch 'V4' of github.com:WalletConnect/web3modal into V4
svenvoskamp Feb 22, 2024
c6cc0da
Merge branch 'V4' of github.com:WalletConnect/web3modal into V4
svenvoskamp Feb 22, 2024
abea3f9
Merge branch 'V4' of github.com:WalletConnect/web3modal into V4
svenvoskamp Feb 23, 2024
9de5915
Merge branch 'V4' of github.com:WalletConnect/web3modal into V4
svenvoskamp Feb 23, 2024
450ff30
Merge branch 'V4' of github.com:WalletConnect/web3modal into V4
svenvoskamp Feb 26, 2024
a194234
Merge branch 'V4' of github.com:WalletConnect/web3modal into V4
svenvoskamp Feb 29, 2024
8e2b240
Merge branch 'V4' of github.com:WalletConnect/web3modal into V4
svenvoskamp Mar 4, 2024
ecdfd22
Merge branch 'V4' of github.com:WalletConnect/web3modal into V4
svenvoskamp Mar 5, 2024
0b2d2af
setting up blockchain api, adding ui components for account blance
svenvoskamp Mar 5, 2024
265fa28
adjust wui tabs
svenvoskamp Mar 5, 2024
810bf33
integrate account balance
svenvoskamp Mar 6, 2024
4cda9d3
fix lint & build
svenvoskamp Mar 6, 2024
974ed8b
Merge branch 'V4' into feat/integrating-account-balance
svenvoskamp Mar 7, 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
48 changes: 48 additions & 0 deletions apps/gallery/stories/composites/wui-list-description.stories.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
import type { Meta } from '@storybook/web-components'
import '@web3modal/ui/src/composites/wui-list-description'
import type { WuiListDescription } from '@web3modal/ui/src/composites/wui-list-description'
import { html } from 'lit'
import '../../components/gallery-container'
import { colorOptions, iconOptions } from '../../utils/PresetUtils'

type Component = Meta<WuiListDescription>

export default {
title: 'Composites/wui-list-description',
args: {
icon: 'card',
text: 'Buy Crypto',
tag: 'Popular',
description: 'Easy with card or bank account',
iconBackgroundColor: 'success-100',
iconColor: 'success-100'
},
argTypes: {
icon: {
options: iconOptions,
control: { type: 'select' }
},
iconBackgroundColor: {
options: colorOptions,
control: { type: 'select' }
},
iconColor: {
options: colorOptions,
control: { type: 'select' }
}
}
} as Component

export const Default: Component = {
render: args =>
html` <gallery-container width="336">
<wui-list-description
icon=${args.icon}
text=${args.text}
.tag=${args.tag}
description=${args.description}
iconBackgroundColor=${args.iconBackgroundColor}
iconColor=${args.iconColor}
></wui-list-description>
</gallery-container>`
}
32 changes: 32 additions & 0 deletions apps/gallery/stories/composites/wui-list-token.stories.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
import type { Meta } from '@storybook/web-components'
import '@web3modal/ui/src/composites/wui-list-token'
import type { WuiListToken } from '@web3modal/ui/src/composites/wui-list-token'
import { html } from 'lit'
import '../../components/gallery-container'
import { networkImageSrc } from '../../utils/PresetUtils'

type Component = Meta<WuiListToken>

export default {
title: 'Composites/wui-list-token',
args: {
tokenName: 'Ethereum',
tokenImageUrl: networkImageSrc,
tokenValue: '$1,740.72',
tokenAmount: 0.867,
tokenCurrency: 'ETH'
}
} as Component

export const Default: Component = {
render: args =>
html` <gallery-container width="336">
<wui-list-token
tokenName=${args.tokenName}
tokenImageUrl=${args.tokenImageUrl}
tokenValue=${args.tokenValue}
tokenAmount=${args.tokenAmount}
tokenCurrency=${args.tokenCurrency}
></wui-list-token>
</gallery-container>`
}
1 change: 1 addition & 0 deletions apps/gallery/utils/PresetUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export const colorOptions: ColorType[] = [
export const textOptions: TextType[] = [
'micro-700',
'micro-600',
'mini-700',
'tiny-500',
'tiny-600',
'small-500',
Expand Down
Loading
Loading