Skip to content

Commit 598bbe7

Browse files
committed
Merge branch 'dev' into pr/Baystef/13262
2 parents 6b8904f + 36882de commit 598bbe7

File tree

1,394 files changed

+23401
-10828
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,394 files changed

+23401
-10828
lines changed

.all-contributorsrc

Lines changed: 122 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11320,7 +11320,8 @@
1132011320
"avatar_url": "https://avatars.githubusercontent.com/u/71248977?v=4",
1132111321
"profile": "https://github.com/UNOFFICIALbgd",
1132211322
"contributions": [
11323-
"bug"
11323+
"bug",
11324+
"doc"
1132411325
]
1132511326
},
1132611327
{
@@ -12249,7 +12250,126 @@
1224912250
"avatar_url": "https://avatars.githubusercontent.com/u/73983677?v=4",
1225012251
"profile": "https://github.com/omahs",
1225112252
"contributions": [
12252-
"translation"
12253+
"translation",
12254+
"maintenance"
12255+
]
12256+
},
12257+
{
12258+
"login": "Shiva-Sai-ssb",
12259+
"name": "Shiva Sai",
12260+
"avatar_url": "https://avatars.githubusercontent.com/u/112751524?v=4",
12261+
"profile": "https://github.com/Shiva-Sai-ssb",
12262+
"contributions": [
12263+
"bug",
12264+
"maintenance"
12265+
]
12266+
},
12267+
{
12268+
"login": "saurabhburade",
12269+
"name": "Saurabh Burade",
12270+
"avatar_url": "https://avatars.githubusercontent.com/u/39492927?v=4",
12271+
"profile": "https://bsaurabh.xyz/",
12272+
"contributions": [
12273+
"code"
12274+
]
12275+
},
12276+
{
12277+
"login": "yorkerhodes3",
12278+
"name": "Yorke E. Rhodes III",
12279+
"avatar_url": "https://avatars.githubusercontent.com/u/17415717?v=4",
12280+
"profile": "https://github.com/yorkerhodes3",
12281+
"contributions": [
12282+
"content"
12283+
]
12284+
},
12285+
{
12286+
"login": "sandeepV2",
12287+
"name": "Sandeep Belagavi",
12288+
"avatar_url": "https://avatars.githubusercontent.com/u/52043035?v=4",
12289+
"profile": "https://github.com/sandeepV2",
12290+
"contributions": [
12291+
"bug"
12292+
]
12293+
},
12294+
{
12295+
"login": "codingmickey",
12296+
"name": "Kartik Jolapara",
12297+
"avatar_url": "https://avatars.githubusercontent.com/u/42518907?v=4",
12298+
"profile": "https://github.com/codingmickey",
12299+
"contributions": [
12300+
"code"
12301+
]
12302+
},
12303+
{
12304+
"login": "Ekam-Bitt",
12305+
"name": "Ekam Bitt",
12306+
"avatar_url": "https://avatars.githubusercontent.com/u/74407205?v=4",
12307+
"profile": "https://ekam-bitt.github.io",
12308+
"contributions": [
12309+
"maintenance"
12310+
]
12311+
},
12312+
{
12313+
"login": "iankressin",
12314+
"name": "Ian K. Guimarães",
12315+
"avatar_url": "https://avatars.githubusercontent.com/u/29215044?v=4",
12316+
"profile": "http://iankguimaraes.com",
12317+
"contributions": [
12318+
"maintenance"
12319+
]
12320+
},
12321+
{
12322+
"login": "jncrabb",
12323+
"name": "jncrabb",
12324+
"avatar_url": "https://avatars.githubusercontent.com/u/27811684?v=4",
12325+
"profile": "https://github.com/jncrabb",
12326+
"contributions": [
12327+
"content"
12328+
]
12329+
},
12330+
{
12331+
"login": "bibo7086",
12332+
"name": "Saidu Sokoto",
12333+
"avatar_url": "https://avatars.githubusercontent.com/u/24389200?v=4",
12334+
"profile": "https://github.com/bibo7086",
12335+
"contributions": [
12336+
"content"
12337+
]
12338+
},
12339+
{
12340+
"login": "krishchvn",
12341+
"name": "Krishnakumar Chavan",
12342+
"avatar_url": "https://avatars.githubusercontent.com/u/58606754?v=4",
12343+
"profile": "https://github.com/krishchvn",
12344+
"contributions": [
12345+
"content"
12346+
]
12347+
},
12348+
{
12349+
"login": "0xV4L3NT1N3",
12350+
"name": "0xV4L3NT1N3",
12351+
"avatar_url": "https://avatars.githubusercontent.com/u/33112835?v=4",
12352+
"profile": "https://github.com/0xV4L3NT1N3",
12353+
"contributions": [
12354+
"tool"
12355+
]
12356+
},
12357+
{
12358+
"login": "JoshDavisLight",
12359+
"name": "Josh Davis",
12360+
"avatar_url": "https://avatars.githubusercontent.com/u/82784104?v=4",
12361+
"profile": "https://github.com/JoshDavisLight",
12362+
"contributions": [
12363+
"content"
12364+
]
12365+
},
12366+
{
12367+
"login": "tr1sm0s1n",
12368+
"name": "Mobin Mohanan",
12369+
"avatar_url": "https://avatars.githubusercontent.com/u/47410557?v=4",
12370+
"profile": "https://github.com/tr1sm0s1n",
12371+
"contributions": [
12372+
"content"
1225312373
]
1225412374
}
1225512375
],

.env.example

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
# GOOGLE_API_KEY=
1717
# GOOGLE_CALENDAR_ID=
1818

