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

[v3] Platform switching refactor #1235

Merged
merged 14 commits into from
Jul 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion apps/gallery/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
"@storybook/theming": "7.1.1",
"@storybook/web-components": "7.1.1",
"@storybook/web-components-vite": "7.1.1",
"file-system-cache": "2.4.2"
"file-system-cache": "2.4.3"
}
}
24 changes: 24 additions & 0 deletions apps/gallery/stories/composites/wui-tabs.stories.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import type { Meta } from '@storybook/web-components'
import '@web3modal/ui/src/composites/wui-tabs'
import type { WuiTabs } from '@web3modal/ui/src/composites/wui-tabs'
import { html } from 'lit'

type Component = Meta<WuiTabs>

export default {
title: 'Composites/wui-tabs',
args: {
tabs: [
{ icon: 'mobile', label: 'Mobile' },
{ icon: 'extension', label: 'Extension' },
{ icon: 'desktop', label: 'Desktop' }
],
onTabChange: _index => null
},

argTypes: {}
} as Component

export const Default: Component = {
render: args => html`<wui-tabs .tabs=${args.tabs} .onTabChange=${args.onTabChange}></wui-tabs>`
}
4 changes: 2 additions & 2 deletions apps/laboratory/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"@emotion/react": "11.11.1",
"@emotion/styled": "11.11.0",
"next": "13.4.12",
"framer-motion": "10.13.1",
"framer-motion": "10.14.0",
"wagmi": "1.3.9",
"viem": "1.4.1"
"viem": "1.4.2"
}
}
136 changes: 78 additions & 58 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"@types/react": "18.2.17",
"@types/react-dom": "18.2.7",
"eslint": "8.45.0",
"eslint-config-prettier": "8.8.0",
"eslint-config-prettier": "8.9.0",
"lerna": "7.1.4",
"prettier": "3.0.0",
"typescript": "5.1.6",
Expand Down
2 changes: 1 addition & 1 deletion packages/scaffold-html/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export * from './src/views/w3m-networks-view'

export * from './src/partials/w3m-all-wallets-list'
export * from './src/partials/w3m-all-wallets-search'
export * from './src/partials/w3m-connecting-footer'
export * from './src/partials/w3m-connecting-header'
export * from './src/partials/w3m-connecting-wc-desktop'
export * from './src/partials/w3m-connecting-wc-injected'
export * from './src/partials/w3m-connecting-wc-mobile'
Expand Down
Loading