@material-ui/system
Advanced tools
Comparing version 4.9.14 to 5.0.0-alpha.1
@@ -84,3 +84,3 @@ "use strict"; | ||
newStyleFunction.propTypes = process.env.NODE_ENV !== 'production' ? (0, _extends2.default)((0, _extends2.default)({}, styleFunction.propTypes), {}, { | ||
newStyleFunction.propTypes = process.env.NODE_ENV !== 'production' ? (0, _extends2.default)({}, styleFunction.propTypes, { | ||
xs: _propTypes.default.object, | ||
@@ -87,0 +87,0 @@ sm: _propTypes.default.object, |
@@ -33,5 +33,5 @@ "use strict"; | ||
if (props.css) { | ||
return (0, _extends2.default)((0, _extends2.default)({}, (0, _merge.default)(output, styleFunction((0, _extends2.default)({ | ||
return (0, _extends2.default)({}, (0, _merge.default)(output, styleFunction((0, _extends2.default)({ | ||
theme: props.theme | ||
}, props.css)))), omit(props.css, [styleFunction.filterProps])); | ||
}, props.css))), omit(props.css, [styleFunction.filterProps])); | ||
} | ||
@@ -42,3 +42,3 @@ | ||
newStyleFunction.propTypes = process.env.NODE_ENV !== 'production' ? (0, _extends2.default)((0, _extends2.default)({}, styleFunction.propTypes), {}, { | ||
newStyleFunction.propTypes = process.env.NODE_ENV !== 'production' ? (0, _extends2.default)({}, styleFunction.propTypes, { | ||
css: _propTypes.default.object | ||
@@ -45,0 +45,0 @@ }) : {}; |
@@ -63,3 +63,3 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
newStyleFunction.propTypes = process.env.NODE_ENV !== 'production' ? _extends(_extends({}, styleFunction.propTypes), {}, { | ||
newStyleFunction.propTypes = process.env.NODE_ENV !== 'production' ? _extends({}, styleFunction.propTypes, { | ||
xs: PropTypes.object, | ||
@@ -66,0 +66,0 @@ sm: PropTypes.object, |
@@ -20,5 +20,5 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
if (props.css) { | ||
return _extends(_extends({}, merge(output, styleFunction(_extends({ | ||
return _extends({}, merge(output, styleFunction(_extends({ | ||
theme: props.theme | ||
}, props.css)))), omit(props.css, [styleFunction.filterProps])); | ||
}, props.css))), omit(props.css, [styleFunction.filterProps])); | ||
} | ||
@@ -29,3 +29,3 @@ | ||
newStyleFunction.propTypes = process.env.NODE_ENV !== 'production' ? _extends(_extends({}, styleFunction.propTypes), {}, { | ||
newStyleFunction.propTypes = process.env.NODE_ENV !== 'production' ? _extends({}, styleFunction.propTypes, { | ||
css: PropTypes.object | ||
@@ -32,0 +32,0 @@ }) : {}; |
@@ -22,2 +22,3 @@ export { default as borders } from './borders'; | ||
export { default as typography } from './typography'; | ||
export * from './typography'; | ||
export * from './typography'; | ||
export { default as visuallyHidden } from './visuallyHidden'; |
@@ -68,3 +68,3 @@ import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray"; | ||
newStyleFunction.propTypes = process.env.NODE_ENV !== 'production' ? _extends(_extends({}, styleFunction.propTypes), {}, { | ||
newStyleFunction.propTypes = process.env.NODE_ENV !== 'production' ? _extends({}, styleFunction.propTypes, { | ||
xs: PropTypes.object, | ||
@@ -71,0 +71,0 @@ sm: PropTypes.object, |
@@ -21,5 +21,5 @@ import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray"; | ||
if (props.css) { | ||
return _extends(_extends({}, merge(output, styleFunction(_extends({ | ||
return _extends({}, merge(output, styleFunction(_extends({ | ||
theme: props.theme | ||
}, props.css)))), omit(props.css, [styleFunction.filterProps])); | ||
}, props.css))), omit(props.css, [styleFunction.filterProps])); | ||
} | ||
@@ -30,3 +30,3 @@ | ||
newStyleFunction.propTypes = process.env.NODE_ENV !== 'production' ? _extends(_extends({}, styleFunction.propTypes), {}, { | ||
newStyleFunction.propTypes = process.env.NODE_ENV !== 'production' ? _extends({}, styleFunction.propTypes, { | ||
css: PropTypes.object | ||
@@ -33,0 +33,0 @@ }) : {}; |
@@ -1,2 +0,2 @@ | ||
/** @license Material-UI v4.9.14 | ||
/** @license Material-UI v5.0.0-alpha.1 | ||
* | ||
@@ -27,2 +27,3 @@ * This source code is licensed under the MIT license found in the | ||
export { default as typography } from './typography'; | ||
export * from './typography'; | ||
export * from './typography'; | ||
export { default as visuallyHidden } from './visuallyHidden'; |
import * as CSS from 'csstype'; | ||
// disable automatic export | ||
@@ -205,3 +204,5 @@ export {}; | ||
export const visuallyHidden: CSS.Properties; | ||
// utils | ||
type Omit<T, K> = Pick<T, Exclude<keyof T, K>>; |
15
index.js
@@ -1,2 +0,2 @@ | ||
/** @license Material-UI v4.9.14 | ||
/** @license Material-UI v5.0.0-alpha.1 | ||
* | ||
@@ -29,3 +29,4 @@ * This source code is licensed under the MIT license found in the | ||
style: true, | ||
typography: true | ||
typography: true, | ||
visuallyHidden: true | ||
}; | ||
@@ -116,2 +117,8 @@ Object.defineProperty(exports, "borders", { | ||
}); | ||
Object.defineProperty(exports, "visuallyHidden", { | ||
enumerable: true, | ||
get: function get() { | ||
return _visuallyHidden.default; | ||
} | ||
}); | ||
@@ -232,2 +239,4 @@ var _borders = _interopRequireWildcard(require("./borders")); | ||
}); | ||
}); | ||
}); | ||
var _visuallyHidden = _interopRequireDefault(require("./visuallyHidden")); |
{ | ||
"name": "@material-ui/system", | ||
"version": "4.9.14", | ||
"version": "5.0.0-alpha.1", | ||
"private": false, | ||
@@ -24,3 +24,3 @@ "author": "Material-UI Team", | ||
}, | ||
"homepage": "https://github.com/mui-org/material-ui/tree/master/packages/material-ui-system", | ||
"homepage": "https://material-ui.com/system/basics/", | ||
"funding": { | ||
@@ -42,3 +42,3 @@ "type": "opencollective", | ||
"@babel/runtime": "^7.4.4", | ||
"@material-ui/utils": "^4.9.6", | ||
"@material-ui/utils": "^5.0.0-alpha.1", | ||
"csstype": "^2.5.2", | ||
@@ -45,0 +45,0 @@ "prop-types": "^15.7.2" |
Sorry, the diff of this file is too big to display
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
657860
62
2391
+ Added@material-ui/utils@5.0.0-beta.5(transitive)
+ Added@types/react@17.0.83(transitive)
+ Added@types/react-is@17.0.7(transitive)
+ Addedreact@17.0.2(transitive)
- Removed@material-ui/utils@4.11.3(transitive)