@material-ui/codemod
Advanced tools
Comparing version 1.0.0 to 1.1.0
"use strict"; | ||
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); | ||
var _interopRequireDefault = require("@babel/runtime/helpers/builtin/interopRequireDefault"); | ||
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray")); | ||
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/builtin/slicedToArray")); | ||
@@ -7,0 +7,0 @@ // This codemod attempts to fix the color imports breaking change introduced in |
@@ -7,3 +7,3 @@ "use strict"; | ||
exports.default = transformer; | ||
var entryModuleToFlatten = ['BottomNavigation', 'BottomNavigationAction', 'Card', 'CardActions', 'CardContent', 'CardHeader', 'CardMedia', 'CircularProgress', 'ClickAwayListener', 'Collapse', 'Dialog', 'DialogActions', 'DialogContent', 'DialogContentText', 'DialogTitle', 'ExpansionPanel', 'ExpansionPanelActions', 'ExpansionPanelDetails', 'ExpansionPanelSummary', 'Fade', 'Form', 'FormControl', 'FormControlLabel', 'FormGroup', 'FormHelperText', 'FormLabel', 'GridList', 'GridListTile', 'Grow', 'Input', 'InputLabel', 'LinearProgress', 'List', 'ListItem', 'ListItemAvatar', 'ListItemIcon', 'ListItemSecondaryAction', 'ListItemText', 'Menu', 'MenuItem', 'Progress', 'Radio', 'RadioGroup', 'Slide', 'Step', 'StepButton', 'StepContent', 'Stepper', 'Stepper', 'Tab', 'Table', 'TableBody', 'TableCell', 'TableFooter', 'TablePagination', 'TableRow', 'Tabs', 'withMobileDialog', 'withWidth', 'Zoom']; | ||
var entryModuleToFlatten = ['BottomNavigation', 'BottomNavigationAction', 'Card', 'CardActions', 'CardContent', 'CardHeader', 'CardMedia', 'CircularProgress', 'ClickAwayListener', 'Collapse', 'Dialog', 'DialogActions', 'DialogContent', 'DialogContentText', 'DialogTitle', 'ExpansionPanel', 'ExpansionPanelActions', 'ExpansionPanelDetails', 'ExpansionPanelSummary', 'Fade', 'Form', 'FormControl', 'FormControlLabel', 'FormGroup', 'FormHelperText', 'FormLabel', 'GridList', 'GridListTile', 'Grow', 'Input', 'InputLabel', 'LinearProgress', 'List', 'ListItem', 'ListItemAvatar', 'ListItemIcon', 'ListItemSecondaryAction', 'ListItemText', 'ListSubheader', 'Menu', 'MenuItem', 'Progress', 'Radio', 'RadioGroup', 'Slide', 'Step', 'StepButton', 'StepContent', 'Stepper', 'Stepper', 'Tab', 'Table', 'TableBody', 'TableCell', 'TableFooter', 'TableHead', 'TablePagination', 'TableRow', 'Tabs', 'withMobileDialog', 'withWidth', 'Zoom']; | ||
var keepSpecifiers = ['withWidth']; | ||
@@ -10,0 +10,0 @@ |
"use strict"; | ||
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); | ||
var _interopRequireDefault = require("@babel/runtime/helpers/builtin/interopRequireDefault"); | ||
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray")); | ||
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/builtin/slicedToArray")); | ||
@@ -7,0 +7,0 @@ /** |
@@ -5,3 +5,3 @@ { | ||
"author": "Material-UI Team", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "Codemod scripts for Material-UI.", | ||
@@ -8,0 +8,0 @@ "keywords": [ |
@@ -40,2 +40,3 @@ const entryModuleToFlatten = [ | ||
'ListItemText', | ||
'ListSubheader', | ||
'Menu', | ||
@@ -57,2 +58,3 @@ 'MenuItem', | ||
'TableFooter', | ||
'TableHead', | ||
'TablePagination', | ||
@@ -59,0 +61,0 @@ 'TableRow', |
@@ -48,2 +48,3 @@ import React from 'react'; | ||
} from '@material-ui/core/Table'; | ||
import TableHead from '@material-ui/core/Table/TableHead'; | ||
import Input, { InputLabel } from '@material-ui/core/Input'; | ||
@@ -55,1 +56,2 @@ import Grow from '@material-ui/core/transitions/Grow'; | ||
import ClickAwayListener from '@material-ui/core/utils/ClickAwayListener'; | ||
import ListSubheader from '@material-ui/core/List/ListSubheader'; |
@@ -52,2 +52,3 @@ import React from 'react'; | ||
import Table from '@material-ui/core/Table'; | ||
import TableHead from '@material-ui/core/TableHead'; | ||
import InputLabel from '@material-ui/core/InputLabel'; | ||
@@ -60,1 +61,2 @@ import Input from '@material-ui/core/Input'; | ||
import ClickAwayListener from '@material-ui/core/ClickAwayListener'; | ||
import ListSubheader from '@material-ui/core/ListSubheader'; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
38495
863