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

[core] Batch small changes #19416

Merged
merged 19 commits into from
Jan 30, 2020

Conversation

oliviertassinari
Copy link
Member

@oliviertassinari oliviertassinari commented Jan 26, 2020

  • [docs] Use style root convention 20cd5cb: further increase the consistency of the codebase. found investigating an issue.
  • [docs] Fix wrong social share logo URL da8c3d5: our logo was no longer displayed when a link of the documentated is shared on Twitter, Slack, etc.
  • [docs] Fix Autocomplete reason description 8fd78f3: further increase the consistency of the codebase. found investigating an issue.
  • [core] Prefer early export default for consistency 143e908: further increase the consistency of the codebase. found investigating an issue.
  • [TablePagination] Remove select icon override a477ec8: likely not needed. found investigating an issue.
  • [test] Ignore flaky TextMobileStepper dcdabbe: this flaky test has been a pain.
  • [ButtonBase] Remove intermediary component 283d5da: The button component is quite scarying when inspected with the DevTool, it's one less layer :). found investigating an issue.
  • [docs] Fix Autocomplete demo on Safari 536c3c0: thank safari for the default margin. found investigating an issue.
  • [docs] Polish typography demos 622a00c.
  • [core] Normalize list style reset 82ecb91: further increase the consistency of the codebase. found investigating an issue.
  • [docs] Avoid layout jump 9fd33cc: can be noticed on the installation page. found investigating an issue.
  • [design] Link the Sketch version 2ab33ab: yay, it's live. also take the time to try different wordings.
  • [Skeleton] Make demo Facebook closer to the original 19c2ba9: something I should have done in the first place when introducing the wave animation. Somebody recently reported an issue with the dark mode, I didn't want to take care of it here.

@oliviertassinari oliviertassinari added the umbrella For grouping multiple issues to provide a holistic view label Jan 26, 2020
@mbrookes
Copy link
Member

[TablePagination] Remove select icon override

Wrong commit message?

Copy link
Member

@joshwooding joshwooding left a comment

Choose a reason for hiding this comment

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

Content looks good so far :)

@oliviertassinari
Copy link
Member Author

oliviertassinari commented Jan 27, 2020

I need to fix the visual regression and I have a couple more coming.

Wrong commit message?

@mbrookes It doesn't seem that we need to apply a top: 1 style.

Capture d’écran 2020-01-27 à 08 51 45

@mui-pr-bot
Copy link

mui-pr-bot commented Jan 27, 2020

Details of bundle changes.

Comparing: 15d182c...74bc5b3

