diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 4c918f4cdf29c6..0f86e12ec8b5d6 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -39,8 +39,6 @@ jobs:
# Don't need playwright in this job
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
- run: yarn release:build
- # double run to check if cleanup works
- - run: yarn release:build
- run: yarn release:changelog
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
diff --git a/docs/src/modules/components/ApiPage.js b/docs/src/modules/components/ApiPage.js
index 5a476debc1312d..c69370d099c640 100644
--- a/docs/src/modules/components/ApiPage.js
+++ b/docs/src/modules/components/ApiPage.js
@@ -6,6 +6,9 @@ import { exactProp } from '@mui/utils';
import Typography from '@mui/material/Typography';
import Divider from '@mui/material/Divider';
import Alert from '@mui/material/Alert';
+import AlertTitle from '@mui/material/AlertTitle';
+import ReviewsRoundedIcon from '@mui/icons-material/ReviewsRounded';
+import VerifiedRoundedIcon from '@mui/icons-material/VerifiedRounded';
import { alpha } from '@mui/material/styles';
import { useTranslate, useUserLanguage } from 'docs/src/modules/utils/i18n';
import HighlightedCode from 'docs/src/modules/components/HighlightedCode';
@@ -193,12 +196,45 @@ export default function ApiPage(props) {
{disableAd ? null : }
-
For examples and details on the usage of this React component, visit the component demo pages:
+
}
+ sx={[
+ (theme) => ({
+ mt: 1.5,
+ pt: 1,
+ px: 2,
+ pb: 0,
+ fontSize: theme.typography.pxToRem(16),
+ backgroundColor: (theme.vars || theme).palette.success[50],
+ borderColor: (theme.vars || theme).palette.success[100],
+ '& * p': {
+ mb: 1,
+ },
+ '& * a': {
+ fontWeight: theme.typography.fontWeightMedium,
+ color: (theme.vars || theme).palette.success[900],
+ textDecorationColor: alpha(theme.palette.success[600], 0.3),
+ },
+ ...theme.applyDarkStyles({
+ '& * a': {
+ color: (theme.vars || theme).palette.success[100],
+ textDecorationColor: alpha(theme.palette.success[100], 0.3),
+ },
+ backgroundColor: alpha(theme.palette.success[700], 0.15),
+ borderColor: alpha(theme.palette.success[600], 0.3),
+ }),
+ }),
+ ]}
+ >
+
For examples and details on the usage of this React component, visit the component demo pages:
${demos}`,
- }}
- />
+ }}
+ />
+
({
@@ -157,12 +157,10 @@ export default function DiamondSponsors() {
})}
>
- {/* eslint-disable-next-line material-ui/no-hardcoded-labels */}
- {'Become a diamond sponsor!'}
+ {t('becomeADiamondSponsor')}
- {/* eslint-disable-next-line material-ui/no-hardcoded-labels */}
- {'One spot left'}
+ {t('diamondSponsorVacancies')}
diff --git a/docs/src/modules/components/Notifications.js b/docs/src/modules/components/Notifications.js
index a1e7f4293cdf73..caf57a187baa58 100644
--- a/docs/src/modules/components/Notifications.js
+++ b/docs/src/modules/components/Notifications.js
@@ -31,21 +31,25 @@ const Paper = styled(MuiPaper)({
transformOrigin: 'top right',
backgroundImage: 'none',
});
+
const List = styled(MuiList)(({ theme }) => ({
width: theme.spacing(40),
maxHeight: 540,
overflow: 'auto',
padding: theme.spacing(1, 0),
}));
+
const ListItem = styled(MuiListItem)({
display: 'flex',
flexDirection: 'column',
});
+
const Loading = styled('div')(({ theme }) => ({
display: 'flex',
justifyContent: 'center',
margin: theme.spacing(3, 0),
}));
+
const Divider = styled(MuiDivider)(({ theme }) => ({
margin: theme.spacing(1, 0),
}));
@@ -152,23 +156,31 @@ export default function Notifications() {
{
setTooltipOpen(!open);
}}
onClose={() => {
setTooltipOpen(false);
}}
- title={t('toggleNotifications')}
- enterDelay={300}
>
(message.id > lastSeen ? count + 1 : count),
+ 0,
+ )
+ : 0
+ } ${t('toggleNotifications')}`}
data-ga-event-category="AppBar"
data-ga-event-action="toggleNotifications"
+ onClick={handleToggle}
>
Enter to start editing",
"editPage": "Edit this page",
"emojiLove": "Love",
@@ -192,6 +194,7 @@
"v5IsOut": "🎉 v5 release candidate is out! Head to the",
"v5docsLink": "v5 documentation",
"v5startAdoption": "to get started.",
+ "unreadNotifications": "unread notifications",
"usage": "Usage",
"usageButton": "Explore the docs",
"usageDescr": "MUI components work without any additional setup, and don't pollute the global scope.",