From 0950fce3eb5e2d664321f684942065a301472f86 Mon Sep 17 00:00:00 2001 From: asvarcas Date: Mon, 18 Oct 2021 17:51:31 -0300 Subject: [PATCH 1/2] Change https://material-ui.com for https://v4.mui.com --- README.md | 4 +- UPGRADE.md | 2 +- docs/Admin.md | 4 +- docs/Buttons.md | 16 ++++---- docs/CreateEdit.md | 10 ++--- docs/Fields.md | 18 ++++----- docs/Inputs.md | 40 +++++++++---------- docs/List.md | 10 ++--- docs/Readme.md | 2 +- docs/Show.md | 4 +- docs/Theming.md | 12 +++--- docs/Tutorial.md | 10 ++--- .../src/actions/notificationActions.ts | 2 +- packages/ra-core/src/reducer/admin/ui.ts | 2 +- packages/ra-ui-materialui/README.md | 2 +- .../src/layout/MenuItemLink.tsx | 2 +- .../ra-ui-materialui/src/layout/UserMenu.tsx | 2 +- packages/react-admin/README.md | 4 +- 18 files changed, 73 insertions(+), 73 deletions(-) diff --git a/README.md b/README.md index b741eba2cfd..749de1c2768 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ A frontend Framework for building data-driven applications running in the browse ## Features * Adapts to any backend (REST, GraphQL, SOAP, etc.) -* Powered by [material-ui](https://material-ui.com/), [redux](https://redux.js.org/), [react-final-form](https://final-form.org/react), [react-router](https://reacttraining.com/react-router/) and a few more +* Powered by [material-ui](https://v4.mui.com/), [redux](https://redux.js.org/), [react-final-form](https://final-form.org/react), [react-router](https://reacttraining.com/react-router/) and a few more * Super-fast UI thanks to optimistic rendering (renders before the server returns) * Undo updates and deletes for a few seconds * Relationships (many to one, one to many) @@ -127,7 +127,7 @@ See the [Data Providers documentation](https://marmelab.com/react-admin/DataProv ## Batteries Included But Removable -React-admin is designed as a library of loosely coupled React components built on top of [material-ui](https://material-ui.com/), in addition to custom react hooks exposing reusable controller logic. It is very easy to replace one part of react-admin with your own, e.g. to use a custom datagrid, GraphQL instead of REST, or Bootstrap instead of Material Design. +React-admin is designed as a library of loosely coupled React components built on top of [material-ui](https://v4.mui.com/), in addition to custom react hooks exposing reusable controller logic. It is very easy to replace one part of react-admin with your own, e.g. to use a custom datagrid, GraphQL instead of REST, or Bootstrap instead of Material Design. ## Examples diff --git a/UPGRADE.md b/UPGRADE.md index baba3a4bbee..1298f81d39f 100644 --- a/UPGRADE.md +++ b/UPGRADE.md @@ -967,7 +967,7 @@ You can replace `` with a disabled or read-only `TextInput`. For + ``` -See material-ui [`TextField` documentation](https://material-ui.com/components/text-fields/#textfield) for available options. +See material-ui [`TextField` documentation](https://v4.mui.com/components/text-fields/#textfield) for available options. ## The SideBar Width Must Be Set Through The `theme` diff --git a/docs/Admin.md b/docs/Admin.md index 0d240b05a81..7af7f1cd00d 100644 --- a/docs/Admin.md +++ b/docs/Admin.md @@ -273,7 +273,7 @@ See the [Theming documentation](./Theming.md#using-a-custom-menu) for more detai ## `theme` -Material UI supports [theming](https://material-ui.com/customization/themes). This lets you customize the look and feel of an admin by overriding fonts, colors, and spacing. You can provide a custom material ui theme by using the `theme` prop: +Material UI supports [theming](https://v4.mui.com/customization/themes). This lets you customize the look and feel of an admin by overriding fonts, colors, and spacing. You can provide a custom material ui theme by using the `theme` prop: ```jsx import { createMuiTheme } from '@material-ui/core/styles'; @@ -293,7 +293,7 @@ const App = () => ( ![Dark theme](./img/dark-theme.png) -For more details on predefined themes and custom themes, refer to the [Material UI Customization documentation](https://material-ui.com/customization/themes/). +For more details on predefined themes and custom themes, refer to the [Material UI Customization documentation](https://v4.mui.com/customization/themes/). ## `layout` diff --git a/docs/Buttons.md b/docs/Buttons.md index 5fcb8d1a528..03f84f75163 100644 --- a/docs/Buttons.md +++ b/docs/Buttons.md @@ -107,7 +107,7 @@ It also supports [all the other `