bundle Size Change Size Gzip Change Gzip
docs.main ▲ +548 B (+0.09% ) 596 kB ▲ +134 B (+0.07% ) 194 kB
Skeleton ▲ +225 B (+0.36% ) 63.1 kB ▲ +45 B (+0.23% ) 20 kB
@material-ui/styles ▲ +218 B (+0.43% ) 51.4 kB ▲ +29 B (+0.19% ) 15.4 kB
@material-ui/core ▲ +211 B (+0.06% ) 361 kB ▲ +30 B (+0.03% ) 98.7 kB
Hidden ▲ +194 B (+0.29% ) 66.1 kB ▲ +28 B (+0.14% ) 20.8 kB
@material-ui/lab ▲ +186 B (+0.10% ) 185 kB ▲ +27 B (+0.05% ) 55.2 kB
Box ▲ +159 B (+0.22% ) 71 kB ▲ +35 B (+0.16% ) 21.7 kB
Breadcrumbs ▲ +159 B (+0.23% ) 67.9 kB ▲ +29 B (+0.14% ) 21.3 kB
FormControlLabel ▲ +158 B (+0.24% ) 65.7 kB ▲ +46 B (+0.22% ) 20.7 kB
DialogContent ▲ +158 B (+0.25% ) 62.4 kB ▲ +40 B (+0.20% ) 19.6 kB
Tooltip ▲ +158 B (+0.15% ) 102 kB ▲ +38 B (+0.12% ) 32.4 kB
Rating ▲ +158 B (+0.22% ) 70.7 kB ▲ +36 B (+0.16% ) 22.7 kB
RadioGroup ▲ +158 B (+0.25% ) 64.6 kB ▲ +35 B (+0.17% ) 20.1 kB
TableBody ▲ +158 B (+0.25% ) 62.3 kB ▲ +34 B (+0.17% ) 19.5 kB
TableFooter ▲ +158 B (+0.25% ) 62.3 kB ▲ +34 B (+0.17% ) 19.5 kB
TableHead ▲ +158 B (+0.25% ) 62.3 kB ▲ +34 B (+0.17% ) 19.5 kB
InputAdornment ▲ +158 B (+0.24% ) 65.3 kB ▲ +33 B (+0.16% ) 20.5 kB
MenuList ▲ +158 B (+0.24% ) 66.2 kB ▲ +33 B (+0.16% ) 20.7 kB
Stepper ▲ +158 B (+0.24% ) 65 kB ▲ +33 B (+0.16% ) 20.5 kB
TableContainer ▲ +158 B (+0.26% ) 62.1 kB ▲ +33 B (+0.17% ) 19.5 kB
AppBar ▲ +158 B (+0.25% ) 64.1 kB ▲ +32 B (+0.16% ) 20.1 kB
Card ▲ +158 B (+0.25% ) 63 kB ▲ +32 B (+0.16% ) 19.7 kB
CardActions ▲ +158 B (+0.25% ) 62.2 kB ▲ +32 B (+0.16% ) 19.5 kB
CardContent ▲ +158 B (+0.25% ) 62.1 kB ▲ +32 B (+0.16% ) 19.5 kB
CardHeader ▲ +158 B (+0.24% ) 65.2 kB ▲ +32 B (+0.16% ) 20.5 kB
Collapse ▲ +158 B (+0.23% ) 68.2 kB ▲ +32 B (+0.15% ) 21.1 kB
ExpansionPanelDetails ▲ +158 B (+0.26% ) 62.1 kB ▲ +32 B (+0.16% ) 19.5 kB
GridListTile ▲ +158 B (+0.25% ) 63.9 kB ▲ +32 B (+0.16% ) 20 kB
GridListTileBar ▲ +158 B (+0.25% ) 63.4 kB ▲ +32 B (+0.16% ) 19.9 kB
ListItemAvatar ▲ +158 B (+0.25% ) 62.3 kB ▲ +32 B (+0.16% ) 19.5 kB
SpeedDialIcon ▲ +158 B (+0.24% ) 64.7 kB ▲ +32 B (+0.16% ) 20.3 kB
AvatarGroup ▲ +158 B (+0.25% ) 62.4 kB ▲ +31 B (+0.16% ) 19.6 kB
Badge ▲ +158 B (+0.24% ) 65.5 kB ▲ +31 B (+0.15% ) 20.4 kB
Dialog ▲ +158 B (+0.19% ) 83.2 kB ▲ +31 B (+0.12% ) 25.9 kB
Grid ▲ +158 B (+0.24% ) 65.3 kB ▲ +31 B (+0.15% ) 20.5 kB
ListItemSecondaryAction ▲ +158 B (+0.25% ) 62.2 kB ▲ +31 B (+0.16% ) 19.5 kB
Avatar ▲ +158 B (+0.24% ) 65.4 kB ▲ +30 B (+0.15% ) 20.7 kB
Backdrop ▲ +158 B (+0.23% ) 68 kB ▲ +30 B (+0.14% ) 21 kB
BottomNavigation ▲ +158 B (+0.25% ) 62.6 kB ▲ +30 B (+0.15% ) 19.6 kB
CardMedia ▲ +158 B (+0.25% ) 62.5 kB ▲ +30 B (+0.15% ) 19.7 kB
CircularProgress ▲ +158 B (+0.25% ) 64.3 kB ▲ +30 B (+0.15% ) 20.3 kB
Container ▲ +158 B (+0.25% ) 63.4 kB ▲ +30 B (+0.15% ) 19.8 kB
DialogActions ▲ +158 B (+0.25% ) 62.2 kB ▲ +30 B (+0.15% ) 19.5 kB
DialogContentText ▲ +158 B (+0.25% ) 64.2 kB ▲ +30 B (+0.15% ) 20.2 kB
ExpansionPanel ▲ +158 B (+0.22% ) 72.5 kB ▲ +30 B (+0.13% ) 22.7 kB
ExpansionPanelActions ▲ +158 B (+0.25% ) 62.2 kB ▲ +30 B (+0.15% ) 19.5 kB
GridList ▲ +158 B (+0.25% ) 62.6 kB ▲ +30 B (+0.15% ) 19.7 kB
Icon ▲ +158 B (+0.25% ) 62.9 kB ▲ +30 B (+0.15% ) 19.8 kB
Link ▲ +158 B (+0.24% ) 66.8 kB ▲ +30 B (+0.14% ) 21.1 kB
ListItemText ▲ +158 B (+0.24% ) 65.1 kB ▲ +30 B (+0.15% ) 20.5 kB
ListSubheader ▲ +158 B (+0.25% ) 62.9 kB ▲ +30 B (+0.15% ) 19.8 kB
MobileStepper ▲ +158 B (+0.23% ) 68 kB ▲ +30 B (+0.14% ) 21.4 kB
SnackbarContent ▲ +158 B (+0.25% ) 63.7 kB ▲ +30 B (+0.15% ) 20.1 kB
Step ▲ +158 B (+0.25% ) 62.8 kB ▲ +30 B (+0.15% ) 19.7 kB
Table ▲ +158 B (+0.25% ) 62.7 kB ▲ +30 B (+0.15% ) 19.7 kB
TableRow ▲ +158 B (+0.25% ) 62.6 kB ▲ +30 B (+0.15% ) 19.7 kB
ToggleButtonGroup ▲ +158 B (+0.25% ) 63.4 kB ▲ +30 B (+0.15% ) 20 kB
TreeView ▲ +158 B (+0.24% ) 66.8 kB ▲ +30 B (+0.14% ) 21.1 kB
FormControl ▲ +158 B (+0.25% ) 64.6 kB ▲ +29 B (+0.14% ) 20.2 kB
FormGroup ▲ +158 B (+0.25% ) 62.2 kB ▲ +29 B (+0.15% ) 19.5 kB
FormHelperText ▲ +158 B (+0.25% ) 63.5 kB ▲ +29 B (+0.15% ) 20 kB
LinearProgress ▲ +158 B (+0.24% ) 65.5 kB ▲ +29 B (+0.14% ) 20.5 kB
Select ▲ +158 B (+0.14% ) 117 kB ▲ +29 B (+0.08% ) 34.6 kB
Slider ▲ +158 B (+0.21% ) 76.8 kB ▲ +29 B (+0.12% ) 24.3 kB
StepConnector ▲ +158 B (+0.25% ) 62.9 kB ▲ +29 B (+0.15% ) 19.8 kB
StepContent ▲ +158 B (+0.23% ) 69.3 kB ▲ +29 B (+0.13% ) 21.7 kB
SvgIcon ▲ +158 B (+0.25% ) 63.2 kB ▲ +29 B (+0.15% ) 19.8 kB
TableCell ▲ +158 B (+0.25% ) 64.2 kB ▲ +29 B (+0.14% ) 20.2 kB
TextField ▲ +158 B (+0.13% ) 125 kB ▲ +29 B (+0.08% ) 36.6 kB
Toolbar ▲ +158 B (+0.25% ) 62.5 kB ▲ +29 B (+0.15% ) 19.6 kB
TreeItem ▲ +158 B (+0.21% ) 74.2 kB ▲ +29 B (+0.12% ) 23.5 kB
AlertTitle ▲ +158 B (+0.25% ) 64.3 kB ▲ +28 B (+0.14% ) 20.3 kB
DialogTitle ▲ +158 B (+0.25% ) 64.4 kB ▲ +28 B (+0.14% ) 20.2 kB
Divider ▲ +158 B (+0.25% ) 62.7 kB ▲ +28 B (+0.14% ) 19.7 kB
ListItemIcon ▲ +158 B (+0.25% ) 62.3 kB ▲ +28 B (+0.14% ) 19.5 kB
Snackbar ▲ +158 B (+0.21% ) 75.6 kB ▲ +28 B (+0.12% ) 23.7 kB
StepIcon ▲ +158 B (+0.24% ) 64.8 kB ▲ +28 B (+0.14% ) 20.2 kB
FormLabel ▲ +158 B (+0.25% ) 63.6 kB ▲ +27 B (+0.14% ) 19.8 kB
InputLabel ▲ +158 B (+0.24% ) 65.5 kB ▲ +27 B (+0.13% ) 20.2 kB
NativeSelect ▲ +158 B (+0.21% ) 77 kB ▲ +27 B (+0.11% ) 24.3 kB
Typography ▲ +158 B (+0.25% ) 63.8 kB ▲ +27 B (+0.14% ) 20 kB
List ▲ +158 B (+0.25% ) 62.5 kB ▲ +26 B (+0.13% ) 19.5 kB
Paper ▲ +158 B (+0.25% ) 62.5 kB ▲ +26 B (+0.13% ) 19.5 kB
SwipeableDrawer ▲ +158 B (+0.17% ) 92.4 kB ▲ +25 B (+0.09% ) 28.9 kB
Input ▲ +158 B (+0.22% ) 72.7 kB ▲ +23 B (+0.10% ) 22.7 kB
StepLabel ▲ +158 B (+0.23% ) 68.8 kB ▲ +23 B (+0.11% ) 21.7 kB
FilledInput ▲ +158 B (+0.21% ) 73.7 kB ▲ +22 B (+0.10% ) 22.9 kB
InputBase ▲ +158 B (+0.22% ) 70.8 kB ▲ +22 B (+0.10% ) 22.2 kB
OutlinedInput ▲ +158 B (+0.21% ) 74.7 kB ▲ +22 B (+0.09% ) 23.3 kB
Drawer ▲ +158 B (+0.19% ) 85 kB ▲ +19 B (+0.07% ) 25.8 kB
Popover ▲ +158 B (+0.19% ) 83.3 kB ▲ +18 B (+0.07% ) 25.8 kB
Menu ▲ +158 B (+0.18% ) 89 kB ▲ +12 B (+0.04% ) 27.4 kB
CssBaseline ▲ +127 B (+0.22% ) 57.7 kB ▲ +24 B (+0.13% ) 18.1 kB
ToggleButton ▲ +119 B (+0.16% ) 76.3 kB ▲ +20 B (+0.08% ) 24.2 kB
SpeedDial ▲ +119 B (+0.14% ) 86.4 kB ▲ +19 B (+0.07% ) 27.2 kB
Tabs ▲ +119 B (+0.14% ) 85.8 kB ▲ +18 B (+0.07% ) 27.2 kB
Alert ▲ +119 B (+0.14% ) 84 kB ▲ +17 B (+0.06% ) 26.3 kB
Radio ▲ +119 B (+0.14% ) 84.2 kB ▲ +17 B (+0.06% ) 26.5 kB
Checkbox ▲ +119 B (+0.14% ) 83.2 kB ▲ +16 B (+0.06% ) 26.3 kB
Switch ▲ +119 B (+0.14% ) 82.3 kB ▲ +16 B (+0.06% ) 26 kB
ButtonGroup ▲ +119 B (+0.14% ) 83.4 kB ▲ +14 B (+0.05% ) 25.5 kB
ExpansionPanelSummary ▲ +119 B (+0.15% ) 78.3 kB ▲ +14 B (+0.06% ) 24.7 kB
StepButton ▲ +119 B (+0.14% ) 82.5 kB ▲ +14 B (+0.05% ) 26.1 kB
TableSortLabel ▲ +119 B (+0.15% ) 77.6 kB ▲ +13 B (+0.05% ) 24.4 kB
BottomNavigationAction ▲ +119 B (+0.16% ) 75.7 kB ▲ +12 B (+0.05% ) 23.9 kB
Chip ▲ +119 B (+0.14% ) 82.8 kB ▲ +12 B (+0.05% ) 25.4 kB
Autocomplete ▲ +119 B (+0.09% ) 132 kB ▲ +11 B (+0.03% ) 41.3 kB
CardActionArea ▲ +119 B (+0.16% ) 75.3 kB ▲ +11 B (+0.05% ) 23.7 kB
ListItem ▲ +119 B (+0.15% ) 77.3 kB ▲ +10 B (+0.04% ) 24.2 kB
MenuItem ▲ +119 B (+0.15% ) 78.4 kB ▲ +10 B (+0.04% ) 24.5 kB
Tab ▲ +119 B (+0.16% ) 76.5 kB ▲ +10 B (+0.04% ) 24.2 kB
SpeedDialAction ▲ +119 B (+0.10% ) 119 kB ▲ +9 B (+0.02% ) 37.5 kB
IconButton ▲ +119 B (+0.16% ) 76.3 kB ▲ +8 B (+0.03% ) 23.8 kB
Button ▲ +119 B (+0.15% ) 79.9 kB ▲ +6 B (+0.02% ) 24.5 kB
Fab ▲ +119 B (+0.15% ) 77 kB ▲ +6 B (+0.03% ) 24 kB
ButtonBase ▲ +119 B (+0.16% ) 74.2 kB ▲ +4 B (+0.02% ) 23.3 kB
TablePagination ▲ +114 B (+0.08% ) 143 kB ▲ +9 B (+0.02% ) 41.9 kB
useMediaQuery ▲ +67 B (+2.67% ) 2.58 kB ▲ +10 B (+0.95% ) 1.07 kB
@material-ui/core[umd] ▼ -46 B (-0.01% ) 317 kB ▼ -14 B (-0.02% ) 91.9 kB
Modal ▲ +31 B (+0.21% ) 14.5 kB ▲ +2 B (+0.04% ) 5.05 kB
docs.landing ▼ -5 B (-0.01% ) 50.5 kB ▼ -5 B (-0.04% ) 13.2 kB
@material-ui/system -- 14.8 kB -- 4.07 kB
ClickAwayListener -- 3.91 kB -- 1.55 kB
colorManipulator -- 3.88 kB -- 1.52 kB
Fade -- 23.4 kB -- 7.98 kB
Grow -- 24 kB -- 8.19 kB
NoSsr -- 2.19 kB -- 1.04 kB
Popper -- 28.8 kB -- 10.3 kB
Portal -- 2.92 kB -- 1.3 kB
RootRef -- 4.24 kB -- 1.64 kB
Slide -- 25.5 kB -- 8.71 kB
styles/createMuiTheme -- 16.5 kB -- 5.81 kB
TextareaAutosize -- 5.12 kB -- 2.14 kB
useAutocomplete -- 14.6 kB -- 5.29 kB
Zoom -- 23.5 kB -- 8.1 kB

