From 8bb5c139360c540f397df578ccf6b7bbfd6b5fbd Mon Sep 17 00:00:00 2001 From: Matt Date: Tue, 12 Dec 2023 23:44:04 +0000 Subject: [PATCH 1/3] [docs] Replace Twitter with X --- .eslintrc.js | 2 +- README.md | 2 +- docs/data/joy/components/tabs/TabsBrowserExample.js | 6 +++--- docs/data/joy/components/tabs/TabsBrowserExample.tsx | 6 +++--- .../color-inversion/ColorInversionAnyParent.js | 2 +- .../color-inversion/ColorInversionAnyParent.tsx | 2 +- .../color-inversion/ColorInversionAnyParentStyled.js | 2 +- .../color-inversion/ColorInversionAnyParentStyled.tsx | 2 +- docs/data/material/components/material-icons/synonyms.js | 1 + docs/data/material/getting-started/faq/faq.md | 2 +- docs/data/material/getting-started/support/support.md | 2 +- docs/data/material/getting-started/templates/blog/Blog.js | 4 ++-- .../data/material/getting-started/templates/blog/Blog.tsx | 4 ++-- docs/pages/blog.tsx | 6 +++--- docs/pages/blog/2020-introducing-sketch.md | 2 +- docs/pages/blog/2023-toolpad-beta-announcement.md | 2 +- docs/pages/blog/danail-hadjiatanasov-joining.md | 2 +- docs/pages/blog/discord-announcement.md | 2 +- docs/pages/blog/marija-najdova-joining.md | 2 +- docs/pages/blog/material-ui-v1-is-out.md | 2 +- docs/pages/blog/matheus-wichman-joining.md | 2 +- docs/pages/blog/spotlight-damien-tassone.md | 2 +- docs/pages/careers/react-community-engineer.md | 2 +- docs/public/static/branding/companies/twitter.svg | 3 --- docs/public/static/branding/companies/x.svg | 4 ++++ docs/src/components/about/Team.tsx | 6 +++--- docs/src/components/home/CompaniesGrid.tsx | 8 ++++---- docs/src/components/home/MuiStatistics.tsx | 2 +- docs/src/layouts/AppFooter.tsx | 6 +++--- docs/src/modules/components/AppLayoutDocsFooter.js | 6 +++--- docs/src/modules/components/Head.tsx | 2 +- docs/src/modules/components/Notifications.js | 2 +- .../premium-themes/onepirate/modules/views/AppFooter.js | 4 ++-- .../premium-themes/onepirate/modules/views/AppFooter.tsx | 4 ++-- packages/mui-icons-material/custom/X.js | 2 +- packages/mui-icons-material/lib/X.js | 4 ++-- packages/mui-icons-material/lib/esm/X.js | 2 +- 37 files changed, 59 insertions(+), 57 deletions(-) delete mode 100644 docs/public/static/branding/companies/twitter.svg create mode 100644 docs/public/static/branding/companies/x.svg diff --git a/.eslintrc.js b/.eslintrc.js index 48f261573e5a3b..975aea201a6bb1 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -269,7 +269,7 @@ module.exports = { rules: { 'material-ui/no-hardcoded-labels': [ 'error', - { allow: ['MUI', 'Twitter', 'GitHub', 'Stack Overflow'] }, + { allow: ['MUI', 'X', 'GitHub', 'Stack Overflow'] }, ], }, }, diff --git a/README.md b/README.md index 6b47794d65a668..f7457695c127ff 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ [![npm downloads](https://img.shields.io/npm/dm/@mui/material.svg)](https://www.npmjs.com/package/@mui/material) [![CircleCI](https://circleci.com/gh/mui/material-ui/tree/master.svg?style=shield)](https://app.circleci.com/pipelines/github/mui/material-ui?branch=master) [![Coverage Status](https://img.shields.io/codecov/c/github/mui/material-ui/master.svg)](https://codecov.io/gh/mui/material-ui/branch/master) -[![Follow on Twitter](https://img.shields.io/twitter/follow/MUI_hq.svg?label=follow+MUI)](https://twitter.com/MUI_hq) +[![Follow on X](https://img.shields.io/twitter/follow/MUI_hq.svg?label=follow+MUI)](https://twitter.com/MUI_hq) [![Renovate status](https://img.shields.io/badge/renovate-enabled-brightgreen.svg)](https://github.com/mui/material-ui/issues/27062) [![Average time to resolve an issue](https://isitmaintained.com/badge/resolution/mui/material-ui.svg)](https://isitmaintained.com/project/mui/material-ui 'Average time to resolve an issue') [![Open Collective backers and sponsors](https://img.shields.io/opencollective/all/mui-org)](https://opencollective.com/mui-org) diff --git a/docs/data/joy/components/tabs/TabsBrowserExample.js b/docs/data/joy/components/tabs/TabsBrowserExample.js index 5145ec35ec7713..84b52bd96270a3 100644 --- a/docs/data/joy/components/tabs/TabsBrowserExample.js +++ b/docs/data/joy/components/tabs/TabsBrowserExample.js @@ -42,9 +42,9 @@ export default function TabsBrowserExample() { - + - Twitter + X @@ -103,7 +103,7 @@ function GoogleIcon() { ); } -function TwitterIcon() { +function XIcon() { return ( diff --git a/docs/data/joy/components/tabs/TabsBrowserExample.tsx b/docs/data/joy/components/tabs/TabsBrowserExample.tsx index e600658cde5c6c..ade5f9baa997d9 100644 --- a/docs/data/joy/components/tabs/TabsBrowserExample.tsx +++ b/docs/data/joy/components/tabs/TabsBrowserExample.tsx @@ -42,9 +42,9 @@ export default function TabsBrowserExample() { - + - Twitter + X @@ -103,7 +103,7 @@ function GoogleIcon() { ); } -function TwitterIcon() { +function XIcon() { return ( diff --git a/docs/data/joy/main-features/color-inversion/ColorInversionAnyParent.js b/docs/data/joy/main-features/color-inversion/ColorInversionAnyParent.js index c00e4bdb68b714..9db830173d2f84 100644 --- a/docs/data/joy/main-features/color-inversion/ColorInversionAnyParent.js +++ b/docs/data/joy/main-features/color-inversion/ColorInversionAnyParent.js @@ -61,7 +61,7 @@ export default function ColorInversionAnyParent() { - + ); diff --git a/docs/data/joy/main-features/color-inversion/ColorInversionAnyParent.tsx b/docs/data/joy/main-features/color-inversion/ColorInversionAnyParent.tsx index 3052c901dff3e6..53ee9bfcf0da76 100644 --- a/docs/data/joy/main-features/color-inversion/ColorInversionAnyParent.tsx +++ b/docs/data/joy/main-features/color-inversion/ColorInversionAnyParent.tsx @@ -61,7 +61,7 @@ export default function ColorInversionAnyParent() { - + ); diff --git a/docs/data/joy/main-features/color-inversion/ColorInversionAnyParentStyled.js b/docs/data/joy/main-features/color-inversion/ColorInversionAnyParentStyled.js index 4802b9ca181d0b..ce8f5e342f33e6 100644 --- a/docs/data/joy/main-features/color-inversion/ColorInversionAnyParentStyled.js +++ b/docs/data/joy/main-features/color-inversion/ColorInversionAnyParentStyled.js @@ -61,7 +61,7 @@ export default function ColorInversionAnyParentStyled() { - + ); diff --git a/docs/data/joy/main-features/color-inversion/ColorInversionAnyParentStyled.tsx b/docs/data/joy/main-features/color-inversion/ColorInversionAnyParentStyled.tsx index 8389e8b52a0747..81db36a1540b5f 100644 --- a/docs/data/joy/main-features/color-inversion/ColorInversionAnyParentStyled.tsx +++ b/docs/data/joy/main-features/color-inversion/ColorInversionAnyParentStyled.tsx @@ -61,7 +61,7 @@ export default function ColorInversionAnyParentStyled() { - + ); diff --git a/docs/data/material/components/material-icons/synonyms.js b/docs/data/material/components/material-icons/synonyms.js index 5ce783b0ae6293..de79d602784df4 100644 --- a/docs/data/material/components/material-icons/synonyms.js +++ b/docs/data/material/components/material-icons/synonyms.js @@ -2948,6 +2948,7 @@ const synonyms = { 'cancel close destination direction exit maps no pin place quit remove stop', Wysiwyg: 'composer mode screen software system text view visibility website window', + X: 'twitter brand logo social', Yard: 'backyard flower garden home house nature pettle plants', YouTube: 'brand logo social video', YoutubeSearchedFor: diff --git a/docs/data/material/getting-started/faq/faq.md b/docs/data/material/getting-started/faq/faq.md index fdf4ee0a00a0ec..9658988e546732 100644 --- a/docs/data/material/getting-started/faq/faq.md +++ b/docs/data/material/getting-started/faq/faq.md @@ -9,7 +9,7 @@ If you still can't find what you're looking for, you can refer to our [support p There are many ways to support MUI: - **Spread the word**. Evangelize MUI's products by [linking to mui.com](https://mui.com/) on your website—every backlink matters. - Follow us on [Twitter](https://twitter.com/MUI_hq), like and retweet the important news. Or just talk about us with your friends. + Follow us on [X](https://twitter.com/MUI_hq), like and retweet the important news. Or just talk about us with your friends. - **Give us feedback**. Tell us what we're doing well or where we can improve. Please upvote (👍) the issues that you are the most interested in seeing solved. - **Help new users**. You can answer questions on [Stack Overflow](https://stackoverflow.com/questions/tagged/material-ui). diff --git a/docs/data/material/getting-started/support/support.md b/docs/data/material/getting-started/support/support.md index 8041f121878900..9b465c8928849e 100644 --- a/docs/data/material/getting-started/support/support.md +++ b/docs/data/material/getting-started/support/support.md @@ -38,7 +38,7 @@ If you think you've found a bug in the codebase, or you have an idea for a new f ### Social media -The MUI community is active on both [Twitter](https://twitter.com/MUI_hq) and [LinkedIn](https://www.linkedin.com/company/mui/). +The MUI community is active on both [X](https://twitter.com/MUI_hq) and [LinkedIn](https://www.linkedin.com/company/mui/). These are great platforms to share what you're working on and connect with other developers. Please keep in mind that we don't actively monitor direct messages on the company's social media accounts, so this is _not_ a good way to get in touch with us directly. diff --git a/docs/data/material/getting-started/templates/blog/Blog.js b/docs/data/material/getting-started/templates/blog/Blog.js index f2dbd06600e783..e50167ab62667f 100644 --- a/docs/data/material/getting-started/templates/blog/Blog.js +++ b/docs/data/material/getting-started/templates/blog/Blog.js @@ -4,7 +4,7 @@ import Grid from '@mui/material/Grid'; import Container from '@mui/material/Container'; import GitHubIcon from '@mui/icons-material/GitHub'; import FacebookIcon from '@mui/icons-material/Facebook'; -import TwitterIcon from '@mui/icons-material/Twitter'; +import XIcon from '@mui/icons-material/X'; import { createTheme, ThemeProvider } from '@mui/material/styles'; import Header from './Header'; import MainFeaturedPost from './MainFeaturedPost'; @@ -78,7 +78,7 @@ const sidebar = { ], social: [ { name: 'GitHub', icon: GitHubIcon }, - { name: 'Twitter', icon: TwitterIcon }, + { name: 'X', icon: XIcon }, { name: 'Facebook', icon: FacebookIcon }, ], }; diff --git a/docs/data/material/getting-started/templates/blog/Blog.tsx b/docs/data/material/getting-started/templates/blog/Blog.tsx index f2dbd06600e783..e50167ab62667f 100644 --- a/docs/data/material/getting-started/templates/blog/Blog.tsx +++ b/docs/data/material/getting-started/templates/blog/Blog.tsx @@ -4,7 +4,7 @@ import Grid from '@mui/material/Grid'; import Container from '@mui/material/Container'; import GitHubIcon from '@mui/icons-material/GitHub'; import FacebookIcon from '@mui/icons-material/Facebook'; -import TwitterIcon from '@mui/icons-material/Twitter'; +import XIcon from '@mui/icons-material/X'; import { createTheme, ThemeProvider } from '@mui/material/styles'; import Header from './Header'; import MainFeaturedPost from './MainFeaturedPost'; @@ -78,7 +78,7 @@ const sidebar = { ], social: [ { name: 'GitHub', icon: GitHubIcon }, - { name: 'Twitter', icon: TwitterIcon }, + { name: 'X', icon: XIcon }, { name: 'Facebook', icon: FacebookIcon }, ], }; diff --git a/docs/pages/blog.tsx b/docs/pages/blog.tsx index 67c5ee6460154c..3982282d5a0d5f 100644 --- a/docs/pages/blog.tsx +++ b/docs/pages/blog.tsx @@ -13,7 +13,7 @@ import Pagination from '@mui/material/Pagination'; import Button from '@mui/material/Button'; import KeyboardArrowRightRoundedIcon from '@mui/icons-material/KeyboardArrowRightRounded'; import Chip from '@mui/material/Chip'; -import TwitterIcon from '@mui/icons-material/Twitter'; +import XIcon from '@mui/icons-material/X'; import GitHubIcon from '@mui/icons-material/GitHub'; import LinkedInIcon from '@mui/icons-material/LinkedIn'; import YouTubeIcon from '@mui/icons-material/YouTube'; @@ -459,8 +459,8 @@ export default function Blog(props: InferGetStaticPropsType - - Twitter + + X diff --git a/docs/pages/blog/2020-introducing-sketch.md b/docs/pages/blog/2020-introducing-sketch.md index ae089d55410d2b..5fe1182c66f134 100644 --- a/docs/pages/blog/2020-introducing-sketch.md +++ b/docs/pages/blog/2020-introducing-sketch.md @@ -22,7 +22,7 @@ This new product brings you one step closer to this long term goal. It enables d ### Frequent requests Over the last few months, we have seen a growing number of designers asking for these Sketch symbols. -For instance, there is a [Stack Overflow question](https://stackoverflow.com/questions/38834629/material-ui-sketch-files) with over 4,000 views. It has been a common request on Twitter: [one](https://twitter.com/TimoMajerski/status/1144503789619224578), [two](https://twitter.com/jonminori/status/1141121330156310528), [three](https://twitter.com/ProfessorXavior/status/1196522875706056705), [etc](https://twitter.com/JeffreyKaine/status/1133435042259120132). +For instance, there is a [Stack Overflow question](https://stackoverflow.com/questions/38834629/material-ui-sketch-files) with over 4,000 views. It has been a common request on X: [one](https://twitter.com/TimoMajerski/status/1144503789619224578), [two](https://twitter.com/jonminori/status/1141121330156310528), [three](https://twitter.com/ProfessorXavior/status/1196522875706056705), [etc](https://twitter.com/JeffreyKaine/status/1133435042259120132). ### No great alternatives diff --git a/docs/pages/blog/2023-toolpad-beta-announcement.md b/docs/pages/blog/2023-toolpad-beta-announcement.md index 1c1bdc849f248f..cbaa719618e29c 100644 --- a/docs/pages/blog/2023-toolpad-beta-announcement.md +++ b/docs/pages/blog/2023-toolpad-beta-announcement.md @@ -105,6 +105,6 @@ We plan to continue to iterate on our vision of helping you as a developer to in The best places to stay up-to-date about what we're currently working on are [GitHub issues](https://github.com/mui/mui-toolpad) and our [public roadmap](https://github.com/orgs/mui/projects/9/views/1). -If you have any questions or would like to share feedback, you can directly contact the team at toolpad@mui.com or reach us on [Twitter](https://twitter.com/MUI_Toolpad). You can also engage in conversation in our [Discord](https://mui.com/r/discord/) server. +If you have any questions or would like to share feedback, you can directly contact the team at toolpad@mui.com or reach us on [X](https://twitter.com/MUI_Toolpad). You can also engage in conversation in our [Discord](https://mui.com/r/discord/) server. If you'd like an in-depth demo and to discuss your use case, please feel free to [schedule a meeting with me on Calendly](https://calendly.com/prakhar-mui). diff --git a/docs/pages/blog/danail-hadjiatanasov-joining.md b/docs/pages/blog/danail-hadjiatanasov-joining.md index 8780b96cacb5a0..0380009643d4a1 100644 --- a/docs/pages/blog/danail-hadjiatanasov-joining.md +++ b/docs/pages/blog/danail-hadjiatanasov-joining.md @@ -23,4 +23,4 @@ He's now actively working on new features for the data grid. The enterprise team will continue developing the data grid component, and progressively extend to new advanced components as we grow the team. Here's a quick view of [the enterprise roadmap](https://github.com/mui/mui-x/projects/1). -We couldn't be more excited to have Danail on the team! You can follow him on [Twitter](https://twitter.com/danail_h). +We couldn't be more excited to have Danail on the team! You can follow him on [X](https://twitter.com/danail_h). diff --git a/docs/pages/blog/discord-announcement.md b/docs/pages/blog/discord-announcement.md index 53117397e026ba..e175595bfe8b1e 100644 --- a/docs/pages/blog/discord-announcement.md +++ b/docs/pages/blog/discord-announcement.md @@ -10,7 +10,7 @@ card: true Discord banner with link This year, one of our highest priorities has been to create a central hub for the MUI community. -Up until now, our community has been scattered across discussions and interactions on [Twitter](https://twitter.com/MUI_hq), [LinkedIn](https://linkedin.com/company/mui), [GitHub](https://github.com/mui), and [Stack Overflow](https://stackoverflow.com/questions/tagged/material-ui). +Up until now, our community has been scattered across discussions and interactions on [X](https://twitter.com/MUI_hq), [LinkedIn](https://linkedin.com/company/mui), [GitHub](https://github.com/mui), and [Stack Overflow](https://stackoverflow.com/questions/tagged/material-ui). That's why we've officially launched our [Discord Server](https://mui.com/r/discord/)—and we'd love for you to be a part of our community! diff --git a/docs/pages/blog/marija-najdova-joining.md b/docs/pages/blog/marija-najdova-joining.md index 596924c97fa3bc..911df299dd12d6 100644 --- a/docs/pages/blog/marija-najdova-joining.md +++ b/docs/pages/blog/marija-najdova-joining.md @@ -17,4 +17,4 @@ She is now actively working on the unstyled components and [the update of the st The community team will continue developing the foundations on which to build great design systems. Here's a quick view of [the community roadmap](https://github.com/orgs/mui/projects/18/views/1). -We couldn't be more excited to have Marija on the team! You can follow her on [Twitter](https://twitter.com/marijanajdova). +We couldn't be more excited to have Marija on the team! You can follow her on [X](https://twitter.com/marijanajdova). diff --git a/docs/pages/blog/material-ui-v1-is-out.md b/docs/pages/blog/material-ui-v1-is-out.md index aacc0345290bdc..a88c871e4e630f 100644 --- a/docs/pages/blog/material-ui-v1-is-out.md +++ b/docs/pages/blog/material-ui-v1-is-out.md @@ -127,4 +127,4 @@ Material UI is an MIT-licensed open source project. It's an independent project ![Our gold sponsors](https://cdn-images-1.medium.com/max/2000/1*fx_BaOxYY0ZJo3n9iXI1Jg.png)

Our gold sponsors

- GitHub: https://github.com/mui/material-ui ⭐ -- Twitter: https://twitter.com/MUI_hq +- X: https://twitter.com/MUI_hq diff --git a/docs/pages/blog/matheus-wichman-joining.md b/docs/pages/blog/matheus-wichman-joining.md index 281e9a521c5ad1..49e33997c85b99 100644 --- a/docs/pages/blog/matheus-wichman-joining.md +++ b/docs/pages/blog/matheus-wichman-joining.md @@ -23,7 +23,7 @@ Matheus is the first of a series of 5 new positions we have recently opened and We will cross the 10 person milestone in the coming weeks. We have opened these positions as our revenue growth allows. At the current pace, we will soon open new positions. -You can [follow us on Twitter](https://twitter.com/MUI_hq) to hear about upcoming positions. +You can [follow us on X](https://twitter.com/MUI_hq) to hear about upcoming positions. These new roles will help accelerate our mission, strengthen our existing offering, and initiate a new vertical. We couldn't be more excited to have Matheus on the team! diff --git a/docs/pages/blog/spotlight-damien-tassone.md b/docs/pages/blog/spotlight-damien-tassone.md index 7c4337a0ca7626..00fbcb4d541f8f 100644 --- a/docs/pages/blog/spotlight-damien-tassone.md +++ b/docs/pages/blog/spotlight-damien-tassone.md @@ -17,4 +17,4 @@ Right from the start, Damien has made fast and significant progress. He has been The enterprise team will continue developing the data grid component, and progressively extend to new advanced components as we grow the team. Here's a quick view of [the enterprise roadmap](https://github.com/mui/mui-x/projects/1). -You can follow Damien on [Twitter](https://twitter.com/madKakoO). +You can follow Damien on [X](https://twitter.com/madKakoO). diff --git a/docs/pages/careers/react-community-engineer.md b/docs/pages/careers/react-community-engineer.md index 9a17bc2e2f2d31..e95cddda3ce4be 100644 --- a/docs/pages/careers/react-community-engineer.md +++ b/docs/pages/careers/react-community-engineer.md @@ -65,7 +65,7 @@ You will own the following responsibilities: - **Build product knowledge**. You will continually research and learn the current and future best practices of using MUI. - **Resolve users' issues**. You will solve these issues at two levels: - - On the surface, you will answer developers on GitHub, Zendesk, Twitter, email, Slack. + - On the surface, you will answer developers on GitHub, Zendesk, X, email, Slack. - At the root, you will create/update the documentation, fix bugs in collaboration with the relevant developer, implement community driven features and more. - **Provide feedback**. You will work alongside product managers to define and shape the product goals, roadmap, priorities, and strategy based on your frontline knowledge of customer needs. - **Operations**. diff --git a/docs/public/static/branding/companies/twitter.svg b/docs/public/static/branding/companies/twitter.svg deleted file mode 100644 index 3fb727fc738d31..00000000000000 --- a/docs/public/static/branding/companies/twitter.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/docs/public/static/branding/companies/x.svg b/docs/public/static/branding/companies/x.svg new file mode 100644 index 00000000000000..dbcb391baee95e --- /dev/null +++ b/docs/public/static/branding/companies/x.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/docs/src/components/about/Team.tsx b/docs/src/components/about/Team.tsx index 70c600fc31eaa1..7b3ad2d1f2d940 100644 --- a/docs/src/components/about/Team.tsx +++ b/docs/src/components/about/Team.tsx @@ -10,7 +10,7 @@ import Paper, { PaperProps } from '@mui/material/Paper'; import Typography from '@mui/material/Typography'; import Tooltip from '@mui/material/Tooltip'; import KeyboardArrowRightRounded from '@mui/icons-material/KeyboardArrowRightRounded'; -import TwitterIcon from '@mui/icons-material/Twitter'; +import XIcon from '@mui/icons-material/X'; import GitHubIcon from '@mui/icons-material/GitHub'; import LinkedInIcon from '@mui/icons-material/LinkedIn'; import Link from 'docs/src/modules/components/Link'; @@ -155,13 +155,13 @@ function Person(props: Profile & { sx?: PaperProps['sx'] }) { )} {props.twitter && ( - + )} {props.linkedin && ( diff --git a/docs/src/components/home/CompaniesGrid.tsx b/docs/src/components/home/CompaniesGrid.tsx index e5ef0f15b9482f..2591dda6a9be02 100644 --- a/docs/src/components/home/CompaniesGrid.tsx +++ b/docs/src/components/home/CompaniesGrid.tsx @@ -128,11 +128,11 @@ export const DESIGNKITS_CUSTOMERS: Array = [ height: 52, }, { - alt: 'Twitter logo', - name: 'companies/twitter', + alt: 'X logo', + name: 'companies/x', mode: '', - width: 31, - height: 52, + width: 30, + height: 30, }, { alt: 'Salesforce logo', diff --git a/docs/src/components/home/MuiStatistics.tsx b/docs/src/components/home/MuiStatistics.tsx index 2bb6fcc1eee1ed..6254522a9c246f 100644 --- a/docs/src/components/home/MuiStatistics.tsx +++ b/docs/src/components/home/MuiStatistics.tsx @@ -7,7 +7,7 @@ const data = [ { title: '4M', metadata: 'Weekly downloads on npm' }, { title: '87k', metadata: 'Stars on GitHub' }, { title: '2.7k', metadata: 'Open-source contributors' }, - { title: '18.4k', metadata: 'Followers on Twitter' }, + { title: '18.4k', metadata: 'Followers on X' }, ]; export default function MuiStatistics() { diff --git a/docs/src/layouts/AppFooter.tsx b/docs/src/layouts/AppFooter.tsx index a90e89763a0d32..80f6da4720d6da 100644 --- a/docs/src/layouts/AppFooter.tsx +++ b/docs/src/layouts/AppFooter.tsx @@ -5,7 +5,7 @@ import Divider from '@mui/material/Divider'; import Typography from '@mui/material/Typography'; import IconButton from '@mui/material/IconButton'; import Stack from '@mui/material/Stack'; -import TwitterIcon from '@mui/icons-material/Twitter'; +import XIcon from '@mui/icons-material/X'; import GitHubIcon from '@mui/icons-material/GitHub'; import LinkedInIcon from '@mui/icons-material/LinkedIn'; import YouTubeIcon from '@mui/icons-material/YouTube'; @@ -180,10 +180,10 @@ export default function AppFooter(props: AppFooterProps) { rel="noopener noreferrer" href="https://twitter.com/MUI_hq" aria-label="twitter" - title="Twitter" + title="X" size="small" > - + - + {title} - {/* Twitter */} + {/* X */} {/* https://twitter.com/MUI_hq */} diff --git a/docs/src/modules/components/Notifications.js b/docs/src/modules/components/Notifications.js index caf57a187baa58..f82a8b9b479b94 100644 --- a/docs/src/modules/components/Notifications.js +++ b/docs/src/modules/components/Notifications.js @@ -131,7 +131,7 @@ export default function Notifications() { }, */ { id: 1, - text: 'You can follow us on Twitter or subscribe on our blog to receive exclusive tips and updates about MUI and the React ecosystem.', + text: 'You can follow us on X or subscribe on our blog to receive exclusive tips and updates about MUI and the React ecosystem.', }, // Only 3 ...notifications.splice(-3), diff --git a/docs/src/pages/premium-themes/onepirate/modules/views/AppFooter.js b/docs/src/pages/premium-themes/onepirate/modules/views/AppFooter.js index 04c756b168bcc6..e118f052b8ff56 100644 --- a/docs/src/pages/premium-themes/onepirate/modules/views/AppFooter.js +++ b/docs/src/pages/premium-themes/onepirate/modules/views/AppFooter.js @@ -67,8 +67,8 @@ export default function AppFooter() { Twitter diff --git a/docs/src/pages/premium-themes/onepirate/modules/views/AppFooter.tsx b/docs/src/pages/premium-themes/onepirate/modules/views/AppFooter.tsx index 04c756b168bcc6..e118f052b8ff56 100644 --- a/docs/src/pages/premium-themes/onepirate/modules/views/AppFooter.tsx +++ b/docs/src/pages/premium-themes/onepirate/modules/views/AppFooter.tsx @@ -67,8 +67,8 @@ export default function AppFooter() { Twitter diff --git a/packages/mui-icons-material/custom/X.js b/packages/mui-icons-material/custom/X.js index 64072f7c38af71..994d6ec5303b22 100644 --- a/packages/mui-icons-material/custom/X.js +++ b/packages/mui-icons-material/custom/X.js @@ -4,5 +4,5 @@ import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( , - 'Twitter', + 'X', ); diff --git a/packages/mui-icons-material/lib/X.js b/packages/mui-icons-material/lib/X.js index 6932a1baee16e4..54d0247093d3d4 100644 --- a/packages/mui-icons-material/lib/X.js +++ b/packages/mui-icons-material/lib/X.js @@ -13,5 +13,5 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } var _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)("path", { d: "M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z" -}), 'Twitter'); -exports.default = _default; \ No newline at end of file +}), 'X'); +exports.default = _default; diff --git a/packages/mui-icons-material/lib/esm/X.js b/packages/mui-icons-material/lib/esm/X.js index 288ee641278501..c2dac6a3200887 100644 --- a/packages/mui-icons-material/lib/esm/X.js +++ b/packages/mui-icons-material/lib/esm/X.js @@ -5,4 +5,4 @@ import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon( /*#__PURE__*/_jsx("path", { d: "M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z" -}), 'Twitter'); \ No newline at end of file +}), 'X'); From 0779eeabc06c5c9b872d24bfc256d080772aa894 Mon Sep 17 00:00:00 2001 From: Matt Date: Wed, 13 Dec 2023 00:00:35 +0000 Subject: [PATCH 2/3] prettier --- docs/pages/blog.tsx | 3 +-- .../premium-themes/onepirate/modules/views/AppFooter.js | 5 +---- .../premium-themes/onepirate/modules/views/AppFooter.tsx | 5 +---- 3 files changed, 3 insertions(+), 10 deletions(-) diff --git a/docs/pages/blog.tsx b/docs/pages/blog.tsx index 3982282d5a0d5f..44c3babf87dd2f 100644 --- a/docs/pages/blog.tsx +++ b/docs/pages/blog.tsx @@ -459,8 +459,7 @@ export default function Blog(props: InferGetStaticPropsType - - X + X diff --git a/docs/src/pages/premium-themes/onepirate/modules/views/AppFooter.js b/docs/src/pages/premium-themes/onepirate/modules/views/AppFooter.js index e118f052b8ff56..dfc60f7dc533f7 100644 --- a/docs/src/pages/premium-themes/onepirate/modules/views/AppFooter.js +++ b/docs/src/pages/premium-themes/onepirate/modules/views/AppFooter.js @@ -66,10 +66,7 @@ export default function AppFooter() { /> - X + X diff --git a/docs/src/pages/premium-themes/onepirate/modules/views/AppFooter.tsx b/docs/src/pages/premium-themes/onepirate/modules/views/AppFooter.tsx index e118f052b8ff56..dfc60f7dc533f7 100644 --- a/docs/src/pages/premium-themes/onepirate/modules/views/AppFooter.tsx +++ b/docs/src/pages/premium-themes/onepirate/modules/views/AppFooter.tsx @@ -66,10 +66,7 @@ export default function AppFooter() { /> - X + X From 053d79bfbd512b7655ec370736a73f8b0472389f Mon Sep 17 00:00:00 2001 From: Matt Date: Thu, 14 Dec 2023 18:47:17 +0000 Subject: [PATCH 3/3] Recreate X favicon as SVG for Joy tabs example --- .../joy/components/tabs/TabsBrowserExample.js | 20 ++++++++++++++++--- .../components/tabs/TabsBrowserExample.tsx | 20 ++++++++++++++++--- 2 files changed, 34 insertions(+), 6 deletions(-) diff --git a/docs/data/joy/components/tabs/TabsBrowserExample.js b/docs/data/joy/components/tabs/TabsBrowserExample.js index 84b52bd96270a3..46a8f9c0f251ba 100644 --- a/docs/data/joy/components/tabs/TabsBrowserExample.js +++ b/docs/data/joy/components/tabs/TabsBrowserExample.js @@ -106,10 +106,24 @@ function GoogleIcon() { function XIcon() { return ( - + + diff --git a/docs/data/joy/components/tabs/TabsBrowserExample.tsx b/docs/data/joy/components/tabs/TabsBrowserExample.tsx index ade5f9baa997d9..d750d2aa31b6d9 100644 --- a/docs/data/joy/components/tabs/TabsBrowserExample.tsx +++ b/docs/data/joy/components/tabs/TabsBrowserExample.tsx @@ -106,10 +106,24 @@ function GoogleIcon() { function XIcon() { return ( - + +