@mui/system
Advanced tools
Comparing version 5.0.5 to 5.0.6
export {}; |
@@ -137,3 +137,7 @@ "use strict"; | ||
const expressionsWithDefaultTheme = expressions ? expressions.map(stylesArg => { | ||
return typeof stylesArg === 'function' ? _ref => { | ||
// On the server emotion doesn't use React.forwardRef for creating components, so the created | ||
// component stays as a function. This condition makes sure that we do not interpolate functions | ||
// which are basically components used as a selectors. | ||
// eslint-disable-next-line no-underscore-dangle | ||
return typeof stylesArg === 'function' && stylesArg.__emotion_real !== stylesArg ? _ref => { | ||
let { | ||
@@ -140,0 +144,0 @@ theme: themeInput |
@@ -0,0 +0,0 @@ export declare type SpacingOptions = number | Spacing | ((abs: number) => number | string) | ((abs: number | string) => number | string) | ReadonlyArray<string | number>; |
export {}; |
@@ -0,0 +0,0 @@ declare type NestedRecord<V = any> = { |
@@ -0,0 +0,0 @@ /// <reference types="react" /> |
export { default } from './createCssVarsProvider'; | ||
export type { BuildCssVarsTheme } from './createCssVarsProvider'; |
@@ -118,3 +118,7 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
const expressionsWithDefaultTheme = expressions ? expressions.map(stylesArg => { | ||
return typeof stylesArg === 'function' ? _ref => { | ||
// On the server emotion doesn't use React.forwardRef for creating components, so the created | ||
// component stays as a function. This condition makes sure that we do not interpolate functions | ||
// which are basically components used as a selectors. | ||
// eslint-disable-next-line no-underscore-dangle | ||
return typeof stylesArg === 'function' && stylesArg.__emotion_real !== stylesArg ? _ref => { | ||
let { | ||
@@ -121,0 +125,0 @@ theme: themeInput |
@@ -1,2 +0,2 @@ | ||
/** @license MUI v5.0.5 | ||
/** @license MUI v5.0.6 | ||
* | ||
@@ -3,0 +3,0 @@ * This source code is licensed under the MIT license found in the |
export {}; |
@@ -121,3 +121,7 @@ import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray"; | ||
var expressionsWithDefaultTheme = expressions ? expressions.map(function (stylesArg) { | ||
return typeof stylesArg === 'function' ? function (_ref) { | ||
// On the server emotion doesn't use React.forwardRef for creating components, so the created | ||
// component stays as a function. This condition makes sure that we do not interpolate functions | ||
// which are basically components used as a selectors. | ||
// eslint-disable-next-line no-underscore-dangle | ||
return typeof stylesArg === 'function' && stylesArg.__emotion_real !== stylesArg ? function (_ref) { | ||
var themeInput = _ref.theme, | ||
@@ -124,0 +128,0 @@ other = _objectWithoutProperties(_ref, ["theme"]); |
@@ -1,2 +0,2 @@ | ||
/** @license MUI v5.0.5 | ||
/** @license MUI v5.0.6 | ||
* | ||
@@ -3,0 +3,0 @@ * This source code is licensed under the MIT license found in the |
@@ -116,3 +116,7 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
const expressionsWithDefaultTheme = expressions ? expressions.map(stylesArg => { | ||
return typeof stylesArg === 'function' ? _ref => { | ||
// On the server emotion doesn't use React.forwardRef for creating components, so the created | ||
// component stays as a function. This condition makes sure that we do not interpolate functions | ||
// which are basically components used as a selectors. | ||
// eslint-disable-next-line no-underscore-dangle | ||
return typeof stylesArg === 'function' && stylesArg.__emotion_real !== stylesArg ? _ref => { | ||
let { | ||
@@ -119,0 +123,0 @@ theme: themeInput |
@@ -1,2 +0,2 @@ | ||
/** @license MUI v5.0.5 | ||
/** @license MUI v5.0.6 | ||
* | ||
@@ -3,0 +3,0 @@ * This source code is licensed under the MIT license found in the |
{ | ||
"name": "@mui/system", | ||
"version": "5.0.5", | ||
"version": "5.0.6", | ||
"private": false, | ||
@@ -48,3 +48,3 @@ "author": "MUI Team", | ||
"@mui/private-theming": "^5.0.1", | ||
"@mui/styled-engine": "^5.0.1", | ||
"@mui/styled-engine": "^5.0.2", | ||
"@mui/types": "^7.0.0", | ||
@@ -51,0 +51,0 @@ "@mui/utils": "^5.0.1", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
672451
9512
0
Updated@mui/styled-engine@^5.0.2