Generated by 🚫 dangerJS against 74bc5b3

@mbrookes
Copy link
Member

I missed it amongst all the unrelated changes.

@oliviertassinari oliviertassinari self-assigned this Jan 28, 2020
@oliviertassinari oliviertassinari marked this pull request as ready for review January 28, 2020 19:53
@oliviertassinari oliviertassinari removed their assignment Jan 28, 2020
Until we fix CssBasline to apply body1 by default and not body2 on the body element in v5
we need to apply the style here. The smaller line height is especially concerninng.
docs/src/modules/components/Ad.js Outdated Show resolved Hide resolved
@@ -53,7 +53,15 @@ const inHouseAds = [
name: 'scaffoldhub',
link: 'https://scaffoldhub.io/?partner=1',
img: '/static/in-house/scaffoldhub.png',
description: '<b>ScaffoldHub</b> - Automate building your full-stack Material-UI web-app.',
description: '<b>Scaffold</b><br />Automate building your full-stack Material-UI web-app.',
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
description: '<b>Scaffold</b><br />Automate building your full-stack Material-UI web-app.',
description: '<b>ScaffoldHub</b><br />Automate building your full-stack Material-UI web-app.',

Copy link
Member Author

Choose a reason for hiding this comment

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

The logo is branded, I wanted to cover the generic noun. What do you think?

docs/src/modules/components/Ad.js Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
umbrella For grouping multiple issues to provide a holistic view
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants