"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "packages/material-ui/src/Accordion/Accordion.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.

Accordion.js  (material-ui-4.12.1):Accordion.js  (material-ui-4.12.2)
skipping to change at line 175 skipping to change at line 175
if (!React.isValidElement(summary)) { if (!React.isValidElement(summary)) {
return new Error('Material-UI: Expected the first child of Accordion to be a valid element.'); return new Error('Material-UI: Expected the first child of Accordion to be a valid element.');
} }
return null; return null;
}), }),
/** /**
* 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: PropTypes.object,
if (props.classes && props.classes.focused) {
throw new Error([
'Material-UI: the classes.focused key is deprecated.',
'Use `classes.focusedVisible` instead',
'The name of the pseudo-class was changed for consistency.',
]).join('\n');
}
return null;
}),
/** /**
* @ignore * @ignore
*/ */
className: PropTypes.string, className: PropTypes.string,
/** /**
* If `true`, expands the accordion by default. * If `true`, expands the accordion by default.
*/ */
defaultExpanded: PropTypes.bool, defaultExpanded: PropTypes.bool,
/** /**
* If `true`, the accordion will be displayed in a disabled state. * If `true`, the accordion will be displayed in a disabled state.
 End of changes. 1 change blocks. 
11 lines changed or deleted 1 lines changed or added

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