@material-ui/system
Advanced tools
Comparing version 5.0.0-alpha.19 to 5.0.0-alpha.20
@@ -21,6 +21,6 @@ import { unstable_capitalize as capitalize } from '@material-ui/utils'; | ||
value = getPath(themeMapping, propValueFinal) || userValue; | ||
} | ||
if (transform) { | ||
value = transform(value); | ||
} | ||
if (transform) { | ||
value = transform(value); | ||
} | ||
@@ -27,0 +27,0 @@ |
@@ -285,3 +285,5 @@ import * as React from 'react'; | ||
*/ | ||
export type CSSPseudoSelectorProps = { [K in CSS.Pseudos]?: SystemStyleObject }; | ||
export type CSSPseudoSelectorProps<Theme extends object = {}> = { | ||
[K in CSS.Pseudos]?: SystemStyleObject<Theme>; | ||
}; | ||
@@ -309,4 +311,4 @@ /** | ||
*/ | ||
export interface CSSSelectorObject { | ||
[cssSelector: string]: SystemStyleObject; | ||
export interface CSSSelectorObject<Theme extends object = {}> { | ||
[cssSelector: string]: SystemStyleObject<Theme>; | ||
} | ||
@@ -652,3 +654,3 @@ | ||
| ((theme: Theme) => ResponsiveStyleValue<AllSystemCSSProperties[K]>) | ||
| SystemStyleObject; | ||
| SystemStyleObject<Theme>; | ||
}; | ||
@@ -662,4 +664,4 @@ | ||
| SystemCssProperties<Theme> | ||
| CSSPseudoSelectorProps | ||
| CSSSelectorObject | ||
| CSSPseudoSelectorProps<Theme> | ||
| CSSSelectorObject<Theme> | ||
| null; | ||
@@ -666,0 +668,0 @@ |
@@ -1,2 +0,2 @@ | ||
/** @license Material-UI v5.0.0-alpha.19 | ||
/** @license Material-UI v5.0.0-alpha.20 | ||
* | ||
@@ -3,0 +3,0 @@ * This source code is licensed under the MIT license found in the |
@@ -1,2 +0,2 @@ | ||
/** @license Material-UI v5.0.0-alpha.19 | ||
/** @license Material-UI v5.0.0-alpha.20 | ||
* | ||
@@ -3,0 +3,0 @@ * This source code is licensed under the MIT license found in the |
@@ -25,6 +25,6 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; | ||
value = getPath(themeMapping, propValueFinal) || userValue; | ||
} | ||
if (transform) { | ||
value = transform(value); | ||
} | ||
if (transform) { | ||
value = transform(value); | ||
} | ||
@@ -31,0 +31,0 @@ |
@@ -1,2 +0,2 @@ | ||
/** @license Material-UI v5.0.0-alpha.19 | ||
/** @license Material-UI v5.0.0-alpha.20 | ||
* | ||
@@ -3,0 +3,0 @@ * This source code is licensed under the MIT license found in the |
@@ -21,6 +21,6 @@ import { unstable_capitalize as capitalize } from '@material-ui/utils'; | ||
value = getPath(themeMapping, propValueFinal) || userValue; | ||
} | ||
if (transform) { | ||
value = transform(value); | ||
} | ||
if (transform) { | ||
value = transform(value); | ||
} | ||
@@ -27,0 +27,0 @@ |
{ | ||
"name": "@material-ui/system", | ||
"version": "5.0.0-alpha.19", | ||
"version": "5.0.0-alpha.20", | ||
"private": false, | ||
@@ -40,3 +40,3 @@ "author": "Material-UI Team", | ||
"@babel/runtime": "^7.4.4", | ||
"@material-ui/utils": "5.0.0-alpha.19", | ||
"@material-ui/utils": "5.0.0-alpha.20", | ||
"csstype": "^3.0.2", | ||
@@ -43,0 +43,0 @@ "prop-types": "^15.7.2" |
@@ -34,6 +34,6 @@ "use strict"; | ||
value = getPath(themeMapping, propValueFinal) || userValue; | ||
} | ||
if (transform) { | ||
value = transform(value); | ||
} | ||
if (transform) { | ||
value = transform(value); | ||
} | ||
@@ -40,0 +40,0 @@ |
Sorry, the diff of this file is too big to display
822892
4080
+ Added@material-ui/utils@5.0.0-alpha.20(transitive)
- Removed@material-ui/utils@5.0.0-alpha.19(transitive)