Skip to content

Commit ef36a66

Browse files
committed
Fix linkes to material ui website
1 parent fa174b3 commit ef36a66

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

UPGRADE.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ import CardActions from '@material-ui/core/CardActions';
318318

319319
Following the same path as Material UI, react-admin now uses [JSS](https://github.com/cssinjs/jss) for styling components instead of the `style` prop. This approach has many benefits, including a smaller DOM, faster rendering, media queries support, and automated browser prefixing.
320320

321-
All react-admin components now accept a `className` prop instead of the `elStyle` prop. But it expects a CSS *class name* instead of a CSS object. To set custom styles through a class name, you must use the [`withStyles` Higher Order Component](https://material-ui-next.com/customization/css-in-js/#api) supplied by Material-UI.
321+
All react-admin components now accept a `className` prop instead of the `elStyle` prop. But it expects a CSS *class name* instead of a CSS object. To set custom styles through a class name, you must use the [`withStyles` Higher Order Component](https://material-ui.com/customization/css-in-js/#api) supplied by Material-UI.
322322

323323
```diff
324324
- import { EmailField, List, Datagrid } from 'admin-on-rest';
@@ -389,7 +389,7 @@ In addition to `elStyle`, Field and Input components used to support a `style` p
389389
// </td>
390390
```
391391

392-
Furthermore, some React-admin components such as the `List`, `Filter`, and `Datagrid` also accept a `classes` prop. This prop is injected by the [`withStyles` Higher Order Component](https://material-ui-next.com/customization/css-in-js/#api) and allows you to customize the style of some deep children. See the Theming documentation for details.
392+
Furthermore, some React-admin components such as the `List`, `Filter`, and `Datagrid` also accept a `classes` prop. This prop is injected by the [`withStyles` Higher Order Component](https://material-ui.com/customization/css-in-js/#api) and allows you to customize the style of some deep children. See the Theming documentation for details.
393393

394394
**Tip**: When you set the `classes` prop in the `List` or `Datagrid` components, you might see warnings about the `cell` and `field` classes being unknown by those components. Those warnings are not displayed in `production` mode, and are just a way to ensure you know what you're doing. And you can make them disappear by destructuring the `classes` prop:
395395

docs/Admin.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ const App = () => (
266266

267267
![Dark theme](./img/dark-theme.png)
268268

269-
For more details on predefined themes and custom themes, refer to the [Material UI Customization documentation](https://material-ui-next.com/customization/themes/).
269+
For more details on predefined themes and custom themes, refer to the [Material UI Customization documentation](https://material-ui.com/customization/themes/).
270270

271271
## `appLayout`
272272

docs/Fields.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -739,7 +739,7 @@ import { UrlField } from 'react-admin';
739739

740740
## Styling Fields
741741

742-
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-next.com/customization/css-in-js/#api) about that.
742+
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.
743743

744744
{% raw %}
745745
```jsx

docs/List.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ It does so by inspecting its `context` prop.
272272

273273
**Tip**: Don't mix up this `filters` prop, expecting a React element, with the `filter` props, which expects an object to define permanent filters (see below).
274274

275-
The `Filter` component 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-next.com/customization/overrides/#overriding-with-classes)). This property accepts the following keys:
275+
The `Filter` component 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/overrides/#overriding-with-classes)). This property accepts the following keys:
276276

277277
* `form`: applied to the root element when rendering as a form.
278278
* `button`: applied to the root element when rendering as a button.
@@ -421,7 +421,7 @@ export const PostList = (props) => (
421421

422422
### CSS API
423423

424-
The `List` component 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-next.com/customization/overrides/#overriding-with-classes)). This property accepts the following keys:
424+
The `List` component 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/overrides/#overriding-with-classes)). This property accepts the following keys:
425425

426426
* `root`: alternative to using `className`. Applied to the root element.
427427
* `header`: applied to the page header
@@ -537,7 +537,7 @@ export const PostList = (props) => (
537537

538538
### CSS API
539539

540-
The `Datagrid` component 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-next.com/customization/overrides/#overriding-with-classes)). This property accepts the following keys:
540+
The `Datagrid` component 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/overrides/#overriding-with-classes)). This property accepts the following keys:
541541

542542
* `table`: alternative to using `className`. Applied to the root element.
543543
* `tbody`: applied to the tbody

packages/ra-core/src/actions/notificationActions.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export const SHOW_NOTIFICATION = 'RA/SHOW_NOTIFICATION';
1111
* @param {string} message - A translatable label or text to display on notification
1212
* @param {string} [type=info] - The type of the notification
1313
* @param {notificationOptions} [notificationOptions] - Specify additional parameters of notification
14-
* @see {@link https://material-ui-next.com/api/snackbar/|Material ui snackbar component}
14+
* @see {@link https://material-ui.com/api/snackbar/|Material ui snackbar component}
1515
* @see {@link https://material.io/guidelines/components/snackbars-toasts.html|Material ui reference document on snackbar}
1616
*
1717
*/

packages/ra-ui-materialui/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# ra-ui-material
22

3-
UI Components for [react-admin](https://marmelab.com/react-admin/) with [MaterialUI](https://material-ui-next.com/).
3+
UI Components for [react-admin](https://marmelab.com/react-admin/) with [MaterialUI](https://material-ui.com/).
44

55
## License
66

0 commit comments

Comments
 (0)