You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ A frontend Framework for building data-driven applications running in the browse
9
9
## Features
10
10
11
11
* Adapts to any backend (REST, GraphQL, SOAP, etc.)
12
-
* 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
12
+
* 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
13
13
* Super-fast UI thanks to optimistic rendering (renders before the server returns)
14
14
* Undo updates and deletes for a few seconds
15
15
* Relationships (many to one, one to many)
@@ -127,7 +127,7 @@ See the [Data Providers documentation](https://marmelab.com/react-admin/DataProv
127
127
128
128
## Batteries Included But Removable
129
129
130
-
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.
130
+
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.
Copy file name to clipboardexpand all lines: UPGRADE.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ Failing to upgrade one of the `ra-` packages will result in a duplication of the
35
35
*`react` and `react-dom` are now required to be >= 16.9. This version is backward compatible with 16.3, which was the minimum requirement in react-admin, and it offers the support for Hooks, on which react-admin v3 relies heavily.
36
36
*`react-redux` requires a minimum version of 7.1.0 (instead of 5.0). Check their upgrade guide for [6.0](https://github.com/reduxjs/react-redux/releases/tag/v6.0.0) and [7.0](https://github.com/reduxjs/react-redux/releases/tag/v7.0.0)
37
37
*`redux-saga` requires a minimum version of 1.0.0 (instead of ~0.16.0). Check their [list of breaking changes for redux-saga 1.0](https://github.com/redux-saga/redux-saga/releases/tag/v1.0.0) on GitHub.
38
-
*`material-ui` requires a minimum of 4.0.0 (instead of 1.5). Check their [Upgrade guide](https://next.material-ui.com/guides/migration-v3/).
38
+
*`material-ui` requires a minimum of 4.0.0 (instead of 1.5). Check their [Upgrade guide](https://mui.com/guides/migration-v3/).
39
39
40
40
## `react-router-redux` replaced by `connected-react-router`
41
41
@@ -967,7 +967,7 @@ You can replace `<DisabledInput>` with a disabled or read-only `TextInput`. For
967
967
+<TextInput source="id" disabled />
968
968
```
969
969
970
-
See material-ui [`TextField` documentation](https://material-ui.com/components/text-fields/#textfield) for available options.
970
+
See material-ui [`TextField` documentation](https://v4.mui.com/components/text-fields/#textfield) for available options.
971
971
972
972
## The SideBar Width Must Be Set Through The `theme`
Copy file name to clipboardexpand all lines: docs/Admin.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -274,7 +274,7 @@ See the [Theming documentation](./Theming.md#using-a-custom-menu) for more detai
274
274
275
275
## `theme`
276
276
277
-
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:
277
+
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:
For more details on predefined themes and custom themes, refer to the [Material UI Customization documentation](https://material-ui.com/customization/themes/).
297
+
For more details on predefined themes and custom themes, refer to the [Material UI Customization documentation](https://v4.mui.com/customization/themes/).
|`floating`| Applied to the underlying `MuiFab` component used in small screens |
109
109
110
-
To override the style of all instances of `<CreateButton>` using the [material-ui style overrides](https://material-ui.com/customization/globals/#css), use the `RaCreateButton` key.
110
+
To override the style of all instances of `<CreateButton>` using the [material-ui style overrides](https://v4.mui.com/customization/globals/#css), use the `RaCreateButton` key.
111
111
112
112
### `<ListButton>`
113
113
@@ -267,7 +267,7 @@ This button is an internal component used by react-admin in [the Filter button/f
|`root`| Alternative to using `className`. Applied to the root element |
269
269
270
-
To override the style of all instances of `<FilterButton>` using the [material-ui style overrides](https://material-ui.com/customization/globals/#css), use the `RaFilterButton` key.
270
+
To override the style of all instances of `<FilterButton>` using the [material-ui style overrides](https://v4.mui.com/customization/globals/#css), use the `RaFilterButton` key.
271
271
272
272
### `<SortButton>`
273
273
@@ -317,7 +317,7 @@ Base component for most react-admin buttons. Responsive (displays only the icon
317
317
|`disabled`| Optional |`boolean`|`false`| If `true`, the button will be disabled |
Other props are passed down to [the underlying material-ui `<Button>`](https://material-ui.com/api/button/).
320
+
Other props are passed down to [the underlying material-ui `<Button>`](https://v4.mui.com/api/button/).
321
321
322
322
#### CSS API
323
323
@@ -330,7 +330,7 @@ Other props are passed down to [the underlying material-ui `<Button>`](https://m
330
330
|`mediumIcon`| Applied to the Button's `children` when `size` prop is `medium` and `alignIcon` prop is 'right' |
331
331
|`largeIcon`| Applied to the Button's `children` when `size` prop is `large` and `alignIcon` prop is 'right' |
332
332
333
-
To override the style of all instances of `<Button>` using the [material-ui style overrides](https://material-ui.com/customization/globals/#css), use the `RaButton` key.
333
+
To override the style of all instances of `<Button>` using the [material-ui style overrides](https://v4.mui.com/customization/globals/#css), use the `RaButton` key.
334
334
335
335
### `<RefreshButton>`
336
336
### `<SkipNavigationButton>`
@@ -341,7 +341,7 @@ To override the style of all instances of `<Button>` using the [material-ui styl
|`skipToContentButton`| Applied to the underlying `MuiButton` component |
343
343
344
-
To override the style of all instances of `<SkipNavigationButton>` using the [material-ui style overrides](https://material-ui.com/customization/globals/#css), use the `RaSkipNavigationButton` key.
344
+
To override the style of all instances of `<SkipNavigationButton>` using the [material-ui style overrides](https://v4.mui.com/customization/globals/#css), use the `RaSkipNavigationButton` key.
345
345
346
346
### `<MenuItemLink>`
347
347
@@ -355,7 +355,7 @@ The `<MenuItemLink>` component displays a menu item with a label and an icon - o
355
355
|`primaryText`| Required |`ReactNode`| - | The menu content, displayed when the menu isn't minimized. |
356
356
|`leftIcon`| Optional |`ReactNode`| - | The menu icon |
357
357
358
-
Additional props are passed down to [the underling material-ui `<MenuItem>` component](https://material-ui.com/api/menu-item/#menuitem-api).
358
+
Additional props are passed down to [the underling material-ui `<MenuItem>` component](https://v4.mui.com/api/menu-item/#menuitem-api).
359
359
360
360
You can create a custom menu component using the `<DashboardMenuItem>` and `<MenuItemLink>` components:
361
361
@@ -418,7 +418,7 @@ See [The theming documentation](./Theming.md#menuitemlink) for more details.
418
418
|`active`| Applied to the underlying `MuiMenuItem`'s `activeClassName` prop |
419
419
|`icon`| Applied to the `ListItemIcon` component when `leftIcon` prop is set |
420
420
421
-
To override the style of all instances of `<MenuItemLink>` using the [material-ui style overrides](https://material-ui.com/customization/globals/#css), use the `RaMenuItemLink` key.
421
+
To override the style of all instances of `<MenuItemLink>` using the [material-ui style overrides](https://v4.mui.com/customization/globals/#css), use the `RaMenuItemLink` key.
422
422
423
423
### `<UserMenu>`
424
424
@@ -437,4 +437,4 @@ To override the style of all instances of `<MenuItemLink>` using the [material-u
437
437
|`userButton`| Applied to the underlying `MuiButton` component when `useGetIdentity().loaded` is `true` and `useGetIdentity().identity.fullName` is set |
438
438
|`avatar`| Applied to the underlying `MuiAvatar` component when `useGetIdentity().avatar` is `true`|
439
439
440
-
To override the style of all instances of `<UserMenu>` using the [material-ui style overrides](https://material-ui.com/customization/globals/#css), use the `RaUserMenu` key.
440
+
To override the style of all instances of `<UserMenu>` using the [material-ui style overrides](https://v4.mui.com/customization/globals/#css), use the `RaUserMenu` key.
Copy file name to clipboardexpand all lines: docs/CreateEdit.md
+5-5
Original file line number
Diff line number
Diff line change
@@ -109,7 +109,7 @@ You can customize the `<Create>` and `<Edit>` components using the following pro
109
109
110
110
### CSS API
111
111
112
-
The `<Create>` and `<Edit>` components accepts the usual `className` prop, but you can override many class names injected to the inner components by React-admin thanks to the `classes` property (as most Material UI components, see their [documentation about it](https://material-ui.com/customization/components/#overriding-styles-with-classes)). This property accepts the following keys:
112
+
The `<Create>` and `<Edit>` components accepts the usual `className` prop, but you can override many class names injected to the inner components by React-admin thanks to the `classes` property (as most Material UI components, see their [documentation about it](https://v4.mui.com/customization/components/#overriding-styles-with-classes)). This property accepts the following keys:
@@ -118,7 +118,7 @@ The `<Create>` and `<Edit>` components accepts the usual `className` prop, but y
118
118
|`noActions`| Applied to the main container when `actions` prop is `false`|
119
119
|`card`| Applied to the child component inside the main container (Material UI's `Card` by default) |
120
120
121
-
To override the style of all instances of `<Create>` and `<Edit>` components using the [material-ui style overrides](https://material-ui.com/customization/globals/#css), use the `RaCreate` and `RaEdit` keys respectively.
121
+
To override the style of all instances of `<Create>` and `<Edit>` components using the [material-ui style overrides](https://v4.mui.com/customization/globals/#css), use the `RaCreate` and `RaEdit` keys respectively.
122
122
123
123
### Page Title
124
124
@@ -1705,7 +1705,7 @@ Here are the props received by the `Toolbar` component when passed as the `toolb
1705
1705
1706
1706
### CSS API
1707
1707
1708
-
The `<Toolbar>` accepts the usual `className` prop, but you can override many class names injected to the inner components by React-admin thanks to the `classes` property (as most Material UI components, see their [documentation about it](https://material-ui.com/customization/components/#overriding-styles-with-classes)). This property accepts the following keys:
1708
+
The `<Toolbar>` accepts the usual `className` prop, but you can override many class names injected to the inner components by React-admin thanks to the `classes` property (as most Material UI components, see their [documentation about it](https://v4.mui.com/customization/components/#overriding-styles-with-classes)). This property accepts the following keys:
@@ -1715,7 +1715,7 @@ The `<Toolbar>` accepts the usual `className` prop, but you can override many cl
1715
1715
|`mobileToolbar`| Applied to the underlying `MuiToolbar` component when `width` prop is `xs`|
1716
1716
|`spacer`| Applied to the div below the underlying `MuiToolbar` used as spacer |
1717
1717
1718
-
To override the style of all instances of `<Toolbar>` components using the [material-ui style overrides](https://material-ui.com/customization/globals/#css), use the `RaToolbar` key.
1718
+
To override the style of all instances of `<Toolbar>` components using the [material-ui style overrides](https://v4.mui.com/customization/globals/#css), use the `RaToolbar` key.
1719
1719
1720
1720
**Tip**: Use react-admin's `<Toolbar>` component instead of material-ui's `<Toolbar>` component. The former builds upon the latter and adds support for an alternative mobile layout (and is therefore responsive).
1721
1721
@@ -1926,7 +1926,7 @@ The `<SimpleForm>` and `<TabbedForm>` layouts are quite simple. In order to bett
1926
1926
1927
1927

1928
1928
1929
-
Here is an example of such custom form, taken from the Posters Galore demo. It uses [material-ui's `<Box>` component](https://material-ui.com/components/box/), and it's a good starting point for your custom form layouts.
1929
+
Here is an example of such custom form, taken from the Posters Galore demo. It uses [material-ui's `<Box>` component](https://v4.mui.com/components/box/), and it's a good starting point for your custom form layouts.
Copy file name to clipboardexpand all lines: docs/Fields.md
+9-9
Original file line number
Diff line number
Diff line change
@@ -156,7 +156,7 @@ import { BooleanField } from 'react-admin';
156
156
| ---------- | --------------------------- |
157
157
|`root`| Applied to the root element |
158
158
159
-
To override the style of all instances of `<BooleanField>` using the [material-ui style overrides](https://material-ui.com/customization/globals/#css), use the `RaBooleanField` key.
159
+
To override the style of all instances of `<BooleanField>` using the [material-ui style overrides](https://v4.mui.com/customization/globals/#css), use the `RaBooleanField` key.
160
160
161
161
#### Usage
162
162
@@ -183,15 +183,15 @@ import AlarmOffIcon from '@material-ui/icons/AlarmOff';
183
183
184
184
### `<ChipField>`
185
185
186
-
Displays a value inside a ["Chip"](https://material-ui.com/components/chips), which is Material UI's term for a label.
186
+
Displays a value inside a ["Chip"](https://v4.mui.com/components/chips), which is Material UI's term for a label.
|`chip`| Applied to the underlying Material UI's `Chip` component |
193
193
194
-
To override the style of all instances of `<ChipField>` using the [material-ui style overrides](https://material-ui.com/customization/globals/#css), use the `RaChipField` key.
194
+
To override the style of all instances of `<ChipField>` using the [material-ui style overrides](https://v4.mui.com/customization/globals/#css), use the `RaChipField` key.
Any additional props are passed to material-ui's `<Chip>` element. Check [The material-ui `<Chip>` documentation](https://material-ui.com/api/chip/) for details.
218
+
Any additional props are passed to material-ui's `<Chip>` element. Check [The material-ui `<Chip>` documentation](https://v4.mui.com/api/chip/) for details.
219
219
220
220
### `<DateField>`
221
221
@@ -328,7 +328,7 @@ This field is also often used within the [<ImageInput />](./Inputs.md#imageinput
328
328
|`list`| Applied to the underlying `<ul>` component when `sourceValue` prop is an array |
329
329
|`image`| Applied to each underlying `<img>` component |
330
330
331
-
To override the style of all instances of `<ImageField>` using the [material-ui style overrides](https://material-ui.com/customization/globals/#css), use the `RaImageField` key.
331
+
To override the style of all instances of `<ImageField>` using the [material-ui style overrides](https://v4.mui.com/customization/globals/#css), use the `RaImageField` key.
332
332
333
333
#### Usage
334
334
@@ -394,7 +394,7 @@ This field is also often used within an [<FileInput />](./Inputs.md#fileinput) c
394
394
| ---------- | --------------------------- |
395
395
|`root`| Applied to the root element |
396
396
397
-
To override the style of all instances of `<FileField>` using the [material-ui style overrides](https://material-ui.com/customization/globals/#css), use the `RaFileField` key.
397
+
To override the style of all instances of `<FileField>` using the [material-ui style overrides](https://v4.mui.com/customization/globals/#css), use the `RaFileField` key.
398
398
399
399
#### Usage
400
400
@@ -792,7 +792,7 @@ With this configuration, `<ReferenceField>` wraps the user's name in a link to t
792
792
| ---------- | ----------------------------- |
793
793
|`link`| Applied to each child element |
794
794
795
-
To override the style of all instances of `<ReferenceField>` using the [material-ui style overrides](https://material-ui.com/customization/globals/#css), use the `RaReferenceField` key.
795
+
To override the style of all instances of `<ReferenceField>` using the [material-ui style overrides](https://v4.mui.com/customization/globals/#css), use the `RaReferenceField` key.
|`progress`| Applied to the Material UI's `LinearProgress` component while `loaded` prop is `false`|
1090
1090
1091
-
To override the style of all instances of `<ReferenceArrayField>` using the [material-ui style overrides](https://material-ui.com/customization/globals/#css), use the `RaReferenceArrayField` key.
1091
+
To override the style of all instances of `<ReferenceArrayField>` using the [material-ui style overrides](https://v4.mui.com/customization/globals/#css), use the `RaReferenceArrayField` key.
1092
1092
1093
1093
#### Usage
1094
1094
@@ -1266,7 +1266,7 @@ The same pattern applies to show views when you don't want to display all transl
1266
1266
1267
1267
### Styling Fields
1268
1268
1269
-
All field components accept a `className` prop, allowing you to customize their style to your liking. We advise you to use the Material UI styling solution, JSS, to generate those classes. See their [documentation](https://material-ui.com/customization/css-in-js/#api) about that.
1269
+
All field components accept a `className` prop, allowing you to customize their style to your liking. We advise you to use the Material UI styling solution, JSS, to generate those classes. See their [documentation](https://v4.mui.com/customization/css-in-js/#api) about that.
0 commit comments