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] Remove unecessary exports from styles/transitions.js #19337

Merged
merged 2 commits into from
Jan 22, 2020

Conversation

JonKrone
Copy link
Contributor

@JonKrone JonKrone commented Jan 21, 2020

Remove some unused/untyped exports from styles/transitions.js, in response to this Issue thread:

Closes #19258

@oliviertassinari oliviertassinari changed the title [Typescript] remove unecessary exports from styles/transitions.js [core] Remove unecessary exports from styles/transitions.js Jan 21, 2020
@oliviertassinari oliviertassinari added the core Infrastructure work going on behind the scenes label Jan 21, 2020
@mui-pr-bot
Copy link

mui-pr-bot commented Jan 21, 2020

@material-ui/core: parsed: -0.12% 😍, gzip: -0.08% 😍

Details of bundle changes.

Comparing: 7ced513...a5d2dfa

bundle Size Change Size Gzip Change Gzip
@material-ui/core ▼ -423 B (-0.12% ) 361 kB ▼ -82 B (-0.08% ) 98.7 kB
docs.main ▼ -188 B (-0.03% ) 596 kB ▼ -36 B (-0.02% ) 194 kB
Stepper ▼ -186 B (-0.29% ) 64.9 kB ▼ -95 B (-0.46% ) 20.5 kB
Chip ▼ -186 B (-0.22% ) 82.6 kB ▼ -50 B (-0.20% ) 25.3 kB
Fab ▼ -186 B (-0.24% ) 76.9 kB ▼ -47 B (-0.20% ) 24 kB
Link ▼ -186 B (-0.28% ) 66.6 kB ▼ -47 B (-0.22% ) 21.1 kB
Autocomplete ▼ -186 B (-0.14% ) 132 kB ▼ -46 B (-0.11% ) 41.3 kB
Button ▼ -186 B (-0.23% ) 79.8 kB ▼ -46 B (-0.19% ) 24.5 kB
IconButton ▼ -186 B (-0.24% ) 76.2 kB ▼ -46 B (-0.19% ) 23.8 kB
Dialog ▼ -186 B (-0.22% ) 83 kB ▼ -45 B (-0.17% ) 25.9 kB
Box ▼ -186 B (-0.26% ) 70.8 kB ▼ -43 B (-0.20% ) 21.6 kB
Drawer ▼ -186 B (-0.22% ) 84.8 kB ▼ -43 B (-0.17% ) 25.8 kB
Tooltip ▼ -186 B (-0.18% ) 102 kB ▼ -43 B (-0.13% ) 32.3 kB
BottomNavigationAction ▼ -186 B (-0.25% ) 75.6 kB ▼ -42 B (-0.18% ) 23.9 kB
Card ▼ -186 B (-0.30% ) 62.8 kB ▼ -42 B (-0.21% ) 19.7 kB
Container ▼ -186 B (-0.29% ) 63.2 kB ▼ -42 B (-0.21% ) 19.8 kB
TableSortLabel ▼ -186 B (-0.24% ) 77.5 kB ▼ -42 B (-0.17% ) 24.4 kB
TextField ▼ -186 B (-0.15% ) 125 kB ▼ -42 B (-0.11% ) 36.6 kB
ToggleButtonGroup ▼ -186 B (-0.29% ) 63.2 kB ▼ -42 B (-0.21% ) 19.9 kB
CardActions ▼ -186 B (-0.30% ) 62 kB ▼ -41 B (-0.21% ) 19.5 kB
CardContent ▼ -186 B (-0.30% ) 62 kB ▼ -41 B (-0.21% ) 19.4 kB
DialogActions ▼ -186 B (-0.30% ) 62.1 kB ▼ -41 B (-0.21% ) 19.5 kB
DialogContentText ▼ -186 B (-0.29% ) 64 kB ▼ -41 B (-0.20% ) 20.1 kB
ExpansionPanelActions ▼ -186 B (-0.30% ) 62.1 kB ▼ -41 B (-0.21% ) 19.5 kB
ExpansionPanelDetails ▼ -186 B (-0.30% ) 61.9 kB ▼ -41 B (-0.21% ) 19.4 kB
FormGroup ▼ -186 B (-0.30% ) 62 kB ▼ -41 B (-0.21% ) 19.5 kB
Select ▼ -186 B (-0.16% ) 116 kB ▼ -41 B (-0.12% ) 34.6 kB
Slider ▼ -186 B (-0.24% ) 76.7 kB ▼ -41 B (-0.17% ) 24.3 kB
Tab ▼ -186 B (-0.24% ) 76.4 kB ▼ -41 B (-0.17% ) 24.2 kB
Slide ▼ -186 B (-0.72% ) 25.5 kB ▼ -40 B (-0.46% ) 8.71 kB
StepButton ▼ -186 B (-0.23% ) 82.4 kB ▼ -40 B (-0.15% ) 26.1 kB
StepLabel ▼ -186 B (-0.27% ) 68.6 kB ▼ -40 B (-0.18% ) 21.6 kB
TablePagination ▼ -186 B (-0.13% ) 143 kB ▼ -40 B (-0.10% ) 41.9 kB
@material-ui/lab ▼ -186 B (-0.10% ) 185 kB ▼ -39 B (-0.07% ) 55.2 kB
GridListTile ▼ -186 B (-0.29% ) 63.7 kB ▼ -39 B (-0.19% ) 20 kB
Input ▼ -186 B (-0.26% ) 72.5 kB ▼ -39 B (-0.17% ) 22.7 kB
InputBase ▼ -186 B (-0.26% ) 70.6 kB ▼ -39 B (-0.18% ) 22.2 kB
FilledInput ▼ -186 B (-0.25% ) 73.6 kB ▼ -38 B (-0.17% ) 22.9 kB
OutlinedInput ▼ -186 B (-0.25% ) 74.5 kB ▼ -38 B (-0.16% ) 23.2 kB
ExpansionPanelSummary ▼ -186 B (-0.24% ) 78.2 kB ▼ -37 B (-0.15% ) 24.7 kB
GridListTileBar ▼ -186 B (-0.29% ) 63.2 kB ▼ -37 B (-0.19% ) 19.8 kB
Avatar ▼ -186 B (-0.28% ) 65.2 kB ▼ -36 B (-0.17% ) 20.6 kB
BottomNavigation ▼ -186 B (-0.30% ) 62.4 kB ▼ -36 B (-0.18% ) 19.6 kB
Breadcrumbs ▼ -186 B (-0.27% ) 67.8 kB ▼ -36 B (-0.17% ) 21.3 kB
Fade ▼ -186 B (-0.79% ) 23.4 kB ▼ -36 B (-0.45% ) 7.98 kB
MobileStepper ▼ -186 B (-0.27% ) 67.8 kB ▼ -36 B (-0.17% ) 21.3 kB
StepContent ▼ -186 B (-0.27% ) 69.2 kB ▼ -36 B (-0.17% ) 21.7 kB
styles/createMuiTheme ▼ -186 B (-1.12% ) 16.5 kB ▼ -36 B (-0.62% ) 5.81 kB
TreeView ▼ -186 B (-0.28% ) 66.7 kB ▼ -36 B (-0.17% ) 21 kB
Alert ▼ -186 B (-0.22% ) 83.8 kB ▼ -35 B (-0.13% ) 26.3 kB
Backdrop ▼ -186 B (-0.27% ) 67.9 kB ▼ -35 B (-0.17% ) 21 kB
ButtonGroup ▼ -186 B (-0.22% ) 83.2 kB ▼ -35 B (-0.14% ) 25.5 kB
CardActionArea ▼ -186 B (-0.25% ) 75.1 kB ▼ -35 B (-0.15% ) 23.7 kB
CardMedia ▼ -186 B (-0.30% ) 62.3 kB ▼ -35 B (-0.18% ) 19.6 kB
DialogContent ▼ -186 B (-0.30% ) 62.2 kB ▼ -35 B (-0.18% ) 19.5 kB
GridList ▼ -186 B (-0.30% ) 62.5 kB ▼ -35 B (-0.18% ) 19.7 kB
InputLabel ▼ -186 B (-0.28% ) 65.3 kB ▼ -35 B (-0.17% ) 20.2 kB
LinearProgress ▼ -186 B (-0.28% ) 65.3 kB ▼ -35 B (-0.17% ) 20.4 kB
NativeSelect ▼ -186 B (-0.24% ) 76.8 kB ▼ -35 B (-0.14% ) 24.3 kB
RadioGroup ▼ -186 B (-0.29% ) 64.4 kB ▼ -35 B (-0.17% ) 20 kB
Rating ▼ -186 B (-0.26% ) 70.5 kB ▼ -35 B (-0.15% ) 22.7 kB
Skeleton ▼ -186 B (-0.29% ) 62.9 kB ▼ -35 B (-0.18% ) 19.9 kB
SpeedDial ▼ -186 B (-0.22% ) 86.3 kB ▼ -35 B (-0.13% ) 27.2 kB
SpeedDialIcon ▼ -186 B (-0.29% ) 64.6 kB ▼ -35 B (-0.17% ) 20.3 kB
Table ▼ -186 B (-0.30% ) 62.5 kB ▼ -35 B (-0.18% ) 19.7 kB
Zoom ▼ -186 B (-0.79% ) 23.5 kB ▼ -35 B (-0.43% ) 8.1 kB
AppBar ▼ -186 B (-0.29% ) 63.9 kB ▼ -34 B (-0.17% ) 20 kB
Badge ▼ -186 B (-0.28% ) 65.3 kB ▼ -34 B (-0.17% ) 20.3 kB
CircularProgress ▼ -186 B (-0.29% ) 64.1 kB ▼ -34 B (-0.17% ) 20.3 kB
CssBaseline ▼ -186 B (-0.32% ) 57.5 kB ▼ -34 B (-0.19% ) 18.1 kB
ExpansionPanel ▼ -186 B (-0.26% ) 72.3 kB ▼ -34 B (-0.15% ) 22.7 kB
FormControl ▼ -186 B (-0.29% ) 64.4 kB ▼ -34 B (-0.17% ) 20.1 kB
FormControlLabel ▼ -186 B (-0.28% ) 65.5 kB ▼ -34 B (-0.16% ) 20.6 kB
FormHelperText ▼ -186 B (-0.29% ) 63.4 kB ▼ -34 B (-0.17% ) 20 kB
FormLabel ▼ -186 B (-0.29% ) 63.5 kB ▼ -34 B (-0.17% ) 19.7 kB
ListItemText ▼ -186 B (-0.29% ) 64.9 kB ▼ -34 B (-0.17% ) 20.4 kB
Snackbar ▼ -186 B (-0.25% ) 75.4 kB ▼ -34 B (-0.14% ) 23.6 kB
StepIcon ▼ -186 B (-0.29% ) 64.6 kB ▼ -34 B (-0.17% ) 20.2 kB
SvgIcon ▼ -186 B (-0.29% ) 63 kB ▼ -34 B (-0.17% ) 19.7 kB
Switch ▼ -186 B (-0.23% ) 82.3 kB ▼ -34 B (-0.13% ) 26 kB
TableBody ▼ -186 B (-0.30% ) 62.1 kB ▼ -34 B (-0.17% ) 19.5 kB
TableCell ▼ -186 B (-0.29% ) 64 kB ▼ -34 B (-0.17% ) 20.2 kB
TableRow ▼ -186 B (-0.30% ) 62.5 kB ▼ -34 B (-0.17% ) 19.6 kB
TreeItem ▼ -186 B (-0.25% ) 74 kB ▼ -34 B (-0.14% ) 23.4 kB
Typography ▼ -186 B (-0.29% ) 63.6 kB ▼ -34 B (-0.17% ) 19.9 kB
CardHeader ▼ -186 B (-0.29% ) 65.1 kB ▼ -33 B (-0.16% ) 20.5 kB
Hidden ▼ -186 B (-0.28% ) 65.9 kB ▼ -33 B (-0.16% ) 20.7 kB
InputAdornment ▼ -186 B (-0.28% ) 65.1 kB ▼ -33 B (-0.16% ) 20.5 kB
ListItemAvatar ▼ -186 B (-0.30% ) 62.1 kB ▼ -33 B (-0.17% ) 19.5 kB
ListItemIcon ▼ -186 B (-0.30% ) 62.2 kB ▼ -33 B (-0.17% ) 19.5 kB
ListItemSecondaryAction ▼ -186 B (-0.30% ) 62 kB ▼ -33 B (-0.17% ) 19.4 kB
SnackbarContent ▼ -186 B (-0.29% ) 63.5 kB ▼ -33 B (-0.16% ) 20 kB
TableContainer ▼ -186 B (-0.30% ) 61.9 kB ▼ -33 B (-0.17% ) 19.4 kB
TableFooter ▼ -186 B (-0.30% ) 62.1 kB ▼ -33 B (-0.17% ) 19.5 kB
TableHead ▼ -186 B (-0.30% ) 62.1 kB ▼ -33 B (-0.17% ) 19.5 kB
Tabs ▼ -186 B (-0.22% ) 85.6 kB ▼ -33 B (-0.12% ) 27.2 kB
ToggleButton ▼ -186 B (-0.24% ) 76.2 kB ▼ -33 B (-0.14% ) 24.1 kB
ButtonBase ▼ -186 B (-0.25% ) 74 kB ▼ -32 B (-0.14% ) 23.3 kB
DialogTitle ▼ -186 B (-0.29% ) 64.3 kB ▼ -32 B (-0.16% ) 20.2 kB
Grow ▼ -186 B (-0.77% ) 24 kB ▼ -32 B (-0.39% ) 8.19 kB
Icon ▼ -186 B (-0.30% ) 62.8 kB ▼ -32 B (-0.16% ) 19.7 kB
ListSubheader ▼ -186 B (-0.30% ) 62.7 kB ▼ -32 B (-0.16% ) 19.8 kB
Menu ▼ -186 B (-0.21% ) 88.8 kB ▼ -32 B (-0.12% ) 27.4 kB
Step ▼ -186 B (-0.30% ) 62.6 kB ▼ -32 B (-0.16% ) 19.7 kB
SwipeableDrawer ▼ -186 B (-0.20% ) 92.3 kB ▼ -32 B (-0.11% ) 28.9 kB
Toolbar ▼ -186 B (-0.30% ) 62.3 kB ▼ -32 B (-0.16% ) 19.6 kB
AlertTitle ▼ -186 B (-0.29% ) 64.2 kB ▼ -31 B (-0.15% ) 20.2 kB
AvatarGroup ▼ -186 B (-0.30% ) 62.3 kB ▼ -31 B (-0.16% ) 19.6 kB
Checkbox ▼ -186 B (-0.22% ) 83.1 kB ▼ -31 B (-0.12% ) 26.3 kB
ListItem ▼ -186 B (-0.24% ) 77.2 kB ▼ -31 B (-0.13% ) 24.2 kB
MenuItem ▼ -186 B (-0.24% ) 78.2 kB ▼ -31 B (-0.13% ) 24.5 kB
MenuList ▼ -186 B (-0.28% ) 66 kB ▼ -31 B (-0.15% ) 20.7 kB
Radio ▼ -186 B (-0.22% ) 84.1 kB ▼ -31 B (-0.12% ) 26.6 kB
SpeedDialAction ▼ -186 B (-0.16% ) 118 kB ▼ -31 B (-0.08% ) 37.5 kB
Divider ▼ -186 B (-0.30% ) 62.6 kB ▼ -30 B (-0.15% ) 19.7 kB
Grid ▼ -186 B (-0.28% ) 65.1 kB ▼ -30 B (-0.15% ) 20.4 kB
Popover ▼ -186 B (-0.22% ) 83.1 kB ▼ -30 B (-0.12% ) 25.8 kB
StepConnector ▼ -186 B (-0.30% ) 62.7 kB ▼ -30 B (-0.15% ) 19.8 kB
Collapse ▼ -186 B (-0.27% ) 68 kB ▼ -28 B (-0.13% ) 21.1 kB
List ▼ -186 B (-0.30% ) 62.3 kB ▼ -26 B (-0.13% ) 19.5 kB
Paper ▼ -186 B (-0.30% ) 62.3 kB ▼ -24 B (-0.12% ) 19.5 kB
@material-ui/core[umd] ▼ -112 B (-0.04% ) 317 kB ▼ -34 B (-0.04% ) 91.9 kB
@material-ui/styles -- 51.2 kB -- 15.4 kB
@material-ui/system -- 14.8 kB -- 4.07 kB
ClickAwayListener -- 3.91 kB -- 1.55 kB
colorManipulator -- 3.88 kB -- 1.52 kB
docs.landing -- 50.5 kB -- 13.3 kB
Modal -- 14.5 kB -- 5.05 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
TextareaAutosize -- 5.12 kB -- 2.14 kB
useAutocomplete -- 14.6 kB -- 5.26 kB
useMediaQuery -- 2.51 kB -- 1.06 kB

Generated by 🚫 dangerJS against a5d2dfa

@oliviertassinari
Copy link
Member

Hum, I wonder why we have tests for these helpers. Could you check the history?

@JonKrone
Copy link
Contributor Author

Wasn't able to follow them to their creation, it looks like these tests are pretty old, from before you migrated to the lerna packages/* directory structure.

@oliviertassinari
Copy link
Member

oliviertassinari commented Jan 22, 2020

The export originates from #6936. Ok, so the motivation was to increase test coverage. We can move forward :). It has only been recently exported by mistake.

@JonKrone
Copy link
Contributor Author

Thanks @oliviertassinari!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Infrastructure work going on behind the scenes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Typescript] 3 un-typed exports from @material-ui/core
3 participants