19+
# Dune Analytics API key (required for total eth staked)
20+
# DUNE_API_KEY=
21+
1922
# Matomo environment (URL and site ID required for analytics)
2023
NEXT_PUBLIC_MATOMO_URL=
2124
NEXT_PUBLIC_MATOMO_SITE_ID=

.github/ISSUE_TEMPLATE/suggest_wallet.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ body:
264264
- type: input
265265
id: wallet_l2_support
266266
attributes:
267-
label: Does the wallet support Ethereum layer 2 networks?
267+
label: Which Ethereum Layer 2 networks does the wallet support?
268268
description: Please provide documentation on Ethereum layer 2 networks this wallet supports.
269269
validations:
270270
required: true

.github/workflows/chromatic.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ on:
1717
- "src/layouts/**/*"
1818
- "src/@chakra-ui/**/*"
1919
- ".storybook/**/*"
20+
- "tailwind.config.ts"
21+
- "src/styles/**/*"
2022

2123
# List of jobs
2224
jobs:

.lintstagedrc.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ const buildEslintCommand = (filenames) =>
55
.map((f) => path.relative(process.cwd(), f))
66
.join(" --file ")}`
77

8+
const formatCommand = "prettier --write"
9+
810
module.exports = {
9-
"*.{js,jsx,ts,tsx}": [buildEslintCommand],
11+
"*.{js,jsx,ts,tsx}": [buildEslintCommand, formatCommand],
1012
}

.prettierrc

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,8 @@
33
"semi": false,
44
"singleQuote": false,
55
"tabWidth": 2,
6-
"trailingComma": "es5"
7-
}
6+
"trailingComma": "es5",
7+
"plugins": [
8+
"prettier-plugin-tailwindcss"
9+
]
10+
}

.storybook/ChakraDecorator.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { useEffect, useMemo, useState } from "react"
12
import {
23
ChakraBaseProvider,
34
extendBaseTheme,
@@ -6,7 +7,7 @@ import {
67
import type { Decorator } from "@storybook/react"
78

89
import theme from "../src/@chakra-ui/theme"
9-
import { useEffect, useMemo, useState } from "react"
10+
1011
import i18n from "./i18next"
1112

1213
type DecoratorProps = Parameters<Decorator>

.storybook/main.ts

Lines changed: 33 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,23 @@ import type { StorybookConfig } from "@storybook/nextjs"
1515
*/
1616

1717
const config: StorybookConfig = {
18-
stories: ["../src/components/**/*.stories.{ts,tsx}"],
18+
stories: [
19+
"../src/components/**/*.stories.{ts,tsx}",
20+
"../src/@chakra-ui/stories/*.stories.tsx",
21+
"../src/layouts/stories/*.stories.tsx",
22+
],
1923
addons: [
2024
"@storybook/addon-links",
21-
"@storybook/addon-essentials",
25+
{
26+
name: "@storybook/addon-essentials",
27+
options: {
28+
backgrounds: false,
29+
},
30+
},
2231
"@storybook/addon-interactions",
2332
"storybook-react-i18next",
24-
"@chromatic-com/storybook"
33+
"@storybook/addon-themes",
34+
"@chromatic-com/storybook",
2535
],
2636
staticDirs: ["../public"],
2737
framework: {
@@ -37,6 +47,9 @@ const config: StorybookConfig = {
3747
},
3848
},
3949
webpackFinal: async (config) => {
50+
config.module = config.module || {}
51+
config.module.rules = config.module.rules || []
52+
4053
if (config.resolve) {
4154
config.resolve.plugins = [
4255
...(config.resolve.plugins || []),
@@ -45,6 +58,22 @@ const config: StorybookConfig = {
4558
}),
4659
]
4760
}
61+
62+
// This modifies the existing image rule to exclude .svg files
63+
// since you want to handle those files with @svgr/webpack
64+
const imageRule = config.module.rules.find((rule) =>
65+
rule?.["test"]?.test(".svg")
66+
)
67+
if (imageRule) {
68+
imageRule["exclude"] = /\.svg$/
69+
}
70+
71+
// Configure .svg files to be loaded with @svgr/webpack
72+
config.module.rules.push({
73+
test: /\.svg$/,
74+
use: ["@svgr/webpack"],
75+
})
76+
4877
return config
4978
},
5079
typescript: {
@@ -69,7 +98,7 @@ const config: StorybookConfig = {
6998
},
7099
},
71100

72-
reactDocgen: "react-docgen-typescript"
101+
reactDocgen: "react-docgen-typescript",
73102
},
74103
}
75104
export default config

.storybook/modes.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { baseLocales } from "./i18next"
2-
import { chakraBreakpointArray } from "./preview"
2+
import { breakpointSet } from "./preview"
33

4-
export const viewportModes = chakraBreakpointArray.reduce<{
4+
export const viewportModes = breakpointSet.reduce<{
55
[mode: string]: { viewport: string }
66
}>((arr, [token]) => {
77
return {

.storybook/preview-head.html

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
<style type="text/css">
21

3-
:root {
4-
--font-inter: 'Inter', sans-serif;
5-
}
6-
7-
</style>
8-
9-
<link rel="preload" href="/fonts/inter/latin.woff2" as="font" type="font/woff2" crossorigin="anonymous" />
2+
<link rel="preload" href="/fonts/inter/latin.woff2" as="font" type="font/woff2" crossorigin="anonymous" />
3+
<link rel="preload" href="/fonts/ibm-plex-mono/IBMPlexMono-Regular.ttf" as="font" type="font/ttf" crossorigin="anonymous" />

0 commit comments

Comments
 (0)