diff --git a/docs/src/modules/components/InterfaceApiPage.js b/docs/src/modules/components/InterfaceApiPage.js index 91c90e9e0ae77..05b518cd3b87f 100644 --- a/docs/src/modules/components/InterfaceApiPage.js +++ b/docs/src/modules/components/InterfaceApiPage.js @@ -9,6 +9,7 @@ import { alpha } from '@mui/material/styles'; import { useTranslate, useUserLanguage } from 'docs/src/modules/utils/i18n'; import { HighlightedCode } from '@mui/docs/HighlightedCode'; import { MarkdownElement } from '@mui/docs/MarkdownElement'; +import { SectionTitle } from '@mui/docs/SectionTitle'; import AppLayoutDocs from 'docs/src/modules/components/AppLayoutDocs'; import PropertiesSection from 'docs/src/modules/components/ApiPage/sections/PropertiesSection'; import { DEFAULT_API_LAYOUT_STORAGE_KEYS } from 'docs/src/modules/components/ApiPage/sections/ToggleDisplayOption'; @@ -32,21 +33,10 @@ export function getTranslatedHeader(t, header) { } function Heading(props) { - const { hash, level: Level = 'h2' } = props; + const { hash, level = 'h2' } = props; const t = useTranslate(); - return ( - - - {getTranslatedHeader(t, hash)} - - - - - - - - ); + return ; } Heading.propTypes = { diff --git a/package.json b/package.json index 2c58ab647e7af..54fbac5e088b9 100644 --- a/package.json +++ b/package.json @@ -88,7 +88,7 @@ "@mui/icons-material": "^5.15.14", "@mui/internal-markdown": "^1.0.3", "@mui/material": "^5.15.14", - "@mui/monorepo": "github:mui/material-ui#40492b73c20822f2a6feba7a39aa0c43117828ff", + "@mui/monorepo": "github:mui/material-ui#3c888ed6cf0774815c32c6309e8cea2d8b5e684b", "@mui/utils": "^5.15.14", "@next/eslint-plugin-next": "14.2.3", "@octokit/plugin-retry": "^6.0.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f0372c247d5e1..7ddff6b18a855 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -90,8 +90,8 @@ importers: specifier: ^5.15.14 version: 5.15.15(@emotion/react@11.11.4)(@emotion/styled@11.11.5)(@types/react@18.2.60)(react-dom@18.2.0)(react@18.2.0) '@mui/monorepo': - specifier: github:mui/material-ui#40492b73c20822f2a6feba7a39aa0c43117828ff - version: github.com/mui/material-ui/40492b73c20822f2a6feba7a39aa0c43117828ff(@opentelemetry/api@1.8.0) + specifier: github:mui/material-ui#3c888ed6cf0774815c32c6309e8cea2d8b5e684b + version: github.com/mui/material-ui/3c888ed6cf0774815c32c6309e8cea2d8b5e684b(@opentelemetry/api@1.8.0) '@mui/utils': specifier: ^5.15.14 version: 5.15.14(@types/react@18.2.60)(react@18.2.0) @@ -18296,9 +18296,9 @@ packages: resolution: {integrity: sha512-V50KMwwzqJV0NpZIZFwfOD5/lyny3WlSzRiXgA0G7VUnRlqttta1L6UQIHzd6EuBY/cHGfwTIck7w1yH6Q5zUw==} dev: true - github.com/mui/material-ui/40492b73c20822f2a6feba7a39aa0c43117828ff(@opentelemetry/api@1.8.0): - resolution: {tarball: https://codeload.github.com/mui/material-ui/tar.gz/40492b73c20822f2a6feba7a39aa0c43117828ff} - id: github.com/mui/material-ui/40492b73c20822f2a6feba7a39aa0c43117828ff + github.com/mui/material-ui/3c888ed6cf0774815c32c6309e8cea2d8b5e684b(@opentelemetry/api@1.8.0): + resolution: {tarball: https://codeload.github.com/mui/material-ui/tar.gz/3c888ed6cf0774815c32c6309e8cea2d8b5e684b} + id: github.com/mui/material-ui/3c888ed6cf0774815c32c6309e8cea2d8b5e684b name: '@mui/monorepo' version: 6.0.0-alpha.6 requiresBuild: true