From 0c56bc2ed61f755f9a9d2634884265149ed8b4f6 Mon Sep 17 00:00:00 2001 From: Danilo Leal <67129314+danilo-leal@users.noreply.github.com> Date: Fri, 9 Feb 2024 09:58:30 -0300 Subject: [PATCH 1/5] fix MUI Treasury link on the Related projects page --- .../material/discover-more/related-projects/related-projects.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/data/material/discover-more/related-projects/related-projects.md b/docs/data/material/discover-more/related-projects/related-projects.md index 9fe2bca1cf5ddb..ffb21b2b872b7e 100644 --- a/docs/data/material/discover-more/related-projects/related-projects.md +++ b/docs/data/material/discover-more/related-projects/related-projects.md @@ -25,7 +25,7 @@ Feel free to submit a pull request! ### Layout -- [@mui-treasury/layout](https://mui-treasury.com/layout/): Components to handle the overall layout of a page. Check out examples such as [a reactjs.org clone](https://mui-treasury.com/layout/clones/reactjs/). +- [@mui-treasury/layout](https://mui-treasury.com/?path=/docs/layout-introduction--docs): Components to handle the overall layout of a page. Check out examples such as [a reactjs.org clone](https://mui-treasury.com/?path=/story/layout-app-reactlegacy--react-legacy). ### Image From f84e3927c6b31da2079de13ed15b5048ae5bf11c Mon Sep 17 00:00:00 2001 From: Danilo Leal <67129314+danilo-leal@users.noreply.github.com> Date: Fri, 9 Feb 2024 09:58:55 -0300 Subject: [PATCH 2/5] swap MUI Core for Material UI --- .../getting-started/example-projects/example-projects.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/data/material/getting-started/example-projects/example-projects.md b/docs/data/material/getting-started/example-projects/example-projects.md index 6568a8291c610e..6d810e807acbe8 100644 --- a/docs/data/material/getting-started/example-projects/example-projects.md +++ b/docs/data/material/getting-started/example-projects/example-projects.md @@ -4,7 +4,7 @@ ## Official examples -The following starter projects are all available in the MUI Core [`/examples`](https://github.com/mui/material-ui/tree/master/examples) folder. +The following starter projects are all available in the Material UI [`/examples`](https://github.com/mui/material-ui/tree/master/examples) folder. These examples feature Material UI paired with other popular React libraries and frameworks, so you can skip the initial setup steps and jump straight into building. Not sure which to pick? From eaba6e7327f7cf2b2d8483d59a4cc43141dc9ba7 Mon Sep 17 00:00:00 2001 From: Danilo Leal <67129314+danilo-leal@users.noreply.github.com> Date: Fri, 9 Feb 2024 09:59:13 -0300 Subject: [PATCH 3/5] use the Material UI v6 blog post for more details about M3 --- docs/data/material/getting-started/overview/overview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/data/material/getting-started/overview/overview.md b/docs/data/material/getting-started/overview/overview.md index 0efeabe07dc721..618ee12e80067d 100644 --- a/docs/data/material/getting-started/overview/overview.md +++ b/docs/data/material/getting-started/overview/overview.md @@ -16,7 +16,7 @@ Material UI is beautiful by design and features a suite of customization option :::info Material UI v5 supports Material Design v2. -Adoption of v3 is tentatively planned for Material UI v6—see [the release schedule](https://mui.com/versions/#release-schedule). +Adoption of Material Design 3 is tentatively planned for Material UI v6—see [the announcement blog post](/blog/2023-material-ui-v6-and-beyond/) for more details. You can follow [this GitHub issue](https://github.com/mui/material-ui/issues/29345) for future updates. ::: From 7f3d699a2da5a5d5ad6d5301a3afdbde69850bcd Mon Sep 17 00:00:00 2001 From: Danilo Leal <67129314+danilo-leal@users.noreply.github.com> Date: Fri, 9 Feb 2024 09:59:28 -0300 Subject: [PATCH 4/5] design tweaks to the Showcase page/components --- .../modules/components/MaterialShowcase.js | 54 +++++++++++-------- 1 file changed, 31 insertions(+), 23 deletions(-) diff --git a/docs/src/modules/components/MaterialShowcase.js b/docs/src/modules/components/MaterialShowcase.js index 254c9e0935aa32..74b2f493ddd7f8 100644 --- a/docs/src/modules/components/MaterialShowcase.js +++ b/docs/src/modules/components/MaterialShowcase.js @@ -8,6 +8,7 @@ import CardMedia from '@mui/material/CardMedia'; import Typography from '@mui/material/Typography'; import IconButton from '@mui/material/IconButton'; import GitHubIcon from '@mui/icons-material/GitHub'; +import CalendarMonthRoundedIcon from '@mui/icons-material/CalendarMonthRounded'; import { alpha } from '@mui/material/styles'; import Link from 'docs/src/modules/components/Link'; import { useTranslate } from 'docs/src/modules/utils/i18n'; @@ -479,22 +480,23 @@ export default function Showcase() { return ( - - + + {/* eslint-disable-next-line material-ui/no-hardcoded-labels */} {'Sort by:'} - {t('traffic')} - {t('newest')} - {t('stars')} - + + {t('traffic')} + {t('newest')} + {t('stars')} + + {stableSort( appList.filter((item) => item[sortFunctionName] !== undefined), @@ -511,10 +513,10 @@ export default function Showcase() { p: 2, gap: 2, borderRadius: 1, - backgroundColor: `${alpha(theme.palette.grey[50], 0.4)}`, + backgroundColor: `${alpha(theme.palette.grey[50], 0.3)}`, borderColor: 'divider', ...theme.applyDarkStyles({ - backgroundColor: `${alpha(theme.palette.primaryDark[700], 0.3)}`, + backgroundColor: `${alpha(theme.palette.primaryDark[700], 0.2)}`, borderColor: 'divider', }), })} @@ -529,23 +531,22 @@ export default function Showcase() { title={app.title} sx={(theme) => ({ height: 'auto', - borderRadius: 0.5, + borderRadius: '6px', bgcolor: 'currentColor', border: '1px solid', - borderColor: 'grey.100', + borderColor: 'divider', color: 'grey.100', ...theme.applyDarkStyles({ - borderColor: 'grey.700', color: 'primaryDark.900', }), })} /> - + {app.title} @@ -559,10 +560,17 @@ export default function Showcase() { ) : null} - + {app.description} - + + {app.dateAdded} From 0ee33dbc3e13f0361e0ac8d0dfbef17bcb013002 Mon Sep 17 00:00:00 2001 From: Danilo Leal <67129314+danilo-leal@users.noreply.github.com> Date: Fri, 9 Feb 2024 09:59:44 -0300 Subject: [PATCH 5/5] tiny design tweaks to the example collection cards --- docs/src/modules/components/MaterialUIExampleCollection.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/modules/components/MaterialUIExampleCollection.js b/docs/src/modules/components/MaterialUIExampleCollection.js index 3325eb66fe141c..15fb508ee72374 100644 --- a/docs/src/modules/components/MaterialUIExampleCollection.js +++ b/docs/src/modules/components/MaterialUIExampleCollection.js @@ -127,7 +127,7 @@ export default function MaterialUIExampleCollection() { : { children: example.src })} />
- + {example.name}