@material-ui/styles
Advanced tools
Comparing version 3.0.0-alpha.6 to 3.0.0-alpha.7
@@ -40,3 +40,5 @@ "use strict"; | ||
return function (rule, styleSheet) { | ||
if (dangerouslyUseGlobalCSS && styleSheet && styleSheet.options.name) { | ||
var isStatic = !styleSheet.options.link; | ||
if (dangerouslyUseGlobalCSS && styleSheet && styleSheet.options.name && isStatic) { | ||
return "".concat(safePrefix(styleSheet.options.name), "-").concat(rule.key); | ||
@@ -47,3 +49,3 @@ } | ||
if (!styleSheet.options.link) { | ||
if (isStatic) { | ||
var themeHash = themeHashCache[styleSheet.options.theme]; | ||
@@ -50,0 +52,0 @@ |
@@ -27,3 +27,5 @@ import warning from 'warning'; | ||
return (rule, styleSheet) => { | ||
if (dangerouslyUseGlobalCSS && styleSheet && styleSheet.options.name) { | ||
const isStatic = !styleSheet.options.link; | ||
if (dangerouslyUseGlobalCSS && styleSheet && styleSheet.options.name && isStatic) { | ||
return `${safePrefix(styleSheet.options.name)}-${rule.key}`; | ||
@@ -34,3 +36,3 @@ } | ||
if (!styleSheet.options.link) { | ||
if (isStatic) { | ||
let themeHash = themeHashCache[styleSheet.options.theme]; | ||
@@ -37,0 +39,0 @@ |
@@ -1,2 +0,2 @@ | ||
/** @license Material-UI v3.0.0-alpha.6 | ||
/** @license Material-UI v3.0.0-alpha.7 | ||
* | ||
@@ -3,0 +3,0 @@ * This source code is licensed under the MIT license found in the |
@@ -1,2 +0,2 @@ | ||
/** @license Material-UI v3.0.0-alpha.6 | ||
/** @license Material-UI v3.0.0-alpha.7 | ||
* | ||
@@ -3,0 +3,0 @@ * This source code is licensed under the MIT license found in the |
@@ -5,3 +5,3 @@ { | ||
"author": "Material-UI Team", | ||
"version": "3.0.0-alpha.6", | ||
"version": "3.0.0-alpha.7", | ||
"description": "Material-UI Styles - The styling solution of Material-UI.", | ||
@@ -30,3 +30,3 @@ "main": "./index.js", | ||
"dependencies": { | ||
"@babel/runtime": "7.2.0", | ||
"@babel/runtime": "^7.2.0", | ||
"@emotion/hash": "^0.7.1", | ||
@@ -36,10 +36,10 @@ "@material-ui/utils": "^3.0.0-alpha.2", | ||
"deepmerge": "^3.0.0", | ||
"jss": "^10.0.0-alpha.3", | ||
"jss-plugin-camel-case": "^10.0.0-alpha.3", | ||
"jss-plugin-default-unit": "^10.0.0-alpha.3", | ||
"jss-plugin-global": "^10.0.0-alpha.3", | ||
"jss-plugin-nested": "^10.0.0-alpha.3", | ||
"jss-plugin-props-sort": "^10.0.0-alpha.3", | ||
"jss-plugin-rule-value-function": "^10.0.0-alpha.3", | ||
"jss-plugin-vendor-prefixer": "^10.0.0-alpha.3", | ||
"jss": "^10.0.0-alpha.7", | ||
"jss-plugin-camel-case": "^10.0.0-alpha.7", | ||
"jss-plugin-default-unit": "^10.0.0-alpha.7", | ||
"jss-plugin-global": "^10.0.0-alpha.7", | ||
"jss-plugin-nested": "^10.0.0-alpha.7", | ||
"jss-plugin-props-sort": "^10.0.0-alpha.7", | ||
"jss-plugin-rule-value-function": "^10.0.0-alpha.7", | ||
"jss-plugin-vendor-prefixer": "^10.0.0-alpha.7", | ||
"prop-types": "^15.6.0", | ||
@@ -46,0 +46,0 @@ "warning": "^4.0.1" |
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
101273
2465
- Removed@babel/runtime@7.2.0(transitive)
- Removedregenerator-runtime@0.12.1(transitive)
Updated@babel/runtime@^7.2.0
Updatedjss@^10.0.0-alpha.7