Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] Fix outdated links & demos #15521

Merged
merged 1 commit into from Apr 30, 2019

Conversation

oliviertassinari
Copy link
Member

No description provided.

@oliviertassinari oliviertassinari added the docs Improvements or additions to the documentation label Apr 29, 2019
@@ -89,8 +89,8 @@ const styles = theme => ({
display: 'block',
padding: 4,
textAlign: 'center',
backgroundColor: '#0a6fc2',
color: 'white',
backgroundColor: theme.palette.primary.dark,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix
Capture d’écran 2019-04-29 à 23 52 12

@@ -108,7 +108,7 @@ const styles = theme => ({
duration: theme.transitions.duration.leavingScreen,
}),
left: theme.spacing(2),
top: theme.spacing(-6),
top: theme.spacing(-10),
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move the banner higher so we don't see it when we scroll
Capture_d’écran_2019-04-29_à_10 37 31

@@ -354,6 +355,7 @@ class Demo extends React.Component {
className={clsx(classes.demo, {
[classes.demoHiddenHeader]: demoOptions.hideHeader,
})}
tabIndex={-1}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make testing the tab behavior easier. Otherwise, the focus moves to the <main> element.

@@ -150,4 +150,3 @@ For more advanced use cases you might be able to take advantage of:
- [redux-form-material-ui](https://github.com/erikras/redux-form-material-ui) A set of wrapper components to facilitate using Material UI with Redux Form.
- [formik-material-ui](https://github.com/stackworx/formik-material-ui) Bindings for using Material-UI with formik.
- [final-form-material-ui](https://github.com/Deadly0/final-form-material-ui) A set of wrapper components to facilitate using Material UI with Final Form.
- [uniforms-material](https://github.com/vazco/uniforms/tree/master/packages/uniforms-material) Material-UI wrapper components for Uniforms, a set of React libraries for building forms.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Has no traction

@@ -1,4 +1,4 @@
## Supporting Material-UI
<h2 align="center">Supporting Material-UI</h2>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consistency with the "Who is using?"

<NoSsr>
<Container className={classes.container}>
<Container maxWidth="md" className={classes.container}>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consistency with the backers.

@@ -58,7 +58,7 @@ Explicitly providing the class names to the component is too much effort?

**GlobalCssButton.css**
```css
.MuiButton {
.MuiButton-root {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bug

@@ -144,7 +144,7 @@ Another approach is to use the `&&` characters in styled-components to [bump up
If you attempt to style a Drawer with variant permanent,
you will likely need to affect the Drawer's child paper element.
However, the paper is not the root element of Drawer and therefore styled-components customization as above will not work.
You need to use the [`classes`](/css-in-js/advanced/#classes) API of Material-UI.
You need to use the [`classes`](/css-in-js/advanced/#overriding-styles-classes-prop) API of Material-UI.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

broken hash

@mui-pr-bot
Copy link

Details of bundle changes.

Comparing: c867c5f...793ad23

bundle parsed diff gzip diff prev parsed current parsed prev gzip current gzip
@material-ui/core 0.00% 0.00% 311,394 311,394 84,601 84,601
@material-ui/core/Paper 0.00% 0.00% 67,623 67,623 20,124 20,124
@material-ui/core/Paper.esm 0.00% 0.00% 60,988 60,988 19,020 19,020
@material-ui/core/Popper 0.00% 0.00% 31,114 31,114 10,803 10,803
@material-ui/core/Textarea 0.00% 0.00% 5,468 5,468 2,365 2,365
@material-ui/core/TrapFocus 0.00% 0.00% 3,731 3,731 1,565 1,565
@material-ui/core/styles/createMuiTheme 0.00% 0.00% 15,943 15,943 5,777 5,777
@material-ui/core/useMediaQuery 0.00% 0.00% 2,106 2,106 974 974
@material-ui/lab 0.00% 0.00% 140,997 140,997 42,651 42,651
@material-ui/styles 0.00% 0.00% 51,151 51,151 15,148 15,148
@material-ui/system 0.00% 0.00% 11,765 11,765 3,923 3,923
Button 0.00% 0.00% 85,901 85,901 25,732 25,732
Modal 0.00% 0.00% 20,575 20,575 6,603 6,603
colorManipulator 0.00% 0.00% 3,904 3,904 1,543 1,543
docs.landing +0.09% 🔺 +0.23% 🔺 51,486 51,531 11,342 11,368
docs.main +0.01% 🔺 +0.01% 🔺 648,595 648,678 202,362 202,376
packages/material-ui/build/umd/material-ui.production.min.js 0.00% 0.00% 293,109 293,109 82,525 82,525

Generated by 🚫 dangerJS against 793ad23

@oliviertassinari oliviertassinari merged commit 7869aac into mui:next Apr 30, 2019
@oliviertassinari oliviertassinari deleted the docs-small-fixes-v2 branch April 30, 2019 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to the documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants