"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "packages/material-ui/src/Collapse/Collapse.js" between
material-ui-4.12.1.tar.gz and material-ui-4.12.2.tar.gz

About: Material-UI is a simple and customizable component library to build faster, beautiful, and more accessible React applications.

Collapse.js  (material-ui-4.12.1):Collapse.js  (material-ui-4.12.2)
skipping to change at line 243 skipping to change at line 243
/** /**
* The content node to be collapsed. * The content node to be collapsed.
*/ */
children: PropTypes.node, children: PropTypes.node,
/** /**
* Override or extend the styles applied to the component. * Override or extend the styles applied to the component.
* See [CSS API](#css) below for more details. * See [CSS API](#css) below for more details.
*/ */
classes: chainPropTypes(PropTypes.object, (props) => { classes: chainPropTypes(PropTypes.object, (props) => {
if (props.classes && props.classes.container) { if (props.classes && props.classes.container) {
throw new Error([ throw new Error(
'Material-UI: the classes.container key is deprecated.', [
'Use `classes.root` instead', 'Material-UI: the classes.container key is deprecated.',
'The name of the pseudo-class was changed for consistency.', 'Use `classes.root` instead',
]).join('\n'); 'The name of the pseudo-class was changed for consistency.',
].join('\n'),
);
} }
return null; return null;
}), }),
/** /**
* @ignore * @ignore
*/ */
className: PropTypes.string, className: PropTypes.string,
/** /**
* The height of the container when collapsed. * The height of the container when collapsed.
 End of changes. 1 change blocks. 
5 lines changed or deleted 7 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)