Skip to content

Commit 5ad6453

Browse files
Merge remote-tracking branch 'origin/dev' into refactor/trilemma-chakra-updates
2 parents da1989e + 786f71a commit 5ad6453

File tree

150 files changed

+2000
-2771
lines changed

Some content is hidden

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

150 files changed

+2000
-2771
lines changed

.all-contributorsrc

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7762,7 +7762,8 @@
77627762
"avatar_url": "https://avatars.githubusercontent.com/u/9850322?v=4",
77637763
"profile": "http://setharielgreen.com",
77647764
"contributions": [
7765-
"doc"
7765+
"doc",
7766+
"content"
77667767
]
77677768
},
77687769
{
@@ -10384,6 +10385,43 @@
1038410385
"contributions": [
1038510386
"content"
1038610387
]
10388+
},
10389+
{
10390+
"login": "perriefidelis",
10391+
"name": "Peace Ojemeh",
10392+
"avatar_url": "https://avatars.githubusercontent.com/u/30669761?v=4",
10393+
"profile": "https://github.com/perriefidelis",
10394+
"contributions": [
10395+
"content"
10396+
]
10397+
},
10398+
{
10399+
"login": "woseK",
10400+
"name": "woseK",
10401+
"avatar_url": "https://avatars.githubusercontent.com/u/110729731?v=4",
10402+
"profile": "https://github.com/woseK",
10403+
"contributions": [
10404+
"content",
10405+
"bug"
10406+
]
10407+
},
10408+
{
10409+
"login": "gunal-123",
10410+
"name": "Gunal",
10411+
"avatar_url": "https://avatars.githubusercontent.com/u/103403219?v=4",
10412+
"profile": "https://github.com/gunal-123",
10413+
"contributions": [
10414+
"content"
10415+
]
10416+
},
10417+
{
10418+
"login": "LadyDhaga",
10419+
"name": "chinaman123",
10420+
"avatar_url": "https://avatars.githubusercontent.com/u/106376368?v=4",
10421+
"profile": "https://github.com/LadyDhaga",
10422+
"contributions": [
10423+
"ideas"
10424+
]
1038710425
}
1038810426
],
1038910427
"contributorsPerLine": 7,

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1256,7 +1256,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
12561256
<td align="center" valign="top" width="14.28%"><a href="http://graz.network"><img src="https://avatars.githubusercontent.com/u/102697012?v=4?s=100" width="100px;" alt="Graz Network"/><br /><sub><b>Graz Network</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=graz-network" title="Documentation">📖</a> <a href="#translation-graz-network" title="Translation">🌍</a></td>
12571257
<td align="center" valign="top" width="14.28%"><a href="https://www.youtube.com/c/Cryptoversidad"><img src="https://avatars.githubusercontent.com/u/107050863?v=4?s=100" width="100px;" alt="Cryptoversidad"/><br /><sub><b>Cryptoversidad</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=cryptoversidad" title="Documentation">📖</a></td>
12581258
<td align="center" valign="top" width="14.28%"><a href="https://disconnect3d.pl/"><img src="https://avatars.githubusercontent.com/u/10009354?v=4?s=100" width="100px;" alt="Disconnect3d"/><br /><sub><b>Disconnect3d</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=disconnect3d" title="Documentation">📖</a> <a href="https://github.com/ethereum/ethereum-org-website/issues?q=author%3Adisconnect3d" title="Bug reports">🐛</a></td>
1259-
<td align="center" valign="top" width="14.28%"><a href="http://setharielgreen.com"><img src="https://avatars.githubusercontent.com/u/9850322?v=4?s=100" width="100px;" alt="Seth Ariel Green"/><br /><sub><b>Seth Ariel Green</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=setgree" title="Documentation">📖</a></td>
1259+
<td align="center" valign="top" width="14.28%"><a href="http://setharielgreen.com"><img src="https://avatars.githubusercontent.com/u/9850322?v=4?s=100" width="100px;" alt="Seth Ariel Green"/><br /><sub><b>Seth Ariel Green</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=setgree" title="Documentation">📖</a> <a href="#content-setgree" title="Content">🖋</a></td>
12601260
<td align="center" valign="top" width="14.28%"><a href="https://www.linkedin.com/in/lcalixxto/"><img src="https://avatars.githubusercontent.com/u/98348072?v=4?s=100" width="100px;" alt="Luisa Calixto"/><br /><sub><b>Luisa Calixto</b></sub></a><br /><a href="https://github.com/ethereum/ethereum-org-website/commits?author=lcalixxto" title="Documentation">📖</a> <a href="#content-lcalixxto" title="Content">🖋</a></td>
12611261
</tr>
12621262
<tr>
@@ -1624,6 +1624,12 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
16241624
<td align="center" valign="top" width="14.28%"><a href="https://github.com/MwitahJob"><img src="https://avatars.githubusercontent.com/u/136892656?v=4?s=100" width="100px;" alt="Mwitah "/><br /><sub><b>Mwitah </b></sub></a><br /><a href="#content-MwitahJob" title="Content">🖋</a></td>
16251625
<td align="center" valign="top" width="14.28%"><a href="https://github.com/TucksonDev"><img src="https://avatars.githubusercontent.com/u/105675159?v=4?s=100" width="100px;" alt="Tuckson"/><br /><sub><b>Tuckson</b></sub></a><br /><a href="#content-TucksonDev" title="Content">🖋</a></td>
16261626
<td align="center" valign="top" width="14.28%"><a href="https://twitter.com/_Akamig"><img src="https://avatars.githubusercontent.com/u/6278999?v=4?s=100" width="100px;" alt="Akamig"/><br /><sub><b>Akamig</b></sub></a><br /><a href="#content-Akamig" title="Content">🖋</a></td>
1627+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/perriefidelis"><img src="https://avatars.githubusercontent.com/u/30669761?v=4?s=100" width="100px;" alt="Peace Ojemeh"/><br /><sub><b>Peace Ojemeh</b></sub></a><br /><a href="#content-perriefidelis" title="Content">🖋</a></td>
1628+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/woseK"><img src="https://avatars.githubusercontent.com/u/110729731?v=4?s=100" width="100px;" alt="woseK"/><br /><sub><b>woseK</b></sub></a><br /><a href="#content-woseK" title="Content">🖋</a> <a href="https://github.com/ethereum/ethereum-org-website/issues?q=author%3AwoseK" title="Bug reports">🐛</a></td>
1629+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/gunal-123"><img src="https://avatars.githubusercontent.com/u/103403219?v=4?s=100" width="100px;" alt="Gunal"/><br /><sub><b>Gunal</b></sub></a><br /><a href="#content-gunal-123" title="Content">🖋</a></td>
1630+
</tr>
1631+
<tr>
1632+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/LadyDhaga"><img src="https://avatars.githubusercontent.com/u/106376368?v=4?s=100" width="100px;" alt="chinaman123"/><br /><sub><b>chinaman123</b></sub></a><br /><a href="#ideas-LadyDhaga" title="Ideas, Planning, & Feedback">🤔</a></td>
16271633
</tr>
16281634
</tbody>
16291635
</table>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ethereum-org-website",
3-
"version": "7.17.2",
3+
"version": "7.19.1",
44
"description": "Website of ethereum.org",
55
"main": "index.js",
66
"repository": "[email protected]:ethereum/ethereum-org-website.git",

