Skip to content

Commit

Permalink
[examples] Freeze examples dependency range (#43435)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari authored Sep 7, 2024
1 parent b02bcb1 commit daf961e
Show file tree
Hide file tree
Showing 78 changed files with 281 additions and 283 deletions.
52 changes: 26 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
<!-- markdownlint-disable-next-line -->
<p align="center">
<a href="https://mui.com/core/" rel="noopener" target="_blank"><img width="150" height="133" src="https://mui.com/static/logo.svg" alt="MUI Core logo"></a>
<a href="https://v5.mui.com/core/" rel="noopener" target="_blank"><img width="150" height="133" src="https://v5.mui.com/static/logo.svg" alt="MUI Core logo"></a>
</p>

<h1 align="center">MUI Core</h1>

**MUI Core** contains foundational React UI component libraries for shipping new features faster:

- [Material UI](https://mui.com/material-ui/) is a comprehensive library of components that features our implementation of Google's [Material Design](https://m2.material.io/design/introduction/) system.
- [Material UI](https://v5.mui.com/material-ui/) is a comprehensive library of components that features our implementation of Google's [Material Design](https://m2.material.io/design/introduction/) system.

- [Joy UI](https://mui.com/joy-ui/getting-started/) is a library of beautifully designed React UI components built to spark joy.
- [Joy UI](https://v5.mui.com/joy-ui/getting-started/) is a library of beautifully designed React UI components built to spark joy.

- [Base UI](https://mui.com/base-ui/) is a library of unstyled React UI components and hooks. With Base UI, you gain complete control over your app's CSS and accessibility features.
- [Base UI](https://v5.mui.com/base-ui/) is a library of unstyled React UI components and hooks. With Base UI, you gain complete control over your app's CSS and accessibility features.

- [MUI System](https://mui.com/system/getting-started/) is a collection of CSS utilities to help you rapidly lay out custom designs.
- [MUI System](https://v5.mui.com/system/getting-started/) is a collection of CSS utilities to help you rapidly lay out custom designs.

<div align="center">

Expand All @@ -35,14 +35,14 @@

### Material UI

Visit [https://mui.com/material-ui/](https://mui.com/material-ui/) to view the full documentation.
Visit [https://v5.mui.com/material-ui/](https://v5.mui.com/material-ui/) to view the full documentation.

<details>
<summary>Older versions</summary>

- **[v4.x](https://v4.mui.com/)** ([Migration from v4 to v5](https://mui.com/material-ui/migration/migration-v4/))
- **[v3.x](https://v3.mui.com/)** ([Migration from v3 to v4](https://mui.com/material-ui/migration/migration-v3/))
- **[v0.x](https://v0.mui.com/)** ([Migration to v1](https://mui.com/material-ui/migration/migration-v0x/))
- **[v4.x](https://v4.mui.com/)** ([Migration from v4 to v5](https://v5.mui.com/material-ui/migration/migration-v4/))
- **[v3.x](https://v3.mui.com/)** ([Migration from v3 to v4](https://v5.mui.com/material-ui/migration/migration-v3/))
- **[v0.x](https://v0.mui.com/)** ([Migration to v1](https://v5.mui.com/material-ui/migration/migration-v0x/))

</details>

Expand All @@ -51,30 +51,30 @@ Use `@latest` for the latest stable release.

### Joy UI

Visit [https://mui.com/joy-ui/getting-started/](https://mui.com/joy-ui/getting-started/) to view the full documentation.
Visit [https://v5.mui.com/joy-ui/getting-started/](https://v5.mui.com/joy-ui/getting-started/) to view the full documentation.

**Note**: Joy UI is still in beta.
We are adding new components regularly and you're welcome to contribute!

### Base UI

Visit [https://mui.com/base-ui/](https://mui.com/base-ui/) to view the full documentation.
Visit [https://v5.mui.com/base-ui/](https://v5.mui.com/base-ui/) to view the full documentation.

**Note**: Base UI is still in beta.
We are adding new components regularly and you're welcome to contribute!

### MUI System

Visit [https://mui.com/system/getting-started/](https://mui.com/system/getting-started/) to view the full documentation.
Visit [https://v5.mui.com/system/getting-started/](https://v5.mui.com/system/getting-started/) to view the full documentation.

## Sponsors

### Diamond 💎

<p>
<a href="https://octopus.com/?utm_source=MUI&utm_medium=referral&utm_content=readme" rel="noopener sponsored" target="_blank"><img height="128" width="128" src="https://mui.com/static/sponsors/octopus-square.svg" alt="octopus" title="Repeatable, reliable deployments" loading="lazy" /></a>
<a href="https://www.doit.com/?utm_source=MUI&utm_medium=referral&utm_content=readme" rel="noopener sponsored" target="_blank"><img height="128" width="128" src="https://mui.com/static/sponsors/doit-square.svg" alt="doit" title="Management Platform for Google Cloud and AWS" loading="lazy" /></a>
<a href="https://www.marblism.com/?utm_source=mui" rel="noopener sponsored" target="_blank"><img height="128" width="128" src="https://mui.com/static/sponsors/marblism-square.svg" alt="marblism" title="AI web app generation" loading="lazy" /></a>
<a href="https://octopus.com/?utm_source=MUI&utm_medium=referral&utm_content=readme" rel="noopener sponsored" target="_blank"><img height="128" width="128" src="https://v5.mui.com/static/sponsors/octopus-square.svg" alt="octopus" title="Repeatable, reliable deployments" loading="lazy" /></a>
<a href="https://www.doit.com/?utm_source=MUI&utm_medium=referral&utm_content=readme" rel="noopener sponsored" target="_blank"><img height="128" width="128" src="https://v5.mui.com/static/sponsors/doit-square.svg" alt="doit" title="Management Platform for Google Cloud and AWS" loading="lazy" /></a>
<a href="https://www.marblism.com/?utm_source=mui" rel="noopener sponsored" target="_blank"><img height="128" width="128" src="https://v5.mui.com/static/sponsors/marblism-square.svg" alt="marblism" title="AI web app generation" loading="lazy" /></a>
</p>

Diamond sponsors are those who have pledged \$1,500/month or more to MUI.
Expand All @@ -89,7 +89,7 @@ via [Open Collective](https://opencollective.com/mui-org) or via [Patreon](http
<a href="https://icons8.com?utm_source=MUI&utm_medium=referral&utm_content=readme" rel="noopener sponsored" target="_blank"><img height="96" width="96" src="https://images.opencollective.com/icons8/7fa1641/logo/288.png" alt="Icons8" title="Icons8: API for icons, photos, illustrations, and music." loading="lazy"></a>
<a href="https://rxdb.info/?utm_source=sponsor&utm_medium=opencollective&utm_campaign=opencollective-mui" rel="noopener sponsored" target="_blank"><img height="96" width="96" src="https://rxdb.info/files/logo/logo_text.svg" alt="RxDB" title="RxDB: Local-first JavaScript database." loading="lazy" /></a>
<a href="https://www.text-em-all.com/?utm_source=MUI&utm_medium=referral&utm_content=readme" rel="noopener sponsored" target="_blank"><img src="https://avatars.githubusercontent.com/u/1262264?s=288" alt="text-em-all.com" title="Text-em-all: Mass text messaging and automated calling." height="96" width="96" loading="lazy"></a>
<a href="https://megafamous.com/?utm_source=MUI&utm_medium=referral&utm_content=readme" rel="noopener sponsored" target="_blank"><img height="96" width="96" src="https://mui.com/static/sponsors/megafamous.png" alt="megafamous.com" title="MegaFamous: Buy Instagram followers and likes." loading="lazy" /></a>
<a href="https://megafamous.com/?utm_source=MUI&utm_medium=referral&utm_content=readme" rel="noopener sponsored" target="_blank"><img height="96" width="96" src="https://v5.mui.com/static/sponsors/megafamous.png" alt="megafamous.com" title="MegaFamous: Buy Instagram followers and likes." loading="lazy" /></a>
<a href="https://www.dialmycalls.com/?utm_source=MUI&utm_medium=referral&utm_content=readme" rel="noopener sponsored" target="_blank"><img height="96" width="96" src="https://images.opencollective.com/dialmycalls/f5ae9ab/avatar/288.png" alt="dialmycalls.com" title="DialMyCalls: Send text messages, calls, and emails." loading="lazy" /></a>
<a href="https://goread.io/?utm_source=MUI&utm_medium=referral&utm_content=readme" rel="noopener sponsored" target="_blank"><img height="96" width="96" src="https://images.opencollective.com/goread_io/eb6337d/logo/288.png" alt="goread.io" title="Goread.io: Instagram followers, likes, views, and comments." loading="lazy" /></a>
</p>
Expand Down Expand Up @@ -117,7 +117,7 @@ You can find complete templates and themes in the [MUI Store](https://mui.com/s
Read the [contributing guide](/CONTRIBUTING.md) to learn about our development process, how to propose bug fixes and improvements, and how to build and test your changes.

Contributing is about more than just issues and pull requests!
There are many other ways to [support Material UI](https://mui.com/material-ui/getting-started/faq/#mui-is-awesome-how-can-i-support-the-project) beyond contributing to the code base.
There are many other ways to [support Material UI](https://v5.mui.com/material-ui/getting-started/faq/#mui-is-awesome-how-can-i-support-the-project) beyond contributing to the code base.

## Changelog

Expand All @@ -142,9 +142,9 @@ These great services sponsor MUI's core infrastructure:

<div>
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://mui.com/static/readme/github-darkmode.svg">
<source media="(prefers-color-scheme: light)" srcset="https://mui.com/static/readme/github-lightmode.svg">
<img alt="GitHub logo" src="https://mui.com/static/readme/github-lightmode.svg" width="80" height="43">
<source media="(prefers-color-scheme: dark)" srcset="https://v5.mui.com/static/readme/github-darkmode.svg">
<source media="(prefers-color-scheme: light)" srcset="https://v5.mui.com/static/readme/github-lightmode.svg">
<img alt="GitHub logo" src="https://v5.mui.com/static/readme/github-lightmode.svg" width="80" height="43">
</picture>

[GitHub](https://github.com/) lets us host the Git repository and coordinate contributions.
Expand All @@ -153,9 +153,9 @@ These great services sponsor MUI's core infrastructure:

<div>
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://mui.com/static/readme/netlify-darkmode.svg">
<source media="(prefers-color-scheme: light)" srcset="https://mui.com/static/readme/netlify-lightmode.svg">
<img alt="Netlify logo" src="https://mui.com/static/readme/netlify-lightmode.svg" width="100" height="27">
<source media="(prefers-color-scheme: dark)" srcset="https://v5.mui.com/static/readme/netlify-darkmode.svg">
<source media="(prefers-color-scheme: light)" srcset="https://v5.mui.com/static/readme/netlify-lightmode.svg">
<img alt="Netlify logo" src="https://v5.mui.com/static/readme/netlify-lightmode.svg" width="100" height="27">
</picture>

[Netlify](https://www.netlify.com/) lets us distribute the documentation.
Expand All @@ -164,9 +164,9 @@ These great services sponsor MUI's core infrastructure:

<div>
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://mui.com/static/readme/browserstack-darkmode.svg">
<source media="(prefers-color-scheme: light)" srcset="https://mui.com/static/readme/browserstack-lightmode.svg">
<img alt="BrowserStack logo" src="https://mui.com/static/readme/browserstack-lightmode.svg" width="140" height="25">
<source media="(prefers-color-scheme: dark)" srcset="https://v5.mui.com/static/readme/browserstack-darkmode.svg">
<source media="(prefers-color-scheme: light)" srcset="https://v5.mui.com/static/readme/browserstack-lightmode.svg">
<img alt="BrowserStack logo" src="https://v5.mui.com/static/readme/browserstack-lightmode.svg" width="140" height="25">
</picture>

[BrowserStack](https://www.browserstack.com/) lets us test in real browsers.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@

<!-- #default-branch-switch -->

View the demo at https://mui.com/material-ui/getting-started/templates/blog/.
View the demo at https://v5.mui.com/material-ui/getting-started/templates/blog/.
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@

<!-- #default-branch-switch -->

View the demo at https://mui.com/material-ui/getting-started/templates/checkout/.
View the demo at https://v5.mui.com/material-ui/getting-started/templates/checkout/.
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@

<!-- #default-branch-switch -->

View the demo at https://mui.com/material-ui/getting-started/templates/dashboard/.
View the demo at https://v5.mui.com/material-ui/getting-started/templates/dashboard/.
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@

<!-- #default-branch-switch -->

View the demo at https://mui.com/material-ui/getting-started/templates/landing-page/.
View the demo at https://v5.mui.com/material-ui/getting-started/templates/landing-page/.
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@

<!-- #default-branch-switch -->

View the demo at https://mui.com/material-ui/getting-started/templates/pricing/.
View the demo at https://v5.mui.com/material-ui/getting-started/templates/pricing/.
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@

<!-- #default-branch-switch -->

View the demo at https://mui.com/material-ui/getting-started/templates/sign-in-side/.
View the demo at https://v5.mui.com/material-ui/getting-started/templates/sign-in-side/.
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@

<!-- #default-branch-switch -->

View the demo at https://mui.com/material-ui/getting-started/templates/sign-in/.
View the demo at https://v5.mui.com/material-ui/getting-started/templates/sign-in/.
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@

<!-- #default-branch-switch -->

View the demo at https://mui.com/material-ui/getting-started/templates/sign-up/.
View the demo at https://v5.mui.com/material-ui/getting-started/templates/sign-up/.
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@

<!-- #default-branch-switch -->

View the demo at https://mui.com/material-ui/getting-started/templates/sticky-footer/.
View the demo at https://v5.mui.com/material-ui/getting-started/templates/sticky-footer/.
2 changes: 1 addition & 1 deletion examples/base-ui-cra-ts/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Base UI - Create React App example in TypeScript

[Base UI](https://mui.com/base-ui/) is a library of unstyled React UI components and hooks.
[Base UI](https://v5.mui.com/base-ui/) is a library of unstyled React UI components and hooks.

[Create React App](https://create-react-app.dev/) is a framework for quickly creating a new React project without the need to configure complex build tools or development environments.

Expand Down
8 changes: 4 additions & 4 deletions examples/base-ui-cra-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
"private": true,
"dependencies": {
"@mui/base": "latest",
"@types/react": "latest",
"@types/react-dom": "latest",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"react": "latest",
"react-dom": "latest",
"react-scripts": "latest",
"typescript": "latest"
"react-scripts": "^5.0.0",
"typescript": "~5.5.0"
},
"scripts": {
"start": "react-scripts start",
Expand Down
2 changes: 1 addition & 1 deletion examples/base-ui-cra/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Base UI - Create React App example in JavaScript

[Base UI](https://mui.com/base-ui/) is a library of unstyled React UI components and hooks.
[Base UI](https://v5.mui.com/base-ui/) is a library of unstyled React UI components and hooks.

[Create React App](https://create-react-app.dev/) is a framework for quickly creating a new React project without the need to configure complex build tools or development environments.

Expand Down
2 changes: 1 addition & 1 deletion examples/base-ui-cra/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"@mui/base": "latest",
"react": "latest",
"react-dom": "latest",
"react-scripts": "latest"
"react-scripts": "^5.0.0"
},
"scripts": {
"start": "react-scripts start",
Expand Down
2 changes: 1 addition & 1 deletion examples/base-ui-nextjs-tailwind-ts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ or
To learn more about this example:

- [Next.js documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Customizing Base UI](https://mui.com/base-ui/getting-started/customization/) - strategies for styling and customizing Base UI.
- [Customizing Base UI](https://v5.mui.com/base-ui/getting-started/customization/) - strategies for styling and customizing Base UI.
14 changes: 7 additions & 7 deletions examples/base-ui-nextjs-tailwind-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,21 @@
},
"dependencies": {
"@mui/base": "latest",
"clsx": "latest",
"next": "latest",
"react": "latest",
"react-dom": "latest"
"clsx": "^2.0.0",
"next": "^14.0.0",
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
"devDependencies": {
"@types/node": "latest",
"@types/react": "latest",
"@types/react-dom": "latest",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"autoprefixer": "latest",
"eslint": "latest",
"eslint-config-next": "latest",
"postcss": "latest",
"postcss-nesting": "latest",
"tailwindcss": "latest",
"typescript": "latest"
"typescript": "~5.5.0"
}
}
2 changes: 1 addition & 1 deletion examples/base-ui-vite-tailwind-ts/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Base UI - Vite.js example with Tailwind CSS in TypeScript

[Base UI](https://mui.com/base-ui/) is a library of unstyled React UI components and hooks.
[Base UI](https://v5.mui.com/base-ui/) is a library of unstyled React UI components and hooks.

[Vite](https://vitejs.dev/) is a build tool that aims to provide a faster and leaner development experience for modern web projects, consisting of a dev server and a build command

Expand Down
14 changes: 7 additions & 7 deletions examples/base-ui-vite-tailwind-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,23 @@
},
"dependencies": {
"@mui/base": "latest",
"react": "latest",
"react-dom": "latest"
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
"devDependencies": {
"@types/react": "latest",
"@types/react-dom": "latest",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@typescript-eslint/eslint-plugin": "latest",
"@typescript-eslint/parser": "latest",
"@vitejs/plugin-react": "latest",
"@vitejs/plugin-react": "^4.0.0",
"autoprefixer": "latest",
"eslint": "latest",
"eslint-plugin-react-hooks": "latest",
"eslint-plugin-react-refresh": "latest",
"postcss": "latest",
"tailwindcss": "latest",
"typescript": "latest",
"vite": "latest"
"typescript": "~5.5.0",
"vite": "v5.0.0"
},
"browserslist": {
"production": [
Expand Down
2 changes: 1 addition & 1 deletion examples/base-ui-vite-tailwind/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Base UI - Vite.js example with Tailwind CSS

[Base UI](https://mui.com/base-ui/) is a library of unstyled React UI components and hooks.
[Base UI](https://v5.mui.com/base-ui/) is a library of unstyled React UI components and hooks.

[Vite](https://vitejs.dev/) is a build tool that aims to provide a faster and leaner development experience for modern web projects, consisting of a dev server and a build command

Expand Down
12 changes: 6 additions & 6 deletions examples/base-ui-vite-tailwind/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@
},
"dependencies": {
"@mui/base": "latest",
"react": "latest",
"react-dom": "latest"
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
"devDependencies": {
"@types/react": "latest",
"@types/react-dom": "latest",
"@vitejs/plugin-react": "latest",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@vitejs/plugin-react": "^4.0.0",
"autoprefixer": "latest",
"postcss": "latest",
"tailwindcss": "latest",
"vite": "latest"
"vite": "v5.0.0"
}
}
2 changes: 1 addition & 1 deletion examples/joy-ui-cra-ts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ or:
<!-- #default-branch-switch -->

You now have a working example project.
You can head back to the documentation and continue by browsing the [templates](https://mui.com/joy-ui/getting-started/templates/) section.
You can head back to the documentation and continue by browsing the [templates](https://v5.mui.com/joy-ui/getting-started/templates/) section.
12 changes: 6 additions & 6 deletions examples/joy-ui-cra-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
"version": "5.0.0",
"private": true,
"dependencies": {
"@emotion/react": "latest",
"@emotion/styled": "latest",
"@emotion/react": "^11.0.0",
"@emotion/styled": "^11.0.0",
"@mui/joy": "latest",
"@types/react": "latest",
"@types/react-dom": "latest",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"react": "latest",
"react-dom": "latest",
"react-scripts": "latest",
"typescript": "latest"
"react-scripts": "^5.0.0",
"typescript": "~5.5.0"
},
"scripts": {
"start": "react-scripts start",
Expand Down
4 changes: 2 additions & 2 deletions examples/joy-ui-nextjs-ts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ or:
To learn more about this example:

- [Next.js documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Customizing Joy UI](https://mui.com/joy-ui/customization/approaches/) - approaches to customizing Joy UI.
- [Customizing Joy UI](https://v5.mui.com/joy-ui/customization/approaches/) - approaches to customizing Joy UI.

## What's next?

<!-- #default-branch-switch -->

You now have a working example project.
You can head back to the documentation and continue by browsing the [templates](https://mui.com/joy-ui/getting-started/templates/) section.
You can head back to the documentation and continue by browsing the [templates](https://v5.mui.com/joy-ui/getting-started/templates/) section.
Loading

0 comments on commit daf961e

Please sign in to comment.