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

[withMobileDialog] Remove HOC #23202

Merged
merged 1 commit into from
Oct 22, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion packages/material-ui-codemod/src/v1.0.0/import-path.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ const entryModuleToFlatten = [
'TablePagination',
'TableRow',
'Tabs',
'withMobileDialog',
'withWidth',
'Zoom',
];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import List, {
} from '@material-ui/core/List';
import Dialog, { DialogTitle } from '@material-ui/core/Dialog';
import {
withMobileDialog,
DialogActions,
DialogContent,
DialogContentText,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import Dialog from '@material-ui/core/Dialog';
import DialogContentText from '@material-ui/core/DialogContentText';
import DialogContent from '@material-ui/core/DialogContent';
import DialogActions from '@material-ui/core/DialogActions';
import withMobileDialog from '@material-ui/core/withMobileDialog';
import Slide from '@material-ui/core/Slide';
import RadioGroup from '@material-ui/core/RadioGroup';
import Radio from '@material-ui/core/Radio';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ import Dialog from '@material-ui/core/Dialog';
import DialogContentText from '@material-ui/core/DialogContentText';
import DialogContent from '@material-ui/core/DialogContent';
import DialogActions from '@material-ui/core/DialogActions';
import withMobileDialog from '@material-ui/core/withMobileDialog';
import Slide from '@material-ui/core/Slide';
import RadioGroup from '@material-ui/core/RadioGroup';
import Radio from '@material-ui/core/Radio';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import Dialog from '@material-ui/core/Dialog';
import DialogContentText from '@material-ui/core/DialogContentText';
import DialogContent from '@material-ui/core/DialogContent';
import DialogActions from '@material-ui/core/DialogActions';
import withMobileDialog from '@material-ui/core/withMobileDialog';
import Slide from '@material-ui/core/Slide';
import RadioGroup from '@material-ui/core/RadioGroup';
import Radio from '@material-ui/core/Radio';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import Dialog from '@material-ui/core/Dialog';
import DialogContentText from '@material-ui/core/DialogContentText';
import DialogContent from '@material-ui/core/DialogContent';
import DialogActions from '@material-ui/core/DialogActions';
import withMobileDialog from '@material-ui/core/withMobileDialog';
import Slide from '@material-ui/core/Slide';
import RadioGroup from '@material-ui/core/RadioGroup';
import Radio from '@material-ui/core/Radio';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ import {
DialogContentText,
DialogContent,
DialogActions,
withMobileDialog,
Slide,
RadioGroup,
Radio,
Expand Down
3 changes: 0 additions & 3 deletions packages/material-ui/src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -461,9 +461,6 @@ export * from './useMediaQuery';
export { default as useScrollTrigger } from './useScrollTrigger';
export * from './useScrollTrigger';

export { default as withMobileDialog } from './withMobileDialog';
export * from './withMobileDialog';

export { default as withWidth } from './withWidth';
export * from './withWidth';

Expand Down
3 changes: 0 additions & 3 deletions packages/material-ui/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -390,9 +390,6 @@ export * from './usePagination';
export { default as useScrollTrigger } from './useScrollTrigger';
export * from './useScrollTrigger';

export { default as withMobileDialog } from './withMobileDialog';
export * from './withMobileDialog';

export { default as withWidth } from './withWidth';
export * from './withWidth';

Expand Down
2 changes: 0 additions & 2 deletions packages/material-ui/src/withMobileDialog/index.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion packages/material-ui/src/withMobileDialog/index.js

This file was deleted.

20 changes: 0 additions & 20 deletions packages/material-ui/src/withMobileDialog/withMobileDialog.d.ts

This file was deleted.

24 changes: 0 additions & 24 deletions packages/material-ui/src/withMobileDialog/withMobileDialog.js

This file was deleted.

This file was deleted.

68 changes: 0 additions & 68 deletions packages/material-ui/src/withMobileDialog/withMobileDialog.test.js

This file was deleted.