redirects.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,5 +338,9 @@
338338
{
339339
"fromPath": "/*/staking/withdraws",
340340
"toPath": "/:splat/staking/withdrawals/"
341+
},
342+
{
343+
"fromPath": "/*/guides/how-to-register-an-ethereum-account",
344+
"toPath": "/:splat/guides/how-to-create-an-ethereum-account/"
341345
}
342346
]

src/@chakra-ui/gatsby-plugin/components/Button.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ const variantSolid = defineStyle({
3939
color: "background.base",
4040
bg: "primary.base",
4141
borderColor: "transparent",
42+
_disabled: {
43+
bg: "disabled",
44+
color: "background.base",
45+
},
4246
_hover: {
4347
color: "background.base",
4448
bg: "primary.hover",

src/@chakra-ui/gatsby-plugin/components/Link.ts

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,22 @@ import { defineMergeStyles, linkDefaultTheme } from "./components.utils"
44
export const Link = defineStyleConfig({
55
baseStyle: defineMergeStyles(linkDefaultTheme.baseStyle, {
66
color: "primary.base",
7-
textDecoration: "underline",
8-
_focus: {
9-
boxShadow: "none",
10-
},
7+
textDecor: "underline",
8+
textUnderlineOffset: "3px",
119
_focusVisible: {
1210
boxShadow: "none",
13-
outline: "auto",
11+
outline: "2px solid",
12+
outlineColor: "primary.hover",
13+
outlineOffset: "2px",
14+
borderRadius: "sm",
15+
},
16+
_hover: {
17+
color: "primary.hover",
18+
},
19+
"&[data-inline-link]": {
20+
_visited: {
21+
color: "primary.visited",
22+
},
1423
},
1524
}),
1625
})
Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
import { tableAnatomy } from "@chakra-ui/anatomy"
2+
import {
3+
createMultiStyleConfigHelpers,
4+
cssVar,
5+
defineStyle,
6+
} from "@chakra-ui/react"
7+
import { defineMergeStyles, tableDefaultTheme } from "./components.utils"
8+
9+
const { defineMultiStyleConfig, definePartsStyle } =
10+
createMultiStyleConfigHelpers(tableAnatomy.keys)
11+
12+
const $bgColor = cssVar("bg-color")
13+
14+
const cellPadding = defineStyle({
15+
p: 4,
16+
})
17+
18+
const baseStyle = defineMergeStyles(
19+
tableDefaultTheme.baseStyle,
20+
definePartsStyle({
21+
table: {
22+
[$bgColor.variable]: "colors.background.highlight",
23+
minW: "556px",
24+
},
25+
th: {
26+
borderBottom: "1px",
27+
borderColor: "body.base",
28+
color: "body.base",
29+
textTransform: "capitalize",
30+
verticalAlign: "bottom",
31+
...cellPadding,
32+
},
33+
tr: {
34+
"th, td": {
35+
_notLast: {
36+
borderRight: "2px",
37+
borderRightColor: "background.base",
38+
},
39+
},
40+
},
41+
td: {
42+
...cellPadding,
43+
},
44+
tbody: {
45+
tr: {
46+
verticalAlign: "top",
47+
_hover: {
48+
/**
49+
* Override specificity when hovering
50+
* over even rows in 'striped' variant.
51+
*/
52+
bg: $bgColor.reference,
53+
},
54+
},
55+
},
56+
})
57+
)
58+
59+
const variantMinimalStriped = definePartsStyle({
60+
tbody: {
61+
tr: {
62+
_even: {
63+
bg: $bgColor.reference,
64+
},
65+
},
66+
},
67+
})
68+
69+
const variantSimpleStriped = definePartsStyle({
70+
...variantMinimalStriped,
71+
thead: {
72+
bg: $bgColor.reference,
73+
},
74+
})
75+
76+
const variantSimple = definePartsStyle({
77+
thead: {
78+
bg: $bgColor.reference,
79+
},
80+
})
81+
82+
export const Table = defineMultiStyleConfig({
83+
baseStyle,
84+
variants: {
85+
minimal: {},
86+
"minimal-striped": variantMinimalStriped,
87+
simple: variantSimple,
88+
"simple-striped": variantSimpleStriped,
89+
},
90+
defaultProps: {
91+
variant: "simple",
92+
},
93+
})

src/@chakra-ui/gatsby-plugin/components/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import { Modal } from "./Modal"
88
import { Checkbox } from "./Checkbox"
99
import { Progress } from "./Progress"
1010
import { Tabs } from "./Tabs"
11+
import { Table } from "./Table"
1112
import { Radio } from "./Radio"
1213
import { Select } from "./Select"
1314
import { Switch } from "./Switch"
@@ -24,7 +25,6 @@ import {
2425
headingDefaultTheme,
2526
menuDefaultTheme,
2627
spinnerDefaultTheme,
27-
tableDefaultTheme,
2828
} from "./components.utils"
2929

3030
export default {
@@ -51,7 +51,7 @@ export default {
5151
Select,
5252
Spinner: spinnerDefaultTheme,
5353
Switch,
54-
Table: tableDefaultTheme,
54+
Table,
5555
Tabs,
5656
Tag,
5757
}

src/@chakra-ui/gatsby-plugin/semanticTokens.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ const semanticTokens = {
6060
base: { _light: "white", _dark: "gray.700" },
6161
highlight: { _light: "gray.100", _dark: "gray.900" },
6262
},
63-
disabled: { _light: "gray.300", _dark: "gray.500" },
63+
disabled: { _light: "gray.400", _dark: "gray.500" },
6464
// ! Deprecating neutral
6565
neutral: { _light: "white", _dark: "gray.900" },
6666

src/assets/layer-2/arbitrum.png

56 KB
Loading

0 commit comments

Comments
 (0)