Skip to content

Commit aec3136

Browse files
authored
Merge branch 'main' into DOC-782
2 parents 5cd760f + 9d6da06 commit aec3136

9 files changed

Lines changed: 3398 additions & 6546 deletions

File tree

package-lock.json

Lines changed: 3367 additions & 6529 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@
2929
},
3030
"dependencies": {
3131
"@apidevtools/json-schema-ref-parser": "^11.9.1",
32-
"@docusaurus/core": "^3.7.0",
33-
"@docusaurus/plugin-content-docs": "^3.7.0",
34-
"@docusaurus/plugin-content-pages": "^3.7.0",
35-
"@docusaurus/preset-classic": "^3.7.0",
36-
"@docusaurus/theme-common": "^3.7.0",
37-
"@docusaurus/theme-mermaid": "^3.7.0",
32+
"@docusaurus/core": "3.8.1",
33+
"@docusaurus/plugin-content-docs": "3.8.1",
34+
"@docusaurus/plugin-content-pages": "3.8.1",
35+
"@docusaurus/preset-classic": "3.8.1",
36+
"@docusaurus/theme-common": "3.8.1",
37+
"@docusaurus/theme-mermaid": "3.8.1",
3838
"@intercom/messenger-js-sdk": "^0.0.14",
3939
"@mdx-js/react": "^3.1.0",
4040
"@metamask/design-tokens": "^7.1.0",
@@ -72,11 +72,11 @@
7272
"sass": "^1.87.0"
7373
},
7474
"devDependencies": {
75-
"@docusaurus/eslint-plugin": "^3.8.1",
76-
"@docusaurus/module-type-aliases": "^3.7.0",
77-
"@docusaurus/plugin-client-redirects": "^3.7.0",
78-
"@docusaurus/tsconfig": "^3.7.0",
79-
"@docusaurus/types": "^3.7.0",
75+
"@docusaurus/eslint-plugin": "3.8.1",
76+
"@docusaurus/module-type-aliases": "3.8.1",
77+
"@docusaurus/plugin-client-redirects": "3.8.1",
78+
"@docusaurus/tsconfig": "3.8.1",
79+
"@docusaurus/types": "3.8.1",
8080
"@eslint/js": "^9.27.0",
8181
"@tsconfig/docusaurus": "^2.0.3",
8282
"@types/react-alert": "^7.0.6",

services/reference/ethereum/json-rpc-methods/eth_simulatev1.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Ethereum eth_simulateV1
33
sidebar_label: eth_simulateV1
4-
description: Simulate transactions across mulitple blocks on Ethereum.
4+
description: Simulate transactions across multiple blocks on Ethereum.
55
---
66

77
import Tabs from '@theme/Tabs';

services/tutorials/ethereum/send-a-transaction/send-a-transaction-viem.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ VS Code) without using `ts-node` or pre-compiling to JavaScript.
167167
The following is an example output:
168168

169169
```bash
170-
Mining transcation...
170+
Mining transaction...
171171
Tx mined https://sepolia.etherscan.io/tx/0x310588719e733118f50c0a1608e13b4e8bd5eb5891d546d89795c2041833abb6
172172
```
173173

@@ -224,4 +224,4 @@ async function sendTx() {
224224
}
225225

226226
sendTx()
227-
```
227+
```

src/client/scroll-fix.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11
export function onRouteDidUpdate({ location, previousLocation }) {
2+
if (!previousLocation && location.hash) {
3+
return;
4+
}
5+
if (previousLocation &&
6+
location.pathname === previousLocation.pathname &&
7+
location.hash) {
8+
return;
9+
}
210
function handleScroll() {
311
const items = document.querySelectorAll('.menu__link--active')
412
if (items?.length === 0) return

src/components/NavDropdown/EmbedMetaMask.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
</span>
1111
<div>
1212
<h2>Delegation Toolkit</h2>
13-
<p>Embed MetaMask smart accounts with new capabilities into your dapp.</p>
13+
<p>Embed MetaMask smart accounts into your dapp, enabling new user experiences.</p>
1414
</div>
1515
</a>
1616
</li>

src/components/ProductBanner/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const PRODUCT_CONFIGS: Record<string, ProductConfig> = {
2020
},
2121
'/delegation-toolkit/': {
2222
name: 'Delegation Toolkit documentation',
23-
description: 'Embed MetaMask smart accounts with new capabilities into your dapp.',
23+
description: 'Embed MetaMask smart accounts into your dapp, enabling new user experiences.',
2424
},
2525
'/snaps/': {
2626
name: 'Snaps documentation',

src/scss/custom.scss

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -785,7 +785,7 @@ ol {
785785
}
786786
}
787787

788-
div[class^='announcementBar_'] {
788+
div[class^='theme-announcement-bar'] {
789789
font-family: var(--font-mm-euclid);
790790
font-size: 1.4rem;
791791
padding: 1rem 2rem;
@@ -842,3 +842,8 @@ div[class^='announcementBar_'] {
842842
.pageWrapper .sidebar_mhZE {
843843
padding-top: 0 !important;
844844
}
845+
846+
/* Add scroll padding to account for sticky product banner */
847+
html {
848+
scroll-padding-top: 10rem;
849+
}

src/theme/Layout/styles.module.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ body {
1414
margin-top: 3rem;
1515
}
1616

17+
/* stylelint-disable-next-line selector-id-pattern */
1718
:global(#__docusaurus) {
1819
min-height: 100%;
1920
display: flex;

0 commit comments

Comments
 (0)